Jump to content
Sign in to follow this  
krulin

Putting stuff on buildings

Recommended Posts

I'm making a mission with a player sniper on a tall building and i want him to have an ammo crate up there as well. Just putting them there in the 2d editor of course puts the crate at ground level next to the building. I'm trying to make a script for it to create one on top when the mission starts, but I gotta ask, is there a simpler way? I'm already a good ways into it, so the 3d editor option is out, unless someone knows something I don't. Any help with this would be much appreciated. :D Also if scripting is the only way, don't suppose someone could write me an example script for the create command. I can't seem to get it to work right :(

Share this post


Link to post
Share on other sites

I ran into this problem too. Use this in the ammo crates init

this setPos [getPos this select 0, getPos this select 1,<put the height in meters you want the crate to be at here>];

Share this post


Link to post
Share on other sites
if ur using the 3d editor here some info.

Hold Ctrl - elevation

Hold Alt - Move UP/DOWN

Hold Shift - Rotate Unit

there is a working 3d editor ?`?

Share this post


Link to post
Share on other sites

Yes at the main menu, press Alt + E.

Much more confusing than the normal editor but useful to solve things like this problem.

Share this post


Link to post
Share on other sites

i love the 3d editor but the major problem with this program, the hard work that you put in you cannot preview or save due to the inability to put a manned unit into the editor so i went back to the normal editor and painstakingly built the china wall or it seemed it lol took me long time lmao

Share this post


Link to post
Share on other sites
i love the 3d editor but the major problem with this program, the hard work that you put in you cannot preview or save due to the inability to put a manned unit into the editor so i went back to the normal editor and painstakingly built the china wall or it seemed it lol took me long time lmao

You can add players and preview it.

Add a CENTER, GROUP then a Unit :)

Three annoying problems with the edit:

Some items continue to swivel 360 ( like the ROUND sandbags ).

When you click "save", some items revert to their default level ( flat ) and not following the contour of the ground.

Also, I wish you could have an extra axis to turn items on

Share this post


Link to post
Share on other sites

5urge you do know that you can copy and paste items in the editor?

Also some items are orientated the wrong way round to their icons which doesn't help.

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  

×