PDA

View Full Version : melee attack coding problem


Hellsingmod Timmy
10-31-2004, 05:22 PM
ive made a new melee hit animation. 25 frames long.
now i cant get it in. im a coding noob. ive found a tutorial (http://forums.maxpaynedev.com/index.php?topic=1379.0) but it wont help.

how can i get it in? every try mp2 kicks me with an error says: (look pic)

zapper
11-01-2004, 02:03 AM
You have to arrange the following three length.

CHARANIM_ATTACKMELEE
CHARANIM_ATTACKHIGHMELE
CHARANIM_ATTACKLOWMELEE

Hellsingmod Timmy
11-02-2004, 01:11 PM
okay it works.

another question:
where can i change the melee hit strenght? i need 3 or 5 hits to kill an enemy

MentalSentinel
11-02-2004, 01:14 PM
Open up database/projectiles/BulletMelee.txt and either change the variable damage, or change the damage number of the P_Explosion in PROJECTILEANIM_EXPLOSION in bulletmelee.

Hellsingmod Timmy
11-02-2004, 05:55 PM
okay it works too http://forums.3drealms.com/ubbthreads/images/graemlins/smile.gif

another one:
i want to change the shootdodge animations. have i to change all the shootdodge (back,backward,forward,...) or can i make one new animation and get it in?

if i only change one then i got the same problem as above

here my some of new anis
http://www.picupload.net/files/20040311/1099447492.jpg
http://www.picupload.net/files/20040311/1099447539.jpg
http://www.picupload.net/files/20040311/1099447553.jpg

MentalSentinel
11-03-2004, 10:18 AM
You have to replace all of them. Because of the blending between them.

Hellsingmod Timmy
11-03-2004, 12:58 PM
there are 2 different types - 2_shootdodge_ and shootdodge_
the one for rifles and the others for pistols.
can i replace the shootdodges for pistols without replacing the 2 handed ones? and have i to change the _mov.kf2 ?

Fx
11-03-2004, 02:07 PM
nice animations dude

zapper
11-03-2004, 06:12 PM
Yes, you can do that.
And you have no need to change the _mov.kf2.
Even if the length of ShootDodgeAnim.kf2 and _mov.kf2 is different, no problem.
Of course, you can also make _mov.kf2 newly.