Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

readme.md

Description | 內容

Clone and move special infected/survivor ladders.

  • Apply to | 適用於

     L4D1
     L4D2
    
  • Video | 影片展示

  • Image | 圖示
    l4d2_ladder_editor_1

  • Require | 必要安裝

    1. [INC] Multi Colors
    2. Install Stripper:Source: Save ladders permanently
  • How to use
    • Prepare

      1. Type in server console
        sm_cvar sv_cheats 1
        sm_cvar mp_gamemode versus
        sm_cvar sb_all_bot_game 1;sm_cvar sb_all_bot_team 1
        sm_cvar sb_stop 1
        sm_cvar god 1;
        director_stop
      2. Go to infected team, type z_spawn Hunter in game console to get an alive hunter
      3. Type r_drawbrushmodels 2 in game console to view all ladder brush models on the map
      4. Type !edit in chatbox to enter edit mode
        l4d2_ladder_editor_2
    • Clone Ladder

      1. Aim the map original infected ladder, press left mouse to select ladder
        l4d2_ladder_editor_4
      2. Type !clone or middle mouse to clone ladder
        l4d2_ladder_editor_5
    • Move Ladder

      1. Aim the new ladder, press left mouse to select ladder
      2. Find a wall you want to place new ladder, press right mouse to place ladder on the wall
        l4d2_ladder_editor_6
      3. Keys to use
        • A,D,W,S: Move the ladder
        • Shift: Rotate the ladder
        • Use: Raise the ladder
        • Reload: Lower the ladder
        • !kill: Remove the ladder
      4. When done, type !edit to exit edit mode, this will free the selected ladder
    • Save Ladder

      1. Aim the ladder and open game console, type sm_info, the func_simpleladder entity all information print in your game console
        l4d2_ladder_editor_7

      2. Copy and past to your addons\stripper\maps\xxxxx.cfg

        • xxxx is map name
        • For example it should be like this
           add:
           {
           	"classname" "func_simpleladder"
           	"origin" "332.45 9.46 -109.98"
           	"angles" "0.00 0.00 0.00"
           	"model" "*29"        
           	"normal.x" "0.00"
           	"normal.y" "-1.00"
           	"normal.z" "0.00"
           	"team" "2"
           }
      3. In stripper file, you can change func_simpleladder "team" Keyvalues to decide which team can climb the ladder

        // Team that can climb this ladder.
        // 0 : Any team
        // 1 : Survivors
        // 2 : Infected 
        team "x"
  • Q&A
    • Q1: Why I can't clone the ladder ?

      • A1: You must select the original ladder from the map
        l4d2_ladder_editor_3
    • Q2: Why some ladders become invisible when I rotate ladder?

      • A2: Model and map problem, nothing I can help, rotate ladder carefully
    • Q3: What should I clone new ladder if there is no any ladders on the map?

      • A3: Give up
  • ConVar | 指令
    • cfg/sourcemod/l4d2_ladder_editor.cfg
       // 0=Plugin off, 1=Plugin on.
       l4d2_ladder_editor_enable "1"
      
       // If 1, Freeze player when entering edit mode.
       l4d2_ladder_editor_freeze "0"
      
       // If 1, Use Tab key to enter edit mode.
       l4d2_ladder_editor_tab "0"
  • Command | 命令
    • Toggle edit mode

       sm_edit
    • Number of units to move when moving ladders in edit mode.

       sm_step <size>
    • Select the ladder you are aiming at.

       sm_select
    • Clone the selected ladder.

       sm_clone
    • Move the selected ladder to the given coordinate on the map.

       sm_move <x> <y> <z>
    • Move the selected ladder relative to its current position.

       sm_nudge <x> <y> <z>
    • Rotate the selected ladder.

       sm_rotate <x> <y> <z>
    • Remove the selected ladder.

       sm_kill
    • Display info about the selected ladder entity on console.

       sm_info
    • Toggle selected ladder info HUD on or off.

       sm_togglehud
    • Change team the ladder can used by

       // 0: Any team, 1: Survivor, 2: Infected
       sm_team <TeamNum>
    • Find func_simpleladder by model

       // example: sm_flbm "*28"
       sm_flbm <model_name>
    • Find func_simpleladder by hammerid

       sm_flbh <hammerid>
    • Change func_simpleladder normal.x normal.y normal.z

       // 1 = <1.0> <0.0> <0.0>
       // 2 = <-1.0> <0.0> <0.0>
       // 3 = <0.0> <1.0> <0.0>
       // 4 = <0.0> <-1.0> <0.0>
       // 5 = <0.0> <0.0> <1.0>
       // 6 = <0.0> <0.0> <-1.0>
       sm_cln <1~6>
       sm_cln <x> <y> <z>
  • Related Plugin | 相關插件
    1. Ladder List Height Info: Output a table to the console with the current map original ladders list with their respective heights
      • 打印地圖上所有的梯子資訊到控制台
  • Changelog | 版本日誌
    • v1.0 (2025-10-7)

      • Add more informations about func_simpleladder
      • Add cmds to change func_simpleladder
      • Add cmds to find func_simpleladder by model and hammerid quickly
      • Add messages to warn if ladder is not original
      • Update cvars, cmds
      • Optimize code and improve performance
    • v2.0


