OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gooner861 on 14 Jul 2003, 13:44:12

Title: How can i make my town look like its been through hell?
Post by: Gooner861 on 14 Jul 2003, 13:44:12
Im doin a type of ambush/deffend town mission and its all goin well but wen i look at my town i still think there is sumthing missing. It needs to look more "wartorn". How can i do that? Any suggestions?
Title: Re:How can i make my town look like its been through hell?
Post by: Skanderborgvej on 14 Jul 2003, 13:55:51
Maybe you can set some of those "dead trees" and destroyed houses in the city (with a few destoyed tanks and killed civies-...)
There is also a random ruine generator, so that maybe interesting.

But if anyone knows a better idea...(I'm not an expert hèèèy  :P)

GRTZ  ;) Vlaamse Leeuw
Title: Re:How can i make my town look like its been through hell?
Post by: Artak on 14 Jul 2003, 15:01:14
Place living civilians and cars and stuff in there and then drop 50 lgb's in there. That should do it.  :D
Title: Re:How can i make my town look like its been through hell?
Post by: Tomb on 14 Jul 2003, 21:46:51
lmao, arty :noo:  ;D you frikkin bozo!!  ;D ;D ;D

 :D there are quite a few addon-wrecks out there by now mate. Go DL these objects,
some of them comes as "extra stuff" in aircraft/tank packs.  :-*

And ya can easily slide the "health" bar 3/4's to the LEFT when creating an empty car, so that the windows will appear broken etc.

Also, you can place normal tanks & make them look like wrecks right away by simply sliding ALL three bars to the left when creating the vehicles.

And put some dead units around, slide their HEALTH bar as well.... to hell  :o ;D

Title: Re:How can i make my town look like its been through hell?
Post by: max_killer_payne on 14 Jul 2003, 22:01:14
Also, if you want the buildings in the town to look destroyed, go to See IDs at the right hand side. And then the IDs of objects will come up and in a trigger just put

theidoftheobject SetDammage 1.0
Title: Re:How can i make my town look like its been through hell?
Post by: Tomb on 14 Jul 2003, 22:05:23
but it'll be noisy!  :o
Title: Re:How can i make my town look like its been through hell?
Post by: _hammy_ on 14 Jul 2003, 23:33:35
Place living civilians and cars and stuff in there and then drop 50 lgb's in there. That should do it.  :D

yep, that should work ;)

or maybe 15 lgb ??
Title: Re:How can i make my town look like its been through hell?
Post by: Kilo11 on 15 Jul 2003, 01:00:36
-Set fires in the buildings.  Just put a fire from the Empty/Objects section, and in the init filed put "this inflame true" so the fire will be lit.  Then stick the fire in the house and it will give it a "burning affect."

-Put armoured/car/ACP vehicles around and in the town, and in their init field put "this set dammage 1" so that they wil be destroyed (or dammaged depending on the var you use [.1-1])

-Like said earlier put dead bodies around, using the "set dammage" command.  

-Umm, thats about it.

-=Kilo=-
Title: Re:How can i make my town look like its been through hell?
Post by: Gooner861 on 16 Jul 2003, 00:28:24
I tried that id setDammage 1.0 but it dont seem to work???
Title: Re:How can i make my town look like its been through hell?
Post by: macguba on 16 Jul 2003, 00:58:56
What exactly did you do?     What happened?
Title: Re:How can i make my town look like its been through hell?
Post by: gundam007 on 16 Jul 2003, 06:45:49
did you make sure to use 2 m's in dammage?
Title: Re:How can i make my town look like its been through hell?
Post by: Gooner861 on 16 Jul 2003, 13:16:43
As max payne told me i got a trigger and in the on activation field i put id57634 setDammage 1.0, but it didnt work!!!!!!!!
Title: Re:How can i make my town look like its been through hell?
Post by: macguba on 16 Jul 2003, 13:33:11
object 1234 setdammage 1
Title: Re:How can i make my town look like its been through hell?
Post by: Gooner861 on 16 Jul 2003, 13:34:51
Cheers. :)
Title: Re:How can i make my town look like its been through hell?
Post by: gadolinite on 16 Jul 2003, 17:12:04
how would you make a car, or vehicle appear upside down?  I have only seen it happen when a powerful bomb or explosion hits the vehicle.

Can you make a vehile appear as if it were burning?  Would this inflame true work for a car, tank, machine gun, etc???
Title: Re:How can i make my town look like its been through hell?
Post by: gadolinite on 16 Jul 2003, 17:15:26
for the burning buildings, have the effect where the fire is setting dammage on .01 (rr something like that) per seond on a loop.  Break the loop when that dammage is == 1
Title: Re:How can i make my town look like its been through hell?
Post by: macguba on 16 Jul 2003, 18:19:40
As far as I know the only way to make a vehicle appear upside down is to create an Addon.

I believe there are vehicle burning scripts in the Ed Depot.  inflame doesn't work for vehicles or buildings.
Title: Re:How can i make my town look like its been through hell?
Post by: Artak on 16 Jul 2003, 18:56:37
I've been trying to get vehicles upside down with setvelocity, with no success as of yet.

Sometimes when a tank hits a mine it gets tilted upside down, so basicly it is possible, just have to find out the right amount of force (and counter force maybe).
Sometimes a tank can be tiled to it's side even.