Jump to content

Animated Helicrashs 0.1


Recommended Posts

Hey everybody,
 
so the great Script from Grafzahl Animated Helicrashs 0.1 (http://opendayz.net/threads/animated-helicrashs-0-1-release.9084) is not working with Epoch 1.0.1.1 or 1.0.1
The Crashsites spawns well, but without any Loot

You can find in the RPT Log something like this:

Error in expression <HeliCrash";
_weights =		dayz_CBLChances select _index;
_cntWeights = count _weig>
Error position: <select _index;
_cntWeights = count _weig>
Error Zero divisor
File z\addons\dayz_server\compile\server_spawnCrashSite.sqf, line 236

Solution

 
So, all you have to do is to:
 
Search for 

_index =        dayz_CBLBase  find "HeliCrash";

Replace this with the Epoch Code:
 

_index =        dayz_CBLBase find toLower(_lootTable);

Save, Pack your PBO and much fun :)

 

 

Edit: If you like to test it, simpy follow the Installation Instructions from the Main Topic and simply replace the server_spawnCrashSite.sqf

Link to comment
Share on other sites

Whilst I love the crash sites. They are getting old I feel. In the Epoch they should stop crashing ...as much. Also Planes!

 

So I don't get distracted from other stuff anyone keen to look at this to replace/add to the above?

 

http://www.opendayz.net/threads/animated-c130-crashes-eventually-dropping-carepackages-at-way-points.10427/#post-45235

Link to comment
Share on other sites

Whilst I love the crash sites. They are getting old I feel. In the Epoch they should stop crashing ...as much. Also Planes!

 

So I don't get distracted from other stuff anyone keen to look at this to replace/add to the above?

 

http://www.opendayz.net/threads/animated-c130-crashes-eventually-dropping-carepackages-at-way-points.10427/#post-45235

 

You referring to the care package drops? I've got it working on my server...it's kinda neat although I've yet to update the default loot tables which are kinda bleh  :lol:

Link to comment
Share on other sites

  • 3 weeks later...

Hi all,

 

Wondering if any1 could share their server_spawnCrashSite.sqf that has the merged Animated Heli Crashes 0.2 and Epoch 1.0.1.4.

 

I've got Notepad++ with Compare plugin but still not sure how to merge it correctly.

 

Cheers

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...