Jump to content

[Release] Take a dump


theduke

Recommended Posts

This is a script I found scrounging the internet for dayz scripts. There were no credits.

I cant find the website anymore. I DID NOT create this script.

If I can't release this, please remove it.

- Take a dump

Allows a player to "take a dump" once per restart.
Cannot do it near trader or base lol

It will act as a painkiller.  Handy if you run out of painkillers ;)

Spawns a toilet, you sit on it and do your business, with sounds of course

Installation:

This script is only mission sided

Download from the github link
https://github.com/theduke77/Take-a-dump


Place the dump folder in your custom folder. If you dont have one, create one.

I have it set on the GPS for the right click. Some have changed it to toilet paper, which seems appropriate, but you need to carry an extra item for that :)
Open your extra_rc.sqf

add this

class ItemGPS {   
        class dump {
            text = "Take a dump";
            script = "execVM 'custom\dump\dump.sqf'";
        };
    };    

Save and close

Open your description.extra

add this in CfgSounds

class dump
    {
        name = "dump";
        sound[] = {custom\dump\dump.ogg,0.4,1};
        titles[] = {};
    };

save and close.

Enjoy!
Make sure you carry a change of clothes LOL!

Link to comment
Share on other sites

On 3/21/2017 at 0:45 AM, Hooty said:

I have this. Thought about putting it back out there, but did not think any one would enjoy it. It is my fav script to funny! 

its the little things that make a server a brand ;)

For example. when players deploy a bike on my server. Queen starts playing "Bicycle, Bicycle, I want to ride my bicycle..." LOL its one of the first things players do on a server, deploy a bike...and they love it haha

Link to comment
Share on other sites

@Cherdenko for 1.6 (not tested) but you can try:

open a custom fn_selfactions.sqf

Spoiler

FIND:


_typeOfCursorTarget = typeOf _cursorTarget;

below add:


//animals
	_animalssupported = ["Cow01","Cow02","Cow03","Cow04","Cow01_EP1","Sheep02_EP1","Sheep01_EP1","Goat01_EP1","Goat02_EP1"];

 

Find:


if ((_cursorTarget isKindOf "Plastic_Pole_EP1_DZ") && {speed player <= 1}) then {

above it paste:


if ((_cursorTarget isKindOf _animalssupported) && {speed player <= 1}) then {
 if (s_player_sexanim < 0) then {
            s_player_sexanim = player addaction[("<t color=""#F7D708"">" + ("sex with animal") +"</t>"),"custom\sex\sexanim.sqf"];
        };
    } else {
        player removeAction s_player_sexanim;
        s_player_sexanim = -1;
    };

 

Find:


} else {
	//Engineering

below paste:


player removeAction s_player_sexanim;
s_player_sexanim = -1;

 

create sexanim.sqf (custom\sex\)

Spoiler

private ["_Message","_camDistance","_camera"];


 titleText ["", "WHITE IN"];
_Message = format["CENSORED! %1,",format["%1", name player]];
_camDistance = 60;





    showCinemaBorder true;
   camUseNVG false;			   
   _camera = "camera" camCreate [(position player select 0)-2, position player select 1,(position player select 2)+_camDistance];
   _camera cameraEffect ["internal","back"];
   
   _camera camSetFOV 2.000;
   _camera camCommit 0;
   waitUntil {camCommitted _camera};
   //playsound "sexanim";
 
   _camera camSetTarget vehicle player;
   _camera camSetRelPos [0,0,2];
   _camera camCommit 12;
 
   cutText [_Message, "PLAIN DOWN"];

   waitUntil {camCommitted _camera};
 
  _camera cameraEffect ["terminate","back"];
  camDestroy _camera;
  player playActionNow "PutDown";
  sleep 2;

 

if u want sound uncoment  the line //playsound "sexanim";

create the sexanim.ogg  and put the lines for sound class in description.ext  you know what i talking about

Link to comment
Share on other sites

if you dont have the scroll option, then try adding the animals class in a custom variables.sqf

so the fn_selfactions now looks;

Spoiler

if ((_cursorTarget isKindOf DZE_animalssupported) && {speed player <= 1}) then {
 if (s_player_sexanim < 0) then {
            s_player_sexanim = player addaction[("<t color=""#F7D708"">" + ("sex with animal") +"</t>"),"custom\sex\sexanim.sqf"];
        };
    } else {
        player removeAction s_player_sexanim;
        s_player_sexanim = -1;
    };

 

Find:


} else {
	//Engineering

below paste:


player removeAction s_player_sexanim;
s_player_sexanim = -1;

and this line must be removed:

Spoiler

//animals
	_animalssupported = ["Cow01","Cow02","Cow03","Cow04","Cow01_EP1","Sheep02_EP1","Sheep01_EP1","Goat01_EP1","Goat02_EP1"];

then in variables.sqf find

DayZ_SafeObjects

above paste:

//animals
    DZE_animalssupported = ["Cow01","Cow02","Cow03","Cow04","Cow01_EP1","Sheep02_EP1","Sheep01_EP1","Goat01_EP1","Goat02_EP1"];

 

Link to comment
Share on other sites

  • 5 weeks later...

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...