Solved Fire-man's look

Discussion in 'Plugin Requests' started by ydd, Mar 12, 2016.

  1. ydd

    ydd

    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!
     
    Last edited by a moderator: Mar 12, 2016
  2. 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);
     
  3. ydd

    ydd

    Thanks bro,but...how can I get it work seriously?DO not know how to use it.Please tell.
     
  4. 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 :)
     
  5. ydd

    ydd

    Yes cowtrix,I found it,but it only hold the “hot mode” for a short while,and player's blood is droping,I just want player full of flame,but nonthing different exept that
     
  6. 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)
                        )
    Do something like:

    Code:
    new EntityEffectAddBinaryEffect(
                        EEntityBinaryEffectType.Burning,
                        new AppliedEntityBinaryEffect("StatBarsBurning", "My Cool Fire Effect"))
     
  7. ydd

    ydd

    Thanks, I will try!
     
  8. Hey,

    just in case you didn't already have a plugin for it, I wrote one a week ago.
     
  9. Wulf

    Wulf Community Admin

    Please use the Plugins section for fulfilling plugin requests for public plugins.
     
  10. Oh ok, I don't really think its worth it to submit this plugin tho. Is it fine if I send it as private message?
     
  11. Wulf

    Wulf Community Admin

    Sure that's fine, just don't want plugins scattered around the forums that aren't centralized and haven't been reviewed.
     
  12. 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
     
  13. ydd

    ydd

    Sorry I am late,did I miss it?
     
  14. Wulf

    Wulf Community Admin

    It's in the Plugins section.
     
  15. Shouldn't this topic be set to solved with link to the plugin? (Effects for hurtworld)