中文說明

複製並創造新的特感梯子或倖存者梯子

  • 如何使用?
    • 準備作業

      1. 在伺服器後台依序輸入以下指令
        sm_cvar sv_cheats 1
        sm_cvar mp_gamemode versus
        sm_cvar sb_all_bot_game 1;sm_cvar sb_all_bot_team 1
        sm_cvar sb_stop 1
        sm_cvar god 1;
        director_stop
      2. 回到遊戲中,切換到特感隊伍,遊戲控制台輸入z_spawn Hunter,將自己變成活著的特感
      3. 遊戲控制台輸入 r_drawbrushmodels 2,看到地圖上所有梯子渲染
      4. 聊天框輸入 !edit 進入編輯模式
        l4d2_ladder_editor_2
    • 複製梯子

      1. 準心指向一個地圖上原有的特感梯子,按下滑鼠左鍵選擇該梯子
        l4d2_ladder_editor_4
      2. 輸入 !clone 或按一下滑鼠滾輪鍵,複製梯子
        l4d2_ladder_editor_5
    • 移動梯子

      1. 準心指向複製的新梯子,按下滑鼠左鍵選擇該梯子
      2. 找到一個牆壁,按下滑鼠右鍵即可放置
        l4d2_ladder_editor_6
      3. 其他按鍵使用
        • A,D,W,S: 移動梯子
        • Shift: 旋轉90度
        • E鍵: 上升梯子
        • R鍵: 下降梯子
        • !kill: 移除梯子
      4. 完成後,輸入 !edit 離開編輯模式
    • 儲存梯子

      1. 準心指向梯子,開啟遊戲控制台,輸入sm_info,func_simpleladder 梯子實體的資訊將會打印在上面
        l4d2_ladder_editor_7

      2. 複製並貼到 addons\stripper\maps\xxxxx.cfg

        • xxxx 是地圖英文名
        • 舉例:
           add:
           {
           	"classname" "func_simpleladder"
           	"origin" "332.45 9.46 -109.98"
           	"angles" "0.00 0.00 0.00"
           	"model" "*29"        
           	"normal.x" "0.00"
           	"normal.y" "-1.00"
           	"normal.z" "0.00"
           	"team" "2"
           }
      3. 在地圖文件當中,可以修改func_simpleladder"team" 屬性,決定誰可以爬梯子

        // 哪個隊伍可以爬梯子
        // 0 : 任何人
        // 1 : 倖存者
        // 2 : 特感 
        team "x"
  • Q&A
    • Q1: 為什麼我無法複製一些梯子?

      • A1: 必須先選擇地圖的原始梯子才可以複製
        l4d2_ladder_editor_3
    • Q2: 為甚麼梯子旋轉後看不見?

      • A2: 模型與地圖問題,問就自己做地圖
    • Q3: 如果地圖都沒有原始梯子,該怎麼辦?

      • A3: 沒有梯子能複製,只能放棄
  • 指令中文介紹 (點我展開)
    • cfg/sourcemod/l4d2_ladder_editor.cfg
       // 0=關閉插件, 1=啟動插件
       l4d2_ladder_editor_enable "1"
      
       // 為1時,玩家進入梯子編輯模式時不能移動
       l4d2_ladder_editor_freeze "0"
      
       // 為1時,可以按tab鍵進入梯子編輯模式
       l4d2_ladder_editor_tab "0"
  • 命令中文介紹 (點我展開)
    • 進入或離開梯子編輯模式

       sm_edit
    • 上升或下降梯子時的速度

       sm_step <size>
    • 選擇準心指向的梯子

       sm_select
    • 複製梯子

       sm_clone
    • 移動梯子到指定的位置上

       sm_move <x> <y> <z>
    • 移動梯子到相對的位置

       sm_nudge <x> <y> <z>
    • 旋轉梯子

       sm_rotate <x> <y> <z>
    • 移除梯子

       sm_kill
    • 控制台打印梯子的資訊

       sm_info
    • 打開hud顯示目前的梯子資訊

       sm_togglehud
    • 改變準心指向的梯子,哪個隊伍可以爬

       // 0: 任何人, 1: 倖存者, 2: 特感
       sm_team <TeamNum>
    • 透過模型找出 func_simpleladder 實體

       // 舉例: sm_flbm "*28"
       sm_flbm <model_name>
    • 透過hammerid找出 func_simpleladder 實體

       sm_flbh <hammerid>
    • 改變 func_simpleladder 實體的normal.x normal.y normal.z

       // 1 = <1.0> <0.0> <0.0>
       // 2 = <-1.0> <0.0> <0.0>
       // 3 = <0.0> <1.0> <0.0>
       // 4 = <0.0> <-1.0> <0.0>
       // 5 = <0.0> <0.0> <1.0>
       // 6 = <0.0> <0.0> <-1.0>
       sm_cln <1~6>
       sm_cln <x> <y> <z>