2009-11-12, 08:12 AM
Yeah, I understand all that..I would not remove a record and leave the junk behind....It would appear to work maybe...The test is this.....make a program with an interface that allows you to really "beat up" a .map and its .evt file....right ?? Then basically try duplicating and deleting Events a lot of times and then run the level.....compare it against the original level...
You will know if you have corrupted the files....I am aware if you duplicate an Event Record (one of 1024) then you must delete the corresponding Event Data (you dont need to really care about exactly what commands are going on in there though) Just as long as you delete the right one....
How about this, I will make an interface that allows you to remove events and their matching data, and also allows you to duplicate events - which means it needs an object or NPC to be assigned to (or the same object,npc,enemy) and you can test the hell out of it...I guess eventually if your not careful you could delete all the events....but then just add some more...see if you can fragment the file for lack of a better term !!
or however you want to do some real world testing....but I am confident that I can get it to work, and that I understand the ramifications of doing it wrong.
Just to be clear, for every Event-Record there is a corresponding Data-Portion....I have removed the Event-Record only and seen that SOM survives the lobotomy...but I know this is wrong. Every Event-Record must correspond to an Event-Data-Portion.....and even more so has to correspond to the .map file in 1 of 3 sections either object,npc or enemy (you really have to know what you are doing in these files) I'm telling you I looked at these files for a couple hours and I get it....
I mean come on, I have broken down .wav files and decoded them in a day with FFT's and created amplitude driven video on Avid's and XSI's editing suite :)
You will know if you have corrupted the files....I am aware if you duplicate an Event Record (one of 1024) then you must delete the corresponding Event Data (you dont need to really care about exactly what commands are going on in there though) Just as long as you delete the right one....
How about this, I will make an interface that allows you to remove events and their matching data, and also allows you to duplicate events - which means it needs an object or NPC to be assigned to (or the same object,npc,enemy) and you can test the hell out of it...I guess eventually if your not careful you could delete all the events....but then just add some more...see if you can fragment the file for lack of a better term !!
or however you want to do some real world testing....but I am confident that I can get it to work, and that I understand the ramifications of doing it wrong.
Just to be clear, for every Event-Record there is a corresponding Data-Portion....I have removed the Event-Record only and seen that SOM survives the lobotomy...but I know this is wrong. Every Event-Record must correspond to an Event-Data-Portion.....and even more so has to correspond to the .map file in 1 of 3 sections either object,npc or enemy (you really have to know what you are doing in these files) I'm telling you I looked at these files for a couple hours and I get it....
I mean come on, I have broken down .wav files and decoded them in a day with FFT's and created amplitude driven video on Avid's and XSI's editing suite :)
Cheers
KilroyFx
KilroyFx