Jump to content
Sign in to follow this  
sephis

Need help with editor please

Recommended Posts

I've only just started using the ingame editor and have developed a slight addiction but there is one thing that bugging me that I can't figure out.

Whenever I try and and spawn the destroyer ship, the only thing that appears on the map is a dark green question mark and, when I preview it, the ships just not there. Am I doing something wrong or can you not spawn the ship without downloading extra mods/tools.

Any help would be much appreciated.

Share this post


Link to post
Share on other sites

Those ships does not float my friend. So when you place them out they will go straight to the bottom. Only one is placeable i think and thats the LHD. Or maybe its only the addon version that does...?

But to get the others (destroyer and the other one) you have to do it in another way. Im not 100% sure it works with this but give it a go and write this line down somewhere cause you gonna need it again. :)

this setPos [(getPos this select 0),(getPos this select 1),10];

I cant explain it in tech terms, but i can tell you how that line works. The last value (10) is "meters". So adding that line like it is to the ships INIT field (big open box when you double click the ship - putting it out) the ship will be 10 meters from the bottom. Set it to 30 or something to get it higher if its deeper. However i dont know if this works with the ships because i think this line will add an object in and then it will drop down to the ground. I think i did this before though with success.

Adding a minus "-" to that value will lower objects. So for example -10 will get an object 10 meters under ground.

It works for units/vehicles and all. Test it. ;)

EDIT:

Here is the LHD addon that you get in the editor wich is placeable without problems.

Link: LHD

If you dont know how addons work - check under my signature "How to install addons & mods: Youtube Video"

Edited by Alex72

Share this post


Link to post
Share on other sites
Those ships does not float my friend. So when you place them out they will go straight to the bottom. Only one is placeable i think and thats the LHD. Or maybe its only the addon version that does...?

But to get the others (destroyer and the other one) you have to do it in another way. Im not 100% sure it works with this but give it a go and write this line down somewhere cause you gonna need it again. :)

this setPos [(getPos this select 0),(getPos this select 1),10];

I cant explain it in tech terms, but i can tell you how that line works. The last value (10) is "meters". So adding that line like it is to the ships INIT field (big open box when you double click the ship - putting it out) the ship will be 10 meters from the bottom. Set it to 30 or something to get it higher if its deeper. However i dont know if this works with the ships because i think this line will add an object in and then it will drop down to the ground. I think i did this before though with success.

Adding a minus "-" to that value will lower objects. So for example -10 will get an object 10 meters under ground.

It works for units/vehicles and all. Test it. ;)

EDIT:

Here is the LHD addon that you get in the editor wich is placeable without problems.

Link: LHD

If you dont know how addons work - check under my signature "How to install addons & mods: Youtube Video"

Awesome, thanks for the 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  

×