Sorry, Hideki, here's the new topic:
Ok, Nemios, my COG is not meant to be used with the actor... it's placed in the lvl cog list, and has a param for a "thing" (being my actor) I hope you know what I mean.
And I do have all the parent templates. My template file is just the normal JK one with two 3dos added on the end... one of them being the one that is giving me trouble, the other one being one that isn't...
Thx for trying to help, tho. I really appreciate it.
Erm.. so... can someone else help me? Plz?
------------------
"You know when you've been away from the Zone too long when none of your Zone friends recognize you." - /me
Quote:
<font face="Verdana, Arial" size="2">The_Mega_ZZTer
Member posted December 10, 2001 05:56 PM
--------------------------------------------------------------------------------
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...
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...
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
The_Mega_ZZTer
Member posted December 10, 2001 06:00 PM
--------------------------------------------------------------------------------
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
Nemios
Member posted December 11, 2001 12:04 AM
--------------------------------------------------------------------------------
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.
Hideki
Moderator posted December 11, 2001 01:01 AM
--------------------------------------------------------------------------------
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 </font>
Member posted December 10, 2001 05:56 PM
--------------------------------------------------------------------------------
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...
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...
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
The_Mega_ZZTer
Member posted December 10, 2001 06:00 PM
--------------------------------------------------------------------------------
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
Nemios
Member posted December 11, 2001 12:04 AM
--------------------------------------------------------------------------------
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.
Hideki
Moderator posted December 11, 2001 01:01 AM
--------------------------------------------------------------------------------
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 </font>
Ok, Nemios, my COG is not meant to be used with the actor... it's placed in the lvl cog list, and has a param for a "thing" (being my actor) I hope you know what I mean.
And I do have all the parent templates. My template file is just the normal JK one with two 3dos added on the end... one of them being the one that is giving me trouble, the other one being one that isn't...
Thx for trying to help, tho. I really appreciate it.
Erm.. so... can someone else help me? Plz?
------------------
"You know when you've been away from the Zone too long when none of your Zone friends recognize you." - /me