Jump to content
  • 0

Strange issue with spawnpoint of vehicle @ trader


Buly

Question

Normally the spawn point for vehicles is in the middle of "HeliHCivil" sign on the ground.

 

I have 1 trader where the vehicle spawns some meters away of this point.

 

here's a snippet of the code:

 

military_neutral.sqf

_vehicle_227 = objNull;
if (true) then
{
  _this = createVehicle ["HeliHCivil", [18199.6, 2105.19,0.001], [], 0, "CAN_COLLIDE"];
  _vehicle_227 = _this;
  _this setPos [18199.6, 2105.19,0.001];
};

I have also tried to move the HeliHCivil via the editor - but still the same problem.

also checked there is another HeliHCivil near the trader in my sqf.

 

Don't know why the spawn is not on the "H" sign. May someone can help

 

It is the military neutral airplane trader of Bexs for napf - all other traders works fine

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

Vehicles spawn on "HeliHEmpty" not "HeliHCivil".

 

they spawn on both ...

 

I have also tried to move the HeliHCivil via the editor - but still the same problem.

also checked there is another HeliHCivil near the trader in my sqf.

 

Don't know why the spawn is not on the "H" sign. May someone can help

 

It is the military neutral airplane trader of Bexs for napf - all other traders works fine

 

how far from the trader is the helipad?

Link to comment
Share on other sites

  • 0

trader <-> heli pad distance = 12m-14m

 

added some screenshots.

 

When I moved the helipad icon to another position it still spawns on this location like on the screenshot

 

do you have any errors in logs on clint or server?

 

tbh it looks really wierd and i can only imagine it would happend like this if you used the wrong classname for the helipad.

theres one in the editor called MAP_something_HeliHCivil which looks identical , but it looks like you got the right classname in your sample from OP.

you could try and move it further away from the hangar tho, perhaps its too close.

Link to comment
Share on other sites

  • 0

thanks for your help :-)
 
here's my rpt log:
 

13:24:03 "EPOCH SERVERTRADE: Player: Buly (134548102) bought a Mi17_Civilian_DZ in/at Unknown Trader City for 1x ItemBriefcase100oz"
13:24:04 "PUBLISH: Attempt 60b39d00# 1061654: arrow_down_large_ep1.p3d REMOTE"
13:24:04 "HIVE: WRITE: "CHILD:308:24:Mi17_Civilian_DZ:0:7522:[71,[18200.6,2125.63,1]]:[]:[]:1:18200621256108460:""
13:24:05 "HIVE: WRITE: "CHILD:388:18200621256108460:""
13:24:05 "CUSTOM: Selected "1748""
13:24:05 "PUBLISH: B 1-1-F:1 (Buly) REMOTE Bought Mi17_Civilian_DZ with ID "18200621256108460""

seems to be normal. to set this object to another position don't work. still the same spawn point.

My last hope is to create a complete new sqf of this custom trader.

Edit: is the red text the spawn location of the vehicle ?

13:24:04 "HIVE: WRITE: "CHILD:308:24:Mi17_Civilian_DZ:0:7522:[71,[18200.6,2125.63,1]]:[]:[]:1:18200621256108460:""

Link to comment
Share on other sites

  • 0

thanks for your help :-)

 

here's my rpt log:

 

13:24:03 "EPOCH SERVERTRADE: Player: Buly (134548102) bought a Mi17_Civilian_DZ in/at Unknown Trader City for 1x ItemBriefcase100oz"
13:24:04 "PUBLISH: Attempt 60b39d00# 1061654: arrow_down_large_ep1.p3d REMOTE"
13:24:04 "HIVE: WRITE: "CHILD:308:24:Mi17_Civilian_DZ:0:7522:[71,[18200.6,2125.63,1]]:[]:[]:1:18200621256108460:""
13:24:05 "HIVE: WRITE: "CHILD:388:18200621256108460:""
13:24:05 "CUSTOM: Selected "1748""
13:24:05 "PUBLISH: B 1-1-F:1 (Buly) REMOTE Bought Mi17_Civilian_DZ with ID "18200621256108460""

seems to be normal. to set this object to another position don't work. still the same spawn point.

My last hope is to create a complete new sqf of this custom trader.

Edit: is the red text the spawn location of the vehicle ?

13:24:04 "HIVE: WRITE: "CHILD:308:24:Mi17_Civilian_DZ:0:7522:[71,[18200.6,2125.63,1]]:[]:[]:1:18200621256108460:""

 

i kinda knew there was no errors serverside, since this position is found client side try check your client logs when you buy it and see whats going on

Link to comment
Share on other sites

  • 0

Can someone tell me how to make a plane spawn in so that the nose of the plane is facing down the taxiway. My server is a napf map. I have made a hero vendor for planes at the south west air field where the hero vendor is. He is facing south. I have an empty heli pad down on the taxiway, the taxiway is running east, west. well its almost east, west. I stand in the center of heli pad and my compass reads 80 degrees and that's the way I want the planes to spawn in. I  set the setDir  on the heli script to 80.0.

What happens is the plane spawns in facing North. How do I fix this? :huh:

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...