Home   Help Search Login Register  

Author Topic: Link to that software that does all ur briefings objectives things  (Read 4007 times)

0 Members and 1 Guest are viewing this topic.

Gooner861

  • Guest
Ok so ive looked around for sum tutes on init.sqs and only found synpirs little section on them. Although the tute is good it doesn't really say much about how to make the init.sqs.

Is it just a simple task of opening wordpad, calleing it init.sqs and then sticking 1" ObjStatus "HIDDEN" etc into it.
How do i make them? How wud i put all the info in it + it wud be nice to actually see an example init.sqs to see what they look like etc.

Thanks.

Offline rhysduk

  • Former Staff
  • ****
The best way to make the INIT.SQS file is using CHOFPSE. Click File>New File> Other> Init.sqs..

Save it to your mission folder. Hey presto!

Yes it as simple as that.. open the INIT.sqs file, and just put "1" ObjStatus "Hidden" in there..

My example init.sqs file is below if you want to look at it...
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Gooner861

  • Guest
I didnt know Chris's thing had it.

 ;D I didnt know it was that easy, thanks m8.

« Last Edit: 04 Jun 2004, 15:52:34 by Gooner861 »

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Think of the init.sqs file as a really big init field of a unit, except that it's a script. It will just as the init field of a unit be launched directly when the player starts the mission.

:beat: *Gets Shot* :beat:

Offline rhysduk

  • Former Staff
  • ****
Quote
I didnt know it was that easy, thanks m8.

no problems mate :)
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Gooner861

  • Guest
Another thing, shud be the final question, with my briefing.html overview.html done when i click preview in the mission editor shud all the overview etc appear like in a real mission.

Offline rhysduk

  • Former Staff
  • ****
The overview will not appear when you click preview because this what you see when u want to selects mission in the Single Player Menu. But you will see your breifing when you click preview.

Note you have to click "m" to bring up the map, and then enlargen the notepad (if not allready enlargened) by double clicking it..

The more questions the better..

Rhys
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Gooner861

  • Guest
Right im gonna go try it now be back in an hour or so to tell if it all worked. Hopefully.  :) .

Gooner861

  • Guest
Yessssssssssssssssssssssss!!!! Finally all that messing around has payed off!!! Thanks everyone who helped me on this thread, im 98% finished on my first ever mission.

One more thing: how do you activate the intro and outro win?

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
It triggers automaticly. To choose between outro win and outro loose u have to do something with the description.ext I think. Can't remember exactly what the line was, try searching.

:beat: *Gets Shot* :beat:
« Last Edit: 04 Jun 2004, 16:33:11 by The real Armstrong »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Intro plays automatically before the Briefing.

The Outro plays automatically after the Debriefing screen.

Win Outro if one of the numbered endings was triggered.  (End#1 etc).    Loose Outro if the Loose ending type is triggered.

Loose has got nothing whatsoever to do with lose.

None of this has anything at all to do with description.ext.   Armsty was having a brainstorm.    ;D
Plenty of reviewed ArmA missions for you to play

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Aw, right. Have to stop eatin these mushrooms. So tasty... can't... :-\

:beat: *Gets Shot* :beat:

Gooner861

  • Guest
Thank god for that, i was thinking i wud have to learn frm scratch wot a description.ext wud do. Thanks Armsty  ;D .

So all i need to do is have a trigger with "this exec "outro.sqs" " and put it to end#1.

Wots the difference between just a normal outro and win outro. Cos i want my outro to start up not after the debrifing screen but before it.


EDIT:

Damn, ive just tryed doing my win outro, and ive encountered a problem. I created my outro in the "win outro" part of the list but now when i play the win outro in my mission its totally different to what i created, like the trucks i people i placed in the editor arent there its just empty.

I think that means i will have to play the outro after the debriefing, but how can i do that if ive already made the outro in the win outro section.
« Last Edit: 05 Jun 2004, 11:41:14 by Gooner861 »

Gooner861

  • Guest
Crisis ova, it all works fine, everything works  ;D . Objectives show up wen there meant 2, intro and outro's show up properly. Thanks for the help.

Just two minor things, how can i get a marker up to show who my group leader is cos i keep avin 2 click "where are you" to locate him + how do u get the yellow waypoints to show up?
« Last Edit: 05 Jun 2004, 15:45:48 by Gooner861 »

Offline rhysduk

  • Former Staff
  • ****
Hi, me again,

For the markers do this:-

1.  Name the unit that the leader is, in this example he is named "you"
2.  Make a marker in the editor to correspond ot the position of the leader, and name it "you_marker"
3.  Put this code into a script, save the script in your mission folder.
4.  Exec the script in the INIT.sqs file, pu thtis inthe INIT file: [] exec "leaderposition.sqs"

Code: [Select]
_unit = you; _mark = "you_marker"
?(alive _unit): _mark setmarkerpos [getpos _unit select 0, getpos _unit select 1]
?(!alive _unit): _mark setmarkerpos [0,0]

For the waypoints:


Do you mena u want the wayponts to show up on the map? TO do this, in the EDIT WAYPOINT dialogue box (double click the waypoint), look down the bottom, and you will see womething like Show Waypoints, it should be on Never, click Veteran or Cadet mode for the waypoints to be shown on the map in the respective game modes.

If you want the waypoints to show up in game, i think they will, in other words i dont think they always show up when u click PREVIEW, unless it has somehting to do with the SHOW WAYPOINTS command..

Regards

Rhys
« Last Edit: 05 Jun 2004, 17:24:28 by rhysduk »
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)