L4D2 Human and Zombie Shop by HarryPoter
-
(Survivor) Killing zombies and infected to earn credits
-
(Infected) Doing Damage to survivors to earn credits
-
Image | 圖示
-
Apply to | 適用於
L4D2
-
Translation Support | 支援翻譯
English 繁體中文 简体中文 Spanish Russian Portuguese Dutch
-
Changelog | 版本日誌
-
4.6
- Remke code
- Translation Support
- Add The last stand two melee
- Unlock All weapons including M60, Grenade_Launcher, and CSS weapons
- Unlock All items including cola, gnome and fireworkcrate
- Add Infected Shop
- You can earn credits by doing damage to survivors as an infected.
- You can earn credits by helping each other as a survivor.
- Save player's money with Cookies, it means that money can be saved to database across client connections, map changes and even server restarts.
- Buy time cooldown, can't buy quickly.
- No Special Item and database
-
v1.0
-
-
Require | 必要安裝
- left4dhooks
- [INC] Multi Colors
- To unlock all melee weapons in all campaigns, you MUST use the Mission and Weapons - Info Editor plugin which supersedes the extension.
-
ConVar | 指令
- cfg/sourcemod/L4D2_Buy_Store.cfg
// If 1, use CookiesCached to save player money. Otherwise, the moeny will not be saved if player leaves the server. sm_shop_CookiesCached_enable "1" // Giving money for killing a boomer sm_shop_boomkilled "10" // Giving money for killing a charger sm_shop_chargerkilled "30" // Can not buy cola in these maps, separate by commas (no spaces). (0=All maps, Empty = none). sm_shop_cola_map_off "c1m2_streets" // Giving money for saving people with defibrillator sm_shop_defi_save "200" // Giving money to each alive survivor for mission accomplished award (final). sm_shop_final_mission_complete "3000" // Giving money to each infected player for wiping out survivors. sm_shop_final_mission_lost "300" // Can not buy gas can in these maps, separate by commas (no spaces). (0=All maps, Empty = none). sm_shop_gascan_map_off "c1m4_atrium,c6m3_port,c14m2_lighthouse" // Giving money for healing people with kit sm_shop_heal_teammate "100" // Giving money for saving incapacitated people. (No Hanging from legde) sm_shop_help_teammate_save "30" // Giving money for killing a hunter sm_shop_hunterkilled "20" // Cold Down Time in seconds an infected player can not buy again after player buys item. (0=off). sm_shop_infected_cooltime_block "30.0" // If 1, Enable shop for infected. sm_shop_infected_enable "1" // Giving money for incapacitating a survivor. (No Hanging from legde) sm_shop_infected_survivor_incap "30" // Giving money for killing a survivor. sm_shop_infected_survivor_killed "100" // Tank limit on the field before infected can buy a tank. (0=Can't buy Tank) sm_shop_infected_tank_limit "1" // Infected player must wait until survivors have left start safe area for at least X seconds to buy item. (0=Infected Shop available anytime) sm_shop_infected_wait_time "10" // Giving money for killing a jockey sm_shop_jockeykilled "25" // Changes how 'You got credits by killing infected' Message displays. (0: Disable, 1:In chat, 2: In Hint Box, 3: In center text) sm_shop_kill_infected_announce_type "1" // Maximum money limit. (Money saved when map change/leaving server) sm_shop_max_moeny_limit "32000" // Numbers of real survivor and infected player require to active this plugin. sm_shop_player_require "4" // Giving money for killing a smoker sm_shop_smokerkilled "20" // Giving money for killing a spitter sm_shop_spitterkilled "10" // Giving money to each alive survivor for mission accomplished award (non-final). sm_shop_stage_complete "400" // If 1, decrease money if survivor friendly fire each other. (1 hp = 1 dollar) sm_shop_survivor_TK_enable "1" // Cold Down Time in seconds a survivor player can not buy again after player buys item. (0=off). sm_shop_survivor_cooltime_block "5.0" // Giving one dollar money for hurting tank per X hp sm_shop_tank_hurt "40" // Giving money for killing a witch sm_shop_witchkilled "80" // Giving money for killing a zombie sm_shop_zombiekilled "1"
- cfg/sourcemod/L4D2_Buy_Store.cfg
-
Command | 命令
* **Open shop menu** ```php sm_shop sm_buy sm_b sm_money sm_purchase sm_market sm_item sm_items sm_credit sm_credits ```-
See all players' or specific player's deposit
sm_inspectbank [name] sm_checkbank [name] sm_lookbank [name] sm_allbank [name]
-
Adm gives/reduces money (ADMFLAG_BAN)
sm_givemoney <name> <+-money> sm_givecredit <name> <+-money>
-
Adm removes player's all money (ADMFLAG_BAN)
sm_clearmoney <name> sm_deductmoney <name>
-
-
How to modify the item price
- L4D2_Buy_Store.sp line 135 ~ 210
-
Database
sm_shop_CookiesCached_enable "1"
, this uses CookiesCached to save player money
人類與特感的購物商城
- 功能
- (人類) 殺死特感與小殭屍獲取金額
- (特感) 對倖存者造成傷害獲取金額
- 自定義各項商品的金額
- 自定義獲取的金額
- 通關與滅團都有獎勵
- 可設置購物冷卻時間
Note 如要更多功能,請點我查看新版的購物插件,附有特殊商品與金錢轉移功能以及資料庫功能
-
命令中文介紹 (點我展開)
-
購物商城
sm_shop sm_buy sm_b sm_money sm_purchase sm_market sm_item sm_items sm_credit sm_credits
-
查看所有玩家的銀行儲值
sm_inspectbank [name] sm_checkbank [name] sm_lookbank [name] sm_allbank [name]
-
管理員打錢 (權限:ADMFLAG_BAN)
sm_givemoney <name> <+-money> sm_givecredit <name> <+-money>
-
管理員沒收玩家的金錢 (權限:ADMFLAG_BAN)
sm_clearmoney <name> sm_deductmoney <name>
-
-
如何設定各商品金額
- 源碼檔案第135到210行
-
資料庫設定
- 使用指令
sm_shop_CookiesCached_enable "1"
能幫玩家儲值金額到本地伺服器上
- 使用指令