OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Headhunter on 02 Apr 2003, 17:58:19

Title: Ext.
Post by: Headhunter on 02 Apr 2003, 17:58:19
How do i make a .ext???
I have tryed to just rename a text doc. but that dosen't work!

What shall i do???????????????
Title: Re:Ext.
Post by: dmakatra on 02 Apr 2003, 18:30:23
WTF is an .ext?
Title: Re:Ext.
Post by: Headhunter on 02 Apr 2003, 19:57:20
A description.ext file.
It's in a LOT of homemade missions
Title: Re:Ext.
Post by: dmakatra on 02 Apr 2003, 21:10:37
DOH! IÂ'm so stupid! :tomato:
Title: Re:Ext.
Post by: Black_Feather on 02 Apr 2003, 23:48:33
Right this is how I do it, right click and select new text document, and then rename it straight away to description.ext thats it. If that doesn't work try using notepad and when you save the file selct all file types and save it as description.ext

If neither of them work you've probably got file extensions hidden but I cant remember how to change that, you do it with explorer somehow.
Title: Re:Ext.
Post by: macguba on 03 Apr 2003, 01:25:31
Copy and paste the one from the Tutorial Mission.  (http://www.ofpec.com/editors/resource_view.php?id=84)   It's got some of the stuff you want in a description.ext already in there.   Which is nice.
Title: Re:Ext.
Post by: Headhunter on 03 Apr 2003, 13:46:22
 ;D Thx u guys, it worked  ;D
Title: Re:Ext.
Post by: Headhunter on 03 Apr 2003, 13:55:33
i have an other question for ya.

how do i make the misic loop??????
Title: Re:Ext.
Post by: dmakatra on 03 Apr 2003, 17:05:45
donÂ't know what misic means but a loop is in a script. Let us say that a script makes an bomb the shit outta him script. Like this one:

#loopdaloop
bomb="shell73" camcreate getpos DaTank
~0.1
goto "loopdaloop"

The goto "loopdaloop" command means that the scripts start over again at #loopdaloop.
Title: Re:Ext.
Post by: Headhunter on 03 Apr 2003, 17:24:20
Misic means music,
are u sure the script work with music also???

thx anyway im gonna try it