Difference between revisions of "Door Entities"
Fire-hound (talk | contribs) (initial page) |
Fire-hound (talk | contribs) (→Doors: the initial text) |
||
Line 1: | Line 1: | ||
− | == Doors == | + | == Working Doors Types == |
+ | |||
+ | === Doors === | ||
+ | The simple normal doors. Versatile, reliable, but sadly, broken to the MW:LL BA grenade impact (not the explosion). Once hit they leave their position and begin to travel wildly. | ||
+ | |||
+ | Can both pivot or slide around an arbitrary axis | ||
+ | |||
+ | === Advanced Doors === | ||
+ | Doors that can have more complex interaction with the environment, can only pivot around their Z axis. | ||
+ | |||
+ | === Animated Doors=== | ||
+ | Animated doors, while already defined and not tweakable in the Sandbox2 editor, allow for most freedom outside it - in the 3d art moddeling suite of choice. | ||
+ | |||
+ | The SA arena doors in MW:LL are an example - reliable operation and appearance | ||
+ | |||
+ | === Flowgraph Doors === | ||
+ | Thanks to the flowgraph editor, just about any entity can be made to interact with the player or the surrounding. | ||
+ | |||
+ | For the doors to be immune to the BA grenades, the '''RigidBodyEx''' entity has been proven to be good. | ||
+ | |||
+ | In the default setup it won't behave anything different than a simple door entity. | ||
+ | |||
+ | /TODO/ images of the settings | ||
+ | |||
+ | Once tweaked, however, they become immune to the bug. | ||
+ | |||
+ | For them to be actuated, it all begins from the ProximityArea Trigger - create an flowgraph assigned to it. | ||
+ | Make it as in the following image: | ||
+ | |||
+ | /TODO/ flowgraph image | ||
+ | |||
+ | Then make sure You place the TagPos helpers found in the AI menu on the proper locations. | ||
+ | |||
+ | Now connect all with the flowgraph (assign proper entities to proper flowgraph nodes) | ||
+ | |||
+ | In order to make it practical for moving or re-using, have all the entities grouped together. | ||
+ | |||
+ | To have access to their properties, select the group and open it - this way they still move together (if the group is selected), but each can be adjusted by it's own. | ||
+ | |||
+ | If You scale the group, it might stop working - or even worse yet - become erratic in operation. |
Revision as of 18:26, 3 February 2018
Working Doors Types
Doors
The simple normal doors. Versatile, reliable, but sadly, broken to the MW:LL BA grenade impact (not the explosion). Once hit they leave their position and begin to travel wildly.
Can both pivot or slide around an arbitrary axis
Advanced Doors
Doors that can have more complex interaction with the environment, can only pivot around their Z axis.
Animated Doors
Animated doors, while already defined and not tweakable in the Sandbox2 editor, allow for most freedom outside it - in the 3d art moddeling suite of choice.
The SA arena doors in MW:LL are an example - reliable operation and appearance
Flowgraph Doors
Thanks to the flowgraph editor, just about any entity can be made to interact with the player or the surrounding.
For the doors to be immune to the BA grenades, the RigidBodyEx entity has been proven to be good.
In the default setup it won't behave anything different than a simple door entity.
/TODO/ images of the settings
Once tweaked, however, they become immune to the bug.
For them to be actuated, it all begins from the ProximityArea Trigger - create an flowgraph assigned to it. Make it as in the following image:
/TODO/ flowgraph image
Then make sure You place the TagPos helpers found in the AI menu on the proper locations.
Now connect all with the flowgraph (assign proper entities to proper flowgraph nodes)
In order to make it practical for moving or re-using, have all the entities grouped together.
To have access to their properties, select the group and open it - this way they still move together (if the group is selected), but each can be adjusted by it's own.
If You scale the group, it might stop working - or even worse yet - become erratic in operation.