23 12
發新話題
打印

求一個可以修改武器功擊力ge插件

[Close]

求一個可以修改武器功擊力ge插件

如題,有無近武的修改都唔重要,仲重要係有得改槍

[ 本帖最後由 zxcvbnm1313 於 2011-2-6 16:52 編輯 ]

TOP

SDK Hooks + damage mod

SDK Hooks

Damage Mod

TOP

RE:2#

第一個 SDK Hooks 我真係唔知咩黎 (因為我英文唔掂)
第二個我睇過個cfg 應該係用黎改攻擊 但係都係唔識用

        "MP5"
        {
                "weapon_class"                        "weapon_smg_mp5"
                "modifier_friendly"                "1.2"
                "modifier_enemy"                "1.2"
        }
       
        "AWP Sniper"
        {
                "weapon_class"                        "weapon_sniper_awp"
                "modifier_friendly"                "2.0"
                "modifier_enemy"                "2.0"
        }
       
        "Steyr Scout"
        {
                "weapon_class"                        "weapon_sniper_scout"
                "modifier_friendly"                "2.0"
                "modifier_enemy"                "2.0"
        }
       
        "Grenade Launcher"
        {
                "weapon_class"                        "weapon_grenade_launcher"
                "modifier_friendly"                "2.0"
                "modifier_enemy"                "0.8"


得四支槍有得改????

TOP

自己理解

TOP

引用:
原帖由 gordon7803 於 2011-2-6 09:27 發表
自己理解
咁絕情 大概講一講就得ga la

TOP

學好d英文就得啦

TOP

回復 5# 的帖子

範例  ((anyway 我未用過    靠估))

        "Colt M16"
        {
                "weapon_class"                        "weapon_rifle_m16"                                    //武器名稱
                "modifier_friendly"                "0.5"                                                               //對同伴傷害 (增加倍數, 0.5 即減半)
                "modifier_enemy"                "2.0"                                                               //對敵人傷害
        }


希望冇錯... 唔知係咪"weapon_rifle_m16"


SDK Hooks: http://forums.alliedmods.net/forumdisplay.php?f=134

[ 本帖最後由 toto345618433 於 2011-2-6 16:13 編輯 ]

TOP

引用:
     "weapon_pistol",      "weapon_smg",      "weapon_pumpshotgun",      "weapon_autoshotgun",      "weapon_rifle",      "weapon_hunting_rifle",      "weapon_smg_silenced",      "weapon_shotgun_chrome",      "weapon_rifle_desert",      "weapon_sniper_military",      "weapon_shotgun_spas",      "weapon_rifle_m60"      "weapon_smg_mp5",      "weapon_rifle_sg552",      "weapon_sniper_awp",      "weapon_sniper_scout",       "weapon_first_aid_kit",      "weapon_molotov",      "weapon_pipe_bomb",      "weapon_pain_pills",      "weapon_gascan",      "weapon_propanetank",      "weapon_oxygentank",       "weapon_melee",      "weapon_chainsaw",      "weapon_grenade_launcher",            "weapon_adrenaline",      "weapon_defibrillator",      "weapon_vomitjar",       "weapon_rifle_ak47",       "weapon_gnome",      "weapon_cola_bottles",      "weapon_fireworkcrate",       "weapon_upgradepack_incendiary",      "weapon_upgradepack_explosive",       "weapon_pistol_magnum",
Weapon List ==

TOP

回復 8# 的帖子

lol 原來係"weapon_rifle"  

TOP

依加有D混亂添
SDK Hooks   
Damage Mod
依加個問題係米要尼兩個都用,先可以達到改武器ge攻擊力的效果???

TOP

回復 10# 的帖子

係。

TOP

開年既第一個post
http://www.ipve.com/bbs/viewthread.php?tid=220742
呢度好耐前就有教學了
希望多D人學,唔好晒左D教學佢
子彈類型都改到的XD
雖然呢樣野係麻煩D,但改完後既滿足感大增

TOP

引用:
原帖由 rot00114 於 2011-2-6 23:04 發表
開年既第一個post
http://www.ipve.com/bbs/viewthread.php?tid=220742
呢度好耐前就有教學了
希望多D人學,唔好晒左D教學佢
子彈類型都改到的XD
雖然呢樣野係麻煩D,但改完後既滿足感大增 ...
尼個post 我搵過,而且都有睇過  但係我覺得過於複習
所以我決定都係用返插件會好D
引用:
toto345618433
咁我兩個開曬入去之后
係米淨係改damagemod就得la
sdkhooks 不用作修改??

[ 本帖最後由 zxcvbnm1313 於 2011-2-7 08:55 編輯 ]

TOP

請也下載及安裝  SDKHOOKS


使用方法 , 解壓放至 sourcemod folder

並於  sourcemod/configs/l4d2damagemod.cfg  修改武器攻擊力


字為可改部份    可整組追加或移除
"MP5"     // <----- 隨意改  
{
"weapon_class"         "weapon_smg_mp5"    //<------ 武器名或感染者或(prop_physics即物件傷害)
"modifier_friendly"         "1.2"            // <---- 對己方(倖存者)隊攻擊力加乘(eg.0.0 即係 無傷害,0.8 即係 80%攻擊力,1.0 即係 正常攻擊力  , 2.0 即係 200%攻擊力)
"modifier_enemy"         "1.2"            <---- 對敵方(屍))隊攻擊力加乘
}
複製內容到剪貼板
代碼:
"L4D2 Damage Mods"
{
        "MP5"
        {
                "weapon_class"                        "weapon_smg_mp5"
                "modifier_friendly"                "1.2"
                "modifier_enemy"                "1.2"
        }
        
        "AWP Sniper"
        {
                "weapon_class"                        "weapon_sniper_awp"
                "modifier_friendly"                "2.0"
                "modifier_enemy"                "2.0"
        }
        
        "Steyr Scout"
        {
                "weapon_class"                        "weapon_sniper_scout"
                "modifier_friendly"                "2.0"
                "modifier_enemy"                "2.0"
        }
        
        "Grenade Launcher"
        {
                "weapon_class"                        "weapon_grenade_launcher"
                "modifier_friendly"                "2.0"
                "modifier_enemy"                "0.8"
        }
        
        "Katana"
        {
                "weapon_class"                        "katana"
                "modifier_friendly"                "1.0"
                "modifier_enemy"                "1.0"
        }
        
        "Common Infected"
        {
                "weapon_class"                        "infected"
                "modifier_friendly"                "1.0"
                "modifier_enemy"                "1.0"
        }
        
        "Witch"
        {
                "weapon_class"                        "witch"
                "modifier_friendly"                "1.0"
                "modifier_enemy"                "1.0"
        }
        
        "Tank"
        {
                "weapon_class"                        "tank"
                "modifier_friendly"                "1.0"
                "modifier_enemy"                "1.0"
        }
        
        "Tossed Cars and Stuff"
        {
                "weapon_class"                        "prop_physics"
                "modifier_friendly"                "1.0"
                "modifier_enemy"                "1.0"
        }
        
        "Smoker"
        {
                "weapon_class"                        "smoker"
                "modifier_friendly"                "1.0"
                "modifier_enemy"                "1.0"
        }
}
[ 本帖最後由 hihi1210 於 2011-2-7 09:01 編輯 ]
附件: 您所在的用戶組無法下載或查看附件
CPT 插件開發隊長

TOP

SDKhooks 系一個輔助
Damagemod 依個系一個base on SDKhooks 來寫的插件, Damagemod系唔會運行的如果沒有SDKhooks

TOP

 23 12
發新話題