All-Aircraft-Simulations
Bridges as objects: EASY - Printable Version

+- All-Aircraft-Simulations (https://allaircraftsimulations.com)
+-- Forum: IL2 MAP MODS Download & Discussion (https://allaircraftsimulations.com/forumdisplay.php?fid=269)
+--- Forum: OLD IL2 MAP MODS Discussion & WIP-MAP-MODS (https://allaircraftsimulations.com/forumdisplay.php?fid=307)
+--- Thread: Bridges as objects: EASY (/showthread.php?tid=55730)

Pages: 1 2


Bridges as objects: EASY - lowfighter - 11.08.2008

For a test:

add to static.ini

[buildings.House$cbridgeshortmid]
Title cbridgeshortmid
MeshLive 3do/bridges/country/short/mid/mono1.sim
MeshDead 3do/bridges/country/short/mid/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.005

That's all, you'll have the middle of the country short bridge as object. Of course things can be changed as FuelSmall and Panzer, but anyway the bridge segment is there Big Grin
Proceed the same way with other segments...


- CUJO_1970 - 11.08.2008

Very interesting indeed...opens up more possibilities here.

Couple of questions:

Would it be possible to get a copy please of the text that is needed to add the other bridges? (I don't know where the list of names for them are.)

Can destroyed bridges be added as objects as well?

Does this mean that bridges can now be re-skinned? Confusedhock:

THANKS!


- lowfighter - 11.08.2008

CUJO, I'll post later all the brige lines to be added.
To answer some:
Bridges as objects can be reskinned.
These object bridges can be destroyed as usually in FMB so you can have a destroyed bridge in the mission etc..
These bridges are NOT functional, the cars will not cross rivers on them unfortunately. But I thought they would be good even if not functional for the new maps with rivers at altitudes greater than zero.


- fabianfred - 11.08.2008

Trains ignore the bridge whether it is live or dead because they only have a collision model with other trains...not objects...so they just move right through it

vehicles bump into it until it is destroyed then they can ignore it as the collision model is gone

nice handy object though...thanks


- lowfighter - 11.08.2008

Ok, so I paste below all the lines. One note replacing in these lines mono2.sim with mono3.sim gives a different damage...Fred. you played with destruction, which parameters shall we use for body and panzer?



[buildings.House$cbridgeshortmid]
Title cbridgeshortmid
MeshLive 3do/bridges/country/short/mid/mono1.sim
MeshDead 3do/bridges/country/short/mid/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.8

[buildings.House$cbridgeshortend]
Title cbridgeshortend
MeshLive 3do/bridges/country/short/end/mono1.sim
MeshDead 3do/bridges/country/short/end/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.8

[buildings.House$cbridgelongmid]
Title cbridgelongmid
MeshLive 3do/bridges/country/long/mid/mono1.sim
MeshDead 3do/bridges/country/long/mid/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.8

[buildings.House$cbridgelongend]
Title cbridgelongend
MeshLive 3do/bridges/country/long/end/mono1.sim
MeshDead 3do/bridges/country/long/end/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.8

[buildings.House$hbridgeshortmid]
Title hbridgeshortmid
MeshLive 3do/bridges/highway/short/mid/mono1.sim
MeshDead 3do/bridges/highway/short/mid/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.8

[buildings.House$hbridgeshortend]
Title hbridgeshortend
MeshLive 3do/bridges/highway/short/end/mono1.sim
MeshDead 3do/bridges/highway/short/end/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.8

[buildings.House$hbridgelongmid]
Title hbridgelongmid
MeshLive 3do/bridges/highway/long/mid/mono1.sim
MeshDead 3do/bridges/highway/long/mid/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.8

[buildings.House$hbridgelongend]
Title hbridgelongend
MeshLive 3do/bridges/highway/long/end/mono1.sim
MeshDead 3do/bridges/highway/long/end/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.8

[buildings.House$rbridgeshortmid]
Title rbridgeshortmid
MeshLive 3do/bridges/rail/short/mid/mono1.sim
MeshDead 3do/bridges/rail/short/mid/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.8

[buildings.House$rbridgeshortend]
Title rbridgeshortend
MeshLive 3do/bridges/rail/short/end/mono1.sim
MeshDead 3do/bridges/rail/short/end/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.8

[buildings.House$rbridgelongmid]
Title rbridgeshortmid
MeshLive 3do/bridges/rail/long/mid/mono1.sim
MeshDead 3do/bridges/rail/long/mid/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.8

[buildings.House$rbridgelongend]
Title rbridgelongend
MeshLive 3do/bridges/rail/long/end/mono1.sim
MeshDead 3do/bridges/rail/long/end/mono2.sim
AlignToLand 0
Body FuelSmall
Panzer 0.8


- CUJO_1970 - 11.08.2008

This is pretty amazing stuff for a FMB object junky like myself Big Grin

I'm going too add these lines to the end of my static.ini and see what happens :wink: will report back...


- CUJO_1970 - 12.08.2008

Holy crap there they are!!!!!!!!!
Big Grin
Graci
Muchos Gracias
Merci
Danke

THANKS!!!

Hehe no sleep for me tonight lol...these objects can be used for a lot of things...wow.


- fabianfred - 12.08.2008

Panzer looks fine for now...if you find it is too easy to destroy then up it a little

Body fuel small gives the kind of secondary explosion/smoke/flames .... fuel is for a petrol tank or gas tank.... better to be a WoodMiddle I think like the houses


- fabianfred - 12.08.2008

I got rid of those horrible white pillars for the road bridges

[Image: 1208200816-58-17.jpg]


what we need is some bright person to alter things ...so that the vehicles will drive through the undamaged bridge (country road bridge)..just as the trains do..... and then be stopped by a collision model when the bridge is in its destroyed state :wink:


- fabianfred - 12.08.2008

I have also asked FC if he knows about the collision model....he seems to be the most knowledgeable guy around here on that kind of thing.

If we can crack the collision model I can make it so that even the blister hangers can allow a vehicle or plane to go inside.... or the masking nets would ignore being bumped into :roll:

To have certain objects with a collision when live AND when dead...or NOT when live but have when dead etc.


- lowfighter - 13.08.2008

I agree it would be good to have those collisions... it would be perfect though if someone like FC could just remove the altitude zero condition for the "normal" bridges. Have no idea of course how hard that would be.

fabianfred Wrote:I have also asked FC if he knows about the collision model....he seems to be the most knowledgeable guy around here on that kind of thing.

If we can crack the collision model I can make it so that even the blister hangers can allow a vehicle or plane to go inside.... or the masking nets would ignore being bumped into :roll:

To have certain objects with a collision when live AND when dead...or NOT when live but have when dead etc.



- fly_zo - 13.08.2008

...so, you've did it .... works like a charm Big Grin Big Grin


thanks ...Lowfighter and ffb

cheers
Z


- fabianfred - 13.08.2008

fly_zo Wrote:...so, you've did it .... works like a charm Big Grin Big Grin


thanks ...Lowfighter and ffb

cheers
Z

not me...I just commented


- fabianfred - 13.08.2008

Ok anyone who wants the Bridge supports for the Road bridge as in the pic above... get it here

http://www.4shared.com/dir/4397598/27d3 ... aring.html

under textureskins ...'bridgesupports'


- slipper - 15.08.2008

Low,

If i adjust the panzer values in the static.ini to make the bridges harder to destroy, will this also effect the bridges that come as default with the maps? If not how can i make them harder to destroy?

regards

slipper