FOnline: Reloaded
Development => Suggestions => Topic started by: S.T.A.L.K.E.R on February 10, 2016, 09:22:23 pm
-
So something like this
(https://media.giphy.com/media/TQyVgbIZcvgcM/giphy.gif)
but for whenever someone is arming C4 or Dynamite. Could say something like "Armed Explosive"
BTW dropping C4 has no drop animation :P
-
I looked into adding this myself while looking at slowhand's FA text tutorial.
Turned out it wasn't that hard to add :P
So in explosion.fos, you gotta add VerboseAction(cr, "Arms EXPLOSIVE HERE");
something like this
Dynamite
if(pid == PID_DYNAMITE)
{
Item@ activateExpl = cr.AddItem(PID_ACTIVE_DYNAMITE, 1);
VerboseAction(cr, "Arms Dynamite");
Plastic Explosives
else if(pid == PID_PLASTIC_EXPLOSIVES)
{
Item@ expl = cr.AddItem(PID_ACTIVE_PLASTIC_EXPLOSIVE, 1);
VerboseAction(cr, "Arms explosive");
Mine
else if(pid == PID_MINE)
{
VerboseAction(cr, "Arms Mine");
Item@ mine = cr.AddItem(PID_ACTIVE_MINE, 1);
if(!valid(mine))
However adding a separate text for each explosive was something I couldn't get right, so I just put "Disarms explosive" for all...somewhere along these lines
// Success
if(chance > Random(1, 100))
{
VerboseAction(cr, "Disarms Explosive");
if(pid == PID_ACTIVE_DYNAMITE)
https://www.youtube.com/watch?v=S43W0xAeRNE
-
I agree, arming/disarming explosives should have floating text. Very good suggestion with examples and video :)