looonytoonz

ussfreedom trader not spawning stuff on deck

16 posts in this topic

So I added a carrier with an on-board aircraft trader into my map...

FREEDOM3.jpg

The problem is that once an item is purchased it places you on the beach instead of on the deck of the carrier.

beached.jpg

So everything is working but that.....   any ideas?

P.S.  hope this is the right spot for this question... 

Share this post


Link to post
Share on other sites
A little more information:
 
Carrier:
USSFREEDOM - placed @ [9000,6900,0]    dir  197.2
 
New Aircraft Trader Guy: 
copied from regular Aircraft guy and then placed @ 8999.90625,6801.183105,23.53     dir 20
 
Helipad that purchased vehicles should spawn on...:
["Land_HelipadSquare_F", [9006.601563,6843.620605,41.768562], [0, 1, 0], [0, 0, 1], true]
 
 
Files I have changed to make this happen:
initPlayerLocal.sqf    line: 51-52
// CarrierTrader
["Exile_Trader_Aircraft", ["HubStanding_idle1", "HubStanding_idle2", "HubStanding_idle3"], "Exile_Trader_Aircraft", "GreekHead_A3_06", [[],[],[],["U_I_pilotCoveralls",[]],[],[],"H_PilotHelmetHeli_O","G_Tactical_Clear",[],["","","","","",""]], [8999.90625,6801.183105,23.53],20, [0, 0, 1]]

 

 
initServer.sqf      line: 87 as well as 367-373
["Land_HelipadSquare_F", [9006.601563,6843.620605,41.768562], [0, 1, 0], [0, 0, 1], true]

&

// carrier
if (isServer) then {
    private _carrier = createVehicle ["Land_Carrier_01_base_F",[9000,6900,0],[],0,"NONE"];
    _carrier setPosWorld [9000,6900,0];
    _carrier setDir 197.199;
    [_carrier] call BIS_fnc_Carrier01PosUpdate;
};

 

**Currently the trader is standing in the right position facing the right direction. He also allows purchase of standard Aircraft Trader goods. What is happening is that the Vehicles purchased seem to spawn on the beach nearest the carrier and not on the deck via the placed "Helipad"

Share this post


Link to post
Share on other sites
Advertisement

now after some help from a friend the helipad seems to be recognized by the trader.. when moving it to far away it gives and error 13 message and moving it closer displays there is not enough space to safely place the vehicle... but vehicles no longer spawn on the beach, so baby steps i guess 

 

Share this post


Link to post
Share on other sites
On 9/14/2017 at 6:45 PM, looonytoonz said:

This has been figured out and is now functioning properly.... thanks for the help "pete".....!

Can you explain how you got this to work? We are doing something similar and are having the same problems you were. 

Share this post


Link to post
Share on other sites

i think in the end it had something to do with the height of the helipad thing *this was mentioned in another trader related post**, or it may have been the deck of the carrier not wanting to act like a spot that vehicles could spawn on, not even spawning in vehicles via admin menu.. we may have just kept moving the new trader and helipad around til it worked... i did have a friend looking at it with me as well so i will ask him what he thought it was when we finally got it working. it was getting late. i think next time i might try to do the whole thing with an editor but this time i just made one guy copied from the airfield trader and renaming him for the new trader. then set up the new category borrowed from the community trader with the two goKartz as test vehicles. and  manually inserting the code for the locations, mostly copy and pasting and alot of deleting and more copy and pasting... and a some help from a friend and the exileMod forums that i been digging through to figure out what other people had issues with and how they went about correcting the issues... in either case i can talk to the other guy and see what actually fixed it and i will reply back

Share this post


Link to post
Share on other sites

anyone know...? how do you set the direction objects are facing

facingWrongDir.JPG

the signs and lockers are facing the same direction and i would like to turn them but not sure what number to change here:

// CarrierStuff
["Exile_Sign_WasteDump", [8935.96,6786.69,23.201], [-0.999841, 0.0178356, 0], [0, 0, 1], true],
["Exile_Sign_Aircraft", [8942.91,6785.64,23.201], [-0.999841, 0.0178356, 0], [0, 0, 1], true],
["Exile_Locker", [8939.52,6783.57,23.4999], [-0.999841, 0.0178356, 0], [0, 0, 1], true] 

i would like them all to face 20 deg N

faceDir.JPG

Share this post


Link to post
Share on other sites

so i set the coordinates to this:

// CarrierStuff
["Exile_Sign_WasteDump", [8935.96,6786.69,23.201], 185, [0, 0, 1], true],
["Exile_Sign_Aircraft", [8942.91,6785.64,23.201], 185, [0, 0, 1], true],
["Exile_Locker", [8939.52,6783.57,23.4999], 185, [0, 0, 1], true]

also tried 20 instead of 185 

and it did turn the signs but they only want to face the one direction as well as all being crookedfacingCrooked.JPG

 

facingWrongDir.JPG

faceDir.JPG

Edited by looonytoonz
quoted on accident

Share this post


Link to post
Share on other sites

here is a question for anyone paying attention:

here is my understanding to the area where items are being created in the "initServer.sqf"

// CarrierStuff ----  signs, lockers and other....
["Exile_Sign_WasteDump", [8935.96,6786.69,23.201], [-0.999841, 0.0178356, 0], [0, 0, 1], true],
["Exile_Sign_Aircraft", [8942.91,6785.64,23.201], [-0.999841, 0.0178356, 0], [0, 0, 1], true],
["Exile_Locker", [8939.52,6783.57,23.4999], [-0.999841, 0.0178356, 0], [0, 0, 1], true]  

here is where i am at with these:

dirCoord.JPG

i just want to point the signage to 20 deg N/NE... why is it not the same as how other items are placed such as this for example:

understood.JPG

why wont this work...?      

["Exile_Locker", [8939.52,6783.57,23.4999], 20, [0, 0, 1], true]

 

 

Share this post


Link to post
Share on other sites

Why not just place the objects in the 3Den editor and use the Exile 3Den plugin to export them?  That's how I've built all my traders.....  you can then be FAR more creative with your trader design.

 

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.