What it does....
Some of the heroes on my server noted that the bandits had been using my cannibalism mod to keep their humanity lower. This got me thinking yesterday about a heroic alternative to gutting a body for food and this script is my solution.
You can bury a body provided it has not...
It's pretty much magazine for most things besides guns, some stuff like backpacks use "object" also. I think anything that spawns with more than 1 on a single loot point use magazine though. Take a look at the loot tables in your dayz_code.pbo if you aren't sure for a particular item.
use ["","trash"] for some random trash from the trash table, if you just want to a particular trash item rather than using the trash table I think you would need ["TrashJackDaniels","magazine"] for example...
Anyone figure out the combat roll problem when using the toggle code?
edit: nm fixed it, was because I had that already dayz_spaceInterupt defined in the mission side compiles.sqf I was using.
I fixed the zombies spawning on basebuilding items, and basebuilding items being destroyable under 1.7.7.1 :cool:
CfgBuildingPos.hpp
CfgLoot.hpp
CfgBuildingLott.hpp
^ look at these for zombie spawning
eh_localCleanup in server_functions.sqf is the reason items can be destroyed under...
You need to create it
http://opendayz.net/threads/adding-a-block-for-voice-over-side.11287/page-2#post-63946
read this and this
http://opendayz.net/threads/adding-a-block-for-voice-over-side.11287/page-2#post-64403
Don't just paste it at the bottom the first line I put with all the other definitions towards the top,
The next part replaces the existing codeblock that looks like this:
if ((_dikCode in actionKeys "PushToTalk") || (_dikCode in actionKeys "VoiceOverNet")) then {
dayz_lastCheckBit = time...
First code blocks go in
compiles.sqf
Add the second code block to a seperate file eg:
player_onSide = compile preprocessFileLineNumbers "fixes\player_onSide.sqf";
Wahey thanks so much Seven works beautifully, combined your code with Dami's for now. Do you guys mind if I make a thread in the release section for others to see?
Here's what I have for now until I find a suitably annoying wav file to add to my mission...
full moon is built into 1.7.7+
If you don't like the default date try august 31, I've found the moon comes out a lot earlier with that date.
server_monitor.sqf
change
_date = [2012,6,6,_hour,_minute];
to
_date = [2012,8,31,_hour,_minute];
server_cleanup.fsm...
FYI people installing this on 1.7.7.1 your base built items built before the server has restarted will disappear if they take enough damage (hatchet for example will do the job, or satchel charges). I'm back on vanilla BB code without kikyou's improvements and I'm still seeing the exact same...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.