Page 1 of 1

Modifying rebuilt campaign with sparkedit

Posted: Thu Dec 06, 2007 4:28 pm
by EchoRanger449
Now I know that when I swap a vehicle with another in campaign levels, the game understands it just fine. However, when I rebuild a map and swap it with an imported vehicle, it crashes the game.

Is it that campaign maps don't understand Spark Edits "import tag into scenario"? How can I add this into sparkedit without causing my game to crash?

Posted: Thu Dec 06, 2007 4:36 pm
by JK-47
Campaign maps are really sensitive to Sparkediting. I'm not sure how to get around it.

Posted: Thu Dec 06, 2007 4:45 pm
by EchoRanger449
I now know why it isn't working

I did find a way to get my PMI'd vehicles into the map without meta swapping:

I used a vehicle that wasn't used in the map (the lifepod) then I swapped the dependency for it in the scenario for the scorpion.

Whatever technique that Grenadiac used to import vehicles into the map was only intended for multiplayer maps, as far as I know.

If there was a way I could convince Grenadiac, or someone who knows how Sparkedit works, to make a version of sparkedit that could import vehicles into campaign maps, it would enable me to do so many things. I'm sure it's in the way sparkedit is written; it's probably the same kind of concept that HMT's rebuilding process for campaign and multiplayer maps differs.

Posted: Thu Dec 06, 2007 5:36 pm
by conure
The reason it doesnt work is how it updates the offsets, or that would be my guess after reading the map structure tutorials grendiac wrote. To quote

[quote]This would also be a good time to mention the slack space in the scenario (slack space is where you see all of the 0xCACACACA garbage). The scenario is the tag which defines the placement of scenery, vehicles, dynamic lights, devices

Posted: Thu Dec 06, 2007 6:03 pm
by EchoRanger449
So is there a method to add more space during the rebuild?

Posted: Thu Dec 06, 2007 9:12 pm
by conure
EchoRanger449 wrote:So is there a method to add more space during the rebuild?
Not really, you would need a proper chunk duplicator.

Posted: Thu Dec 06, 2007 10:58 pm
by EchoRanger449
wait...

The scenario is a meta file during rebuild right?

There is a command in HMT that allows you to inject blank spaces into meta files...

I just don't understand "where" and "how large" of a blank space I want.