You have to use setPosASL and log the debug of the z position for the object.
http://community.bistudio.com/wiki/setPosASL
Use http://community.bistudio.com/wiki/getPos to report the z position.
It would probably be easier to use a for loop in the mission, you can execvm from an object or...
I try to keep my mission .pbo less than 200kb.
I have pretty slow internet, and it does kill me to redownload the .pbo file every server restart.
Currently, I'm working on a program that will minify code. It will essentially remove spaces, comments, and lines from your mission's code, which can...
I kept my _id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}] line the same, seems to work just fine.
EDIT:
This doesn't seem to be the issue. It might be that using cutText throws up a script error, as opposed to using titleText.
EDIT EDIT:
I'm just full of baloney...
I was looking more or less for using Arma 2 and Arma 2 OA objects along with custom textures (low-resolution for the mission download) and custom classes to be defined by the mission file that will format an object with a texture and a certain function... like the custom tents.
in dayz_server.pbo/system/server_monitor.sqf, you can just move the buildings up, or look for the line:
if (_damage < 1) then {
and edit it from there with the previous idea:
How about having a check when publishing vehicles, and any vehicle that is not touching ground (has a height higher than 0.2m) would be loaded in after a few seconds, giving the buildings they're on time to spawn in.
I believe that is possible, since I have fixed some of the loot spawning parameters via mission file.
I scrounged through dayz_code.pbo and found a .sqf that spawned loot, and edited it so it spawns loot while someone's in a vehicle, or if they log in when the server had a restart.
Here are...
Working on it, been bombarded with work.
J3T, if you give a little bit of time, things will pop up.
A few words of advice: If you cease to hear a response, make one yourself.
Yes, I was able to successfully implement an "script" field into the database, however, some testing is still needed.
Should have something for you by the end of today.
Currently, all the edits are server-side (Dayz_server.pbo), so no files for the mission should be distributed (which means...
Get accustomed to investigating things by yourself.
One great log to see for any errors is the arma2server.rpt located in your config folder (default is dayz_1.chernarus)
Clear your arma2oaserver.rpt and then start up your server and look through the buildings that are generated for anything related to this.
I will download Lingor after work today and get a list of buildings and such. There really needs to be a resource for buildings and such in different maps.
It's possible.
It would probably fit neatly if you had a "Player Menu" action when actions such as this could be committed.
Then you could slip in some more features in the future.
You might be able to get the name of the object if you fish through the addon folder for DayZ Lingor.
I do not have it, so I wont be able to look for the class name.
You will probably find a model with a name fitting it. Write down all likely models and put them into your server either through...
Heh, it seems that this has been thought of and put into the DayZ code (I presume)
if (dayz_lastMeal < 3600) then {
if (_itemorignal == "FoodSteakCooked") then {
//_regen = _regen * (10 - (10 max ((time - _Cookedtime) / 3600)));
};
};
Anyway, the two variables you'd probably...
I'll work on a script to cycle through the supplied color corrections (and a bit more) every 10 seconds and list it in the hint box.
Then post up a video about it.
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.