Creating Entities with CaWE
Posted: 2014-08-25, 03:16
Currently, you create a new entity and add the relevant components to it via the editor to make the entity you want. This is great and very helpful, but has some drawbacks when it comes to using standardized entities.
I am looking for a way to be able to pre-define entities and allow mappers to place them in the map, with editable properties. As an example, I have created a CompTeamStart. It is based on the CompPlayerStart, using the bounding box for the map entity, although a different color, and I have added the team number component to it, so that each TeamStart can be set for a particular team.
The problem is that when I add the TeamStart component to a new entity, it doesn't add the team number component automatically, so I have to add it myself. While it isn't too much hassle for a simple entity such as a team spawn, it becomes more of a problem with complicated entities.
Is there a simple way to create pre-defined entities for use in CaWE? Or would it require an overhaul of CaWE and the game code?
I think the concepts behind CaWE and the building entities etc has huge benefit to singleplayer games, but without prefab entities, multiplayer games are a bit more repetitive when it comes to creating them. I'd also like to make it easier for any mappers I may get on the team in the future
I am looking for a way to be able to pre-define entities and allow mappers to place them in the map, with editable properties. As an example, I have created a CompTeamStart. It is based on the CompPlayerStart, using the bounding box for the map entity, although a different color, and I have added the team number component to it, so that each TeamStart can be set for a particular team.
The problem is that when I add the TeamStart component to a new entity, it doesn't add the team number component automatically, so I have to add it myself. While it isn't too much hassle for a simple entity such as a team spawn, it becomes more of a problem with complicated entities.
Is there a simple way to create pre-defined entities for use in CaWE? Or would it require an overhaul of CaWE and the game code?
I think the concepts behind CaWE and the building entities etc has huge benefit to singleplayer games, but without prefab entities, multiplayer games are a bit more repetitive when it comes to creating them. I'd also like to make it easier for any mappers I may get on the team in the future