thecannons / Insurgency-dy-sourcemod

Updated folder structure
30 stars 21 forks source link

Using the suicide bomber on non coop server #26

Open shadycuz opened 7 years ago

shadycuz commented 7 years ago

Is it possible to use your plugin to add a classs to my custom theater that would allow the use of the suicide bomber in non coop servers?

thecannons commented 7 years ago

Theres a better way to do this without my plugin since the bomber would be the player and not a bot.

Something to do with the weapon producing a grenade_ied that detonates like a grenade instantly.

On Thu, May 18, 2017 at 11:13 AM, Levi Blaney notifications@github.com wrote:

Is it possible to use your plugin to add a classs to my custom theater that would allow the use of the suicide bomber in non coop servers?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Daimyo21/Insurgency-dy-sourcemod/issues/26, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXym1Zbx1UAls1mgT2ZEswnwM4Y0Eukks5r7IpJgaJpZM4Nfm0T .

shadycuz commented 7 years ago

Another modder used this for weapon{}

"weapon_suicidevest"
                    {
                            "import"                        "weapon_f1"
                            "view_model"            "models/weapons/v_c4_ins.mdl"
                            "world_model"           "models/weapons/w_ied.mdl"
                            "weapon_slot"           "primary"
                            "weapon_cost"           "0"
                            "print_name"            "Suicide Bomb"
                            "print_desc"            "Noone said the virgins would be female"
                            "explosives"
                            {
                                    "entity"                        "grenade_suicidevest"
                            }
                            "ammo_clip"
                            {
                                    "clip_max_rounds"                       "1" // no clips
                                    "clip_default"                          "1"
                            }
                    }

and explosive

"grenade_suicidevest"
                    {
                            "import"                        "baseGrenade"
                            "entity_class"          "grenade_frag"
                            "Model"                         "models/weapons/w_ied.mdl"
                            "DetonateDamage"        "240"
                            "DetonatePenetrationRadius" "10"
                            "DetonateDamageRadius"          "800"
                            "FuseTime"                      "0.01"  //just deal with it
                            "Cookable"                      "0"
                            "RocketStartSpeed"      "2000"
                            "Deafen"                        "1"
                            "Health"                        "20"
                            "ReactExplosions"       "1"
                            "ReactBullets"          "1"
                            "Particles"
                            {
                                    "DetonateParticle"              "ins_ammo_explosion"
                                    "DetonateWaterParticle" "ins_water_explosion"
                            }
                            "Sounds"
                            {
                                    "DetonateSound"         "Weapon_RPG7.Hit"
                                    "BounceSound"           "Weapon_M67.Bounce"
                            }
                    }

in a custom theater, but I think an update to the game changed some of these because they no longer work for me.

thecannons commented 7 years ago

I'd look into vanilla theater and see if any names changed such as baseGrenade or grenade_frag etc.

On Thu, May 18, 2017 at 2:19 PM, Levi Blaney notifications@github.com wrote:

Another modder used this for weapon{}

"weapon_suicidevest" { "import" "weapon_f1" "view_model" "models/weapons/v_c4_ins.mdl" "world_model" "models/weapons/w_ied.mdl" "weapon_slot" "primary" "weapon_cost" "0" "print_name" "Suicide Bomb" "print_desc" "Noone said the virgins would be female" "explosives" { "entity" "grenade_suicidevest" } "ammo_clip" { "clip_max_rounds" "1" // no clips "clip_default" "1" } }

and explosive

"grenade_suicidevest" { "import" "baseGrenade" "entity_class" "grenade_frag" "Model" "models/weapons/w_ied.mdl" "DetonateDamage" "240" "DetonatePenetrationRadius" "10" "DetonateDamageRadius" "800" "FuseTime" "0.01" //just deal with it "Cookable" "0" "RocketStartSpeed" "2000" "Deafen" "1" "Health" "20" "ReactExplosions" "1" "ReactBullets" "1" "Particles" { "DetonateParticle" "ins_ammo_explosion" "DetonateWaterParticle" "ins_water_explosion" } "Sounds" { "DetonateSound" "Weapon_RPG7.Hit" "BounceSound" "Weapon_M67.Bounce" } }

in a custom theater, but I think an update to the game changed some of these because they no longer work for me.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Daimyo21/Insurgency-dy-sourcemod/issues/26#issuecomment-302544815, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXym-X85m_OkRhTY_473HhfcYOgS8ZWks5r7LXsgaJpZM4Nfm0T .