Jump to content
Sign in to follow this  
juandayz

[Release]//\\ [No one left back!]

Recommended Posts

Awesome @juandayz

 

To make it a bit more realistic I change the vehicle list to this:

_loaddragee = _dragee getVariable["loaddragee",true];
_allowedVehicles = [
"S1203_ambulance_EP1",
"HMMWV_Ambulance",
"HMMWV_Ambulance_CZ_DES_EP1",
"GAZ_Vodnik_MedEvac",
"M113Ambul_TK_EP1",
"UH60M_MEV_EP1_DZ",
"pook_H13_medevac_CIV"
];

 

Share this post


Link to post
Share on other sites

Installed and get a weired error. I can take the body, but can´t move. Second time I try I broke my leg :blush:

The char doesen´t make the correct animation by drag the body. The corpse hang only between the legs on the ground.

BTW, no collisions with bury and butcher, take clothes and check wallet :wink:

Share this post


Link to post
Share on other sites
2 hours ago, Anhor said:

Installed and get a weired error. I can take the body, but can´t move. Second time I try I broke my leg :blush:

The char doesen´t make the correct animation by drag the body. The corpse hang only between the legs on the ground.

BTW, no collisions with bury and butcher, take clothes and check wallet :wink:

I ran into this problem when playing around with the other versions of this script. Im not 100% sure what causes it.

To be a bit more specific, the problem I sometimes get is with the animation of picking up the corpse "acinpknlmstpsraswrfldnon_acinpercmrunsraswrfldnon".
It completes the animation but once the _dragee is on the player's shoulders I am stuck. I can pivot and look around, just no foot movement.
You can press V to vault or C to crouch and sometimes you'll get out of it and youll run around like normal and the corpse will float around near you lol . Ive run into this with other playMove and switchMove animations though. Its not specific to this script.

Share this post


Link to post
Share on other sites
1 minute ago, oldmatechoc said:

I ran into this problem when playing around with the other versions of this script. Im not 100% sure what causes it.

It be a bit more specific, the problem I sometimes get is with the animation of picking up the corpse "acinpknlmstpsraswrfldnon_acinpercmrunsraswrfldnon".
It completes the animation but once the _dragee is on the player's shoulders I am stuck. I can pivot and look around, just no foot movement.
You can press V to vault or C to crouch and sometimes you'll get out of it and youll run around like normal and the corpse will float around near you lol . Ive run into this with other playMove and switchMove animations though. Its not specific to this script.

Maybe @juandayz knows a solution for it. I´m unable to try it further ........ running out of morphine sticks :tongue:

Share this post


Link to post
Share on other sites

the broke leg its an addon  you can remove it from this lines:

 if (_rand < _SetChance)  then {
	   disableserialization;
       r_fracture_legs = true;
       _unit setHit["legs",1];
      _unit setVariable ["hit_legs",0,false];
      _display = uiNamespace getVariable 'DAYZ_GUI_display';
      _control = _display displayCtrl 1203;
      _control ctrlShow true;
	  systemChat ("you broke your leg by the wheigt");	  
      r_drag_sqf = false;	  
      };

this issue

Quote

You can press V to vault or C to crouch and sometimes you'll get out of it and youll run around like normal and the corpse will float around near you lol

i see that when start to write it.. so my fix was add a speed restriction.. this line:

if (speed player > 15) then {r_drag_sqf = false;};//drop body if player run   

 

About the animations... zeds have diferent animation that players an animals.

the player dead and animal use the carry anymation, the zed use the oldma anim.

if  (_zeds) then {
		_unit switchmove "acinpknlmstpsraswrfldnon_acinpercmrunsraswrfldnon";
		uiSleep 2;
		_dragee switchmove "AinjPfalMstpSnonWrflDnon_carried_Up";
		_dragee attachto [_unit,[0.1, 0, 0]];
		uiSleep 0.02;
		_dragee setDir 180;
		}else{
		_unit playActionNow "grabDrag";
		uiSleep 2;
		//_dragee switchmove "ainjppnemstpsnonwrfldb_still";		
		_dragee attachto [_unit,[0.1, 1.01, 0]];
		uiSleep 0.02;
		_dragee setDir 180;
		};		

Do you have a video or something to see what happend on your specific case?

Share this post


Link to post
Share on other sites

The players love the animation for draging zeds ........ the char looks like drunken :biggrin:

BTW, I get the Flashlights and Siren for Police and Ambulance working for 1.0.6.1

 

Share this post


Link to post
Share on other sites

looks realy great.

But i have got errors in player RPT

 


