OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Gooner861 on 02 Jun 2004, 19:21:09

Title: Can someone give me an example of all the filles you use for objectives?
Post by: Gooner861 on 02 Jun 2004, 19:21:09
Just wondering if anyone can show me there briefing.html., init.sqs by copying and pasting it onto here. Ive read Synpirs tut and seen macguba's tut mission but i just wanna see wot u guys have. I still dnt really understand how to get them to work etc

Thanks in advance for any help.

 ;D
Title: Re:Can someone give me an example of all the filles you use for objectives?
Post by: rhysduk on 02 Jun 2004, 19:52:21
Hi,

Take a look at this ZIP file, these are my current inti.sqs and briefing.html files for my mp map.. they are examples.. but theres so many different ones out there.. Download a couple of missions, dePBo them andlook at these files..

The Init.sqs file is an initiation file, as soon as the mission loads this file is called / read by OFP..

The breifing file is what is seen after the INtro on a mission.. it usually outlines objectives and a small plan... mission gear, mission notes and your group ...

Rhys
Title: Re:Can someone give me an example of all the filles you use for objectives?
Post by: General Barron on 03 Jun 2004, 03:15:30
Looking at other people's init.sqs files won't do you any good.

All init.sqs is, is a script that is run as soon as the mission starts (before the briefing screen, actually). That's it. What you do with it from there will depend entirely on your own needs. You can achieve the same thing by executing a script in any unit's init field.
Title: Re:Can someone give me an example of all the filles you use for objectives?
Post by: Gooner861 on 03 Jun 2004, 09:08:49
Yeah i was wondering what it was when i opened it, it wasn't what i expected. I'll try reading through synpir's and macs tuts again see if i can make any sense of it.