Jump to content
Sign in to follow this  
Aculaud

Init.sqs question

Recommended Posts

what exactly can i do with the init.sqs? I heard i can use a titlecut command at the begining so that it fades in perfectly from the start of the mission, but what does this effect? Where id need it to fade in perfectly is the intro to hide the units until the cinema had actually started.

Second, i was wondering about giving units that would be communicating with me in the field different titles. As in, instead of Alpha Black 1, id want something like HQ, or Apollo. Iv experimented with this, but to no avail thus far. Can i define an entity under a name i choose to communicate with me in the init.sqs?

Other than that, what else can i do?

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 </td></tr><tr><td id="QUOTE">what exactly can i do with the init.sqs?<span id='postcolor'>

Ask what you can't do with it.. smile.gif

init.sqs file is executed before the mission starts, like

are the initialization fields of the units.

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">Where id need it to fade in perfectly is the intro to hide the units until the cinema had actually started.<span id='postcolor'>

If I have a cutscene in the beginning of the mission, I put in the init.sqs :

titletext["","BLACK OUT",0] (or was it titlecut)

and then in cutscene script, when the first camera is ready,

I put

titletext["","BLACK IN",2]

Is that what you want to do?

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">id want something like HQ<span id='postcolor'>

If I have radio communication with HQ, i put this line into the init.sqs:

PAPABEAR = [West,"HQ"]

so I can use it like this:

PAPABEAR sideRadio "this_is_papabear_radio_transmission"

And then the radio message says:

HQ: "blaah blaah blaah"

Other than those, I declare "global variables" in init.sqs

Like

debug = true

benchmarkresult = benchmark

and so on..

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  

×