mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-06 03:13:20 +00:00
Changed l4d2_ai_minigun commands
This commit is contained in:
parent
4732a3d1e6
commit
48988ab2d8
4 changed files with 6 additions and 4 deletions
|
@ -99,6 +99,8 @@ Makes the bots avoid standing infront/on top of the player that is using a minig
|
|||
Allows you to spawn a holdout type bot. This bot will spawn with a minigun, like louis in the passing. Supports all 8 characters.
|
||||
Technically it is louis using minigun with a model change, but it works fine.
|
||||
|
||||
Note: Sometimes bill model fails to spawn in, and is just invisible.
|
||||
**Notes:** Sometimes bill model fails to spawn in, and is just invisible. Also, the minigun holdout bot has to internally be Louis, so it will be louis making sounds, but whatever model specified shown. This doesn't apply for normal holdout bot.
|
||||
|
||||
* **Commands:**
|
||||
* `sm_spawn_minigun_bot <survivor name>` - Spawns the ai bot infront of wherever you are looking. Can also use numbers (0-7).
|
||||
* `sm_ai_minigun <survivor name>` - Spawns an ai bot with minigun infront of wherever you are looking. Can also use numbers (0-7).
|
||||
* `sm_ai_holdout <survivor name>` - Spawns a normal ai holdout bot (no minigun), with ak47 w/ laser sight.
|
Binary file not shown.
Binary file not shown.
|
@ -32,8 +32,8 @@ public void OnPluginStart() {
|
|||
SetFailState("This plugin is for L4D2 only.");
|
||||
}
|
||||
|
||||
RegAdminCmd("sm_spawn_holdout_bot", Command_SpawnHoldoutBot, ADMFLAG_ROOT);
|
||||
RegAdminCmd("sm_spawn_minigun_bot", Command_SpawnMinigunBot, ADMFLAG_ROOT);
|
||||
RegAdminCmd("sm_ai_holdout", Command_SpawnHoldoutBot, ADMFLAG_ROOT);
|
||||
RegAdminCmd("sm_ai_minigun", Command_SpawnMinigunBot, ADMFLAG_ROOT);
|
||||
}
|
||||
|
||||
public void OnMapStart() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue