Jump to content

[Fixed] Animated Crash Spawner 1051


f3cuk

Recommended Posts

Lingor Island Coordinates :

 

_heliStart = [[862.89911, 816.75781],[2884.9204, 1093.1793],[3923.7927, 1078.5016],[6571.9326, 1575.0684],[3046.9241, 2413.4119],[5652.1348, 2944.7871],[1866.0063, 4954.5566],[3748.3994, 5456.0498],[6348.8232, 4448.1694],[8368.7148, 7673.5293]] call BIS_fnc_selectRandom;
Link to comment
Share on other sites

Possibly something wrong with Takistan "HelicrashArea" value. Try changing "_spawnRadius = HeliCrashArea;" to a fixed value like 6000.

 

Richie?

I have mine on Takistan as well.

 

I'm assuming you mean change  "_spawnRadius = HeliCrashArea;"       to   _spawnRadius = 6000;   

 

 

 Did this recommended fix work for anyone running Takistan?    I haven't had a chance to insert the change yet and reply.

Link to comment
Share on other sites

I have mine on Takistan as well.

 

I'm assuming you mean change  "_spawnRadius = HeliCrashArea;"       to   _spawnRadius = 6000;   

 

 

 Did this recommended fix work for anyone running Takistan?    I haven't had a chance to insert the change yet and reply.

 

If you have the same problems that BDTZ is experiencing then yes, change it to that and see if it's any better.

Link to comment
Share on other sites

Changed at your recommendation.  Now I have only a few touching down in the radiation zone.

 

Thanks mate

If you know what the starting point is for the ones landing in the radiation zones I can try moving them further in land, might get them all working how they should :)

Link to comment
Share on other sites

If you know what the starting point is for the ones landing in the radiation zones I can try moving them further in land, might get them all working how they should :)

 

I'll start looking at which ones are problematic and get back to you as soon as i have enough data.

 

So far:

UH-1H         out in radiation zone  south east side of the map .

UH-60M      out in radiation zone  south east side of the map .

Link to comment
Share on other sites

Weird, could you check if your mission.sqm contains the marker named "center"?

 

If not please add it else you could try changing.

_position = [getMarkerPos _spawnMarker,0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;

To

_position = [6622,6751,301],0,_spawnRadius,10,0,2000,0] call BIS_fnc_findSafePos;

And see if that helps.

Link to comment
Share on other sites

Mind if I ask what the _safetyPoint does? Does that define areas where to not create a crash?

 

Also is there any way to change this line so it comes up like a radio broadcast than a titletext?

 

[nil,nil,rTitleText,format["text %1 text",_porh], "PLAIN",10] call RE;

Link to comment
Share on other sites

_tv=abs(_xv)+abs(_yv)+abs(_zv);
if (_tv>2) then {_dr=1/_tv} else {>
14:50:27   Error position: <_zv);
if (_tv>2) then {_dr=1/_tv} else {>
14:50:27   Error Undefined variable in expression: _zv
14:50:27 File ca\Data\ParticleEffects\SCRIPTS\destruction\AirDestructionStage2.sqf, line 59
14:50:27 Error in expression < select 2]};
 
How do i avoid this rpt spam?
Link to comment
Share on other sites

Hi F3cuk

 

Im getting this error message. 

16:03:42 "CRASHSPAWNER: A-10 just exploded at [4540.32,14457.3,2.32785]!"
16:03:42 "_iClass isNil, exiting loot spawn!"
16:03:42 Error in expression <elect _index1;
_itemType = _itemTypes select _index2;

