Cyclone wrote:Sounds interesting. What does it do? Screenshots please.
Cyclone wrote:What can you do with it?
[5C] - how many Bazzas are spawned at once
[5E] - the distance between spawns
[60] - how long it takes for a new spawn
[62] - ?
[38] - ?
[64] - spawn position X
[66] - distance to travel before disappearing? (might be positive or negative depending on direction?)
Kingizor wrote:"pointer" refers to the ID of each object. The SDK2 and SDK3 editors both have a near full list of these (sprites.ini) which might make things a bit easier. It might be helpful if rainbow felt like integrating that data into the editor?
Kingizor wrote:
The first key in the subroutine is FF with a value of 01F8. Just a guess, but this might be related to graphics or audio loading as they only need to be done once per object. Someone will probably correct me if that's not the case.
Kingizor wrote:The bracketed keys ([5C], [5E], [60], etc) are behaviours that have an associated value. Each one will change how the object behaves, and this is the primary purpose of the editor.
As for what each one does, well we don't know that so some experimenting is required.
- Code: Select all
[5C] - how many Bazzas are spawned at once
[5E] - the distance between spawns
[60] - how long it takes for a new spawn
[62] - ?
[38] - ?
Again, those behaviors are part of the 92AA subroutine, so they'll apply to all objects that use that subroutine.
Below that we have two more entries that aren't part of a subroutine, so we can deduce that they only apply to the 0670 object. Different Bazza objects might have different values for these.
- Code: Select all
[64] - spawn position X
[66] - distance to travel before disappearing? (might be positive or negative depending on direction?)
VideoViking wrote:If what I am reading is correct, this is the way to modify a script in DKC, as merely moving the scripts from their original position through RE would cause them to break. Until the script issues were resolved, we could only replace the script as a new object in the meantime.
Has that bug ever been discovered, by the way?
Users browsing this forum: No registered users and 8 guests