Closed nerdalertdk closed 10 years ago
Still need to clean minefield.sqf up and remove all used code ohh yeah and test :smile:
Pulling this to test
Let me know how it goes :) I'm hoping for success
Currently stuck on finding the road flare (red one) class to replace with the one used now (which only works for like 10 seconds).
Redone this one, too much stuff we don't need.
What about the normal dayz flare ?
Yeah i dont know the classname and couldnt find it. Think i got it now though HandRoadFlare
But the mines are working ?
Nah that file you added just produced a lot of errors and the code was one big spaghetti of death. I'm trying to simplify and redo it.
HandRoadFlare did not work :(
The classname for the burning one is just roadflare
Taken from epoch code
if (_ammo isKindOf "RoadFlare") then {
//hint str(_ammo);
_projectile = nearestObject [_unit, "RoadFlare"];
_id = [_projectile,0] spawn object_roadFlare;
/* PVS/PVC - Skaronator */
_pos = getPosATL player;
_inRange = _pos nearEntities ["CAManBase",1250];
{
if(isPlayer _x && _x != player) then {
PVDZE_send = [_x,"RoadFlare",[_projectile,0]];
publicVariableServer "PVDZE_send";
};
} count _inRange;
_id = _this spawn player_throwObject;
};
Will at it later tonight
_marker_add = "RoadFlare" createVehicle getPosATL _box;
_marker_add setPosATL (getPosATL _box);
_marker_add attachTo [_box, [0,0,0]];
_flare_light = [_marker_add,0] spawn object_roadFlare;
Try this
Will do. Got the mines working, they are awesome. Only problem, they dont touch of with vodniks xD Work perfectly for thanks and urals though lol
Witch mine class are you using ?? There are mine and minee I think
Can we make something like
While(_playerpresstent) {
if (nearestObjects [vehicle player, ["Wheeled_APC"], 3]) then {
BOOM MINE MINE MINE
}
}
MineE. Both mines have the same config, just different models. There is also a MineGeneric or something like that. Might try that one.
Did you fix the vodnik vs. Mine's ???
Think i did yeah
Nice can't to load on the my servers :)
:+1:
I've released 2.0.0 and made a new topic on the epochmod.com forums.
Thanks for all your help on this!
Well I'm ready for 2.1.0 can't wait for the c130 mission and the hostage :)
Warning untested code :) Have not tested this code since i'm not near my gaming PC