Hi everyone, I'm attempting to make a map where you can construct walls. Each wall section is an independent object, which are placed in a line by the player.
Imagine a wall object like this --> |-----|
Placing a few next to eachother would do this --> |-----||-----||-----||-----|
Could I make it so that the building sections together could blend seamlessly like this? -> |--------------------|
Yes, you can. First, you need to have a set of models to cover all possible shapes.
Then you need each new wall unit to check nearby wall units to deside which model should be used, and then SwapModel action should be called in the actor. Also, if a wall unit dies, it should initiate a check inside neighbor wall units. This all is not an Artist Tavern kind of topic, so you better go to Data subforum for further discussion. Or if you'd like to implement this using triggers (which would be easier) - Triggers subforum.
Hi everyone, I'm attempting to make a map where you can construct walls. Each wall section is an independent object, which are placed in a line by the player.
Imagine a wall object like this --> |-----|
Placing a few next to eachother would do this --> |-----||-----||-----||-----|
Could I make it so that the building sections together could blend seamlessly like this? -> |--------------------|
Yes, you can. First, you need to have a set of models to cover all possible shapes.
Then you need each new wall unit to check nearby wall units to deside which model should be used, and then SwapModel action should be called in the actor. Also, if a wall unit dies, it should initiate a check inside neighbor wall units. This all is not an Artist Tavern kind of topic, so you better go to Data subforum for further discussion. Or if you'd like to implement this using triggers (which would be easier) - Triggers subforum.
He has already asked on the data forum and gotten a solution.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg