|
发表于 2011-10-31 23:00:54
|
显示全部楼层
Q. (Jumby) - Not sure if this is the right thread but, how do you make it so you can build on ramps in the game? Thanks.
A. Great question! Building placement, meaning where you can and cannot place a building, is governed by that unit's footprint which can be modified in the Footprint data type. The "Placement Check" and "Placement Apply" Layers of a footprint dictate where it can be placed, and what kind of effect it has on pathing and other footprints once it is placed. A ramp is considered a "No Build" location, which is considered invalid by footprints by default. What you'll need to do is uncheck the "No Build" flag under the "Invalid" flags of the "Placement Check" Layer for that footprint.
As a side note, once you do this you will be able to build your buildings ANYWHERE. You will probably want to flag "Ground - No Spawn" flag under the "Invalid" flags, as well. :) This will prevent you from building your buildings on other buildings (no matter how much Xzibit may want you to do so), and on cliffs.
And, as a final side note to that previous side note, the edges of ramps are considered cliffs. You will only be able to build on the terrain in the middle of a ramp.
某些情况下,先google一下再决定要不要自己研究,可以省下大量时间。 |
|