Jump to content

Help adding side events


(TLS)

Recommended Posts

Ive followed this

 

 

But ive had no success following it exactly , can anyone help?

 

i added the ["any","any","any","any",55,"Construction"] to the end of my events in my Init.sqf.

 

I unpacked my server PBO.

And added the attached file "Construction".sqf

Into my modules folder.

and repacked .

 

But nothing, anyone? thanks.

Link to comment
Share on other sites

now it makes sense, so it has a percentage to spawn every 55 minutes? 

 

can this be changed at all just to test it? so if i replace the 55 with 2 its going to run in 2 minutes...?

 

and as for the percentage i assume that can also be changed ?

and do you know what the "wait time" option means inside the "constructions.sqf?

 

thanks.!

Link to comment
Share on other sites

And if that's how it works would you know why under my EpochEvents , it has ["any","any","any","any",0,"crash_spawner"] as default? so does that mean that will run as soon as the server starts or not at all?

 

Also the crashspawner, does this give a message for these or are thye just hidden random events?#

 

ty

Link to comment
Share on other sites

1. Yes there is a percentage, it should be located somewhere at the top of the file.

 

2. no, its not a countdown timer. It simply marks the minute that it spawns. So if it is at 30, it will still spawn every hour, just at the 30 minute mark of each hour (2:30, 3:30. 4:30 etc)

 

3. crash_spawner is the heli crashes you find throughout the map. I'm not entirely sure if the 0 means just at start up or at the beginning of every hour. But just a little tip, you can increase the amount of crashes that spawn on your server by doing this:

just 1 or more of these lines

["any","any","any","any",20,"crash_spawner"] 

to look like this

Epoch Events = [["any","any","any","any",10,"crash_spawner"], ["any","any","any","any",30,"crash_spawner"], ["any","any","any","any",40,"crash_spawner"], ["any","any","any","any",55,"crash_spawner"]];

And now a new heli crash will spawn at the 10 minute mark, 30 minute mark, 40 minute mark, and 55 minute mark of every hour. So essentially you would have 4 new heli crashes spawn every hour on your server instead of just the default of 1 or 2.

 

4. Somewhere in your RPT log there are messages telling you where and when the crashes spawned.

Link to comment
Share on other sites

The time you enter relates to the minutes every hour game time. So if you set it to 55 it will launch that entry at 55 minutes past the hour game time. Setting it to 2 would make it run at 2 minutes past the hour game time. 

 

"And if that's how it works would you know why under my EpochEvents , it has ["any","any","any","any",0,"crash_spawner"] as default? so does that mean that will run as soon as the server starts or not at all? Also the crashspawner, does this give a message for these or are thye just hidden random events?#"

 

The crash_spawner set to 0 it runs at server start since the server starts at the top of the hour unless you specify otherwise in HIveExt.ini. 

 

"and as for the percentage i assume that can also be changed ?"

Yes look in the mission for:

_spawnChance =  0.35;

 

For testing change it to:

_spawnChance =  1;

 

1 = 100% chance so .35 = 35%

 

"and do you know what the "wait time" option means inside the "constructions.sqf?"

 

It's how long the mission will stay active before it deletes the loot.

Link to comment
Share on other sites

Thanks. Ive got it working but how do i make it so there is a message on screen when it spawns in and how do i make it so it triggers a message saying its been found when its looted? at the moment theres nothing and the green marker stays put on the map ?

 

thanks.

Link to comment
Share on other sites

Scroll down in construction.sqf untill you find a line that says

// Send Top Right message to users , requires Remote message script

put 

"//"

infront of the 3 other lines under it

 

Right under that where it says

// Send center message to users 

Take out the 

"//"

that is before the line under it.

 

In that same line you can customize the message that appears on the screen.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...