The Slot

Spud,

I think you can add damaged objects to maps in the FMB. I did some testing with the static.ini. Essentially all you have to do is find the entry in the static.ini for the object you want to duplicate (in its "dead" form). Once you have found the object you want in the static.ini, copy the entry and scroll down to the bottom on the list and paste the entry after the last object on the list (this is to maintain the order in which we refer to the objects in their numerical form). Once that is done, you need to do two things. One; add the word "dead" to the tail end of the entry title, inside the [brackets], so the game engine does not confuse it as a duplicate entry but reads it as a new object. Two; copy the line for the objects "Meshdead" form and use it to replace the line for the objects "Meshlive" form. For testing and as an example I picked the first object on the list, object 0, which in the static.ini file is represented as:

[buildings.House$CrimeaBarnStucco]
Title CrimeaVillage_BarnStucco
MeshLive 3do/Buildings/Crimea/BarnStucco/live.sim
MeshDead 3do/Buildings/Crimea/BarnStucco/dead.sim
Body RockMiddle
Panzer 0.24

I copied this entry, scrolled down to the bottom of the list, pasted it and made the changes to the new entry as described above:

[buildings.House$CrimeaBarnStuccodead]
Title CrimeaVillage_BarnStucco
MeshLive 3do/Buildings/Crimea/BarnStucco/dead.sim
MeshDead 3do/Buildings/Crimea/BarnStucco/dead.sim
Body RockMiddle
Panzer 0.24

The entries in the file look like this:

[/img][Image: staticone.jpg][/quote]

[img][Image: statictwo.jpg]

After you save the changes to the static.ini, go into FMB and you should have a new entry that looks like this:

[/img][Image: deadstuccobarn.jpg]

Once I knew I could do this I went looking for something to mimick bomb craters for Spud. I found object 361, put it through the process described above and got this:

[img][Image: craters.jpg]

Has anyone else already discovered this little secret. I unfortunately do not have the time to convert all the objects in the list (working on my Master's thesis) but maybe someone could pick up that project. If so, I say go for it with my blessing (just maybe mention me in the credits :lol: ). ~S All![/img]
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 39 Guest(s)