fr1nk Posted July 8, 2013 Report Share Posted July 8, 2013 I'm rebuilding my server from scratch and plan to make a PVE environment with PVP controls, if possible. I stumbled onto a jail script from the Armaholic site and am wondering if anyone has tinkered with this before, or if it's even possible to integrate into DayZ. http://www.armaholic.com/page.php?id=18524 :) Nox 1 Link to comment Share on other sites More sharing options...
Bungle Posted July 8, 2013 Report Share Posted July 8, 2013 Instant Jailtime for player killing? Would this work with something like the Player kill message script. PlayerA Killed PlayerB at Distance with Weapon. Then Instead of just generating a message it could also move the PlayerA "Killer" to a location..until admin removed them or they found a way out... Possible I guess. Link to comment Share on other sites More sharing options...
Nox Posted July 8, 2013 Report Share Posted July 8, 2013 a really good ideé, i've a safe zone on my server, then if i can make it when you enter in this zone, All kill = auto Jail it was a Great idea :) Link to comment Share on other sites More sharing options...
fr1nk Posted July 8, 2013 Author Report Share Posted July 8, 2013 Instant Jailtime for player killing? Would this work with something like the Player kill message script. PlayerA Killed PlayerB at Distance with Weapon. Then Instead of just generating a message it could also move the PlayerA "Killer" to a location..until admin removed them or they found a way out... Possible I guess. No clue about the messaging, but my hope was that PvP would be made so inconvenient and annoying that people who might try it would get bored and leave. My clan isn't too big on PvP and we try to attract other PvE-minded folks to our community. Basically, the script appears to insta-teleport the shooter to a jail cell that cannot be exited or entered. The timeout is configurable. Upon being teleported, all the player's items/weapons are removed. When the timeout is over and the player is teleported back into the world, all items/weapons are returned. Personally, I'd change the spawn point to somewhere off the southern coast of Chernarus to give them a nice long swim back :lol: Link to comment Share on other sites More sharing options...
fr1nk Posted July 8, 2013 Author Report Share Posted July 8, 2013 a really good ideé, i've a safe zone on my server, then if i can make it when you enter in this zone, All kill = auto Jail it was a Great idea :) Hey Nox, let me know if you can get this working :) Link to comment Share on other sites More sharing options...
Nox Posted July 9, 2013 Report Share Posted July 9, 2013 ok, some fix for my Private actually, but it's in my next steps :) Link to comment Share on other sites More sharing options...
fr1nk Posted July 30, 2013 Author Report Share Posted July 30, 2013 Hey Nox, did you ever get this working? Link to comment Share on other sites More sharing options...
fr1nk Posted August 16, 2013 Author Report Share Posted August 16, 2013 Was playing around with this last night and it seems to work great in the editor. Install instructions are relatively clear but there's one step that I'm unsure of: Add the following line to the "init" field each playable & non-playable "friendly" unit: null = this addEventHandler ["killed", {nul = [_this select 0, _this select 1] execVM "jail\wrongful_kill.sqf"}]; I have no idea what to do with this since it seems to be referring to the init field of the character unit in the editor. Is this jail script portable to DayZ? Thanks for any help http://www.armaholic.com/page.php?id=18524 Link to comment Share on other sites More sharing options...
PetuniaEpoch Posted August 16, 2013 Report Share Posted August 16, 2013 What about adding this to the mission.sqm file for the player spawns, like in this bit? (taken from my standard mission.sqm): position[]={-18709.713,379.10086,25923.943}; azimut=-17.0839; id=11; side="WEST"; vehicle="Survivor1_DZ"; player="PLAY CDG"; skill=0.60000002; init="this enableSimulation false;this allowDammage false;this disableAI 'FSM';this disableAI 'ANIM';this disableAI 'MOVE';"; };Not sure exactly how it would be formatted, but maybe someone else can help with that, or just test it maybe?I'm trying DESPERATELY to get hold of working pbos for epocj 1.0.1.5 with base building 1.2 tonight, as I've put some time aside to update my server and promised some players & mods I'd do that, but once that's sorted and on my live server, I'm tempted to have a bash at this on my test server :D - If I do, I'll let ya know how it goes.I'm no sqf/m coder though, just learning as I go (hence not got base building mod working yet with 1.0.1.5 LoL) Link to comment Share on other sites More sharing options...
fr1nk Posted August 16, 2013 Author Report Share Posted August 16, 2013 I'm going to experiment with it over the weekend, but I'm fully expecting my server to crash/freeze/blow up because of something I did, or didn't do :D Link to comment Share on other sites More sharing options...
PetuniaEpoch Posted August 16, 2013 Report Share Posted August 16, 2013 I'm going to experiment with it over the weekend, but I'm fully expecting my server to crash/freeze/blow up because of something I did, or didn't do :D Hahhaa :D I have setup a basic epoch server on my office network for testing :D For now it's just to try to get base building working, but once thats done, I will use it as a mirror of my live server pretty much, and just test new mods on it :D Link to comment Share on other sites More sharing options...
fr1nk Posted August 19, 2013 Author Report Share Posted August 19, 2013 Had some good times re-aquainting myself with my old friend, Mr. Waiting for Host. Link to comment Share on other sites More sharing options...
ElDubya Posted January 7, 2015 Report Share Posted January 7, 2015 Has anyone got something like this, or indeed got this script to work properly as yet? Link to comment Share on other sites More sharing options...
Rythron Posted January 15, 2015 Report Share Posted January 15, 2015 i'm a little bit stuck, i'm fighting this code for 4 days now. I hope anyone can help me. I got the whole script working on AI kill Now i'm trying to find the trigger were i can call the file if you kill a player like it called the file in the death Ai script. This is the trigger in the DZAI ai_death.sqf file _victim addEventHandler ["killed",[_this select 0, _this select 1] execVM "jail\start_punish.sqf"]; i tried a files listed below to call the file. server_playerDied.sqf player_death.sqf also tried it to call it from the init.sqf no succes Link to comment Share on other sites More sharing options...
Rythron Posted January 15, 2015 Report Share Posted January 15, 2015 Got it working :) .. gonna fine tune the script and the release it ! ElDubya and Akelorian 2 Link to comment Share on other sites More sharing options...
ElDubya Posted January 16, 2015 Report Share Posted January 16, 2015 Nice work man! I look forward to the release :) Link to comment Share on other sites More sharing options...
Rythron Posted January 16, 2015 Report Share Posted January 16, 2015 Here is the release ! Link to comment Share on other sites More sharing options...
ElDubya Posted January 17, 2015 Report Share Posted January 17, 2015 Cherno :( Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now