Model rotation and positioning of footprint of new building

Phubar

Ultra Cool Member
Reaction score
30
Hi!
I made a duplicate of the barraks, i changed the model in the actor with the civilian large building one and it's all fine, i can see it.

But there are two things that i want to do:

- Change the rotation of the model in order to have this orientation "\" instead of this "/"
- Change the center of the footprint becouse now the model is quite unbalanced on the right respect the center of the footprint (its a bit over the right edge and a lot shifted from the left edge). I enlarged the footprint but the issue remains (of course, it will always be out of center, no matter how big id the footprint)
 

Dave312

Censored for your safe viewing
Reaction score
269
You can set the default facing direction for a building by modifying the Stats: Facing property on the unit object.

As far as the building footprint is concerned, it should be centered on the unit model so I'm not quite sure why it isn't. What you could do is just find the footprint model the Building normally uses and just give it that footprint. I can't double check this because I can't find a CivilianLargeBuilding_01.m3 model (assuming that is what it is actually called).
 

Phubar

Ultra Cool Member
Reaction score
30
it was colonist not civilian, sry!
Assets\Doodads\ColonistHomeLarge\ColonistHomeLarge_00.m3
I solved with facing angle ( i was looking into the actor so i wouldnt never find by myself :) )

About footprint the original footprint is 6x6 and it's too much large... Maybe the model has a center that is not the center of the building?
 

Dave312

Censored for your safe viewing
Reaction score
269
Sorry for taking so long to reply. I've had a busy weekend.

Anyway it appears that that particular model has an offset built into it. You can however fix this by creating a Site Operation actor and attaching it to it. To do this, go to the Actors data type and create a new actor and set the Actor Type to Site Operation (Local Offset). Now hit the OK button and edit the Actor: Local Offset property. This property allows you to specify how much and in which direction the model will move. For now, just set the x value to -0.5 and leave the others as 0.

Now go to the Barracks Actor (the duplicate you made) and edit the Hosting: Host Site Operations + property. In the window that opens, click on the green 'x' symbol (on the right hand side) to add the operation you just created (if there are any existing operations you can delete them). Now you're done. Place the unit in the Terrain module to see the new position for your model. If the model isn't in the correct location, you will need to go back and adjust the Actor: Local Offset property on the site operation actor. When adjusting these values, you need to take into account the rotation of the model (i.e. the x value won't move the object solely in the x direction unless the rotation is 0). If you make any adjustments, you will need to replace the unit as the existing units will not be updated with the new site operation.

Any questions/problems let me know.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top