Jump to content

[RELEASE] Epoch Server Events


JasonTM

Recommended Posts

This is an update to events by AidemCramps2, and Caveman.

>>>Download Here<<<

Install instructions on github.

There are 8 different server events:

  • UN Supply Drop
  • Pirate's Treasure
  • Military Crate
  • IKEA Building Supplies
  • Abandoned Safes
  • Fuel Station Bomb
  • Rubble Town
  • Labyrinth

I have made high value loot such as gems, high powered snipers, and safes/lockboxes optional by setting a variable value. Examples:

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/pirate_treasure.sqf#L9

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L9-L10

Array of high powered snipers for military crate event. (This can be edited)

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/special_forces.sqf#L20

The weapons in the military crate will also get one random attachment each if they have them.

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/special_forces.sqf#L64-L75

I have changed the way the loot selecting works. There is a variable at the top of the file like this:

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L15

The event runs through a loop that many times and selects randomly from the loot array.

If you see something like this [12,"CinderBlocks"], it will add 12 cinderblocks to the crate if selected. You can change these numbers to suit your preferences.

Otherwise if the classname is just a string like this "ItemWoodStairs", it will add one of that object to the crate if selected.

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L15

Payden's "crate visited" concept has been added as an option for each event.

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L17

Markers are on a loop for join-in-progress players.

Crates will not be deleted while a player is still looting.

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L132-L135

This server-side mod uses the community stringtable and is translatable in English, German, Russian, and Spanish.

Credits

@Aidem original events

@Cramps2 original events

@Caveman original events

@Payden original crate visited concept and code

@LadyVal Spanish translations

@DAmNRelentless German translations

@RedLink Russian translations

 

 

 

Link to comment
Share on other sites

  • 2 weeks later...

Hi JasonTM,

I love this idea of having all of these events running one after another. Thanks for making this! I installed it and followed the directions but am seeing a few issues. 

First, I am not getting a notification that the even is happening. Like the crash spawner event will say "There is an MV22 in distress...". I replaced my stringtable.xml file with the one in the link provided.

Second, I don't see anything on the map other than a blue, green, etc. circle (see screenshot). Is there supposed to be some text to tell players what this is?

Third, when I added this the option to check wallets on players disappeared from the mousewheel scrolling. The option was there, but the text was not. It was just a blank space at the end of the mousewheel dropdown.

I suspect that the stringtable might be causing me some of these problems but I thought I would give you the feedback I have in case you know what I may be doing wrong off the top of your head.

Thanks again!

screenshot.jpg

Link to comment
Share on other sites

Just an update. So I reinstalled it all again but this time I did not replace the stringtable.xml file. I still get no notification of the supply drops (expected since it relies on the stringtable.xml) but am able to check wallets on the dead AI and players now, which is an improvement. They still just appear as a circle with no text on the map but the check mark does appear after it has been visited. One thing I haven't tried yet is diffmerging the stringtable.xml file rather than replacing it. Is that what was expected? The directions just say place it in my root but I already have a stringtable.xml file. Also, the one in my root is named stringtable.xml while the one it says to download is named stringTable.xml. Does that capital "T" make a difference?

Thanks!

Link to comment
Share on other sites

57 minutes ago, Vladick said:

Just an update. So I reinstalled it all again but this time I did not replace the stringtable.xml file. I still get no notification of the supply drops (expected since it relies on the stringtable.xml) but am able to check wallets on the dead AI and players now, which is an improvement. They still just appear as a circle with no text on the map but the check mark does appear after it has been visited. One thing I haven't tried yet is diffmerging the stringtable.xml file rather than replacing it. Is that what was expected? The directions just say place it in my root but I already have a stringtable.xml file. Also, the one in my root is named stringtable.xml while the one it says to download is named stringTable.xml. Does that capital "T" make a difference?

Thanks!

Please note that the "Hint" message option occupies the same screen space as debug monitors. If you have the debug monitor enabled, then you will only see the event announcement flash on the screen and then get replaced by the debug monitor because it runs on a loop. Perhaps I should not have set that as the default. Anyways, you can change to TitleText on this line, in each event, if you have the debug monitor on all the time.

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L16

