ElDubya Posted February 23, 2015 Report Share Posted February 23, 2015 If I am in the editor, how the hell do I make sure all my buildings are flat when placed on uneven ground? Also, with some buildings, as I am grabbing them and moving them where I want them, they spin end over end? Is there anyway to stop that? Link to comment Share on other sites More sharing options...
0 raymix Posted February 23, 2015 Report Share Posted February 23, 2015 you need to set their vector to always face up, spawn several objects you want to use, from here you will be copy/pasting them after you select object you want (this way init field will be also copied naturally). Select each individual object and doubleclick, then add this line in init field: this setVectorUp [0,0,1]; save your scene (often!) to see changes updated. To fix rotation bugs, hold shift and rotate object sideways a bit, that will fix it temporarily. That editor is not official, it was made by someone from community and integrated into the game anyway. It's shit, but thats all we get, so you'll have to deal with it unfortunately. If you have already saved out file and want to update current objects. open your current map in a text editor and add init lines yourself, but this time code should look like this: (some notepad++ magic should help you automate this procedure with find & replace) _this setVectorUp [0,0,1]; ElDubya 1 Link to comment Share on other sites More sharing options...
0 ElDubya Posted February 23, 2015 Author Report Share Posted February 23, 2015 Fantastic Raymix, I'll buy you a beer one day! :) Cheers. Link to comment Share on other sites More sharing options...
0 raymix Posted February 23, 2015 Report Share Posted February 23, 2015 No worries, man, btw you can make things fun with setVectorDirAndUp, this will also let you rotate objects any way you want. I used this when creating caves for shits and giggles: https://www.dropbox.com/s/sdakuhz5qgvm41r/shot_140426_015312.png?dl=0 https://www.dropbox.com/s/392k0zpsfvtus1d/shot_140426_033327.png?dl=0 You can even do other awesome stuff with init lines, like replace textures on certain objects using setObjectTexture (if it supports hidden selections), kinda like this, lol: https://www.dropbox.com/s/10sz6rhl85y368b/shot_140423_202312.png?dl=0 Sky's the limit :D Link to comment Share on other sites More sharing options...
0 ElDubya Posted February 23, 2015 Author Report Share Posted February 23, 2015 LOL. I am still trying to find stuff in the list. Why couldn't they just put 'em all in, in English? :) I spent about 3 hours in there today making an area, saved everything one final time and everything shifted a mile ..... AARRGGHHH Link to comment Share on other sites More sharing options...
0 raymix Posted February 23, 2015 Report Share Posted February 23, 2015 Save as often as you can, in fact I saved after every object that I was aligning. There's another problem with collision boxes, when two objects overlap, they will shift. The only way to be 100% sure it works is adjusting them manually trough text editor or saving every time you move it an inch.. frustrating as fk Link to comment Share on other sites More sharing options...
0 EPD Posted February 24, 2015 Report Share Posted February 24, 2015 No worries, man, btw you can make things fun with setVectorDirAndUp, this will also let you rotate objects any way you want. I used this when creating caves for shits and giggles Sky's the limit :D No limit :D Only fun :D raymix and ElDubya 2 Link to comment Share on other sites More sharing options...
Question
ElDubya
If I am in the editor, how the hell do I make sure all my buildings are flat when placed on uneven ground? Also, with some buildings, as I am grabbing them and moving them where I want them, they spin end over end? Is there anyway to stop that?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now