Can someone make a plugin that make player full of flam without any harmless?Like the Gost Rider or Human Torch,it is so cool!
Solved Fire-man's look
Discussion in 'Plugin Requests' started by ydd, Mar 12, 2016.
-
Try working with:
Code:ParticleSystem Flames;EntityStats stats = player.WorldPlayerEntity.GetComponent<EntityStats>(); stats.GetFluidEffect(EEntityFluidEffectType.ColdBar).SetValue(0f); stats.GetFluidEffect(EEntityFluidEffectType.Radiation).SetValue(0f); stats.GetFluidEffect(EEntityFluidEffectType.HeatBar).SetValue(0f); stats.GetFluidEffect(EEntityFluidEffectType.Dampness).SetValue(0f); stats.GetFluidEffect(EEntityFluidEffectType.Hungerbar).SetValue(0f); stats.GetFluidEffect(EEntityFluidEffectType.Nutrition).SetValue(100f); stats.GetFluidEffect(EEntityFluidEffectType.BodyTemperature).Reset(true); stats.GetFluidEffect(EEntityFluidEffectType.Toxin).SetValue(0f); stats.GetFluidEffect(EEntityFluidEffectType.Health).SetValue(100f);
-
-
The Flare Gun (a crappy dev gun I made to test this) already does this. Check it out - you can get one with `g flare 1`. Have a look at how I've defined the binary effect it applies, in StaticItemBuilder. Applying this affect to a player some other way will show the flame effect
-
-
Yes, so have a look at the definition of the Flare Gun, and just take what you need from it. So, instead of:
Code:new EntityEffectAddBinaryEffect( EEntityBinaryEffectType.Burning, new AppliedEntityBinaryEffect("StatBarsBurning", "EntityStats/BinaryEffects/Burning") .SetDescriptionKey("EntityStats/BinaryEffects/Descriptions/Burning") .AddEffect(new EntityEffectFluid( EEntityFluidEffectType.Damage, EEntityEffectFluidModifierType.AddValueWithMods, -1f).OverrideSourceData(EntityEffectSourceData.Burning)) .AutoExpire(2) )
Code:new EntityEffectAddBinaryEffect( EEntityBinaryEffectType.Burning, new AppliedEntityBinaryEffect("StatBarsBurning", "My Cool Fire Effect"))
-
-
just in case you didn't already have a plugin for it, I wrote one a week ago. -
Wulf Community Admin
-
-
Wulf Community Admin
-
Actually this would be a good effect to put on when Admin is in GodMode to indicate that he/she isn't a valid target
-
-
Wulf Community Admin
-
Shouldn't this topic be set to solved with link to the plugin? (Effects for hurtworld)