It's the third value in the X, Y,Z part of the position.
unit setPos [x,y,z];
Best way to get an accurate position is to take your player to the spot and check your worldspace value in the database.
.
Wow, that is s log file.. Looks like something going wrong with sarge's AI, lots of errors from that. Not sure how that would cause problems with the vehicles.
I would try a clean install to see if the vehicles get saved. Or check the hive to see if vehicles are being updated.
This script got branched off about half way through this thread. I have picked it up and have rewritten the original code. I have incorporated some and learnt some from dp.wofu (www.die-philosoffen.com clan) who made the other version (credit given).
Has just been bothering me that I never...
I suspect if someone logs before the database is updated with their death they will spawn back in with the same settings.
Then there will be a db update with alive=0 etc., but he won't die and then his player data will get updated again with his new alive settings shortly after
Basically a...
Roads is going to be tricky. Would like to see the results of that.. Always wanted to make a town out in the sticks but it looks odd with no Roads or tracks..
Nice add-on, was thinking of making players invulnerable when on the bus, could be very risky if they can exploit it somehow and get off the bus as they could be invincible running around.
The version update I am currently testing has a message at each bus stop from the driver. Also had the...
lol, nice mod. I suspect the ai are changing their behaviour due to the gunfire. there is a bit of code that changes behaviour to stealth to allow the lights to be flashed on and off, unlikely but may be related.
Thanks, and well spotted, have added that WaypointTimeout back in.
Currently working on spotting players, getting the bus to stop was a pain as the AI was insistent on carrying on driving. I may have to drop a temporary waypoint to achieve this.
I did have it beeping before but not working...
Bit of an update on this, more like a total re-write.. Have simplified it making the bus and crew invulnerable, added player messages and working on beeping the horn and providing randomly created bus routes (for next update)
https://github.com/andgregor/dayZ-AI-Bus-Route
Requires a clean...
Currently this is for epoch as the lights are Unbanned. I want to return the street lights to switched off and leave the other maker lights and runway lights. A mod change is required so for standard dayz a custom script will be required..
I don't have the exact coords as they are all grouped into cells.
The light positions, in the street light addon files, are worked from the bottom left of the map, 6 cells across so will be somewhere in the 5th row.. Try looking for a worldspace near there, they should be grouped together by...
In the middle of writing a script to change the colour / brightness etc. based on parameters from the game so you can adjust the settings ingame. Purely as a means to decide on a good colour, presonally prefer being able to see what I am changing real time. Most likely will hide one of these...
This isn't going to just plug into Epoch code without some working on.. your _magazineArray isn't even declared anywhere, so the forEach loop is not going to do anything, every '_x' references each item in the looped array, that isn't declared.
Try...
Try it out. I released the code and added some bits. No reason why it won't work. The thread did branch off with others working on it.. Haven't looked at this code for a while but is something I intend to pick up again..
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.