Display Image
Posted: Sat May 28, 2016 2:16 pm
Is it possible to display an image via script without making a dummy entity with that picture, and creating and destroying it as needed?
So the player will have it as long as they have a force shield equipped? 0.13 will add inventory events, so you could make a new player and swap them over when they equip or unequip a shield or power armor with a shield. I don't know exactly how animation layering works, but you could possibly work the force shield into the new player entityRanakastrasz wrote:I am using the teleport method already. It works great in in single player, but in multiplayer the latency issue causes it to lag behind the player.
its a shield bubble animation that pulses when the player takes damage to their shield.
New player and swap over? I have no idea how that would work. It would also be potentially happening every tick, so really would be a bad idea anyhow.DedlySpyder wrote:So the player will have it as long as they have a force shield equipped? 0.13 will add inventory events, so you could make a new player and swap them over when they equip or unequip a shield or power armor with a shield. I don't know exactly how animation layering works, but you could possibly work the force shield into the new player entityRanakastrasz wrote:I am using the teleport method already. It works great in in single player, but in multiplayer the latency issue causes it to lag behind the player.
its a shield bubble animation that pulses when the player takes damage to their shield.
Hm, maybe not then, I was thinking like a more generic force field that just shimmered the whole time. I don't think there is a good way to handle it in multiplayer.Ranakastrasz wrote:New player and swap over? I have no idea how that would work. It would also be potentially happening every tick, so really would be a bad idea anyhow.DedlySpyder wrote:...
Its an animation based on current shield health and how recently it last took damage.