Register FAQ Search Today's Posts Mark Forums Read
Go Back   JazzJackrabbit Community Forums » Open Forums » JCS & Scripting

Ehhmmm...

acid

JCF Member

Joined: Jul 2002

Posts: 1,154

acid has disabled reputation

Sep 10, 2002, 06:32 AM
acid is offline
Reply With Quote
Ehhmmm...

I was just wondering, how do you make things like keys in JCS? I know you use a trigger zone, but how do you make the key disappear if the trigger zone is on top of the key, and you can't have events on top of each other?

I have seen people do this, so I know it's possible.
__________________
<a href="http://www.gmtalents.com"><img src="http://dragynflash.pyxnet.com/turquoisestar/images/affiliate_button.png" border="0" /></a>
<img src="http://snuffs.phpnet.us/Confucious.php" />
Super Saiyan

JCF Member

Joined: Nov 2001

Posts: 416

Super Saiyan is doing well so far

Sep 10, 2002, 07:15 AM
Super Saiyan is offline
Reply With Quote
Uhm, Key?? Do you mean a picture tile of a key in a tileset? Well, they are orginally not included in JCS, you really should use a Tileset which has a key picture.
__________________
Bla.
Disguise

Retired administrator

Joined: Mar 2001

Posts: 1,752

Disguise is doing well so far

Sep 10, 2002, 07:49 AM
Disguise is offline
Reply With Quote
SSF

Normally you put the trigger scenery right next to the key
__________________
<p align=center><img src="http://stuff.hewwo.com/nostalgiaTileset.gif">
$tilettø

JCF member

Joined: May 2001

Posts: 3,221

$tilettø has disabled reputation

Sep 10, 2002, 07:53 AM
$tilettø is offline
Reply With Quote
Article about Triggers,

Like you go stand on the Key so a door Opens?/Locks?

Check that link its about triggers if that is what you mean?
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

Sep 10, 2002, 10:50 AM
Violet CLM is offline
Reply With Quote
As none of you seem to have explained this rather simple process, I guess I shall have to.

Put trigger zones all around the key tile, and make the key itself a trigger scenery with the same ID. The key should vanish when the trigger is activated. The stuff the key opens should be the same triggerID.

Feel free to get fancy, though. Like having the lock only open when you bring the key to it.
__________________
Super Saiyan

JCF Member

Joined: Nov 2001

Posts: 416

Super Saiyan is doing well so far

Sep 10, 2002, 12:52 PM
Super Saiyan is offline
Reply With Quote
Ah Now I got the question
__________________
Bla.
Blackraptor

JCF Member

Joined: Sep 2002

Posts: 3,702

Blackraptor is an asset to this forumBlackraptor is an asset to this forum

Sep 10, 2002, 04:36 PM
Blackraptor is offline
Reply With Quote
I did that in my heaven level on j20, download it and see, no password, rate it first!!!
Trafton AT

JCF Member

Joined: Mar 2002

Posts: 1,712

Trafton AT is doing well so far

Sep 10, 2002, 05:27 PM
Trafton AT is offline
Reply With Quote
Quote:
Originally posted by Unknown Rabbit
As none of you seem to have explained this rather simple process, I guess I shall have to.

Put trigger zones all around the key tile, and make the key itself a trigger scenery with the same ID. The key should vanish when the trigger is activated. The stuff the key opens should be the same triggerID.

Feel free to get fancy, though. Like having the lock only open when you bring the key to it.
I think this is what acid meant. It is used in a Foo Races level, in fact.
URJazzCC

JCF Member

Joined: May 2001

Posts: 97

URJazzCC is doing well so far

Sep 11, 2002, 05:46 AM
URJazzCC is offline
Reply With Quote
Oh, and acid, don't forget to make the key an animated tile. it should look like this:
Key - Nothing - Key
Then with a trigger scenery ontop of it, and a trigger zone with on/off turned to 1(or 0 if you are turning it off), and the ID's set to the same, then when you go to get the key it should disappear. If you also want it to open a door, make a similar animated tile (Only with the door/blocks instead of the key) and place trigger scenery with the same ID on it. TOOODAAAA:-D
__________________
You are only ugly on the outside.
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

Sep 11, 2002, 11:14 AM
Violet CLM is offline
Reply With Quote
Note that for trigger scenery, the third frame is not necessary, though it does make the animated tile destruct/stomp/collapse scenery compatible.
__________________
acid

JCF Member

Joined: Jul 2002

Posts: 1,154

acid has disabled reputation

Sep 11, 2002, 04:21 PM
acid is offline
Reply With Quote
Actually, there has to be the third frame, just it can be anything. This is because if you are using trigger zone, for some reason it stops one frame before the last frame.
__________________
<a href="http://www.gmtalents.com"><img src="http://dragynflash.pyxnet.com/turquoisestar/images/affiliate_button.png" border="0" /></a>
<img src="http://snuffs.phpnet.us/Confucious.php" />
Trafton AT

JCF Member

Joined: Mar 2002

Posts: 1,712

Trafton AT is doing well so far

Sep 11, 2002, 04:31 PM
Trafton AT is offline
Reply With Quote
Usually, a third animation frame is preferable, if not required.
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

All times are GMT -8. The time now is 07:53 AM.