Heya. I'm trying to make a custom bridge from scratch. I seem to have it all figured out, except for one thing; when a unit walks into the bridge, that unit falls down to the lower level and walks around there.
I've read some of the other topics, and I see many people suggest using Doodad bridges. But my bridge has to be a unit. And there are other unit bridges that work, so I know this can work.
The unit bridge I'm looking at to try to figure this out is "Extending Bridge - NE - Height 8 - Wide - Extended". When a unit walks onto this unit-bridge, the unit's height stays perfectly level with the bridge surface, to the point that the unit smoothly walks up and down the angled edges of it.
However, no matter how long I examine that bridge and its actor, I can't figure out how it makes it do that.
How do the 'Extending Bridge - Extended' bridges make their units path at the correct height? How can I make my bridge do the same?
Ah, unfortunately it's gonna be a buildable unit that the player can build.
Worst case scenario, I have no units that will need to go up or down cliffs. I could make any unit that might walk across a bridge just ignore terrain height.
You have to edit the model of the bridge (or use another one). It has to have a collidable and walkable rigid body, Check the bones of other bridges that work.
You could also give a behavior to the unit that walks over it and increase its height via actor messages, but it wouldn't look as well as the rigid body.
If you need to have units walking over and under the bridge simultaneously, you would have to use the behavior approach, since the rigid body would make every unit walk over it.
Heya. I'm trying to make a custom bridge from scratch. I seem to have it all figured out, except for one thing; when a unit walks into the bridge, that unit falls down to the lower level and walks around there.
I've read some of the other topics, and I see many people suggest using Doodad bridges. But my bridge has to be a unit. And there are other unit bridges that work, so I know this can work.
The unit bridge I'm looking at to try to figure this out is "Extending Bridge - NE - Height 8 - Wide - Extended". When a unit walks onto this unit-bridge, the unit's height stays perfectly level with the bridge surface, to the point that the unit smoothly walks up and down the angled edges of it.
However, no matter how long I examine that bridge and its actor, I can't figure out how it makes it do that.
How do the 'Extending Bridge - Extended' bridges make their units path at the correct height? How can I make my bridge do the same?
This isn't a direct answer, but I've had a lot of success making bridges by hiding terrain cells and the building a bridge atop this hidden cells.
For example (from Thoughts in Chaos mission 1: "Stop Cut").
Ah, unfortunately it's gonna be a buildable unit that the player can build.
Worst case scenario, I have no units that will need to go up or down cliffs. I could make any unit that might walk across a bridge just ignore terrain height.
You have to edit the model of the bridge (or use another one). It has to have a collidable and walkable rigid body, Check the bones of other bridges that work.
You could also give a behavior to the unit that walks over it and increase its height via actor messages, but it wouldn't look as well as the rigid body.
If you need to have units walking over and under the bridge simultaneously, you would have to use the behavior approach, since the rigid body would make every unit walk over it.
Check out my kitbashes! Custom Campaign Initiative: Lots of great Custom Campaigns!! Check out and Support!!
I've just been stumbling on that very fact. Oh well, I guess it's off to the art forum to ask how to put those in using blender.