Home   Help Search Login Register  

Author Topic: Please Help!!  (Read 920 times)

0 Members and 1 Guest are viewing this topic.

coolisamy

  • Guest
Please Help!!
« on: 11 Mar 2004, 14:53:18 »
How can i do a mission with format "sqm"
and how can i do a script with format "sqs"

please help!!
thanks. :-\

Loup-Garou

  • Guest
Re:Please Help!!
« Reply #1 on: 11 Mar 2004, 15:22:35 »
It's easy  ;D !

".sqm" is the format used when you save a mission you make in the editor (as single or mp mission ; if you choose "export" when you save, the format is ".pbo"). For ".sqs", it's easier ! Just create a simple text file in your mission folder and name it "nameofmyscript.sqs" (note : in some cases, you need to put in the init field of a unit : [] exec  "nameofmyscript.sqs").

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Please Help!!
« Reply #2 on: 11 Mar 2004, 16:19:44 »
as default
c:\program files\operation flashpoint\users\youruser\missions\yourmissionname
Not all is lost.

coolisamy

  • Guest
Re:Please Help!!
« Reply #3 on: 11 Mar 2004, 16:20:15 »
Thanks man!

but i did not understand about the script...
can you please explane it to me again?

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:Please Help!!
« Reply #4 on: 11 Mar 2004, 16:26:24 »
You're a windows user, right? open up your notepad and write in there
hint "this came from my script"
exit

Click 'save as'
When saving make sure you select 'all files' as filetype from the drop down menu, or put quotation marks around the filename (""). The file name should extension should be .sqs. Make sure it's not .txt.sqs. If it is, it won't work  ;)
Save the file in your mission folder.
Go to editor. Insert a player unit and put in it's init field
[] exec "myscript.sqs"
The line "this came from my script" should pop up.
Not all is lost.

coolisamy

  • Guest
Re:Please Help!!
« Reply #5 on: 11 Mar 2004, 16:33:09 »
Thanks Man!!!!!