Jump to content
Sign in to follow this  
odyseus

LHD at UTES setpos script

Recommended Posts

Hello guys another day i run into a script that facilitates the placement of units and objects on the Aircraft carrier at Utes. Well I thought I saved the link. Now i can't find it anywhere on the forum. I spent hours of searching on the Bohemia interactive forum and no success. From my quick look at the page it seems that the script was done by a BIS programmer and there was a picture of the LHD with some flag poles on the deck. Does anybody knows where is it. Sorry I only posted because I ran out of resources. Thank you :P

Share this post


Link to post
Share on other sites

Not that one my friend. The script I look for has as objective to facilitates the placement of objects on the deck of LHD. But thx for trying.

Share this post


Link to post
Share on other sites

From here:

To put units in the room inside the superstructure (The room you walk in during the first mission of the "Harvest Red" Campaign.) you put the same thing as you would putting somthing on the Deck.

this setPosASL [getposASL this select 0, getposASL this select 1, 15.9];

For the larger room Bellow the deck you put this

this setPosASL [getposASL this select 0, getposASL this select 1, 9.19];

Share this post


Link to post
Share on other sites

Yes i will try those lines. but if i could find the script i saw just the other day would make my life so much easier. not have to micromanage every single object would be great! Another thing BIS could be kind ought to finish modeling the LHD in UTES with interior room , working elevator, weapons system and an exit to the water on the back. :D

Share this post


Link to post
Share on other sites

No idea what script you're taking about, never seen one to add objects automatically or anything.

not have to micromanage every single object would be great!

That's exactly what BIS did in it's own campaign. :)

data_c0_briefingsetup.hpp:

_briefing_setup = 
[
"","MetalBucket","",21.4232,13.5186,359.99,[0.000168156,-0.00269297,0.999996],[-0.000170486,0.999996,0.002693],"",15.9352,0.0501385,
"","FloorMop","",21.2271,13.2868,0.791275,[-0.00562867,0.101974,0.994771],[0.0137381,0.994701,-0.101889],"",15.9511,0.0624809,
"","SmallTV","",142.325,7.57186,322.757,[-0.00278376,0.055198,0.998471],[-0.604571,0.795242,-0.0456486],"",16.815,0.0935459,
"","SmallTable","",142.279,7.46094,89.7603,[0.00887954,0.00566589,0.999945],[0.999952,0.00418291,-0.00890331],"",15.9149,0.0297279,
"BIS_fch6","FoldChair",BIS_fch6,233.503,5.21013,313.353,[0.00355243,0.0244531,0.999695],[-0.727062,0.686425,-0.0142067],"",15.902,0.0167961,
"","FoldChair","",183.013,5.13689,180.202,[-0.020713,-0.0148514,0.999675],[-0.00352732,-0.999882,-0.0149276],"",15.9018,0.0164948,
"BIS_fch5","FoldChair",BIS_fch5,232.373,3.95744,339.51,[0.0138029,0.019541,0.999714],[-0.350008,0.93665,-0.0134758],"",15.9025,0.0172386,
"BIS_fd1","FoldTable",BIS_fd1,182.144,3.84973,184.552,[0.00074782,1.69544e-005,1],[-0.0793638,-0.996846,7.62507e-005],"",15.9275,0.0423565,
"BIS_projector","SatPhone",BIS_projector,187.82,3.75316,2.98425,[-0.0131464,-0.160916,0.986881],[0.0513791,0.985553,0.161384],"",16.7886,0.0580635,
"","Notebook","",174.404,3.96476,89.599,[-0.0148095,-0.00771697,0.99986],[0.999865,0.00699785,0.0148636],"",16.7525,0.0186634,
"","Can_small","",174.37,3.67033,0,[0,0,1],[0,1,0],"",16.732,0.00458908,
"BIS_fch1","FoldChair",BIS_fch1,153.86,3.60611,44.9329,[0.0138652,0.0392269,0.999134],[0.705779,0.707435,-0.0375688],"",15.8968,0.01157,
"BIS_fch4","FoldChair",BIS_fch4,50.454,-1.42517,365.473,[0.0136508,0.013077,0.999821],[-0.165504,0.986152,-0.0106385],"",15.9025,0.017292,
"","FoldChair","",8.68726,2.65412,3.59013,[0.0211739,0.0143317,0.999673],[0.0626109,0.997916,-0.0156327],"",15.9019,0.016634,
"","FoldChair","",88.1023,2.35757,21.2674,[0.0252665,0.0073493,0.999654],[0.362674,0.931778,-0.016017],"",15.9016,0.0163136,
"BIS_fch2","FoldChair",BIS_fch2,135.594,2.1917,27.4242,[0.0237044,0.00416237,0.99971],[0.460526,0.887526,-0.0146149],"",15.9023,0.0170479,
"BIS_fch4","FoldChair",BIS_fch4,226.949,1.42363,1.96466,[0.019737,0.0140051,0.999707],[0.0342794,0.999304,-0.0146762],"",15.9022,0.0169621,
"BIS_fch3","FoldChair",BIS_fch3,168.424,1.15407,13.5482,[0.0219229,0.009678,0.999713],[0.234239,0.97207,-0.0145471],"",15.9023,0.0170689,
"","FoldChair","",322.666,1.02429,359.386,[0.0177393,0.0134962,0.999751],[-0.0107184,0.999835,-0.0146722],"",15.9025,0.0172825,
"","FoldChair","",61.3064,0.9807,4.85217,[0.0190653,0.0118412,0.999748],[0.0845775,0.996327,-0.0134136],"",15.9025,0.0172577
];

Using something like that it seems that the BIS_fnc_sceneSetObjects function might be able to set that all up for you. Probably would use the 3D editor to place everything where you want it and load it all via merge or script.

