All-Aircraft-Simulations
new objects - destroyed ones - Printable Version

+- All-Aircraft-Simulations (https://allaircraftsimulations.com)
+-- Forum: IL2 MODS Download & Discussion (https://allaircraftsimulations.com/forumdisplay.php?fid=267)
+--- Forum: IL-2 4.09m (https://allaircraftsimulations.com/forumdisplay.php?fid=348)
+---- Forum: IL2 MODS Discussion Section 4.09m (https://allaircraftsimulations.com/forumdisplay.php?fid=292)
+---- Thread: new objects - destroyed ones (/showthread.php?tid=59335)



new objects - destroyed ones - fido - 12.02.2009

Would it be possible, well yes, but i was wondering if someone would make destroyed vehicles, trains, artilery or tanks as new objects into that long numbered objects list, i think that many mission builders would really apreciate that. I think that all you need to do is make new object which uses existing "dead" meshes, but i dont closer clue how to do it, and unfortunately, i dont have time to learn it...


- fabianfred - 12.02.2009

just an example..

take a vehicle which is already an Object (not stationary object)

in the static.ini


change this...

[buildings.House$VehicleOpelBlitz36s]
Title OpelBlitz36s
MeshLive 3do/Cars/OpelBlitz36s/live.sim
MeshDead 3do/Cars/OpelBlitz36s/dead.sim
AlignToLand 1
Body FuelSmall // FIXME: need special type 'Vehicle'
Panzer 0.005


by copying the MeshDead line into the MeshLive ...AFTER making a NEW object by copying these lines into your static ini again and changing the name...like this...

[buildings.House$VehicleOpelBlitz36sDead]
Title OpelBlitz36sDead
MeshLive 3do/Cars/OpelBlitz36s/dead.sim
MeshDead
AlignToLand 1
Body FuelSmall
Panzer 0.005


- Plantoid 1 - 12.02.2009

fido:

Going one farther to fabianfred's reply:

To find the ones I thought I'd like I made a static.ini file that replaced ALL the "live.sim" and "mono.sim" with "dead.sim" and "mono_dead.sim". I then made a mission and placed all the objects on the ground to see what was what. When I had a bunch of objects I liked the looks of - vehicles, wagons, trailers, supplies, etc, I saved the mission and, in the .mis file, found what the objects were. I then simply made a section in my static.ini file called 'Detritus of War' and placed all these objects there.

This isn't an easy way to do it but it's the only way I could think of to do what I wanted.

Good luck.

Great days all.


- EasyRider - 12.02.2009

For those that may not be comfortable messing with there Static.ini
you may edit the .mis files after you lay your objects down on your mission template.

Make your mission and lay in some objects and after open the .mis file in notepad

Example:

[Buildings]
0_bld House$GunPos_Square 1 74208.04 96073.80 390.00
1_bld House$GunPos_Square 0 74172.64 96062.76 484.10
2_bld House$Water_Tower 0 74069.69 96239.13 444.10
3_bld House$SmallCrane 1 74190.95 96301.73 624.10
4_bld House$Bamboo_barrack 0 74132.17 96133.46 574.10
5_bld House$Bamboo_barrack 0 74168.35 96109.07 574.10
6_bld House$Bamboo_barrack 0 74098.04 96109.24 574.10
7_bld House$Bamboo_barrack 0 74111.17 96100.89 574.10
8_bld House$Bamboo_barrack 1 74123.75 96093.23 574.10
9_bld House$Bamboo_barrack 1 74136.05 96085.37 574.10
10_bld House$Bamboo_barrack 1 74147.71 96077.85 574.10


0_bld House$GunPos_Square 1 74208.04 96073.80 390.00

1_bld House$GunPos_Square 0 74172.64 96062.76 484.10

Edit the 1's for 0's and any objects under the "house" title,
which is a lot of different objects that fit under the house catagory will be destroyed

I haven't done any object destoying with the mission file for awhile so I may be reversed in my thinking ,but I am pretty sure 1 is good shape and 0 is blown up not the other way around.

Easy


- fido - 12.02.2009

thx for kicking into right direction, objects from static.ini doesnt help me, but i can take mesh path from technics.ini and add it into static.ini, i dont know that didnt go on my mind...

[Image: dead88dy1.jpg]


so does this replace .. - hawker445 - 12.02.2009

so does this replace the original stationary object or does it add a new line to the list?


- fabianfred - 12.02.2009

should add a new line...




what lines did you add to get that destroyed gun in your static.ini??


i havent - hawker445 - 13.02.2009

fabianfred Wrote:should add a new line...




what lines did you add to get that destroyed gun in your static.ini??


i didn't add it yet. so where do i put the new line? at the end or where??


- walter_solito - 13.02.2009

fido Wrote:thx for kicking into right direction, objects from static.ini doesnt help me, but i can take mesh path from technics.ini and add it into static.ini, i dont know that didnt go on my mind...

[Image: dead88dy1.jpg]

Hi!

Can you explain better?

I'ts really interesting!!!!

cheers

walter


- fido - 14.02.2009

files are here Mods\STD\com\maddox\il2\objects

open static.ini and insert this to the end of file

Quote:[buildings.House$Dead-Flak18_88mm]
Title Dead-Flak18_88mm
MeshLive 3do/Artillery/Germany/Flak18_88mm/Dead.sim
MeshDead 3do/Artillery/Germany/Flak18_88mm/Dead.sim
IgnoreShadowData
AlignToLand 1
Body RockMiddle
Panzer 0.24

the bold part you can make up, but i think they must match each other, i decided to go with dead- class name of the live object, which im going to make as a new dead one, this can be find in technics.ini

the underlined parts are form technics.ini, its little messy file, but its orientable after a while...

the 88 record in technics.ini:

Quote:[Flak18_88mm]
Description German antiaircraft gun Flak 18, 88mm
Icon antiaircraft

// Models
MeshSummer 3do/Artillery/Germany/Flak18_88mm/Live.him
MeshSummerDamage 3do/Artillery/Germany/Flak18_88mm/Dead.sim
MeshWinter 3do/Artillery/Germany/Flak18_88mm_W/Live.him
MeshWinterDamage 3do/Artillery/Germany/Flak18_88mm_W/Dead.sim

// Panzer
skipped unimportant stuff...

// Weapon
skipped unimportant stuff...

the bold part from this record i use to name new objects in static.ini, the underlined part is why you need this file - path to dead mesh, copy this to the new object static.ini, both as dead and live mesh.

I hope my desciption is understandable...


To Fido - walter_solito - 14.02.2009

Hi!

Very useful , complete and precise description!

Only one more explanation:

What das "IgnoreShadowData" do in the object management?

Thanx!!!

Regards

walter


- fido - 14.02.2009

probably turns off shadow, i just picked up random object to create 88, so you can delete that line and see if it doesnt cause any trouble...


- fabianfred - 15.02.2009

you can also place IgnoreShadowData in when you want it to have no shadow.... such as for raised objects or lowered objects etc.
better no shadow than an ugly one :wink:

this is really good....there are many static objects which it would be nice to have as Objects...especially vehicles...and then they can be included into a map even if necessary


- walter_solito - 15.02.2009

I have made a research if is possible to add like objects even aircraft or ship but I haven't find the directory to the mesh....

Even destroyed planes and ships can be useful in scenary building!!!

cheers

walter