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

Now this is something you don't see everyday

GoldRabbit

JCF Member

Joined: Jul 2006

Posts: 219

GoldRabbit is an asset to this forumGoldRabbit is an asset to this forum

Aug 20, 2012, 04:56 PM
GoldRabbit is offline
Reply With Quote
Now this is something you don't see everyday

I was talking to Tweek earlier today, who is busy creating a level pack when he noticed something odd about his JCS (which is vanilla and has no modifications). It seems that his JCS accepts trigger ids up to 1023 for Trigger Zones and Trigger Scenery only. Trigger Crates act normal, having the usual 0-31 limitation.

What I'm saying is, has this happened to anyone ever before?

Here are a few screens to prove this is real.





__________________
so we will shut our mouth when
we are trying to be bastards
and speak loudly when we see injustice
because everybody plays the game this way

saints especially
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

Aug 20, 2012, 06:41 PM
Violet CLM is offline
Reply With Quote
The entries for Trigger Zone and Trigger Scenery are filled out incorrectly in the jcs.ini file. You'll notice that, for instance, a Trigger Scenery with ID 32 will be triggered by a Trigger Crate with ID 0, and also that the onoff/switch parameters on Trigger Zone don't actually work like that. Basically, this change only affects JCS, not JJ2.
__________________
GoldRabbit

JCF Member

Joined: Jul 2006

Posts: 219

GoldRabbit is an asset to this forumGoldRabbit is an asset to this forum

Aug 21, 2012, 03:42 AM
GoldRabbit is offline
Reply With Quote
Thanks for explaining. I'm curious about one more thing, though, does the 32 ID cycle repeat until 1023? For example, if ID 32 Trigger Scenery is triggered by a Trigger Crate with ID 0, so is a Trigger Scenery event with ID 64? And so on? (This is purely out of curiosity.)
__________________
so we will shut our mouth when
we are trying to be bastards
and speak loudly when we see injustice
because everybody plays the game this way

saints especially
Violet CLM

JCF Éminence Grise

Joined: Mar 2001

Posts: 11,090

Violet CLM has disabled reputation

Aug 21, 2012, 11:41 AM
Violet CLM is offline
Reply With Quote
It would repeat until 524288 if you let it. Only the first five bits are getting read for the purpose of determining the ID, so anything after that doesn't matter at all.
__________________
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 05:38 AM.