Jump to content
Sign in to follow this  
Aculaud

Saving scripts in notepad doesnt work

Recommended Posts

Whenever i try to write a script in notepad, i save it as a .sqs, but it still shows as a notepad file. It's not changing the filetype. And then i try to use it in game, and it says the script can not be found. Any thoughts?

Share this post


Link to post
Share on other sites

save it with inverted commas like this :

"scriptname.sqs"

Share this post


Link to post
Share on other sites

the quotations worked smile.gif. Thanks, Fenna

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (LauryThorn @ April 09 2002,07:45)</td></tr><tr><td id="QUOTE">Or use some smarter text editor..<span id='postcolor'>

Yeah, use EditPlus, then I can give you the stx file which will hightlight OFP commands smile.gif

Much better if you use it alot than notepad... I even made my own green comments using ;- instead of just ; smile.gif

Share this post


Link to post
Share on other sites

I just don't see the problem, guys.

NotePad is preferably used when I write .CPP and .SQS files because of it´s basic nature (No formatting, just plain ASCII).

No problems whatsoever. I do not include the quotationmarks (") nor the "all files" option.

Example: Writing a script (sqs), I open up a new NotePad document, do my share of lame coding and then save it as

"nameofmyscript.sqs" (without the quotemarks).

The only reason I can think of why this doesn´t comply with your file is that your using another OS (I´m using Win ME) or

you haven´t assigned the SQS-documents to always be opened with NotePad.

I dunno, just hope I cleared it up for ya...

wink.gif

Share this post


Link to post
Share on other sites

Go to a folder menu bar->Tools->Folder Options, then click on view tab, and make sure that Hide File types and extensions is unchecked.

Then just save the Notepad file as .txt. Just click on it once, then rename it to .sqs.

Share this post


Link to post
Share on other sites

Why bother renaming and stuff.....just add the extension '.sqs' when you save it...oh well whatever, I give up. smile.gif

By the way, Intruder, you´re absolutely right about the no-hiding of file extensions. Really bugs me when I'm trying to find files just by browsing the windows on my bros comp. He refuses to show the extensions. Oh well, me out. wink.gif

Share this post


Link to post
Share on other sites

MAJOR CLARIFICATION!

I always use "save as" - not "save" - and then blah.sqs.

(Bowing ones head and humbly sneaks out the backdoor)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×