Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsCog Forum → AAAAAAAAARGH!!! STUPID TPL!!!
AAAAAAAAARGH!!! STUPID TPL!!!
2001-12-10, 2:56 PM #1
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]

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]

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

2001-12-10, 3:00 PM #2
BTW, my guy shows up just fine in JED's preview and JED's 3DO preview.

------------------
"You know when you've been away from the Zone too long when none of your Zone friends recognize you." - /me

2001-12-10, 9:04 PM #3
Well, to start in your template entry there's no indication you want to use your own cog (unless actor_bs.cog calls MZZT.cog). Then, have you got an entry also for _humanactor and all its parents? And all other templates of your entry and theirs parents (+bosskswipe and +econcbullet)?


------------------
"May the SourceCode be with you..."
Nemios, MOD developer.
"May the SourceCode be with you..."
Nemios, MOD developer.
2001-12-10, 10:01 PM #4
Since I missed it the last time. I will close down this thread.

Make sure not to post a topic in all caps.
Repost with your title not all capped.

------------------
http://millennium.massassi.net/ - Millennium

↑ Up to the top!