Home   Help Search Login Register  

Author Topic: testcam.sqs - sniper's tut  (Read 655 times)

0 Members and 1 Guest are viewing this topic.

funkster

  • Guest
testcam.sqs - sniper's tut
« on: 22 Jun 2005, 03:16:40 »
Hi all, 1st post yay! Sorry to sort of duplicate, but I could not find an exact answer to my prob.
I am attempting to follow snipers basic camera scripting tutorial.
I have followed everything he said, created the script 'testcam.sqs', and put it in my ...missions/testcam.intro folder. When i attempt to call it in the game ('preview'), i get the message "Script 'testcam.sqs' not found".

This is really annoying. Its there, I found in another tut that you have to choose 'all files' when saving the script, so i deleted it, and recreated it making sure i did that. But still, no good, I have just updated to 1.96....I dont know what to do.....Help me please someone, this is so annoying.

Thanks...

Offline Pilot

  • Contributing Member
  • **
Re:testcam.sqs - sniper's tut
« Reply #1 on: 22 Jun 2005, 03:34:36 »
First of all:
Welcome to the Forums! :wave:

Now, while I don't exactly know what's going on, I will suggest some general things for you to check:
1: Make sure there are no typos in the script name
2: Make sure the command calling the script has no typos
3: Make sure the script is a .sqs file and not a .txt file
4: Make sure you are in the right mission.

Other than that, I don't know what else to suggest.

-Student Pilot

funkster

  • Guest
Re:testcam.sqs - sniper's tut
« Reply #2 on: 22 Jun 2005, 04:57:56 »
Thanks Student Pilot, :)

Ive checked all that, i go over and over it, tried to rename the script, and changed the corresponding command to 'Camtest', but still, I get 'camtest not foud', grrrrrr!

The only thing I can possibly think of is that perhaps, wordpad still saves it as a .txt file, even though i name it .sqs, and thats what it displays as...?
How do I make sure my system doesnt hide certain file types as others have mentioned elswhere?

I think maybe there is just some bug in my system, I got into a lil editing before, and I remember having exactly the same prob with my music files which I called in the editor, and had converted to the correct format etc, but I would get the message that they werent found.

Hopefully someone may have encountered a similar problem along the way....??

Thanks.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:testcam.sqs - sniper's tut
« Reply #3 on: 22 Jun 2005, 08:26:56 »
Welcome to the forums, funkster

To make sure that windows isn't adding a .txt to the end of your file, try the following steps:
  • Open Windows Explorer
  • Select Folder Options from the Tools menu
  • Click on the View tab.
  • Make sure the option Hide extensions for known file types is UNchecked.
That was for windows XP specifically, but other flavours of windows should be about the same (give or take some of the option names being slightly different).

If you do all that and save your file as testcam.sqs, it will definitely be a .sqs file and not a .txt file ;)

Offline Speeder

  • Members
  • *
    • OFP.nu
Re:testcam.sqs - sniper's tut
« Reply #4 on: 22 Jun 2005, 09:00:27 »
could it be that you forgot the qoutes ""    something like []exec "testcam.sqs"
There are 10 kinds of people in this world. Those who get it, and those who don't.

funkster

  • Guest
Re:testcam.sqs - sniper's tut
« Reply #5 on: 23 Jun 2005, 06:26:05 »
Thanks all for your help,
Sui especially, thats what the problem was I think. That option was checked, so when i unchecked it I found the file was actually named "testcam.sqs.txt" !
Just tried it out, and violla, it finally works, thank god, I can script cams and do my own music now! YAY!

Thanks again for your help...

Offline Pilot

  • Contributing Member
  • **
Re:testcam.sqs - sniper's tut
« Reply #6 on: 23 Jun 2005, 14:06:17 »
Haha, I remember when I was first starting I had the same problem.  I guess I had forgotten about it. ::)  What boring lives would we lead without Windows?

If your problem is fixed be sure to click the solved button at the bottom of the page ;)

-Student Pilot