You have set fuel to 1?
So, do you have this at the moment?
if (_object isKindOf "AllVehicles") then {
{
_selection = _x select 0;
_dam = 0;
if (_selection in dayZ_explosiveParts and _dam...
No, however the code path looks fine.
The last code should not have deleted your vehicles from the database, if anything it just would have not loaded them into the game if an error existed in the sqf.
Looks fine...
Try this perhaps:
if (_object isKindOf "AllVehicles") then {
{
_selection = _x select 0;
_dam = 0;
if (_selection in dayZ_explosiveParts and _dam > 0.8) then {_dam = 0.8}...
Its not what your adding, its whats taken away...
You need the fuel and velocity.
The fuel, well that gives it fuel
The velocity just twitches the vehicle out of the floor a little to make it drivable in certain circumstances.
Shin, i assume that "RawInfectedFlesh" and "RawHumanFlesh" is custom to 2017?
If so, how did you add the new items/models? (feel free to just point me to a folder/class where i can learn from it :))
** edit **
O, found it in dayz_equip config.cpp - coolies
bit confused, either we are missing a load of your mission file to tell you where the error is correctly, or this is the problem:
So, you have class Item99 defined, which is cool - however you have 3 too many closing braces:
class Item99
{
position[]={-18725.248,379.55328,25889.797}...
I assume you want to get the value from the database within arma code?
Or are you just asking for the SQL Query that is required to get some data from the database?
Sure is pal!
in dayz_server.pbo\system\server_monitor.sqf find the line:
if (_object isKindOf "AllVehicles") then {
This is the code snippet we are interested in:
if (_object isKindOf "AllVehicles") then {
{
_selection = _x select 0...
I must say i had the same issue when using the multi user/admin debug menu (also used the hint function)...
Just made my log files MASSIVE - thats why I made my own...
Doing the debug monitor is a great way to start learning sqf tho - keep at it Fusi0n and make something unique :D
**edit**...
Please share this accelerated time script with us, i am interested in its contents :)
In theory yes its possible for players to have different times, if setDate is called on their clients - not from the server.
This is in theory possible, however it will look gawd damn aweful if it were to be implemented.
So - lets take this into account:
Take the coords of the player and do some magic math to create a time based off the coords...
Now we use a local client setDate() command (in theory) to set their...
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.