Error in expression <_loaddragee) then {

if (_unit distance _objects < 5) exitWith {

player removeA>
  Error position: <_objects < 5) exitWith {

player removeA>
  Error Nicht definierte Variable in Ausdruck: _objects
File mpmissions\__CUR_MP.panthera2\scripts\dragcorpses\drop_body.sqf, line 20

Share this post


Link to post
Share on other sites
3 minutes ago, Kimarik said:

looks realy great.

But i have got errors in player RPT

 


Error in expression <_loaddragee) then {

if (_unit distance _objects < 5) exitWith {

player removeA>
  Error position: <_objects < 5) exitWith {

player removeA>
  Error Nicht definierte Variable in Ausdruck: _objects
File mpmissions\__CUR_MP.panthera2\scripts\dragcorpses\drop_body.sqf, line 20

add this 3 variables in private section of drop_body.sqf

,"_dragee","_unit","_loaddragee"

Share this post


Link to post
Share on other sites

@Anhor @oldmatechoc @azzdayz

Spoiler

Arm_A2_OA_2017-05-29_18-04-49-64.jpg

 

code:

player_dragbox.sqf

Spoiler

private ["_unit","_dragee","_pos","_dir","_addAction","_rand","_SetChance","_zeds"];
_dragee = _this select 3;
_unit = player;
_addAction = false;
if (isNull _dragee) exitWith {};
r_drag_box = true;
while {r_drag_box} do {
	if (!_addAction) then {
	    player removeAction s_player_dragbox;
		s_player_dragbox = -1;			
		
		_unit playActionNow "grabDrag";
		uiSleep 2;
		//_dragee switchmove "ainjppnemstpsnonwrfldb_still";		
		_dragee attachto [_unit,[0.1, 1.01, 0]];
		uiSleep 0.02;
		_dragee setDir 180;
		_loadbox = _dragee getVariable["loadbox",false];					
		uiSleep 1;
		
		_addAction = true;			
		uiSleep 1;
       
	   
	   
	   
	  if (!_loadbox) then {
		_dragee setVariable["loadbox",true,true];		
		drop_box = player addAction ["<t color='#D4909B'>Drop/Load box</t>", "scripts\drop_box.sqf",_dragee, 0, false, true];
		};
	  systemChat ("do not run");
	  systemChat ("Find  Vehicles to load the box");
	  };    
 
	 (FindDisplay 106)closeDisplay 1;   //close gear if player open it          
    if (speed player > 15) then {r_drag_box = false;};  
	if (vehicle player != player) then { 
		player action ["eject", vehicle player];
		r_drag_box = false;
		};

	if (!r_drag_box) exitWith {
	_dragee setVariable["loadbox",false,false];
	
	player removeAction drop_box;
	detach _dragee;
	_unit switchMove "";
	};
	uiSleep 0.001;
};

 

drop_box.sqf

Spoiler
private ["_allowedVehicles","_objects","_mypos","_dir"];

_dragee = _this select 3;
_unit = player;

_loadbox = _dragee getVariable["loadbox",true];

_objects = nearestObjects [getPos player, ["LandVehicle"], 4];
_objects = _objects select 0;
if(_loadbox) then {
_mypos = getposATL player;
_dir = getdir player;
_mypos = [(_mypos select 0)+2*sin(_dir),(_mypos select 1)+2*cos(_dir), (_mypos select 2)];

if (_unit distance _objects < 4) exitWith {

player removeAction drop_box;
r_drag_box = false;

detach _unit;
_unit switchMove "";
detach _dragee;


_dragee attachTo [_objects, [0, 0, 0]];
_dragee setVariable["loadbox",false,false];	

};

systemChat ("you need  vehicle to load it");
player removeAction drop_box;
r_drag_box = false;
detach _unit;
_unit switchMove "";
detach _dragee;
_dragee setDir _dir;
_dragee setposATL _mypos;
_dragee setVariable["loadbox",false,false];
};

if (true) exitWith {};

 

fn_selfactions.sqf

Spoiler
//find!!!!!!!!!!!
} else {
	//Engineering

//////PASTE BELOW!!!!!!!!!!!!!!
	player removeAction s_player_dragbox;
		s_player_dragbox = -1;

 

FIND:

//fuel tanks
	if (_hasEmptyFuelCan) then {
		{
			if (_cursorTarget isKindOf _x) exitWith {_isFuel = true;};
		} count dayz_fuelsources;
	};

PAste above:

//DRAG CRATES
	_iscrate = _typeOfCursorTarget in DZE_crates;
     if (_iscrate) then {
	if (s_player_dragbox < 0) then {
		s_player_dragbox = player addAction ["<t color='#D4909B'>Drag Box</t>", "scripts\player_dragbox.sqf", _cursorTarget, 0, false,true];
		};
	} else {
		player removeAction s_player_dragbox;
		s_player_dragbox = -1;
    };

 

variables.sqf

Spoiler
FIND:

//Player self-action handles
dayz_resetSelfActions = {

//paste BELOW
s_player_dragbox = -1;

And in somewhere paste

DZE_crates = ["USBasicWeapons_EP1",
"USBasicWeaponsBox",
"LocalBasicWeaponsBox",
"UNBasicWeapons_EP1",
"RUBasicWeaponsBox",
"TKBasicWeapons_EP1",
"CZBasicWeapons_EP1",
"SpecialWeaponsBox",
"USSpecialWeapons_EP1",
"USSpecialWeaponsBox",
"RUSpecialWeaponsBox",
"TKSpecialWeapons_EP1",
"GERBasicWeapons_EP1",
"GunrackUS_EP1",
"Gunrack2",
"GuerillaCacheBox",
"USOrdnanceBox_EP1",
"USOrdnanceBox",
"RUOrdnanceBox",
"BAF_BasicAmmunitionBox",
"BAF_Launchers",
"BAF_OrdnanceBox",
"BAF_VehicleBox",
"DZ_ExplosiveBoxRU",
"DZ_ExplosivesBoxUS",
"DZ_AmmoBoxRU",
"DZ_MedBox",
"DZ_CardboardBox",
"USLaunchers_EP1",
"USLaunchersBox",
"RULaunchersBox",
"TKLaunchers_EP1",
"USBasicAmmunitionBox_EP1",
"USBasicAmmunitionBox",
"LocalBasicAmmunitionBox",
"UNBasicAmmunitionBox_EP1",
"RUBasicAmmunitionBox",
"TKBasicAmmunitionBox_EP1",
"USVehicleBox",
"Ammobox_PMC",
"TKVehicleBox_EP1",
"USVehicleBox_EP1",
"RUVehicleBox"
];	

 

tnks @iben

Share this post


Link to post
Share on other sites

Funny!

But I run into another prob atm .......... I´m trying to add some "old" vehicles into our lingor server. Something like the AH1G "Cobra" (the Vietnam original) or the M113 A1 (also original Vietnam) or the original riverine boats (Zippos).

I allready have the pbo´s for it ....... with bisign´s ......... but there are for the Unsung Vietnam Mod.

My prob is, I have no clue about bisign´s ............

 

Share this post


Link to post
Share on other sites
Just now, Anhor said:

Funny!

But I run into another prob atm .......... I´m trying to add some "old" vehicles into our lingor server. Something like the AH1G "Cobra" (the Vietnam original) or the M113 A1 (also original Vietnam) or the original riverine boats (Zippos).

I allready have the pbo´s for it ....... with bisign´s ......... but there are for the Unsung Vietnam Mod.

My prob is, I have no clue about bisign´s ............

 

mmm are you talking about this mod or u are in a wrong place?:laugh:

Share this post


Link to post
Share on other sites
Just now, Anhor said:

@juandayz

my hope was that you or @oldmatechoc can help me with that ;)

 

oh yes,, check when you add some @mod folder.. you need a bikey. ( put it into key folder in root of your server files). Some @mods from armaholics are not signed by a key.. so you wasted.. also you need add the name of the mod into mission.sqm. at top

example:

Spoiler

addOns[]=
    {
        "ibr_panthera2",
        "map_eu",
        "ca_modules_animals",
        "dayz_anim",
        "dayz_code",
        "dayz_communityassets",
        "dayz_weapons",
        "dayz_equip",
        "cacharacters_pmc",
        "ca_modules_functions",
        "dayz_epoch",
        "warfarebuildings",
        "ind_tank",
        "camisc_e",
        "glt_m300t",
        "pook_h13",
        "csj_gyroac",
        "jetskiyanahuiaddon",
        "redryder",
        "Anzio_20",

"a new mod"

 
    };

and in your launcher.bat

Spoiler

echo off
start "arma2" /min "D:\epoch16\arma2oaserver.exe" -port=2302 "-config=instance_16_panthera\config.cfg" "-cfg=instance_16_panthera\basic.cfg" "-profiles=instance_16_panthera" -name=instance_16_panthera "[email protected];@ibr_plants;@ibr_rn;@DayZ_Epoch;@DayZ_Epoch_Server;@phantera;@newmodfolder"

 

for made a test.. try this skins. ( works on epoch cuz are signed with a key) i was using it for my epoch nuclear wars.

http://www.armaholic.com/page.php?id=18238

Share this post


Link to post
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
Sign in to follow this  

  • Similar Content

    • By Bloodthirsty
      Hey I just need some files for this server, any and all you guys can come up with and think it deserve post that shit in chat rn. I want to see some crazy ideas and additions if you got em :) Lets see what you guys can come up with

    • By juandayz
      I JUST LEAVE THIS ONE CUZ I KNOW YOU GUYS GONNA NEED IT..
       
      The very old safezone script by infistar... i was using it in 1.0.5.1  and made some changes to use in 1.6.
      Instructions:
          1. Copy paste the code of below into a file called 16_safezone.sqf - save the file.
          2. Paste this 16_safezone.sqf into mpmissioms\instance_11.chernarus\custom\
          3. Open your init.sqf
          4. At the very bottom of the file add this line:  [] execVM "custom\16_safezone.sqf";
          5. Save the init.sqf and restart your server.
          6-WARNING!!! if ure using some kind of mod that allow vehicles with GodMode out of safezones..  then you will need in 16_safezone.sqf change the path for veh_handleDam.sqf by the path that youre using your custom veh_handleDam.sqf
      this line:  fnc_veh_handleDam = compile preprocessFileLineNumbers '\z\addons\dayz_code\compile\veh_handleDam.sqf';
          16_safezone.sqf
       
      OPTIONAL:
      @BetterDeadThanZed here you got.
      REMOVE LOOT FROM TRADER CITIES AND PLOT POLES. (should removes zeds from trader places and poles too)
       
       
  • Advertisement
  • Advertisement
  • Supporters
  • Advertisement
  • Discord

×