OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Olphy on 16 Jan 2004, 22:50:31

Title: .SQS.
Post by: Olphy on 16 Jan 2004, 22:50:31
Hi lads.

Im having a bit of truoble with a script.sqs file I want. What has happened is I have made a camera script for my mission and I have labelled "intro.sqs"

But for some reason it does'nt want to work... When the mission starts it just says some thing like:

"Cannot find file; "intro.sqs" even though I have written

[] exec "intro.sqs"

In my units init field...

Where do u recon I am going wrong lads?
Title: Re:.SQS.
Post by: dmakatra on 16 Jan 2004, 22:51:47
The file is probably a script.sqs.txt file. Search the forums to solve it.

:beat: *Gets Shot* :beat:
Title: Re:.SQS.
Post by: Planck on 16 Jan 2004, 22:56:45
When you save your script file from Notepad.....make sure you set the file type in the save dialogue as All Files........NOT Text files..........put the name in........intro.sqs and save.


Planck
Title: Re:.SQS.
Post by: MachoMan on 16 Jan 2004, 23:04:29
Or another way, start explorer (not Internet Explorer), goto the "Extra" tab, and find "folderoptions", then turn off "hide known file extensions".
Now goto your file and rename it to something.sqs

(I'm not sure i used the correct words for the windows menus i have a Dutch windows version.)
Title: Re:.SQS.
Post by: macguba on 16 Jan 2004, 23:14:42
Just for the sake of completeness, make sure that the script file is in the mission folder next to the mission.sqm.
Title: Re:.SQS.
Post by: Olphy on 16 Jan 2004, 23:38:14
Heeded and Accomplished.

Nice one guys! ;)