How to Create Razor plasma field effect ?

    "pubg_sinka"
    {
        "BaseClass"                 "ability_datadriven"
        "AbilityBehavior"           "DOTA_ABILITY_BEHAVIOR_PASSIVE"
        "precache"
        {
            "particle"  "particles/econ/items/razor/razor_ti6/razor_plasmafield_ti6.vpcf"
            }
        "Modifiers"
        {   
            "modifier_pubg_sinka"
            {
                "Passive"       "1"
                "OnCreated"
                {
                    "AttachEffect"
                    {
                        "EffectName"            "particles/econ/items/razor/razor_ti6/razor_plasmafield_ti6.vpcf"
                        "EffectAttachType"      "follow_origin"
                        "EffectRadius"          "550"
                    }
                }
            }
        }
    }

I try create plasma field effect , but it don't work ! Help plz !!!

Comments

  • edited February 15 Posts: 6

    Possibly you need to set control points.

    "pubg_sinka"
      {
            "BaseClass"                 "ability_datadriven"
            "AbilityBehavior"           "DOTA_ABILITY_BEHAVIOR_PASSIVE"
            "precache"
            {
                "particle"  "particles/econ/items/razor/razor_ti6/razor_plasmafield_ti6.vpcf"
            }
            "Modifiers"
            {   
                "modifier_pubg_sinka"
                {
                    "Passive"       "1"
                    "OnCreated"
                    {
                        "AttachEffect"
                        {
                            "EffectName"            "particles/econ/items/razor/razor_ti6/razor_plasmafield_ti6.vpcf"
                            "EffectAttachType"      "follow_origin"
                            "EffectRadius"          "550"
                            "Target" "CASTER"
    
                            "ControlPoints"
                            {
                                "00" "0 0 0"
                                "01" "200 1000 1"   // velocity radius [?]
                            }
                        }
                    }
                }
            }
        }
    
  • Thanks a lot !!!