HowToAddCreaturesStendhal: Difference between revisions

Jump to navigation Jump to search
Content deleted Content added
imported>MiguelAngelBlanchLardin
No edit summary
imported>MiguelAngelBlanchLardin
No edit summary
Line 71: Line 71:
AI is useless right now dont worry about it, just copy and paste the data.
AI is useless right now dont worry about it, just copy and paste the data.


# Add GFX
= Add GFX=
Now you need to find a nice sprite for your monster.
Now you need to find a nice sprite for your monster.
Most RPGMaker 2000 sprites works for stendhal. But they are in 24x32 size.
Most RPGMaker 2000 sprites works for stendhal. But they are in 24x32 size.
Line 79: Line 79:
Now place the sprite in the folder '''data/sprites/monsters/<class>/<subclass>.png'''
Now place the sprite in the folder '''data/sprites/monsters/<class>/<subclass>.png'''


# Edit GameObjects
= Edit GameObjects=
Just in case your sprite is not an standard size ''(48x64)'' you will need to use a different Creature class.
Just in case your sprite is not an standard size ''(48x64)'' you will need to use a different Creature class.


Line 87: Line 87:




# Add to game
= Add to game=
Open ''tiled/zelda_objects.png'' with your favourite GFX editor ( The GIMP ) and simply add a reduced version of your monsters to next free position, make sure you add that position to tileid attribute inside creatures.xml
Open ''tiled/zelda_objects.png'' with your favourite GFX editor ( The GIMP ) and simply add a reduced version of your monsters to next free position, make sure you add that position to tileid attribute inside creatures.xml


Line 93: Line 93:
Now let's play.
Now let's play.


# Balance a creature
= Balance a creature=
If you have played against it you will have seen that the creature is either too weak or too strong for its level.
If you have played against it you will have seen that the creature is either too weak or too strong for its level.
So you can run games.stendhal.tools.BalanceRPGame <creature name> and it will give you correct ATK, DEF, HP, XP for the level you placed. It is important to choose a good initial values. So it works.
So you can run games.stendhal.tools.BalanceRPGame <creature name> and it will give you correct ATK, DEF, HP, XP for the level you placed. It is important to choose a good initial values so that it works.