(HPG) Heavy Posted September 14, 2014 Report Share Posted September 14, 2014 It appears most of the vehicle spawn points for Napf traders are considerably off. e.g. AWOL's airfield, purchased a LB, and instead of LB spawning on the heli pad, the LB spawns next to building about 5 meters off the ground. Another example is the Bandit Trader, the purchased vehicle spawns in back of the trader, not on the heli pad. I have modified the mission.sqf, specifically the spawn points (the sqf located at \dayz_server\missions\DayZ_Epoch_24.Napf) with more precise coordinates which didn't help. Modifying such coords, say on the Chernarus map works fine, but not on Napf. Anyone run into this problem? Possible fix? Apologize if this was posted in the wrong section and appreciate the help. Link to comment Share on other sites More sharing options...
WarHammer(DayZ) Posted September 14, 2014 Report Share Posted September 14, 2014 Do you see me Toe Cutter- Do ya see me maaaannnn!!!!!! Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted September 15, 2014 Author Report Share Posted September 15, 2014 Do you see me Toe Cutter- Do ya see me maaaannnn!!!!!! Ha! The Toecuter...he knows me. I' am the Nightrider, a suicide injected machine. ...ok, back on task :P Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted September 25, 2014 Author Report Share Posted September 25, 2014 Any takers? Anyone run into this? Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 25, 2014 Report Share Posted September 25, 2014 You need an invisible helipad in addition to the visible helipad. The vehicles will spawn on the invisible pad if it's present otherwise it just tries spawning them where it's convienient. Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted September 25, 2014 Author Report Share Posted September 25, 2014 Hey Zed, thanks for the reply, Here are the defaults for all the Napf vehicle traders... _vehicle_2722 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [8283.61, 15491.1], [], 0, "CAN_COLLIDE"]; _vehicle_2722 = _this; _this setPos [8283.61, 15491.1]; }; _vehicle_2880 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [12414.461, 5068.3276], [], 0, "CAN_COLLIDE"]; _vehicle_2880 = _this; _this setDir 26.303728; _this setPos [12414.461, 5068.3276]; }; _vehicle_3015 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [15527.813, 13237.481, 1.2155863], [], 0, "CAN_COLLIDE"]; _vehicle_3015 = _this; _this setDir -227.60321; _this setPos [15527.813, 13237.481, 1.2155863]; }; _vehicle_3140 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [15476.641, 13191.995, -7.6293945e-006], [], 0, "CAN_COLLIDE"]; _vehicle_3140 = _this; _this setPos [15476.641, 13191.995, -7.6293945e-006]; }; _vehicle_3445 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [10381.017, 8254.3301, -1.5258789e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3445 = _this; _this setPos [10381.017, 8254.3301, -1.5258789e-005]; }; _vehicle_3458 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [15093.325, 16403.578, 3.4332275e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3458 = _this; _this setDir -42.604416; _this setPos [15093.325, 16403.578, 3.4332275e-005]; }; _vehicle_3463 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [5139.6553, 4866.1377], [], 0, "CAN_COLLIDE"]; _vehicle_3463 = _this; _this setDir -10.412536; _this setPos [5139.6553, 4866.1377]; }; _vehicle_3467 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [6780.2842, 16963.049, 0.029153228], [], 0, "CAN_COLLIDE"]; _vehicle_3467 = _this; _this setPos [6780.2842, 16963.049, 0.029153228]; }; _vehicle_3468 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [16871.145, 5268.6265, 0.15640032], [], 0, "CAN_COLLIDE"]; _vehicle_3468 = _this; _this setPos [16871.145, 5268.6265, 0.15640032]; }; I'm a bit confused as to why you would need a visible as well as an invisible heli pad for each vehicle trader, if that's what you're saying Zed? Using Trader City Lenzburg as an example, there is no visible heli pad but the vehicle still spawns at the coordinates for the invisible one. I don't believe the mod would care whether or not its visible, as long as there is a reference point to spawn the vehicle at. I understand the concept of using either a visible or hidden heli pad, just a bit perplexed as to why even after modifying coordinates or for that matter using a default file, they still spawn in same, wrong locations. Zed, I notice you have a Napf server, would you be willing to share your mission.sqf with me? I've been pulling my hair out for the last week or so trying to figure this out. Many thanks :D Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 26, 2014 Report Share Posted September 26, 2014 All of my traders are customized on my servers so I know what you need for spawning vehicles. If you do not have a "HeliHEmpty" at the trader, the vehicle will spawn someplace in the area. If you put the "HeliHEmpty", it will spawn dead center of that invisible helipad. While developing my custom traders, I forgot to put some invisible helipads and I experienced what you did. Once the invisible ones were placed, vehicles spawn properly. Just make sure you have an invisible helipad corresponding with any visible helipads you've placed. Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted September 26, 2014 Author Report Share Posted September 26, 2014 Okay dokay, I'll give it a shot. Thanks for the info. Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted September 26, 2014 Author Report Share Posted September 26, 2014 I added a "HeliHEmpty" to each of the "HeliHCivil" while using the same coords and such (of course changing both vehicle numbers for each "empty") _vehicle_2722 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [8283.61, 15491.1], [], 0, "CAN_COLLIDE"]; _vehicle_2722 = _this; _this setPos [8283.61, 15491.1]; }; _vehicle_2880 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [12414.461, 5068.3276], [], 0, "CAN_COLLIDE"]; _vehicle_2880 = _this; _this setDir 26.303728; _this setPos [12414.461, 5068.3276]; }; _vehicle_3015 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [15527.813, 13237.481, 1.2155863], [], 0, "CAN_COLLIDE"]; _vehicle_3015 = _this; _this setDir -227.60321; _this setPos [15527.813, 13237.481, 1.2155863]; }; _vehicle_3140 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [15476.641, 13191.995, -7.6293945e-006], [], 0, "CAN_COLLIDE"]; _vehicle_3140 = _this; _this setPos [15476.641, 13191.995, -7.6293945e-006]; }; _vehicle_3445 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [10381.017, 8254.3301, -1.5258789e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3445 = _this; _this setPos [10381.017, 8254.3301, -1.5258789e-005]; }; _vehicle_3446 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [10381.017, 8254.3301, -1.5258789e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3446 = _this; _this setPos [10381.017, 8254.3301, -1.5258789e-005]; }; _vehicle_3458 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [15093.325, 16403.578, 3.4332275e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3458 = _this; _this setDir -42.604416; _this setPos [15093.325, 16403.578, 3.4332275e-005]; }; _vehicle_3459 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [15093.325, 16403.578, 3.4332275e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3459 = _this; _this setDir -42.604416; _this setPos [15093.325, 16403.578, 3.4332275e-005]; }; _vehicle_3462 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [5139.6553, 4866.1377], [], 0, "CAN_COLLIDE"]; _vehicle_3462 = _this; _this setDir -10.412536; _this setPos [5139.6553, 4866.1377]; }; _vehicle_3463 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [5139.6553, 4866.1377], [], 0, "CAN_COLLIDE"]; _vehicle_3463 = _this; _this setDir -10.412536; _this setPos [5139.6553, 4866.1377]; }; _vehicle_3467 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [6780.2842, 16963.049, 0.029153228], [], 0, "CAN_COLLIDE"]; _vehicle_3467 = _this; _this setPos [6780.2842, 16963.049, 0.029153228]; }; _vehicle_3468 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [16871.145, 5268.6265, 0.15640032], [], 0, "CAN_COLLIDE"]; _vehicle_3468 = _this; _this setPos [16871.145, 5268.6265, 0.15640032]; }; However doing so did not work. I tested the three traders that have visible helipads and vehicles still spawn far from where they should. Also, for s&g I downloaded a new mission sqf from the Epoch site and that didn't help either. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted September 27, 2014 Report Share Posted September 27, 2014 I don't know then. It always worked for me. Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted September 28, 2014 Author Report Share Posted September 28, 2014 Oh well, I guess I'll keep grinding it out. Thanks for the help Zed :) Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted October 3, 2014 Author Report Share Posted October 3, 2014 Uhg, still can't get things to spawn correctly. If someone would be so kind in share a working sqf for comparison, that would be great. If it's modded, idc... Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted October 6, 2014 Author Report Share Posted October 6, 2014 Hey Zed, any chance you could paste an example of one of the empty heli pads you added that corresponds with a visible one? I assume that each new vehicle added (an empty heli pad) needs it's own vehicle number? No duplicates numbers right? As a test, I changed all the visible heli pads to "empty" ones and that did not help. I double checked the coordinates of the visible heli pads before I changed them, and the coords seem to be correct so I have no idea what would be causing this spawn issue. Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted October 6, 2014 Report Share Posted October 6, 2014 This is an empty helipad in one of my trader cities. The traders there only sell land vehicles, so I do not use a visible helipad at those locations: _vehicle_431 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [7479.167, 14852.96, 1.1444092e-005], [], 0, "CAN_COLLIDE"]; _vehicle_431 = _this; _this setDir 159.95271; _this setPos [7479.167, 14852.96, 1.1444092e-005]; }; Here's my helicopter trader, where I have both a visible and invisible helipad: _vehicle_16 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [15222.357, 16216.814, 5.7220459e-006], [], 0, "CAN_COLLIDE"]; _vehicle_16 = _this; _this setDir -42.989822; _this setPos [15222.357, 16216.814, 5.7220459e-006]; }; _vehicle_16 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [15222.357, 16216.814, 5.7220459e-006], [], 0, "CAN_COLLIDE"]; _vehicle_16 = _this; _this setDir -42.989822; _this setPos [15222.357, 16216.814, 5.7220459e-006]; }; I do not believe the "_vehicle" number has to be unique for each entry because that's exactly how it is and it works fine. Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted October 7, 2014 Author Report Share Posted October 7, 2014 Cool maing, I'll give it a shot and let you know. Thank you for the additional info. :D Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted October 7, 2014 Author Report Share Posted October 7, 2014 I did the following... _vehicle_3445 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [10381.017, 8254.3301, -1.5258789e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3445 = _this; _this setPos [10381.017, 8254.3301, -1.5258789e-005]; }; _vehicle_3445 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [10381.017, 8254.3301, -1.5258789e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3445 = _this; _this setPos [10381.017, 8254.3301, -1.5258789e-005]; }; _vehicle_3458 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [15093.325, 16403.578, 3.4332275e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3458 = _this; _this setDir -42.604416; _this setPos [15093.325, 16403.578, 3.4332275e-005]; }; _vehicle_3458 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [15093.325, 16403.578, 3.4332275e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3458 = _this; _this setDir -42.604416; _this setPos [15093.325, 16403.578, 3.4332275e-005]; }; _vehicle_3463 = objNull; if (true) then { _this = createVehicle ["HeliHCivil", [5139.6553, 4866.1377], [], 0, "CAN_COLLIDE"]; _vehicle_3463 = _this; _this setDir -10.412536; _this setPos [5139.6553, 4866.1377]; }; _vehicle_3463 = objNull; if (true) then { _this = createVehicle ["HeliHEmpty", [5139.6553, 4866.1377], [], 0, "CAN_COLLIDE"]; _vehicle_3463 = _this; _this setDir -10.412536; _this setPos [5139.6553, 4866.1377]; }; ...and did not resolve the issue. :unsure: Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted October 7, 2014 Report Share Posted October 7, 2014 I wish I could help you more, but as I've said, that's how mine is set up and everything spawns dead center of the invisible helipad. Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted October 7, 2014 Author Report Share Posted October 7, 2014 No worries, I really appreciate the help Zed. By chance, do you run the infiSTAR anti-hack on your server? Link to comment Share on other sites More sharing options...
BetterDeadThanZed Posted October 7, 2014 Report Share Posted October 7, 2014 No worries, I really appreciate the help Zed. By chance, do you run the infiSTAR anti-hack on your server? Yes, I do. Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted October 7, 2014 Author Report Share Posted October 7, 2014 I doubt the anti-hack would cause this issue but thought I would ask. I checked some Epoch code, specifically where it looks for either heli pad when spawning a vehicle and it lists HeliHCivil and HeliHempty (with a lower case "e"). I don't think case sensitivity plays a part however I did change the three HeliHEmpty I added to HeliHempty and doing so didn't help. Link to comment Share on other sites More sharing options...
(HPG) Heavy Posted October 11, 2014 Author Report Share Posted October 11, 2014 Again, appreciate the help Zed. It would've been nice to fix this problem but oh well. With as many Napf servers out there I expected to find a post regarding this issue. Perhaps it will be fixed in some future update? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now