• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Trainer.data Pokemon Stats Command

S

Shou-Liengod

Guest
Being replaced by the HP Command, this makes Custom Gamemodes alot harder to create.
for example, when you want to make a intresting gamemode with bosses, i would tend to increase the Boss Pokemon's Defensive Stats considerably. however, the HP Command ruins that expect and i would want to have this Command back.
{"Stats"[64,64,45,49,60,49,55]}
 

nilllzz

Original Developer
Administrator
P3D Developer
Those stats are the result of various calculations from other stats the Pokémon has (Nature, EVs and IVs).
It wasn't really useable, since the Pokémon would generate their own stats internally anyways.
So if you want to raise the defense of a Pokémon, just raise its defensive EVs/IVs or give it a nature that boosts the defense stat.
The HP tag needs to be there to store the amount of HP a Pokémon currently has, this can't be calculated obviously. So that is the only remainder from the original stats tag.
 

Darkfire

Administrator
Administrator
P3D Developer
Maybe you should also test putting higher values into EVs and IVs?
I am not sure if that works or not but you can always try(or nilllzz can tell us now :p)
 

Fanta

Content Developer
P3D Developer
Global Moderator
Maybe you should also test putting higher values into EVs and IVs?
I am not sure if that works or not but you can always try(or nilllzz can tell us now :p)
I did put 1000 EV in hp and ended up with a 2500HP pokemon.....so i think it works ;)
 
S

Shou-Liengod

Guest
i see, thats good at least, it just needs a full testing session on my part.
i was bumbed out for a while because i though theres no way to continue on 1YL.
though a full revamp is a virtue anyway...

but nonetheless, i like the new commands that were added while i was gone. though...
the command @Pokemon:confused:etStat doesnt stay permanent. where lets say i add 50 HP at lvl 5, and reverts to 23 HP in combat.
 

nilllzz

Original Developer
Administrator
P3D Developer
Yeah, same reason. The Pokémon's stats get generated from other values and are just there to show the player what stats the Pokémon has.
This command is just there for backwards compatibility.
Also, you should consider using V2 scripts for everything, since V1 is not getting updated anymore.
It's easy to port most scripts to V2 anyways.
 
S

Shou-Liengod

Guest
i see, that would be a hassle, but i suppose it would be worth it in the end.
though, as for backwards compatibility, how does that work? i dont think the previous versions of Pokemon 3D that i Still have would work. since the commands were made recently.
 

nilllzz

Original Developer
Administrator
P3D Developer
Backwards compatibility for old scripts.
If you used that to set a stat and then later checked it or whatever, this would still work. The stats only reset right before they get used to calculate something in the game.
 
S

Shou-Liengod

Guest
i see, though it only works for old scripts. well at least i can fiddle with the new stat commands and make it work.
 
Top