Home   Help Search Login Register  

Author Topic: Scenario Simulation (army study)  (Read 2145 times)

0 Members and 1 Guest are viewing this topic.

Offline sim

  • Members
  • *
  • Hot! Real hot! Damn Hot!
Re:Scenario Simulation (army study)
« Reply #15 on: 01 Jun 2005, 21:25:20 »
You can say when the tank is destroyed goto airfield.

something like this in the camera script

Code: [Select]
#camloop
blah blah
(camerastuff)

?(alive tank1): goto "camloop"

airstrike camerastuff

hope that helped  ::) :P
The Unsung Campaign Team Leader

Offline marshmanguy

  • Members
  • *
Re:Scenario Simulation (army study)
« Reply #16 on: 26 Jun 2005, 18:49:47 »
Take a look at messiah's camera.sqs.  That (I think) will enable you to move the camera freely while the action is taking place using the a,s,d,w keys.  Or, at least, it'll let you get amazing angles.

DBR_ONIX

  • Guest
Re:Scenario Simulation (army study)
« Reply #17 on: 26 Jun 2005, 19:58:31 »
For sequential stuff like artilary firing, then tanks moving up. best way is to use a script like ::
Code: [Select]
;create explosion at object named logic1
_temp = "Heat105" camcreate getpos logic1
;wait 4 seconds
~4
_temp = "Heat105" camcreate getpos logic2
~5
_temp = "Heat105" camcreate getpos logic3
~3
_temp = "Heat105" camcreate getpos logic4
~10

; allow tanks to move (Set them to no fuel in editor)
tank1 setfuel 1
tank2 setfuel 2
exit

Or, in your tanks waypoint's condition field, put
tankCanMove

And in the script, use
tankCanMove=true
To allow the tanks to follow their waypoints :)

As for the slow down, it's part due to the fact OFP is designed on, and aimed to run on 500mhz etc PCs, not todays PCs, and that, again because OFP is quite old, it's not very efficant with lots of units on screen (The more AI units the computer has to work out what their all doing, the slower it gets).
Put the terrain detail to Normal, this has a big improvement on performance (Anything higher than that really badly slows my computer down), object shadows off, the detail sliders, frame rate sliders at about 3/4.
And depending on the time the mission is, object shadows off will improve performance, but at certain times shadows can make missions looks a lot more impressive, so sometimes putting these on (Vehicle shadows and object shadows) is a good idea..


- Ben