hey im just wondering what the best way would be to change textures of a unit in game, i basically want unit skin types to be selectable at the start of a game, then apply chosen skin to all the units of that player. Im fairly new to actor events and have JUST begun to learn texture by id, the best thing i can think of is to have an Ability event trigger the texture apply, but then i would need a different ability to activate based on each skin. what is the most efficient way to apply textures in game?
Edit: i realize this is in triggers and should be probably moved to data :S
It depends on how you want to create your selection. Most likely, you will want to use a dialog for that, in which case you could easily send the Teture Select By Id actor message via trigger. You can also make an ability system and handle the swapping via the actor events defined in data, but that would be quite clunky and a lot more work.
So triggers are probably the correct section, the configuration of the model and textures has to be done in data (but you are not asking how to do that), the actual swap can be done with triggers.
It depends on how you want to create your selection. Most likely, you will want to use a dialog for that, in which case you could easily send the Teture Select By Id actor message via trigger. You can also make an ability system and handle the swapping via the actor events defined in data, but that would be quite clunky and a lot more work.
So triggers are probably the correct section, the configuration of the model and textures has to be done in data (but you are not asking how to do that), the actual swap can be done with triggers.
yeah i do plan on using a dialog, and wow i didn't know actor messages were send able via trigger, this helps me for a lot of situations thx!, how silly of me i quoted the wrong post
hey im just wondering what the best way would be to change textures of a unit in game, i basically want unit skin types to be selectable at the start of a game, then apply chosen skin to all the units of that player. Im fairly new to actor events and have JUST begun to learn texture by id, the best thing i can think of is to have an Ability event trigger the texture apply, but then i would need a different ability to activate based on each skin. what is the most efficient way to apply textures in game?
Edit: i realize this is in triggers and should be probably moved to data :S
it should be, however, if your want a more trigger induced way u can make multiple units and use triggers to swap them out its very dirty but works
i would repost in data and inform the mod to remove this.
It depends on how you want to create your selection. Most likely, you will want to use a dialog for that, in which case you could easily send the Teture Select By Id actor message via trigger. You can also make an ability system and handle the swapping via the actor events defined in data, but that would be quite clunky and a lot more work.
So triggers are probably the correct section, the configuration of the model and textures has to be done in data (but you are not asking how to do that), the actual swap can be done with triggers.
It depends on how you want to create your selection. Most likely, you will want to use a dialog for that, in which case you could easily send the Teture Select By Id actor message via trigger. You can also make an ability system and handle the swapping via the actor events defined in data, but that would be quite clunky and a lot more work.
So triggers are probably the correct section, the configuration of the model and textures has to be done in data (but you are not asking how to do that), the actual swap can be done with triggers.
@Kueken531: Go
yeah i do plan on using a dialog, and wow i didn't know actor messages were send able via trigger, this helps me for a lot of situations thx!, how silly of me i quoted the wrong post