The original files never included a center text marker for the events. I can add them as an option if you want.

Link to comment
Share on other sites

48 minutes ago, JasonTM said:

Please note that the "Hint" message option occupies the same screen space as debug monitors. If you have the debug monitor enabled, then you will only see the event announcement flash on the screen and then get replaced by the debug monitor because it runs on a loop. Perhaps I should not have set that as the default. Anyways, you can change to TitleText on this line, in each event, if you have the debug monitor on all the time.

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L16

The original files never included a center text marker for the events. I can add them as an option if you want.

Thanks JasonTM!

I did not know it was behind the debug! I will make the change.

Also, I think having a marker on the events goes a long way to telling everyone what it is, other than a heli crash or a mission. Maybe just something like UN Supply Drop, Pirate Treasure!, Spec Ops Air Drop and Building Supplies Air Drop.

Thanks so much! This gives my players something else to do besides looting, missions and going to skalisky for treasure. :)

Link to comment
Share on other sites

@Vladick

The event files have been updated.

I added the option for center dot markers with mission name text. They are set to false by default. You can turn them on by changing this line to true in each file:

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L14

Somebody asked about disabling the timeout, so I added that. You just change the timeout variable value to -1.

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L12

I set the announcement default to "titleText" with a warning about the "hint" announcements occupying the same screen space as common debug monitors.

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L17

Link to comment
Share on other sites

16 hours ago, JasonTM said:

@Vladick

The event files have been updated.

I added the option for center dot markers with mission name text. They are set to false by default. You can turn them on by changing this line to true in each file:

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L14

Somebody asked about disabling the timeout, so I added that. You just change the timeout variable value to -1.

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L12

I set the announcement default to "titleText" with a warning about the "hint" announcements occupying the same screen space as common debug monitors.

https://github.com/worldwidesorrow/Epoch-Server-Events/blob/master/modules/building_supplies.sqf#L17

Thanks JasonTM, this is awesome!

Link to comment
Share on other sites

  • 6 months later...
8 hours ago, GodZilla said:

Thanks Jason, this is great! Can we use this from aidem, because the original download link's are dead? Do we still have the permission of aidem to use that?

This is where all of the updated files are: https://github.com/worldwidesorrow/Epoch-Server-Events

There is a link at the top of the first post that says ">>>Download Here<<<".

Link to comment
Share on other sites

  • 1 year later...

Your server rpt tells you where to look.

 9:26:20 Error in expression < _pos;
_truck setVehicleLock "locked";m
_truck setVariable ["CharacterID","9999">
 9:26:20   Error position: <_truck setVariable ["CharacterID","9999">
 9:26:20   Error Missing ;
 9:26:20 File z\addons\dayz_server\modules\fuelstationbomb.sqf, line 73

You can see on line 72 that you have a rogue "m" after the semicolon. That is where it's bombing.

Link to comment
Share on other sites

14 hours ago, JasonTM said:

Your server rpt tells you where to look.


 9:26:20 Error in expression < _pos;
_truck setVehicleLock "locked";m
_truck setVariable ["CharacterID","9999">
 9:26:20   Error position: <_truck setVariable ["CharacterID","9999">
 9:26:20   Error Missing ;
 9:26:20 File z\addons\dayz_server\modules\fuelstationbomb.sqf, line 73

You can see on line 72 that you have a rogue "m" after the semicolon. That is where it's bombing.

Hmm, how did that get there.

Thanks for pointing that out.

Working fine now.

Link to comment
Share on other sites

  • 3 months later...
  • 2 years later...
  • 3 weeks later...
On 6/18/2024 at 10:19 AM, Reaper5150 said:

I can't get the map icons/markers to show up on the map, any ideas?

Have you looked at these in each mission file?

 

local _debug = false; // Diagnostic logs used for troubleshooting.
local _nameMarker = false; // Center marker with the name of the mission.
local _markPos = false; // Puts a marker exactly were the loot spawns.

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...