PDA

View Full Version : Now this is something you don't see everyday


GoldRabbit
Aug 20, 2012, 04:56 PM
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.

http://img846.imageshack.us/img846/1531/screendai.png

http://img713.imageshack.us/img713/7084/screen2bu.png

http://img191.imageshack.us/img191/7622/screen3qk.png

Violet CLM
Aug 20, 2012, 06:41 PM
The entries for Trigger Zone and Trigger Scenery are filled out incorrectly in the <strong>jcs.ini</strong> 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 <em>work</em> like that. Basically, this change only affects JCS, not JJ2.

GoldRabbit
Aug 21, 2012, 03:42 AM
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.)

Violet CLM
Aug 21, 2012, 11:41 AM
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.