Page 1 of 1

Missing animations: without 'test_'.

Posted: Fri Jan 03, 2003 1:16 pm
by Angex
I was working through the Single player maps without 'test_' tutorial, trying to add a grenadier. I thought I had it working, he was listed in MoHradiant and in-game he strafed around trying to shoot me (with an accuracy of 1, hehe). But when I went to kill him for a third or so time, I got this error:

^~^~^Srcipt Error : unknown animation 'unarmed_pain_kneestodeath' in 'models\human\prague_german_panzer_grenadier.tik'

It keeps happening every time he's crouching and dies, or fallen onto his hands and knees then dies, I though this might be becuase of the "kneestodeath" part. Anyway when I looked through the tik's I found a comment which said "Death", but I couldn't find any aliases for "kneestodeath".

I'm assuming I need to make an entry like below, but don't know how, any ideas ?

unarmed_pain_kneestodeath ? ? ? ? deaths/animationName
? {
? ? ? client
? ? ? ?{
? ? ? ? ? ? InformationI don't understand.
? ? ? ?}
? }


[EDIT]
I just realised this should really go in the scripting section.
[/EDIT]

Posted: Fri Jan 03, 2003 3:44 pm
by Angex
Well I waded through the masses of sound errors in the console, I think I found some information that might help figure out whats up.

TIKI_load TIKI file : def file models/human/prague_generic_human.tik has wrong header (setup should be TIKI)

RE_RegisteredModel : Registration failed for 'models/human/prague_generic_human.tik'

self motionanim(self.weapongroup + "_pain_kneestodeath") (anim/pain.scr, 405)
self^
^~^~^Script Error : Uknown animation 'unarmed_pain_kneestodeath' in 'models/human/prague_generic_human.tik'

Posted: Fri Jan 03, 2003 4:03 pm
by jv_map
Hmm interesting to say the least. Don't have the files here but sounds like I have to look through them deeply.

I suppose you have a line 'TIKI' on top of your TIKI file?

Posted: Fri Jan 03, 2003 10:49 pm
by Angex
I didn't have 'TIKI' in the header for the models/human/prague_generic_human.tik, but when I added it in, I got another error, saying there was an error on line 1, skipping line, however it makes no difference.

Its wierd how only certain animations work, you would expect none to work if there was an error in the header.

Are there any sample files for the tutorial which I could compare ?

Posted: Fri Jan 03, 2003 11:10 pm
by Angex
After looking through the pak0.pk3 I thought the problem was that 'unarmed_pain_kneestodeath.skc' didn't exsist.

So I found two directories containing 'pistol_pain_kneestodeath', extracted them both, re-naming pistol with unarmed, placing the base directory in my main folder. However this didn't work it just gave me the same error.

Posted: Sat Jan 04, 2003 7:39 am
by jv_map
Add this line to your generic human file:

$include models/human/animation/human_unarmed.tik

Posted: Sat Jan 04, 2003 11:43 am
by Angex
I just figured it out myself, and was about to post the solution but it seems you did it faster then me.

Anyway thanks for your help.

Posted: Mon Jan 06, 2003 3:22 pm
by Angex
I've come accross another problem, the thing is I wanted to script some dialogue using '$friendly say dfr_M1L1_add05', I have setup the animation files correctly, but I can't find the *.tik file with the sound alias in, so I can't get the sound to work.

Anyonw know where the sound aliases are stored?

Posted: Mon Jan 06, 2003 5:05 pm
by jv_map
It's in pak0.pk3 -> ubersound/uberdialog.scr.

See ubersound work-around tutorial.

Posted: Mon Jan 06, 2003 5:53 pm
by Angex
Thank you very much (Again :D ), I'll give it a go.

One last question I didn't think of earlier, will the "waittill sounddone" work with dialogue. I've only seen it used when sounds were produced by an "entsound" method.

It just looks more proffestional that "wait x", plus that requires a bit of trial an error to see how long the sound is.

Posted: Mon Jan 06, 2003 8:52 pm
by jv_map
Use waittill saydone for say commands 8).

Posted: Tue Jan 07, 2003 7:06 pm
by Angex
A big bold thanks to you.

Posted: Tue Jan 07, 2003 7:10 pm
by jv_map
You're welcome. I hope you enjoy .map :D.