Missing animations: without 'test_'.
Moderator: Moderators
Missing animations: without 'test_'.
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]
^~^~^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]
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'
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'
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 ?
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 ?
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.
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.
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?
Anyonw know where the sound aliases are stored?
Thank you very much (Again
), 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.
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.
