Jump to content
Sign in to follow this  
bazooka_boy

Bomb proof building

Recommended Posts

Hi

I'm making a german bunker addon but have a problem where a single tank or pak shell will kill all the crew.

The bunker is certainly bullet proof but I looking for a way of making it withstand grenades and shells.

I have a high armour and weight value for the bunker in the config file and model, plus the walls are all at least 1m thick.

I don't know if this can be done with scripts or a better use of the LODS.

Does any one have any suggestions or examples?

Or details of an existing building in ofp that can take a hit from a shell or grenade, so I can try and see how it does it.

Thanks in advance

Bazooka_Boy

Share this post


Link to post
Share on other sites

try this entry in the cpp:<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">destrType=DestructNo;

Actually I don't think it will solve your problem but it's better to try it ;)

Share this post


Link to post
Share on other sites
Guest

No, destructtype only affects the object...nothing to do with people inside.

The only real solution is to do some weird stuff with the Fire GeometryLOD....make it a good deal large than the object itself, or add "spikes" to the LOD so that shells will detonate further away from the bunker. But of course that means it will be harder to shoot from inside the bunker.

The only other thing I can think of is something like a Radar Jamming script...but that's not my speciality  sad_o.gif

Share this post


Link to post
Share on other sites

Yeah I know it affects the object, but I thought it might handle things differently, when it's indestructible. As I said I do not expect it to work but I think it's worth a try.

Share this post


Link to post
Share on other sites

Isnt there an explosion addon which stops the damage from affecting people behind cover? Or in this case, in a bunker.

Share this post


Link to post
Share on other sites

Now you said quote " Kills the Crew "

Bassically........this bunker thing........is it just one big static ass gun!??!?!! crazy_o.gif

if so then try changing bunker part to building then ya shouldnt have much trouble.

But on the other hand, Firelod, if you make the fire lod exactly like the lod of the must hi res model then it should block any fire coming into the building, thus protecting you and your crew.

now on last thing, were does the shells hit and how big is this bunker??

Share this post


Link to post
Share on other sites

Thanks for the replies

Donnervogel I don't think destrType=DestructNo; will work as the Bunker is already set to not be destroyable and has no Hit Point values or damage model.

Leone, the FireGeo is what I've been working with so far.  As the wasll are at least 1m thick (2 in places) I've not really tried making them that much larger, but I will give that a try and see how it looks.

Crowley,  I would be very interested if you had any more details on this explosion addon.  I guess with this I'd be able to stop the shell with a trigger and script and replace it will a hopefully impressive but non-killing explosion.  I think that would be exatly what I need.

bmgarcangel, the bunker is a building at the moment.  I've just placed an MG in there for now.  The long term plan is to have an MG or a PAK (as bunker designs were similar) as a working integrated part of the bunker.  You can see the type of layout and hence why I though I shouldn't have got this problem at

My Bunker Thread

Overall the dimensions fo the bunker are about W=19m L=16m, so a shell hitting the front should certainly not kill the crew in the rear of the bunker as it would have to pass throuhg the external and internal walls, that's over 3m of re-inforced concrete.

Crowley please let me know if you have any more details about that explosion addon.

Bazooka_Boy

Share this post


Link to post
Share on other sites
Guest

The problem is the "splash" damage that shells do....their damage radius if you will. While the shell is hitting the edge of the building, the radius of that explosion is much larger...and there is the problem sad_o.gif

One way to go might be to have a look at the BIS church...se if a shell hitting that will kill people inside wink_o.gif

Share this post


Link to post
Share on other sites
Crowley, I would be very interested if you had any more details on this explosion addon. I guess with this I'd be able to stop the shell with a trigger and script and replace it will a hopefully impressive but non-killing explosion. I think that would be exatly what I need.

But then it probably wouldnt kill anyone standing outside.

No, I dont know anything else about the explosions mod, but I saw a house addon that has a "reinforced" wall that is said to protect people inside from explosions. I dont know how it works, whether is is just really wide or if the explosion really does not penetrate. It can be found at OFPNeWs. Probably worth a look at least.

Oh, its the "Colonnial" house.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×