Jump to content

Bags2247

Member
  • Posts

    206
  • Joined

  • Last visited

Posts posted by Bags2247

  1. Matthew, here's a quote from opendayz

     

    Unpack your server.pbo and create a Folder inside (call it building if you want, I called it addons).
    Open your server_functions.sqf wich is in the init folder with a texteditor and put this in, at the very bottom.

    Code:
    [] execVM "\z\addons\dayz_server\yourfoldername\yourfilename.sqf";
    

    (replace yourfoldername and yourfilename with the actual names of your folder and files)
    You can have as many of this lines like you want to add files

    Code:
    //foldername
    [] execVM "\z\addons\dayz_server\foldername\yourfilename.sqf";
    [] execVM "\z\addons\dayz_server\foldername\yourfilename.sqf";
    [] execVM "\z\addons\dayz_server\foldername\yourfilename.sqf";
    [] execVM "\z\addons\dayz_server\foldername\yourfilename.sqf";
    [] execVM "\z\addons\dayz_server\foldername\yourfilename.sqf";
    
    
    

     

  2. Just wondering if you could convert the bus into something more military themed, say a MTVR_DES_EP1..

     

    Just it being that the military have decided to try to maintain some semblence of the old ways and have provided this service for what survivors are left..

     

    Just an idea, and have the driver and friend in a uniform as well

  3. I'm trying to get the Cannabilize script from here,

    http://opendayz.net/threads/cannibalism.12218/

    working in EPOCH...

     

    Pretty much the title...

     

    I have his other one which is the flip side of it Bury Coprse, from here..

    http://opendayz.net/threads/bury-corpses.13368/

    working in it.. but am a bit confused as to why this won't work..

     

    Any suggestions from you guys..

     

    I'm using a Vilayer hosting if that makes a difference.

     

    Other scripts installed

    Bury Corpses

    Self BloodBag ( I can't get the bloody tent-sleep healing script working at all.. REALLY annoying..losing my immersion there)

    Very Limited Lift/Tow

    Enhanced Water Bottle filling (from the rain)

    Drink from wells and ponds

    Ingame voice mod from blur

    Zabn's Take Clothes

    AI mission system

    Welcome Credits

    Vilayer's ANTI-HACK ADDON (infistars)

    And the Anti-Theft script inside Trader Cities, (was trying to simulate some sort of POLICE/GUARD control)

     

    I'm personally trying to get a real feel to the game/mod as much as possible anyway.

     

     

    Any ideas guys....

    Bags

     

     

    P.s.

  4.  

    it sounds like the gun is not supported.

     

    try adding this, it will add AKS 74 to the hero/bandit traider

    INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES
    
    ('["AKS_74",3]',25,'[2,"ItemGoldBar",1]','[1,"ItemGoldBar",1]',0,477,'trade_weapons'),
    ('["AKS_74",3]',25,'[2,"ItemGoldBar",1]','[1,"ItemGoldBar",1]',0,627,'trade_weapons'),
    

    OK so following that logic... sorta, does that mean that this would add cinder blocks to the building items dude, buying for 5gold and selling them for 2g..

    INSERT INTO `traders_data` (`item`,`qty`,`buy`,`sell`,`order`,`tid`,`afile`) VALUES
    
    ('["CinderBlocks",3]',25,'[5,"ItemGoldBar",1]','[2,"ItemGoldBar",1]',0,508,'trade_items'),
    ('["CinderBlocks",3]',25,'[5,"ItemGoldBar",1]','[2,"ItemGoldBar",1]',0,678,'trade_items'),
    ('["CinderBlocks",3]',25,'[5,"ItemGoldBar",1]','[2,"ItemGoldBar",1]',0,680,'trade_items'),
    ('["CinderBlocks",3]',25,'[5,"ItemGoldBar",1]','[2,"ItemGoldBar",1]',0,530,'trade_items'),
    

    Is that right??

  5.  

    Hello,

     

    I made a script to detect when the gear menu is open, and to force open your own gear menu. This prevents accessing gear from other players and vehicles.

     

    Install instructions:

     

    1. Save the code at the bottom of this post to "theft.sqf" in your mission pbo folder.

    2. Open your "mission.sqm" file.

    3. Find each occurrence of "canbuild = false;"

    4. Append this afterwards: execVM ""theft.sqf"";

    5. Save and play!

     

    This is how one of the lines should look in the mission pbo:

    expActiv="TitleText[""Now entering trader city Stary"",""PLAIN DOWN""]; canbuild = false; execVM ""theft.sqf"";";

    // This script was written by SilverShot.
    _fix = false;
    while { !canbuild } do
    {
    	sleep 0.1;
    
    	if( !isNull (FindDisplay 106) ) then
    	{
    		if( !_fix ) then
    		{
    			player action ["GEAR", ""];
    			titleText["\n\nCan only access your gear in the safe zone.", "PLAIN DOWN",0];
    			_fix = true;
    		};
    	} else {
    		if( _fix ) then
    		{
    			_fix = false;
    		};
    	};
    };
    

    Ok guys i'm looking at my mission .sqm and it doesnt say anything about canbuild=false, but what it does have is:

     

    "snip"

    class Item0
    		{
    			position[]={4053.8501,364.76645,11668.645};
    			activationBy="WEST";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="zonebash";
    			expCond="(player distance zonebash) < 50;";
    			expActiv="TitleText[""Now entering trader city Bash"",""PLAIN DOWN""]; placevault = false;";
    			expDesactiv="TitleText[""Now leaving trader city Bash"",""PLAIN DOWN""]; placevault = true;";
    			class Effects
    			{
    				soundDet="arabian_market_1";
    			};
    		};
    		class Item1
    		{
    			position[]={11463.747,317.3078,11349.89};
    			activationBy="WEST";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="zoneklen";
    			expCond="(player distance zoneklen) < 50;";
    			expActiv="TitleText[""Now entering trader city Klen"",""PLAIN DOWN""]; placevault = false;";
    			expDesactiv="TitleText[""Now leaving trader city Klen"",""PLAIN DOWN""]; placevault = true;";
    			class Effects
    			{
    				soundDet="arabian_market_1";
    			};
    		};
    		class Item2
    		{
    			position[]={6344.8081,304.99023,7806.7598};
    			activationBy="WEST";
    			repeating=1;
    			interruptable=1;
    			age="UNKNOWN";
    			name="zonestary";
    			expCond="(player distance zonestary) < 50;";
    			expActiv="TitleText[""Now entering trader city Stary"",""PLAIN DOWN""]; placevault = false;";
    			expDesactiv="TitleText[""Now leaving trader city Stary"",""PLAIN DOWN""]; placevault = true;";
    			class Effects
    			{
    				soundDet="arabian_market_1";
    			};
    		};
    	};
    };
    

    If i put it like,

    expActiv="TitleText[""Now entering trader city Stary"",""PLAIN DOWN""]; canbuild = false; execVM ""theft.sqf"";";

     

     

    Would that still work???

    link for dropbox full mission.sqm

    https://www.dropbox.com/s/jhizc6qq1gr8ewz/mission.sqm

  6. Must admit that a admin map for a vilayer server would be bloody awesome,

    I cant seem to get the tools from nightmare working, not really surprising for one of my low/newbish talent though..

    thats poking fun at myself and not nightmare.. just so people dont think Im burning him...

     

    he has done a fantastic job... just wish I could get them to work though

×
×
  • Create New...