View Single Post
cooba

JCF Veteran

Joined: Jan 2004

Posts: 7,823

cooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of lightcooba is a glorious beacon of light

Dec 27, 2004, 09:20 AM
cooba is offline
Reply With Quote
fruits* level,* thought* ;D*

If you look in your JCS.ini, you’ll see that Event 216 is something called “Generator”. It has two parameters, Event and Delay. Generator is not a normal event, as it will not appear in the main list no matter how you edit JCS.ini, but a generator event is created every time you ask JCS to make a respawning object. A little thing in the top left corner of the event name appears to indicate that you have placed a generator event, and then it uses the name of the object you want to generate. There is no real explanation for how this works other than that JCS is just built to give special attention to Event 216.
The reason for this is that when you want a generating event, JJ2 does not just take a normal event and say “Hey, if you’re destroyed, reappear”. Instead, it makes the special generator event and gives it two parameters – which object should be generated, and how long the delay is. No more, no less. A few generatable objects manage to sneak in other parameters somehow – Trigger Crate is always TriggerID 31 when generating, and Spike Bolls use the Delay value for all of their parameters – but for the most part, you are unable to set anything for the generating object. A shame, but that’s the way things work, and you don’t seem to be able to change that by adding more parameters to Generator in JCS.ini.
(If you want to look at a generator event not actively involved in the process of creating something, create a normal generating event and change the EventID to 216. The non-generating generator has some fun features like temporarily disabling JJ2’s ability to create new objects, which can be fun when you’re fighting Bilsy and he’s unable to actually create any fireballs.)


There.