Home   Help Search Login Register  

Author Topic: PUTTING .sqs FILES INTO OFP MAP  (Read 1240 times)

0 Members and 1 Guest are viewing this topic.

jiggaheey

  • Guest
PUTTING .sqs FILES INTO OFP MAP
« on: 08 Dec 2002, 23:43:38 »
I have been using Chris' OFP script editor and after i create the scripts i want to use, i have no idea how to place them on the map and use them.  When i do try to add stuff it says "Unknown Operator". Can anyone help?

mike

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:PUTTING .sqs FILES INTO OFP MAP
« Reply #1 on: 09 Dec 2002, 18:06:03 »
what you need is something to activate the script.

Lets say for instance you are using "Reloadguy.sqs"

This is a script that loads up a player with pre-determined munitions and weaponry everytime he respawns

In this case this particular script is activated by a trigger that checks to see when the player respawns
the trigger condition line "Alive EB3" does this[/i]

& when it does it gives him a custom loadout as stated in the script itself.

It does this with the following line in the trigger's activation field
-------------------------------------------------------------------------------------

[EB3,"BlackOp","east"] exec "reloadguy.sqs"
-----------------------------------------------------------------------------------------

exec "reloadguy.sqs"

This statement starts up the script
---------------------------------------------------------------------------------------

the [EB3,"BlackOp","east"] are basically to do with the loadout itself
What it does is say, everytime we loadout soldier EB3, give him the predetermined loadout for a "Blackop" playing on East

The script itself needs to be written in notepad or another basic text editor and saved as ******.sqs  
not as done by default ********.txt


The file then needs to be placed in the same folder as the init.sqs, mission.sqm etc, which by default is
codemasters/operation flashpoint/users/username/saved/mpmissions
« Last Edit: 09 Dec 2002, 18:09:17 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123