hmm, I 'm familiar with some of the methodology above, but I've only been scripting dayzmod for a year, so of course some is new. Always something to learn!
This code looks familiar
if (count PVCDZ_plr_Login2 > 3) then {
but in my case I set that 4th entry to _humanity in...
i'm kinda interested, yes. Right now I wrote one that spawns a box in front of you based on humanity. It took a while to make sure that I got the humanity set from the server before spawn. I wanted to place the gear on the player but it was an issue with server_playerLogin having access to the...
its conceptually easy but the implementation is hard to follow. vehicles are part of one of more groups so that you can limit the number of a particular vehicle and/or group of vehicles. I've rewritten the groups, the inventory & the spawn locations so I'm familiar with it. The groups are very...
Try running STEAM first as admin.
Also., look at this : https://www.reddit.com/r/DayZmod/comments/49tfoo/read_this_if_you_still_have_problems_joining_dayz/
I had to dump VILAYER for basically the same issues. Tickets would close after so many days with a vague reply asking if it was fixed. Filed and refiled tickets to get arma2oa updated, to ask about outages, etc. No replies. I use a plain windows box @ NFOServers.
I'm writing new dzms missions and I want to make them more interactive.
I'd like to set off an explosion and blow up a humvee when players get within 300m. I can recognize they arein the area, but can't seem to figure out how to blow up a vehicle/set off an explosion. (I know I can drop a...
I run a 1.8.6.1 vanilla-ish server. Random skins should be possible, but don't know how you did it. I think I had DZGM working before I had server crash. I never implemented SargeAI, but I do have DZAI running. The only changes were weapon class names if I recall.
There are a couple of things that affect MAX VEHICLES. The first is the setting in the pSpawnVehicles. The others are MaxNum in the vehicle_groups table and MaxNum in vehicle_spawns. The final is the sheet number of spawn locations in vehicle_locations (because the spawn code looks for vehicles...
I am clearing the vehicle in the code above, which is why I'm perplexed. The trigger you suggest is similar to the aibus code, got it.
Had:
clearMagazineCargo _vehicle;
clearWeaponCargo _vehicle;
Switched to:
clearMagazineCargoGlobal _vehicle...
Of course the driver thing is not that easy since there is not "MoveToDriver" EH. Anyway, not worried about that.
Stress testing and it works well when you login/logout/login.
Now I'm finding that the vehicles are suddenly spawning with gear in them. Some of it I've never seen before (strobe...
My new thing to figure out is if I can set a playername/id on the vehicle on spawn and eject anyone else who tried to become the driver. Seems like an EH on the vehicle will do it.
Latest looks like its working but I haven't 100% tested all situations yet:
init.sqf
//---------------------------------------------------------------
// SKIGOGGLES - LOADOUT
player_loadout = compile preprocessFileLineNumbers "loadouts\mloadout.sqf"...
Damn, I edited but you had read it. I don't call both, I had been working one and then the other. I think I have it just about complete. Hope you see this, I have other questions.
I also think this is the wait in init.sqf:
waitUntil {!isNil ("PVDZ_plr_LoginRecord")};
When I tried to put the code into the server side (80% successful), I noticed that even after server_playerSetup.sqf, all of the player object was still not setup (location/worldspace) for example...
dayz_serverObjectMonitor set [count dayz_serverObjectMonitor, _vehicle];
publicVariableServer "dayz_serverObjectMonitor";
success!
I was just reading this tutorial which talks about that, but I didn't connect the dots...
very helpful as always. my programming skills are very rusty.
While I'd like to move this to the server side, its working well, except for one error in the RPT that I can't figure out for the life of me:
8:35:15 Error in expression <"ItemSodaMzly","ItemSodaRabbit"];
if (_humanity < -2000) then...
Looks like it works, but my OCD doesn't allow me to not understand why the other method doesn't. Interestingly, you've had this discussion before: http://opendayz.net/threads/mission-spawned-vehicles-and-1-8-3.21315/
I generally understand the API, but its the framework and how to execute...
I did and its definitely "KILLING A HACKER".
My next thought was maybe its being called wrong. I had it in the !isDedicated and out. When out, I get a syntax error on the first line of code in loadout.sqf that doesn't make sense. When in, I don't get the error, but neither work in regard to the...
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.