Page 1 of 1

Force shield effect

Posted: Sun Feb 02, 2014 8:42 pm
by darius456
Hello,

Is it possible to obtain information of shield current capacity level. I can get healt by this: "game.player.character.health", but how to get info about shield.
If i could determine shield level at tick+n time, and then at tick+n+1 time i can calulate (tick+n)-(tick+n+1) and determine if i get damage or if the shield is charaging.
Second question is... is it possible to force game to display an image over the player (semi transparent image of shield effect).

Any sugestions?

Sorry for my language, English is not my native.

Re: Force shield effect

Posted: Sun Feb 02, 2014 9:18 pm
by ficolas
First one isnt possible, second one could be possible.
Second one can be made by creating a particle/explosion entity, and creating it on the player

Re: Force shield effect

Posted: Mon Feb 03, 2014 5:55 pm
by darius456
ficolas wrote:First one isnt possible, second one could be possible.
Second one can be made by creating a particle/explosion entity, and creating it on the player
Thx for Your answer,
Second part is almost done, but could you tell me how should i creating it on player in control script... any suggestions will be help. <- nevermind allready found it.