Home   Help Search Login Register  

Author Topic: destroyed buildings  (Read 453 times)

0 Members and 3 Guests are viewing this topic.

Coffeemilk_Q

  • Guest
destroyed buildings
« on: 13 Oct 2003, 20:47:44 »
Hi,
I got version 1.0 of the game and I asked myself if it is possible to have destroyed buildings right from the start. Like the this setdammage 1.0 command on units. Is there some command for buildings?
Thnx

Kaliyuga

  • Guest
Re:destroyed buildings
« Reply #1 on: 13 Oct 2003, 20:53:28 »
 not sure about with such an early version of OFP....

if you had Resistance then you could get the object ID number of the building and then setdammage to it


I think the best you can do is make a gamelogic on your building and then camcreate a laserguided bomb ( are LGB's even in 1.0??) onto the spot and blowing up the building..

 bomb="HEAT120" camcreate getpos g1  

toss that in a trigger/script/waypoint  and place a gamelogic named g1 on the spot you want the shell to appear.

the bit in quotes "HEAT120" can be changed to any valid shell type ...

you can try to use "LaserGuidedBomb"  to get a proper explosion.. but I think that the LGB was added in 1.30 ?? or a following version...

you should really go to www.flashpoint1985.com and get the patches to upgrade from 1.0  (actually you should buy resistance, but if not.. at least update your CwC )

:cheers:

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:destroyed buildings
« Reply #2 on: 13 Oct 2003, 21:03:03 »
Place a game logic near the building you want destroyed, and type this in its 'init' field:

(nearestbuilding this) setdammage 1

BTW, you should definately go to www.flashpoint1985.com and download the (free) patch to get your game up to version 1.46. There were a lot of changes from v1 to v1.46. Also I would suggest you go buy resistance.  ::)
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Coffeemilk_Q

  • Guest
Re:destroyed buildings
« Reply #3 on: 14 Oct 2003, 17:07:48 »
I can't update my game and 'resistance' ins't in stores here. (Holland) Maybe in a while I will buy it from ebay or something but not now.

But I will try the suggestions u gave me.