Home   Help Search Login Register  

Author Topic: Spy Questions  (Read 745 times)

0 Members and 1 Guest are viewing this topic.

Nobby

  • Guest
Spy Questions
« on: 20 Oct 2002, 20:48:52 »
Got a numba of questions, some of them Spy related, to ask of you:

1. How can I call Music from a car radio? Like Siberian Fox did.

2. On the new 1.85 Glock, how can I add and remove the silencer whilst keeping a magazine count (I know that some methods of doing this result in you having infinate ammo, this is exactly what I don't need)

3. How can I add an unseen machine gun to a normal car. e.g "machine gun turrets in the indicators" etc.

4. How can I call a trigger by using a script. e.g, Using the action menu I talk to some guy, in doing this, by using a script, I activate a trigger that starts some music.

5. Is it possible to have a satchel Charge that when activated produces harmless smoke instead of explosion ?

6. Is there a script out there that will produce a big explosion, and I mean big, as in destroying everything within a 10 metre radius.

Cheers, any of these questions answered will be greatly appreciated.

Nobby ;D

Kaliyuga

  • Guest
Re:Spy Questions
« Reply #1 on: 21 Oct 2002, 00:14:24 »
Hmm....

1)You can't use playmusic, but have to use.... CfgSound maybe? ... someone else probably knows... or else check sound/cutscenes

2)No idea.. but i'm assuming that you could use add/remove weapon here to swap.... seems easy enough unless there's some bug with the addon ::)  , just make sure you always add at least one mag before adding the weapon...

3)There's a script in the ed depot that is supposed to add a MG to a vehicle.. haven't used it myself.. if you want to make a MG built into the car.. that's an add-on ;)  

4)you could make the condition of your trigger something like this:  
 mus=true
then, in your script.. at the start of your script define mus=false, then where you want to set the trigger off define mus=true....

5) Why not use a Smoke shell, if smoke is all your after? if you want to be able to set it off like a satchel charge , just use a radio command to camcreate a smokeshell
 sm="smokeshell" camcreate getpos object

object = any unit/object/gamelogic you can place and name in the ME, throw the name in where object is

6)In essence, see #5   there are a finite amount of shells and rounds available to OFP, and all those aty scripts that are out there are variations of camcreating said shells above certain positions on the map... all you  have to do is make a trigger, or script .. then camcreate live rounds instead of smokeshells like above....  use any named object as a target for a simple method... or else you can use a random function in your script to make it a little different every time....

some good ones to use are "HEAT120" and "HEAT125" I use "AT4" alot also.. but as I said you can camcreate any kind of shell.. or missle using that syntax....


Nobby

  • Guest
Re:Spy Questions
« Reply #2 on: 21 Oct 2002, 02:56:15 »
Cheers mate, now I can finally make this little bit of my mission that been bugging me for ages.

Cheers again

Nobby