Adding tents to a map with supplies

BetterDeadThanZed

Valued Member!
I was on a server that had a base with several tents. Each tent had a large supply of items. It was mainly a vehicle repair base. Is there a good tutorial on adding tents and editing their contents?
 
open with ingame-editor in single player mode

this file is 1.7.6

auto refuel like Taviana
heli cargo
supply that auto refill
 

Attachments

  • dayz_1.chernarus.pbo
    612.5 KB · Views: 64
I see that you have some GC stuff, do the AC130 and fast rope scripts work?... I'm more interested in those :p

rope script still bug i can see rope deploy but when people climb he'll fall down to the ground and die

sorry for my english :D

i also add Flir scope to some sniper but not so effect i can't see zombie or anything better than NV it's only black and white scope
 
How does it work? What exactly does FLiR do? - And is that anti hack useful at all?

Today's been a bit brutal, got attacked a shitload
 
How does it work? What exactly does FLiR do? - And is that anti hack useful at all?

Today's been a bit brutal, got attacked a shitload

cdetect.fsm is not work i think.

and Flir work but not good only turn screen to black and white it would be great if have Thermal script:D
 
Anyone know how I can do it? :)
open my mission with ingame editor in single player mode [2d mode]

and if you extract my pbo you'll see FillAmmoBox.sqf and weapons.sqf you can edit item here

and then place object [i use "USVehicleBox" ]

with initialization field

_Handle = this execVM "FillAmmoBox.sqf";

or

_Handle = this execVM "weapons.sqf";

then save your mission file.


or take a look at this
http://www.armaholic.com/page.php?id=11174
 
I'm thinking of doing something similar - military camp with AI guards and tents of loot for players to try and capture. I was just going to go in game and pitch some tents then fill them in the database though - seemed like the real simple way to do it. :)
 
anyone know if its possible to add a inventory to an object? i was trying to add a small food stand and put beans/steak/coke in it under instance_deployables, it spawned but i couldn't interact with it, i am sure there is more to it, i just switched it back to a ammo box i know is has a inventory at the moment. anyone know what file in the new code layout would need to be edited to add in some storage values for a new object classname?
 
Hey guys im having hell adding this into 1.7.6.1

can someone maybe test this for me ? im feeling really dumb ive spent over an hour trying this and checking i have it all set right and as far as i can tell i do all im doing is unpacking my pbo editing the mission by adding a new class vehicle above the Markers class with some spawns one weapons one fillammo like in vazabisong's mission and added the two scripts to the root dir and repacked . i also updated the scripts.txt but i have battle eye disabled anywayalso my cords are working and not glitched asfar as i can tell coz i used the database to spawn the model at that location and it there so it just not loading it from the mission maybe they disabled the ability to execVM via mission :/ ?

any help would be great :)
 
how did you access Dayz single player tell me please :D

i'll try to help you about BE

and i use Ammobox 5.56 bla bla to place and exec.
 
hey i didnt open dayz single player heres my exact steps

1. seen this thread and wanted this awesome script in my server :p
2. unpack my existing pbo
3.downloaded your pbo and unpacked it
4. read your mission.sqm and did the same thing ie added

Code:
    class Vehicles
    {
    items=3;
        class Item0
        {
            position[]={7646.67,3158.47,0.002};
            azimut=175;
            id=101;
            side="EMPTY";
            vehicle="Garbage_can";
            skill=1;
            init="_Handle = this execVM ""weapons.sqf"";";
        };
       
        class Item1
        {
            position[]={7633.07,3156.5,0.002};
            azimut=83;
            id=102;
            side="EMPTY";
            vehicle="Garbage_can";
            skill=1;
            init="_Handle = this execVM ""weapons.sqf"";";
        };
       
        class Item2
        {
            position[]={7623.88,3155.67,0.001};
            azimut=357;
            id=103;
            side="EMPTY";
            vehicle="Garbage_can";
            skill=1;
            init="_Handle = this execVM ""weapons.sqf"";";
        };
   
    };

directly after this part of the dayz mission
Code:
        class Item1
        {
            side="LOGIC";
            class Vehicles
            {
                items=1;
                class Item0
                {
                    position[]={708.96582,35.858719,3533.1272};
                    id=50;
                    side="LOGIC";
                    vehicle="FunctionsManager";
                    leader=1;
                    lock="UNLOCKED";
                    skill=0.60000002;
                };
            };
        };
    };

5. copy and pasted both weapons.sqf and FillAmmoBox.sqf into the root dir of the pbo for repack
6. repacked pbo and deployed.

all my other scripts are working fine just no Garbage_can where they should be i also tried USVehicleBox like you said in post #10 with out success

and when you say you use Ammobox 5.56 to place and exec could you elaborate a little more on this i am new but i do pick things up fast, is this a class name for the vehicle field in the mission or a module im missing ?
 
Back
Top