Jump to content

Recommended Posts

Hi all,

 

I'm looking for the class for the bridges on Tanoa, im making Burj Al Arab and I really need the classname for it so I can place it. I cant find it anywhere either.

 

Thanks!

Share this post


Link to post
Share on other sites

There is no classname for bridges, and it is most likely made of many sections. You can get the model path with getModelInfo cursorObject and spawn sections with createSimpleObject 

Share this post


Link to post
Share on other sites

Got it.

 

[["bridgesea_01_f.p3d","a3\structures_f_exp\infastructure\bridges\bridgesea_01_f.p3d",true],""]

 

I try to create it with a simpleobject but encounter errors both times using both of those.

 

 

 

 

Share this post


Link to post
Share on other sites
39 minutes ago, killzone_kid said:

Hold on, let me get my crystal ball

 

It is your crystal ball :hehe:

 

I used your code.

_bridge = "bridgesea_01_f.p3d","a3\structures_f_exp\infastructure\bridges\bridgesea_01_f.p3d" createVehicleLocal (player getRelPos [10, 0]); 
_position = getPosWorld _bridge; 
_vectorDirUp = [vectorDir _bridge, vectorUp _bridge];
_model = getModelInfo _bridge select 1;
deleteVehicle _bridge;
_bridgea = createSimpleObject [_model, _position];
_bridgea setVectorDirAndUp _vectorDirUp;

 

Share this post


Link to post
Share on other sites
4 minutes ago, killzone_kid said:

I dunno what this is, but it ain't SQF for sure ;)

 

e5XmQpL.png

Share this post


Link to post
Share on other sites

createVehicleLocal takes object classname, but
 

1 hour ago, killzone_kid said:

There is no classname for bridges

 

Share this post


Link to post
Share on other sites

shit im stuck 

 

BIS please add bridges in eden

Share this post


Link to post
Share on other sites
1 hour ago, killzone_kid said:

There is no classname for bridges, and it is most likely made of many sections. You can get the model path with getModelInfo cursorObject and spawn sections with createSimpleObject 

right, forgot there is no real classnames for the roads.

nearRoads would still be an option though?

 

Share this post


Link to post
Share on other sites
2 minutes ago, Midnighters said:

right, forgot there is no real classnames for the roads.

nearRoads would still be an option though?

 

 

Nope no cigar!

Share this post


Link to post
Share on other sites
Just now, M. Glade said:

 

Nope no cigar!

Are you sure?

Last time I had hinted some found roads, and they were all .p3d paths.

Am I on the same page here?

Share this post


Link to post
Share on other sites
1 minute ago, Midnighters said:

Are you sure?

Last time I had hinted some found roads, and they were all .p3d paths.

Am I on the same page here?

 

Yes, when I try to find roads while im on the bridge it returns nothing.

Share this post


Link to post
Share on other sites
Just now, M. Glade said:

 

Yes, when I try to find roads while im on the bridge it returns nothing.

are you finding roads based on the player's position?

Originally I had just used a game logic,

don't know if it's different using a player unit, shouldn't be.

Share this post


Link to post
Share on other sites
3 minutes ago, Midnighters said:

are you finding roads based on the player's position?

Originally I had just used a game logic,

don't know if it's different using a player unit, shouldn't be.

 

Used both nothing.

Share this post


Link to post
Share on other sites
1 minute ago, M. Glade said:

 

Used both nothing.

nothing?!?

Try and expand your radius, the may just be connected in huge lengths? I don't know?

 

Share this post


Link to post
Share on other sites
1 minute ago, Midnighters said:

nothing?!?

Try and expand your radius, the may just be connected in huge lengths? I don't know?

 

 

Even if it was connected using whole lengths I'd just need the name of the bridge part, unless it would be connecting as 1 whole thing it'd have to be a different model.

Share this post


Link to post
Share on other sites
Just now, M. Glade said:

 

Even if it was connected using whole lengths I'd just need the name of the bridge part, unless it would be connecting as 1 whole thing it'd have to be a different model.

Right, I'm just confused as to how you were not able to find any at all.

I tested it a couple days ago on Tanoa, and within a 300 meter radius of the larger civilian terminal on the main island.

I was able to find 50+ segments. 

Share this post


Link to post
Share on other sites
Just now, Midnighters said:

Right, I'm just confused as to how you were not able to find any at all.

I tested it a couple days ago on Tanoa, and within a 300 meter radius of the larger civilian terminal on the main island.

I was able to find 50+ segments. 

 

Hmm odd, can you post here what you used if you still have it? thx

Share this post


Link to post
Share on other sites
2 minutes ago, M. Glade said:

 

Hmm odd, can you post here what you used if you still have it? thx

I'll try and grab it here in a couple hours.

At school right now,

I believe I just did this:

_roads = getPos map_gl nearRoads 300;

oh and to return:

hint format["%1",_roads];

 

Share this post


Link to post
Share on other sites
56 minutes ago, M. Glade said:

shit im stuck 

 

So you have model path from getModelInfo and cursorObject, right?
And position you can decide yourself, where you want to put your object, as long as it is position world, right?
Then you have createSimpleObject command that needs only model path and position to create object from this model, right?

 

Damn it. I'm stuck as well...

 

Spoiler

bridge = createSimpleObject ["a3\structures_f_exp\infrastructure\bridges\bridgesea_01_f.p3d", getPosWorld player]; 

 

  • Like 1

Share this post


Link to post
Share on other sites
44 minutes ago, killzone_kid said:

 

So you have model path from getModelInfo and cursorObject, right?
And position you can decide yourself, where you want to put your object, as long as it is position world, right?
Then you have createSimpleObject command that needs only model path and position to create object from this model, right?

 

Damn it. I'm stuck as well...

 

  Hide contents

bridge = createSimpleObject ["a3\structures_f_exp\infrastructure\bridges\bridgesea_01_f.p3d", getPosWorld player]; 

 

 

Stop making fools look like fools :(

Share this post


Link to post
Share on other sites
3 hours ago, killzone_kid said:

 

So you have model path from getModelInfo and cursorObject, right?
And position you can decide yourself, where you want to put your object, as long as it is position world, right?
Then you have createSimpleObject command that needs only model path and position to create object from this model, right?

 

Damn it. I'm stuck as well...

 

  Reveal hidden contents

bridge = createSimpleObject ["a3\structures_f_exp\infrastructure\bridges\bridgesea_01_f.p3d", getPosWorld player]; 

 

My entire confusion entirely, was where to actually find the paths..

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×