Hi, I'm developing an exciting new game type that's kind of a combination of a lot of different game types. For my game I would to be able to attack forcefields. I've gone into the forcefield unit and changed the flags so that it should be a commandable/attackable/selectable unit, but I can't seem to select it or do anything with it in game. I feel like I'm probably missing some important actor stuff, but I can't seem to figure it out. Thanks for helping!
It seems to be a property of that model. If you change it to another model, it can be selected fine.
Not sure how you can work around that. Maybe it is possible to create an invisible model that can be selected somehow, and attach it to the force field actor. If that isn't possible, you'll probably have to resort to creating a model with a selection box yourself.
Yeah, do it that way. Just tested it in the editor and it works. Set opacity to 0 at actor creation, and make sure the attached force field model doesn't inherit opacity from it's host.
Can someone go into the steps involved in BorgDragon's explanation, or point me to the type of tutorials I need? What's an invisible model, and how do I attach the FF model to the invisible one?
(Yeah, super necro because I use the search feature ^_^).
Hi, I'm developing an exciting new game type that's kind of a combination of a lot of different game types. For my game I would to be able to attack forcefields. I've gone into the forcefield unit and changed the flags so that it should be a commandable/attackable/selectable unit, but I can't seem to select it or do anything with it in game. I feel like I'm probably missing some important actor stuff, but I can't seem to figure it out. Thanks for helping!
It seems to be a property of that model. If you change it to another model, it can be selected fine.
Not sure how you can work around that. Maybe it is possible to create an invisible model that can be selected somehow, and attach it to the force field actor. If that isn't possible, you'll probably have to resort to creating a model with a selection box yourself.
@Builder_Bob: Go
Instead, make the Force Field 'unit' use the invisible model, and attach the force field to the 'invisible' force field.
@BorgDragon: Go
Yeah, do it that way. Just tested it in the editor and it works. Set opacity to 0 at actor creation, and make sure the attached force field model doesn't inherit opacity from it's host.
Can someone go into the steps involved in BorgDragon's explanation, or point me to the type of tutorials I need? What's an invisible model, and how do I attach the FF model to the invisible one?
(Yeah, super necro because I use the search feature ^_^).
The issue may be explained here: http://www.thehelper.net/threads/upgrade-while-moving.153432/