Home   Help Search Login Register  

Author Topic: Disable ECP DSAI  (Read 630 times)

0 Members and 1 Guest are viewing this topic.

Atropin

  • Guest
Disable ECP DSAI
« on: 04 Aug 2005, 03:30:10 »
Hi!

Is this possible to disable and enable DSAI with any command in my .sqs file? I have a cutscene in a mission and my guys are speaking funny things like "Vodka!", or they sitdown and the camera cant see them anymore.... plz help me  :-[

P.S. Sry for my f...ing English

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Disable ECP DSAI
« Reply #1 on: 04 Aug 2005, 03:51:46 »
your english is about as good as it ever gets...
check the readme for ecp, theres a global variable or 2 that you'll have to set false

Offline MachoMan

  • Honoured
  • Former Staff
  • ****
  • KISS, Keep it Simple Stupid
Re:Disable ECP DSAI
« Reply #2 on: 04 Aug 2005, 10:46:11 »
Just change one ECP variable like this:
Quote
ECP_public set [51,false];

This will switch DSAI off.
Get those missions out there you morons!

Atropin

  • Guest
Re:Disable ECP DSAI
« Reply #3 on: 04 Aug 2005, 11:12:05 »
thank u guys!

DSAI is now off in my cutscene  :)

But on the end of the .sqs it stay off?

Quote
ECP_public set [51, false ]
_camera = "camera" camCreate [50,50,50]
_camera cameraEffect ["internal","back"]
_camera camSetTarget [-29967.32,-67919.28,5.45]
_camera camSetPos [15943.03,20919.00,1.50]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~2
_camera camSetTarget [71375.34,99264.70,-28078.64]
_camera camSetPos [15942.79,20915.90,1.74]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
Lol say "Funk2"
~15
_camera camSetTarget [100273.50,74657.86,5.84]
_camera camSetPos [15941.58,20916.56,1.56]
_camera camSetFOV 0.700
_camera camCommit 3
@camCommitted _camera
~1
Hammer say "Dia2z1"
~17
_camera camSetTarget [-43628.44,-59157.03,-6269.34]
_camera camSetPos [15941.34,20918.19,1.63]
_camera camSetFOV 0.700
_camera camCommit 0
@camCommitted _camera
~1
Spieler say "Dia2z2"
~3
Spieler cameraeffect ["terminate","back"]
camDestroy _camera
losgehts = true
ECP_public set [51, true ]
Exit

Or i have done something wrong?

 ::)
« Last Edit: 04 Aug 2005, 11:19:12 by Atropin »

Dane

  • Guest
Re:Disable ECP DSAI
« Reply #4 on: 04 Aug 2005, 14:39:33 »
Quote
// Note:
// You may also specify particular individual units to be exempt from DSAI by
// placing the following in the init field of the unit, in the editor.
// [this] exec format["%1dsai\dsai_exclude.sqs",ECP_path]

Atropin

  • Guest
Re:Disable ECP DSAI
« Reply #5 on: 04 Aug 2005, 14:45:48 »
Wow! this is very nice :D

Now i can decide wich units are not included in DSAI!

thank u all guys

Dane

  • Guest
Re:Disable ECP DSAI
« Reply #6 on: 05 Aug 2005, 13:04:35 »
No problem ;)

Remember to hit the "Solved" button in left buttom corner if you have no further questions.

Atropin

  • Guest
Re:Disable ECP DSAI
« Reply #7 on: 05 Aug 2005, 16:29:16 »
Yeah solve :)

thx