Custom monster error
Moderator: InsideQC Admins
5 posts
• Page 1 of 1
Custom monster error
okay im adding a monster into quake and have had no hitches up until renaming animations
i am using the base code of the demon
when i compile i get this
error: slasher.qc:303:Demon_Melee redeclared (see previous declaration demon.qc(304))
but when i change all of the Demon_Melee to Slasher_Melee i get this
error: slasher.qc:104:Unknown value "slasher_melee"
error: slasher.qc:110:Unknown value "slasher_melee"
im stumped
i am using the base code of the demon
when i compile i get this
error: slasher.qc:303:Demon_Melee redeclared (see previous declaration demon.qc(304))
but when i change all of the Demon_Melee to Slasher_Melee i get this
error: slasher.qc:104:Unknown value "slasher_melee"
error: slasher.qc:110:Unknown value "slasher_melee"
im stumped
- thommoboy
- Posts: 95
- Joined: Mon Nov 21, 2011 6:35 am
Re: Custom monster error
Did you call the function with lower case? Error has all characters lower vase while you said you renamed them eith first letter beikg uppercase 
- Jukki
- Posts: 214
- Joined: Wed Apr 07, 2010 4:59 am
Re: Custom monster error
no that didnt work
damn i knew it couldnt be something that simple 
- thommoboy
- Posts: 95
- Joined: Mon Nov 21, 2011 6:35 am
Re: Custom monster error
Do you have the function Slasher_Melee declared after (aka lower in source code) where the animation frame code resides?
So if that is the case then your qc compiler needs to know where that function is defined ahead of time to associate it within your animations frames.
So either move the Slasher_Melee function itself or place a "void() Slasher_Melee;" just above where your animation frames code starts
so the compiler knows how to associate it correctly.
So if that is the case then your qc compiler needs to know where that function is defined ahead of time to associate it within your animations frames.
So either move the Slasher_Melee function itself or place a "void() Slasher_Melee;" just above where your animation frames code starts
so the compiler knows how to associate it correctly.
- ratbert
- Posts: 37
- Joined: Thu Nov 19, 2009 3:47 pm
Re: Custom monster error
ratbert wrote:Do you have the function Slasher_Melee declared after (aka lower in source code) where the animation frame code resides?
So if that is the case then your qc compiler needs to know where that function is defined ahead of time to associate it within your animations frames.
So either move the Slasher_Melee function itself or place a "void() Slasher_Melee;" just above where your animation frames code starts
so the compiler knows how to associate it correctly.
omg so simple XD thanks
- thommoboy
- Posts: 95
- Joined: Mon Nov 21, 2011 6:35 am
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest