You are not logged in.

  • Login
Bitte besucht unser neues Forum unter https://forum.nitrado.net | Please visit our new Forum at https://forum.nitrado.net

Schneewittchen

User / Kunde

  • "Schneewittchen" started this thread

Posts: 191

  • Send private message

1

Sunday, June 22nd 2014, 3:01pm

gutes "Take Clothes" Script für Epoch gesucht ...

Hallo Leute,

Ich bin auf der Suche nach einem guten "Take Clothes" Script.

Server: Epoch 1.0.2.4 & Infistar

was könnt ihr mir da empfehlen, bzw. wer hat da gute Erfahrungen mit einem Script gemacht.

Ich Danke euch schon mal im Voraus.

Blah1302

User / Kunde

  • "Blah1302" is male

Posts: 2,674

Location: NRW

Thanks: 25

  • Send private message

2

Sunday, June 22nd 2014, 3:03pm

Die deutsche Sprache ist Freeware, du kannst sie benutzen, ohne dafür zu bezahlen.
Sie ist aber nicht Open Source, also darfst du sie nicht verändern, wie es dir gerade passt.

Schneewittchen

User / Kunde

  • "Schneewittchen" started this thread

Posts: 191

  • Send private message

3

Sunday, June 22nd 2014, 3:36pm

Ah ja ....

Danke Blah1302, werd mich gleich mal daran machen und es testen ...





So habs mir mal auf den tsetserver gemacht nur leider passiert irgendwie nix ..

Ich habe ingame zwar schön die blaue option "Rake Clothes", aber es passiert trotz abgelegtem Bag nichts, irgendwo is der Wurm drinne und ich finde es einfach nicht ...



Auszug aus meiner fn_selfActions.sqf

Spoiler Spoiler



//Sleep
if(_isTent and _ownerID == dayz_characterID) then {
if ((s_player_sleep < 0) and (player distance _cursorTarget < 3)) then {
s_player_sleep = player addAction [localize "str_actions_self_sleep", "\z\addons\dayz_code\actions\player_sleep.sqf",_cursorTarget, 0, false, true, "",""];
};
} else {
player removeAction s_player_sleep;
s_player_sleep = -1;
};
_clothesTaken = _cursorTarget getVariable["clothesTaken",false];

// Take clothes by Zabn
if (_isMan and !_isAlive and !_isZombie and !_clothesTaken) then {
if (s_player_clothes < 0) then {
s_player_clothes = player addAction [("<t color='#0096ff'>")+("Take Clothes")+("</t>"), "scripts\player_takeClothes_v2.sqf",[_cursorTarget], -10, false, true, "",""];
};
} else {
player removeAction s_player_clothes;
s_player_clothes = -1;
};

//Repairing Vehicles

weiter unten


player removeAction s_player_studybody;
s_player_studybody = -1;
// Take Clothes by Zabn
player removeAction s_player_clothes;
s_player_clothes = -1;
//Dog




Auszug aus meiner

Spoiler Spoiler



// By Zabn 2013 @ BalotaBuddies.net
private["_itemNew","_onLadder","_skin","_body","_okSkin","_clothesTaken","_itemNewName","_result"];
_body = _this select 3;
_onLadder = (getNumber (configFile >> "CfgMovesMaleSdr" >> "States" >> (animationState player) >> "onLadder")) == 1;
if (_onLadder) exitWith {cutText ["You can't perform this action while on a ladder!" , "PLAIN DOWN"]};

if (vehicle player != player) exitWith {cutText ["You may not take clothes while in a vehicle", "PLAIN DOWN"]};

player removeAction s_player_clothes;
s_player_clothes = -1;

_skin = (typeOf _body);

_itemNew = _skin;

switch (_itemNew) do {
case "Survivor3_DZ": {
_itemNew = "Survivor2_DZ";
};
Da sind noch einige Skin eingetragen



case "Survivor3_DZ": {
_itemNew = "TK_INS_Warlord_EP1_DZ";
};

};


_itemNew = "Skin_" + _itemNew;
_okSkin = isClass (configFile >> "CfgMagazines" >> _itemNew);


if(_okSkin) then {
player playActionNow "Medic";
sleep 3;
_clothesTaken = _body getVariable["clothesTaken",false];
if(!_clothesTaken) then {
_itemNewName = getText (configFile >> "CfgMagazines" >> _itemNew >> "displayName");
_result = [player,_itemNew] call BIS_fnc_invAdd;
if (_result) then {
_body setVariable["clothesTaken",true,true];
cutText [format["One %1 has been added to your inventory!",_itemNewName], "PLAIN DOWN"];
} else {
cutText [format["You didn't have enough room to store a %1 :(",_itemNewName], "PLAIN DOWN"];
};
} else {
cutText ["This Skin has already been taken!", "PLAIN DOWN"];
};
} else {
cutText [format["Currently %1 is not supported by the steal skin script.",_skin], "PLAIN DOWN"];
};

This post has been edited 3 times, last edit by "Schneewittchen" (Jun 22nd 2014, 4:49pm)


pepek2

User / Kunde

Posts: 158

  • Send private message

4

Sunday, June 22nd 2014, 10:26pm

Hab die Take Clothes 1.0 am laufen. Funktioniert alles bestens. Probier die mal aus!
Gibt sogar ein deutsches Tutorial dazu : [Tutorial] Take Clothes - [GER]

Bitte besucht unser neues Forum unter https://forum.nitrado.net| Please visit our new Forum at https://forum.nitrado.net