I am making an easy model for now because I am having problem with texturing a bit.
Ok let see I am a bit shame to introduce you the wall and bridge. bcuz of the model.
Wall can contain up to 3 infantry for support and gate have open and close animation. The wall will swallow all the damage but will not protect unit from aircraft and explosion
I am using replace object behaviour in order to change the geometry size and animation.
Animation is easy by playing from the first frame and for close is playing backward.
So when the gate is closed it really do I mean your unit cannot across it. However if you fully covered the whole base with wall and closed gate just sometimes that unit can go right through out any walls or even gates. I think might be a bug for something?
For the gate open I am simply put the size of geometry as small as possible by this mean any unit can get out with ease.
The code of geometry is simple. You can't use 0 I tried and dozer can't build it.
Code:
Geometry = BOX
GeometryMajorRadius = 1
GeometryMinorRadius = 1
GeometryHeight = 1
GeometryIsSmall = No
Shadow = SHADOW_VOLUME
BuildCompletion = PLACED_BY_PLAYER
This is gate actual size, will fit the whole geometry and not let any units in and out.
Code:
Geometry = BOX
GeometryMajorRadius = 72.5
GeometryMinorRadius = 11.1
GeometryHeight = 29
GeometryIsSmall = No
Shadow = SHADOW_VOLUME
BuildCompletion = PLACED_BY_PLAYER
If anyone have any good idea to implement to this I would be really appreciated and if anyone want a model for it I will give it to you with some code.
Right now I did not made any damage model yet since I did know how to make texture works with the game.
Edited by user Saturday, April 22, 2017 11:55:57 AM(UTC)
| Reason: add something cool