Problems with animations of new model

Discussions about ET modding (sdk code, player/weapon modeling)

Moderators: Forum moderators, developers

Post Reply
User avatar
Luk4ward
Posts: 236
Joined: Sun Jul 30, 2006 1:55 pm
Location: Poland
Contact:

Problems with animations of new model

Post by Luk4ward »

Hello,

i got few questions about animations in ET:

1) How animation works in ET? All i noticed is the dir animations which controls the models, the body of new model is animating in the same way as ET standard, but when i exported head (based on all tags from ET head) - it wasnt animated anymore..So what is wrong?

2) How to add the sound in some actions like deaths? I've spot this in RCTW. In human_base.anim there is block:

Code: Select all

// EVENTS
//
// format:
//
// <event description>
// &#123;
//		&#91;DEFAULT / <condition type> &#91;<condition value>&#93;, ...&#93;
//		&#123;
//			<both/legs/torso> <animation> &#91;sound <filename>&#93;
//			<both/legs/torso> <animation> &#91;sound <filename>&#93;
//			...
//		&#125;
// &#125;
//
// legend&#58;
//
// <event description>&#58; death, pain, fireweapon, jump, jumpbk, land, dropweapon,
//		raiseweapon, climbdismount, reload
so i edited the line:

Code: Select all

DEATH
&#123;
	enemy_weapon flamethrower
	&#123;
		both death_flame_1 sound sound/models/etc./file.wav
but was getting the error, that i should use the script? I ve only found scripts in sound/scripts, so i added for example in vo_axis.sounds:

Code: Select all

axis_test
&#123;
	sound sound/vo/general/axis/test.wav
	voice
	streaming
&#125;
and in the event, replaced:

Code: Select all

both death_flame_1 sound sound/models/etc./file.wav
with:

Code: Select all

both death_flame_1 sound axis_test
but still no works :?

3) I've edited body.aninc because i want to cut the animation when the player is wounded, so from:

Code: Select all

wounded_idle_1		173	144	144	20	0	0	0
changed to:

Code: Select all

wounded_idle_1		173	76	76	20	0	0	0
It works excellent, but when i put the pk3 on server, players were getting kicked for:

Image

thx for any help in advance
wolFTeam.pl
Dersaidin
Posts: 197
Joined: Fri Aug 06, 2004 1:55 pm
Location: Australia

Re: Problems with animations of new model

Post by Dersaidin »

Luk4ward wrote: ...

Code: Select all

DEATH
&#123;
	enemy_weapon flamethrower
	&#123;
		both death_flame_1 sound sound/models/etc./file.wav
That file name appears to have an extra . after the etc.

That could cause problems, but I don't know much about animation scripts.
User avatar
Luk4ward
Posts: 236
Joined: Sun Jul 30, 2006 1:55 pm
Location: Poland
Contact:

Re: Problems with animations of new model

Post by Luk4ward »

Dersaidin wrote:
Luk4ward wrote: ...

Code: Select all

DEATH
&#123;
	enemy_weapon flamethrower
	&#123;
		both death_flame_1 sound sound/models/etc./file.wav
That file name appears to have an extra . after the etc.

That could cause problems, but I don't know much about animation scripts.
hehe, it was example. Path doesnt matter cos ET wants the name of sound script ;). Dnt know how and where to add such sound script...
wolFTeam.pl
LilleBror
Posts: 111
Joined: Wed Nov 24, 2004 11:10 pm
Location: Dk

Post by LilleBror »

just add what u would like human_base.script
User avatar
Luk4ward
Posts: 236
Joined: Sun Jul 30, 2006 1:55 pm
Location: Poland
Contact:

Post by Luk4ward »

LilleBror wrote:just add what u would like human_base.script
just read carefully...
wolFTeam.pl
LilleBror
Posts: 111
Joined: Wed Nov 24, 2004 11:10 pm
Location: Dk

Post by LilleBror »

mod making.. ok soory i was thinking something else.
Good luck getting it to work.
User avatar
Luk4ward
Posts: 236
Joined: Sun Jul 30, 2006 1:55 pm
Location: Poland
Contact:

Post by Luk4ward »

without the help of experts i can do nothing...Still no replies :(
wolFTeam.pl
User avatar
Nail
Posts: 425
Joined: Fri Jan 02, 2004 3:47 pm
Contact:

Post by Nail »

The Splash Damage Modding forums might have more info
Improvise, Adapt, Overcome
Post Reply