[_itemType select 0, _i>
16:03:42 Error position: <select _index2;

[_itemType select 0, _i>
16:03:42 Error Zero divisor
16:03:42 File z\addons\dayz_server\modules\animated_crash_spawner.sqf, line 255

Can you help me out? 

I have these

MilitarySpecial Hospital HeliCrash

in my custom loot and have replaced crash_spawner.sqf with _animated_crash_spawner, edited it correctly in my EpochEvents.

Im getting kinda stuck. 

 

 

 

Fixed! Changed to DZE_MissionLootTable = true; to =false

Now loot spawns :)

Link to comment
Share on other sites

All new to this, where to put in the

_heliStart = [[3458.7625, 2924.917],[11147.994, 1516.9348],[14464.443, 2533.0981],[18155.545, 1416.5674],[16951.584, 5436.3516],[16140.807, 12714.08],[14576.426, 14440.467],[8341.2383, 15756.525],[2070.4771, 8910.4111],[16316.533, 17309.357]] call BIS_fnc_selectRandom;

line, in what fine and line?

Link to comment
Share on other sites

Hi F3cuk

 

Im getting this error message. 

16:03:42 "CRASHSPAWNER: A-10 just exploded at [4540.32,14457.3,2.32785]!"
16:03:42 "_iClass isNil, exiting loot spawn!"
16:03:42 Error in expression <elect _index1;
_itemType = _itemTypes select _index2;

[_itemType select 0, _i>
16:03:42 Error position: <select _index2;

[_itemType select 0, _i>
16:03:42 Error Zero divisor
16:03:42 File z\addons\dayz_server\modules\animated_crash_spawner.sqf, line 255

Can you help me out? 

I have these

MilitarySpecial Hospital HeliCrash

in my custom loot and have replaced crash_spawner.sqf with _animated_crash_spawner, edited it correctly in my EpochEvents.

Im getting kinda stuck. 

 

 

 

Fixed! Changed to DZE_MissionLootTable = true; to =false

Now loot spawns :)

 

 

After changing it to false, the heli crashes spawn loot, but however, only  epoch loot spawns on the map, no more overpoch loot.

 

Can someone help me?

Link to comment
Share on other sites

After changing it to false, the heli crashes spawn loot, but however, only  epoch loot spawns on the map, no more overpoch loot.

 

Can someone help me?

Edit the loot tables so MilitarySpecial spawns Overwatch loot as well, the loot it spawns is defined in your custom loot table.

Link to comment
Share on other sites

Edit the loot tables so MilitarySpecial spawns Overwatch loot as well, the loot it spawns is defined in your custom loot table.

 

With loot tables do you mean the CgfBuildingLoot.hpp?

This is my ''MilitarySpecial''

class MilitarySpecial: Default {
zombieChance = 0.4;
minRoaming = 2;
maxRoaming = 6;
zombieClass[] = {"z_soldier_heavy"};
lootChance = 0.4;
lootPos[] = {};
lootType[] = {
{ "assaultrifles", "cfglootweapon", 0.1 },
{ "machineguns", "cfglootweapon", 0.04 },
{ "pistols", "cfglootweapon", 0.08 },
{ "sniperrifles", "cfglootweapon", 0.03 },
{ "militaryshotguns", "cfglootweapon", 0.05 },
{ "submachinegun", "cfglootweapon", 0.06 },
{"AmmoBoxSmall_556","object",0.01},
{"AmmoBoxSmall_762","object",0.02},
{"Binocular","weapon",0.01},
{"ItemFlashlightRed","military",0.02},
{"ItemKnife","military",0.01},
{"ItemGPS","weapon",0.01},
{"ItemMap","military",0.01},
{"Binocular_Vector","military",0.01},
{"militarybackpacks","militarybackpacks",0.04},
{"","medical",0.08},
{"","generic",0.3},
{"","military",0.01},
{"machinegunammo","machinegunammo",0.05},
{"militaryclothes","militaryclothes",0.05},
{"NVGoggles","weapon",0.01}
};

 

How would i define it for overpoch? i cannot find the ''cfglootweapon" in the other .hpp files

 

 

 

You turned off your custom loot tables thats why no overpoch loot spawns.....

 
Yes, i saw earlier in the topic this fixed it for someone, so i tried it but its not solution for me really.
 
 
 
 
 

@Awulle: Probably his -> 

 
 
Yes, im using the default ones from GTXgaming with should be ok. But i have also tryed the overpoch ones from MGT, wich give's me RPT errors, but i also tryed the ''clean default ones'' that are in that link but then i am still getting the same error i am posting about. 
 
Link to comment
Share on other sites

  • 2 weeks later...

 

_tv=abs(_xv)+abs(_yv)+abs(_zv);
if (_tv>2) then {_dr=1/_tv} else {>
14:50:27   Error position: <_zv);
if (_tv>2) then {_dr=1/_tv} else {>
14:50:27   Error Undefined variable in expression: _zv
14:50:27 File ca\Data\ParticleEffects\SCRIPTS\destruction\AirDestructionStage2.sqf, line 59
14:50:27 Error in expression < select 2]};
 
How do i avoid this rpt spam?

 

 

Bumb,

Also having this issue

Link to comment
Share on other sites

  • 2 weeks later...

Any help/suggestions appreciated,

I rent from SS.

Latest Epoch/ArmA2.

 

Mods I've installed without issues:

bon recruit AI

snap pro master

logistic

trade from vehicle/backpacks

 

The install for this event seems much easier, yet upon joining the server it just times out at the 120 count and I fall back to the player selction window. Pressing "continue" just loops to 120 again. 

 

 

Advice?

 

 

 

 

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
×
×
  • Create New...