Adding effects to creatures by Eugen_Cosmarul

1. Find the effect you want to add to the creature-in this case black smoke like the one on the vermin?s head.

The effect is located in data.pak\Effects\_(Effect)\Characters\Creatures\Inferno\AlternativeUpgrade\T1_Quasit\.

The files we need are ?attack01.(Particle).xdb?, ?attack01.xdb? and ?attack01.(ParticleInstance).xdb?.Copy these files somewere.

Open the ?attack01.(ParticleInstance).xdb? and instead of ?<GlueToNamedBone/>? write ?<GlueToNamedBone>L_Hand</GlueToNamedBone>? so that the effect sticks to the left hand.

i198.photobucket.com_albums_aa229_eugenfiend_1.jpg

Now Open the ?attack01.xdb? and delete the useless lines so that it will look like this:

i198.photobucket.com_albums_aa229_eugenfiend_2.jpg

Now make a mod that adds these files to the Effects\_(Effect)\Characters\Creatures\Orcs\T3c_OrcWarholder\ (make folders and subfolder with these names , copy the newly edited .xdb files (?attack01.xdb?, ?attack01.(Particle).xdb? and ?attack01.(ParticleInstance).xdb?) in T3c_OrcWarholder folder and then add the Effects folder to a .h5m archive and copy it to Heroes V\Maps).

The effects are ready now!

2. Adding the effect to the creature-in this case Orc Warholder.

Go to data.pak\Characters\Creatures\Orcs\T3_Orc\ and copy all the arena files (T3c_OrcWarholder-arena-attack00.xdb ; T3c_OrcWarholder-arena-death.xdb ; T3c_OrcWarholder-arena-happy.xdb ; T3c_OrcWarholder-arena-hit.xdb ; T3c_OrcWarholder-arena-idle00.xdb ; T3c_OrcWarholder-arena-move.xdb ; T3c_OrcWarholder_arena-stir00.(BasicSkelAnim).xdb).

Generally when you want to add an effect to a creature the arena files are the ones you need.

Most of these files have the effect line empty :

i198.photobucket.com_albums_aa229_eugenfiend_3.jpg

And ones have it filled with something,don?t change the existent effects of these,you will only need to create a new line under the existent one.

i198.photobucket.com_albums_aa229_eugenfiend_4.jpg

For those with empty lines,you will need to replace the ?<Effect/>? with ?<Effect href="/Effects/_(Effect)/Characters/Creatures/Orcs/T3c_OrcWarholder/attack01.xdb#xpointer(/Effect)"/>?

Generally you need to fill the empty lines with <Effect href="/where the effect is located and the name of the xdb.xdb#xpointer(/Effect)"/>

For those with the filled effect lines you need to create a new line under the existent line and write ? <Effect href="/Effects/_(Effect)/Characters/Creatures/Orcs/T3c_OrcWarholder/attack01.xdb#xpointer(/Effect)"/>?

You need to add this effect line to all the files copyed earlier (T3c_OrcWarholder-arena-attack00.xdb ; T3c_OrcWarholder-arena-death.xdb ; T3c_OrcWarholder-arena-happy.xdb ; T3c_OrcWarholder-arena-hit.xdb ; T3c_OrcWarholder-arena-idle00.xdb ; T3c_OrcWarholder-arena-move.xdb ; T3c_OrcWarholder_arena-stir00.(BasicSkelAnim).xdb).They will look like this:

Empty ones:

i198.photobucket.com_albums_aa229_eugenfiend_5.jpg

And filled ones:

i198.photobucket.com_albums_aa229_eugenfiend_6.jpg

Now make a mod that changes these .xdb files with the ones newly edited (Create folders like this Characters\Creatures\Orcs\T3_Orc and in T3_Orc folder add the .xdb files-T3c_OrcWarholder-arena-attack00.xdb ; T3c_OrcWarholder-arena-death.xdb ; T3c_OrcWarholder-arena-happy.xdb ; T3c_OrcWarholder-arena-hit.xdb ; T3c_OrcWarholder-arena-idle00.xdb ; T3c_OrcWarholder-arena-move.xdb ; T3c_OrcWarholder_arena-stir00.(BasicSkelAnim).xdb).

3. Center the effect-the effect is not centered on the warholder?s hand from the beginning,it just moves like the hand.

You can adjust the position of the effect using the Position lines situated in the attack01.(ParticleInstance).xdb file

i198.photobucket.com_albums_aa229_eugenfiend_7.jpg

Add values to the lines until you find the right position for the effect.

Edit: Changing the nature of the effect without creating a new mod.

To change the effect you need to edit the “attack01.(ParticleInstance).xdb”,better said you need to change the <Textures>lines.

i198.photobucket.com_albums_aa229_eugenfiend_screenshot53.jpg

Now it’s set to be a black smoke but let’s say you need flames like the ones on the Flame Lord’s hands.

Go to data.pak\Effects\_(Effect)\Characters\Creatures\Dwarves\Warlord\, open the “attack00.(ParticleInstance).xdb” file and go to the textures lines.

i198.photobucket.com_albums_aa229_eugenfiend_screenshot54.jpg

You need to copy the highlighted lines,that contain the fire and then paste them instead of the black smoke textures.

You can do that with any kind of effects,you must copy the textures lines of the .(ParticleInstance).xdb files of the creature’s effect and paste them into the “attack01.(ParticleInstance).xdb” file.

modding_tutorials/adding_effects_to_creatures.txt · Last modified: 2008/01/26 09:34 by vokialbg
Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0