The problem is every multiplayer mission I've played which has tried to dress up the LHD with all kinds of set dressing has been a laggy unenjoyable mess. A flagpole and a box and perhaps a spare helicopter or dude might be a nice touch, but you shouldn't be spending time or running around the LHD, gear up and get out! :)

It's cool if you want to make it all pretty, but just be aware of A) how difficult it'll be to setup and B) the impact it'll have on the gameplay.

Share this post


Link to post
Share on other sites

Yes i understand there are pros and cons for trying to get a nice realistic look to the environment. :D I will keep that in mind! OMG i still cant find that script!!! AWWWWWWWW

Share this post


Link to post
Share on other sites

Not that one neither. Thx VRCRAPTOR. I m literally spending all day on that! IF anyone finds please let me know. Thx

Edited by Odyseus

Share this post


Link to post
Share on other sites
No idea what script you're taking about, never seen one to add objects automatically or anything.

That's exactly what BIS did in it's own campaign. :)

data_c0_briefingsetup.hpp:

_briefing_setup = 
[
"","MetalBucket","",21.4232,13.5186,359.99,[0.000168156,-0.00269297,0.999996],[-0.000170486,0.999996,0.002693],"",15.9352,0.0501385,
"","FloorMop","",21.2271,13.2868,0.791275,[-0.00562867,0.101974,0.994771],[0.0137381,0.994701,-0.101889],"",15.9511,0.0624809,
"","SmallTV","",142.325,7.57186,322.757,[-0.00278376,0.055198,0.998471],[-0.604571,0.795242,-0.0456486],"",16.815,0.0935459,
"","SmallTable","",142.279,7.46094,89.7603,[0.00887954,0.00566589,0.999945],[0.999952,0.00418291,-0.00890331],"",15.9149,0.0297279,
"BIS_fch6","FoldChair",BIS_fch6,233.503,5.21013,313.353,[0.00355243,0.0244531,0.999695],[-0.727062,0.686425,-0.0142067],"",15.902,0.0167961,
"","FoldChair","",183.013,5.13689,180.202,[-0.020713,-0.0148514,0.999675],[-0.00352732,-0.999882,-0.0149276],"",15.9018,0.0164948,
"BIS_fch5","FoldChair",BIS_fch5,232.373,3.95744,339.51,[0.0138029,0.019541,0.999714],[-0.350008,0.93665,-0.0134758],"",15.9025,0.0172386,
"BIS_fd1","FoldTable",BIS_fd1,182.144,3.84973,184.552,[0.00074782,1.69544e-005,1],[-0.0793638,-0.996846,7.62507e-005],"",15.9275,0.0423565,
"BIS_projector","SatPhone",BIS_projector,187.82,3.75316,2.98425,[-0.0131464,-0.160916,0.986881],[0.0513791,0.985553,0.161384],"",16.7886,0.0580635,
"","Notebook","",174.404,3.96476,89.599,[-0.0148095,-0.00771697,0.99986],[0.999865,0.00699785,0.0148636],"",16.7525,0.0186634,
"","Can_small","",174.37,3.67033,0,[0,0,1],[0,1,0],"",16.732,0.00458908,
"BIS_fch1","FoldChair",BIS_fch1,153.86,3.60611,44.9329,[0.0138652,0.0392269,0.999134],[0.705779,0.707435,-0.0375688],"",15.8968,0.01157,
"BIS_fch4","FoldChair",BIS_fch4,50.454,-1.42517,365.473,[0.0136508,0.013077,0.999821],[-0.165504,0.986152,-0.0106385],"",15.9025,0.017292,
"","FoldChair","",8.68726,2.65412,3.59013,[0.0211739,0.0143317,0.999673],[0.0626109,0.997916,-0.0156327],"",15.9019,0.016634,
"","FoldChair","",88.1023,2.35757,21.2674,[0.0252665,0.0073493,0.999654],[0.362674,0.931778,-0.016017],"",15.9016,0.0163136,
"BIS_fch2","FoldChair",BIS_fch2,135.594,2.1917,27.4242,[0.0237044,0.00416237,0.99971],[0.460526,0.887526,-0.0146149],"",15.9023,0.0170479,
"BIS_fch4","FoldChair",BIS_fch4,226.949,1.42363,1.96466,[0.019737,0.0140051,0.999707],[0.0342794,0.999304,-0.0146762],"",15.9022,0.0169621,
"BIS_fch3","FoldChair",BIS_fch3,168.424,1.15407,13.5482,[0.0219229,0.009678,0.999713],[0.234239,0.97207,-0.0145471],"",15.9023,0.0170689,
"","FoldChair","",322.666,1.02429,359.386,[0.0177393,0.0134962,0.999751],[-0.0107184,0.999835,-0.0146722],"",15.9025,0.0172825,
"","FoldChair","",61.3064,0.9807,4.85217,[0.0190653,0.0118412,0.999748],[0.0845775,0.996327,-0.0134136],"",15.9025,0.0172577
];

Using something like that it seems that the BIS_fnc_sceneSetObjects function might be able to set that all up for you. Probably would use the 3D editor to place everything where you want it and load it all via merge or script.

The problem is every multiplayer mission I've played which has tried to dress up the LHD with all kinds of set dressing has been a laggy unenjoyable mess. A flagpole and a box and perhaps a spare helicopter or dude might be a nice touch, but you shouldn't be spending time or running around the LHD, gear up and get out! :)

It's cool if you want to make it all pretty, but just be aware of A) how difficult it'll be to setup and B) the impact it'll have on the gameplay.

hey Kylania how would i go about making this setup work for my mission. Just curious :D

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
Sign in to follow this  

×