I'm having a problem with my custom TPL. Since this may or may not involve the COG (probably not.. but just maybe) I've posted this here. My actor is based off the bossk actor and is supposed to say things when shot/activated, as below:
MZZT.COG:
# Jedi Knight Cog Script
#
# MZZT.cog
#
# AoG_Mega_ZZTer Interactive Actor (sort of)
#
# [MZZT]
#
# (C) 2001 The Mega-ZZTer
# ========================================================================================
symbols
message activate
message damaged
thing MZZT linkid=0
end
# ========================================================================================
code
activate:
PRINT("AoG_Mega_ZZTer: 'Stupid asteroid. Flattened my house.'");
damaged:
PRINT("AoG_Mega_ZZTer: 'Hey! Watch it!'");
end
This code is pretty simple, I can't imagine the problem being here... the problem probably lies in my template entry:
# DESC: The Mega-ZZTer
# BBOX: -.04 -.02 -.12 .04 .11 .07
MegaZZT _humanactor thingflags=0x20000400 model3d=bs.3do size=0.068100 movesize=0.068100 puppet=bs.pup soundclass=bs.snd cog=actor_bs.cog mass=120.000000 maxvel=0.400000 weapon=+econcbullet weapon2=+bosskswipe health=120.00 maxhealth=120.00 maxthrust=0.90 maxrotthrust=80.00 typeflags=0x20a0001
I know, I have a bunch of excess stuff in there, but I don't really know what I can safely take out...![http://forums.massassi.net/html/frown.gif [http://forums.massassi.net/html/frown.gif]](http://forums.massassi.net/html/frown.gif)
Oh, yes... my problem:
The actor does not appear.. at all. At, least, I can't see him, or interact with where he's _supposed_ to be...![http://forums.massassi.net/html/frown.gif [http://forums.massassi.net/html/frown.gif]](http://forums.massassi.net/html/frown.gif)
Plz answer me, I'm doing this for the Massassi City Project, and I can't really finish unless I fix this last bug.
Thx in advance for helping!
------------------
"You know when you've been away from the Zone too long when none of your Zone friends recognize you." - /me
MZZT.COG:
# Jedi Knight Cog Script
#
# MZZT.cog
#
# AoG_Mega_ZZTer Interactive Actor (sort of)
#
# [MZZT]
#
# (C) 2001 The Mega-ZZTer
# ========================================================================================
symbols
message activate
message damaged
thing MZZT linkid=0
end
# ========================================================================================
code
activate:
PRINT("AoG_Mega_ZZTer: 'Stupid asteroid. Flattened my house.'");
damaged:
PRINT("AoG_Mega_ZZTer: 'Hey! Watch it!'");
end
This code is pretty simple, I can't imagine the problem being here... the problem probably lies in my template entry:
# DESC: The Mega-ZZTer
# BBOX: -.04 -.02 -.12 .04 .11 .07
MegaZZT _humanactor thingflags=0x20000400 model3d=bs.3do size=0.068100 movesize=0.068100 puppet=bs.pup soundclass=bs.snd cog=actor_bs.cog mass=120.000000 maxvel=0.400000 weapon=+econcbullet weapon2=+bosskswipe health=120.00 maxhealth=120.00 maxthrust=0.90 maxrotthrust=80.00 typeflags=0x20a0001
I know, I have a bunch of excess stuff in there, but I don't really know what I can safely take out...
![http://forums.massassi.net/html/frown.gif [http://forums.massassi.net/html/frown.gif]](http://forums.massassi.net/html/frown.gif)
Oh, yes... my problem:
The actor does not appear.. at all. At, least, I can't see him, or interact with where he's _supposed_ to be...
![http://forums.massassi.net/html/frown.gif [http://forums.massassi.net/html/frown.gif]](http://forums.massassi.net/html/frown.gif)
Plz answer me, I'm doing this for the Massassi City Project, and I can't really finish unless I fix this last bug.
Thx in advance for helping!
------------------
"You know when you've been away from the Zone too long when none of your Zone friends recognize you." - /me