Poll

Would you be interested in seeing a proper Pokémon mod? (Replies to elaborate are appreciated)

Yes
30 (66.7%)
No
11 (24.4%)
Maybe ["I have some extra ideas"]
4 (8.9%)

Total Members Voted: 45

Author Topic: Interest Poll: Legit Pokémon  (Read 2279 times)

Why not use .dat files and store them in config?
Not much a point of storing them in config since they're static files that have to ship with the mod. I also need something structured. Also, .dat is pretty ambiguous. I found a few .dat files in my config, but all of them appear to be custom formats anyway. It wouldn't really be too different from what I have now. Using something like JSON means I can also manage the data more easily since it's a standardised format.

Look at this: http://pastebin.com/Rjr39JE5
versus this: http://pastebin.com/pd2ZLiAs

That was after a quick python script to convert from a csv file to a nested JSON. Here's a list of all the column headers (excluding some relating to specific mod functionality) for pokemon in Pixelmon:
Name,NationalPokedexNumber,Type1,Type2,Height,Weight,Description,
EvolveLevel,EvolveInto,EvolveStone,MalePercent,CatchRate,Rarity,MinGroupSize,MaxGroupSize,
CreatureType,Moves,CanLearn,,BaseExp,ExperienceGroup,BaseHP,BaseAttack,BaseDefence,
BaseSpAttack,BaseSpDefence,BaseSpeed,EvGainHP,EvGainAtk,EvGainDef,EvGainSpAtk,EvGainSpDef,EvGainSpeed


I think a proper database format is fairly helpful here. Note that a few of those contain lists within themselves.
« Last Edit: December 20, 2014, 06:33:11 PM by otto-san »

proper Pokémon fighting system
O god im gonna suck at that real frikin hard as hell  :panda:
edit: Is there gonna be playertypes?
« Last Edit: December 20, 2014, 07:09:37 PM by Mr Noobler »

-snip
I see what you mean. I admire your taste for efficiency. I know nothing about python or how it works except for that blender uses it lol


LINE COUNT OF GenIPokemon.json:

5317 UHHHHHHHHHHHHHHH i'm glad i'm not constructing this with hands!!

i just spent way too long fumbling around access when i realised that the database had broken entries ughghgeahghgawfaf but it's fixed now hey

also this may need to be moved to mod discussion pbbtt

EDIT:
yeah so json files of this length take way too long to load for me to use as a permanent solution. i'm going to try maybe using json files to transfer the databases into .cs files with scriptobjects and the sort for pokemon. if all else fails, i guess we're back to using a custom format

edit edit:
the .cs solution works gr8 m8

edit edit edit:
WHATEVER I DON'T CARE ANY MORE I'M SPENDING TOO MUCH TIME ON DATABASES DAD on to the actual systems then
« Last Edit: December 21, 2014, 10:34:43 PM by otto-san »

Further discussion about this mod's development should go in the modification discussion topic here. I'll keep this topic open for people to discuss the idea of pokemon in Blockland or other topics not specifically related to the mod in question here.

I'll have the code uploaded on GitHub. Please yell at me for not working and being bad everything.

Currently working on redoing the majority of the work I've done; I realised that storing this kind of data in .txt files would get hairy for pokemon data. I'm going to instead use a proper database format like JSON (thx port ily bb). Basically, I looked into the SQLite database for Pixelmon and realised there's a lot more to every individual pokemon than I had accounted for (namely their movesets uhh).

btw jettison is terribly utterly horribly written
there's far better versions that I've been way too lazy to write documentation for and release somewhere

btw jettison is terribly utterly horribly written
there's far better versions that I've been way too lazy to write documentation for and release somewhere
yeah i'm probs not using jettison as a permanent solution. atm i'm just using it to transfer data in initially from databases