Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Commando84

change time of day dialogue mp

Recommended Posts

i have done it sometime before but i don't got the codes for the change time stuff. i know its something to do with how you setup your description.ext file and time in the editor intel box but i don't know the code. anyone help me out? help.gif

i got tons of stuff but my params look like this so far for some other scripts

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">titleParam1=respawn count;

valuesParam1[]={1,3,5,7,9};

defvalueParam1=9;

textsParam1[]={1,3,5,7,9};

titleParam2=heal?;

valuesParam2[]={0,1,2};

defvalueParam2=2;

textsParam2[]={medic + medic autoheal, medic, all};

onLoadMission="Briefing"

how do i add the new params and how should they look like.

just simple some night time , morning and day time thingy nothing fancy. just 4 options to choose when you are in the lobby in mp.

Share this post


Link to post
Share on other sites

description.ext<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">titleParam2 = "Daytime";

valuesParam2[] = {1,2,3,4};

defValueParam2 = 3;

textsParam2[] = {"0000h","0530h","1200h","1830h"};init.sqs<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">? Param2==1 : skiptime -12

Param2==2 : skiptime -6.5

Param2==4 : skiptime 6.5Normal mission daytime is 1200h

But IIRC there are only two parameters possible for the multiplayer lobby.

Share this post


Link to post
Share on other sites

*Cough* Shameless plug *cough cough*

Try out my MP Voting/Administrator Console. It lets the players vote on all sorts of stuff, like changing the weather/time/difficulty/etc (you can add whatever you want). And/or, you can select a player to be the "admin", and he can set these things on his own (without voting). So you can use one param to determine which player is the admin, and then in-mission, the admin can adjust as many different "parameters" as you want!

vac2.jpg

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  

×