Garry's Mod

Garry's Mod

[IV04] Half-Life 2 Deathmatch Nextbots
 This topic has been pinned, so it's probably important
IvanVladimir0435  [developer] 28 Jan, 2019 @ 9:00am
Help pls
"Not moving" - No nav
"Errors" - Make sure you installed the base then restart gmod
"Not spawning automatically" - Did you read the requirements for it to work?
"No ladder climbing" - read this (the way they work is the same, so don't worry about it)
Last edited by IvanVladimir0435; 28 Jan, 2019 @ 3:20pm
< >
Showing 1-15 of 18 comments
immovableozen2018 26 Jun, 2019 @ 10:52pm 
NextBot [82][npc_iv04_hl2dm_rebel] Error: lua/entities/npc_iv04_base/init.lua:548: Tried to use a NULL entity!
NextBot [43][npc_iv04_hl2dm_combine] Error: lua/entities/npc_iv04_base/init.lua:548: Tried to use a NULL entity!
Squeaky Fengy 27 Jul, 2019 @ 3:05pm 
Originally posted by Ivan04:
"Not spawning automatically" - Did you read the requirements for it to work?
i really did everything as you said and made double checked the cvars, as for The map has the "info_player_deathmatch" entities i tried many maps (original hl2dm maps, gm_construct, other dm maps in workshop) but they never actually spawned.
i even tried to singleplayer and multiplayer.

what seems the problem?
IvanVladimir0435  [developer] 27 Jul, 2019 @ 7:28pm 
Originally posted by Dark^Ghost:
Originally posted by Ivan04:
"Not spawning automatically" - Did you read the requirements for it to work?
i really did everything as you said and made double checked the cvars, as for The map has the "info_player_deathmatch" entities i tried many maps (original hl2dm maps, gm_construct, other dm maps in workshop) but they never actually spawned.
i even tried to singleplayer and multiplayer.

what seems the problem?
did you check the convars and see if one was weird? do you have the required addons?
Squeaky Fengy 28 Jul, 2019 @ 3:48am 
Originally posted by Ivan04:
Originally posted by Dark^Ghost:
i really did everything as you said and made double checked the cvars, as for The map has the "info_player_deathmatch" entities i tried many maps (original hl2dm maps, gm_construct, other dm maps in workshop) but they never actually spawned.
i even tried to singleplayer and multiplayer.

what seems the problem?
did you check the convars and see if one was weird? do you have the required addons?
Yes I have the required addon which is IV04 Nextbots base.
I did check the console to see if there is any error but there wasn't.

What I pretty much did was:
.launch the map.
.open console and type:-
"hl2dm_nb_limit 16"
"hl2dm_nb_time 5"
"hl2dm_nb_allowspawn 1"
"restart" *tried without this but no use*

But nothing really happened..I can spawn them normally tho and they run and shot without any error.
The only problem is with them not spawning automatically.
IvanVladimir0435  [developer] 28 Jul, 2019 @ 8:57am 
Originally posted by Dark^Ghost:
Originally posted by Ivan04:
did you check the convars and see if one was weird? do you have the required addons?
Yes I have the required addon which is IV04 Nextbots base.
I did check the console to see if there is any error but there wasn't.

What I pretty much did was:
.launch the map.
.open console and type:-
"hl2dm_nb_limit 16"
"hl2dm_nb_time 5"
"hl2dm_nb_allowspawn 1"
"restart" *tried without this but no use*

But nothing really happened..I can spawn them normally tho and they run and shot without any error.
The only problem is with them not spawning automatically.
Dang... Idk then, they spawn for me
Squeaky Fengy 28 Jul, 2019 @ 9:43am 
Originally posted by Ivan04:
Originally posted by Dark^Ghost:
Yes I have the required addon which is IV04 Nextbots base.
I did check the console to see if there is any error but there wasn't.

What I pretty much did was:
.launch the map.
.open console and type:-
"hl2dm_nb_limit 16"
"hl2dm_nb_time 5"
"hl2dm_nb_allowspawn 1"
"restart" *tried without this but no use*

But nothing really happened..I can spawn them normally tho and they run and shot without any error.
The only problem is with them not spawning automatically.
Dang... Idk then, they spawn for me
I guess some other addon is conflicting with yours making them unable to spawn automatically.
Gonna try to find out which one.

But can you tell me which maps you tried those on?
If everything fails I'm just going to use NPC Spawn Platform

Thanks for this great addon, so much fun :D
IvanVladimir0435  [developer] 28 Jul, 2019 @ 10:52am 
Originally posted by Dark^Ghost:
Originally posted by Ivan04:
Dang... Idk then, they spawn for me
I guess some other addon is conflicting with yours making them unable to spawn automatically.
Gonna try to find out which one.

But can you tell me which maps you tried those on?
If everything fails I'm just going to use NPC Spawn Platform

Thanks for this great addon, so much fun :D
I tried on the default hl2 dm maps
Reon Kenedi 1 Aug, 2020 @ 6:17pm 
how to spawn bots? the bots im getting are similar to normal gmod bots (stupid bots).
IvanVladimir0435  [developer] 1 Aug, 2020 @ 6:19pm 
Originally posted by MelonBoy the Shy Guy:
how to spawn bots? the bots im getting are similar to normal gmod bots (stupid bots).
search for half-life 2 deathmatch in the NPCs tab, aswell as make sure you have a navmesh else they won't move
Can't find Half-Life 2 Deathmatch section in the NPC tab, have the base mod installed, Help.
Lenny 14 Sep, 2020 @ 8:34am 
go ♥♥♥♥♥♥ self
IvanVladimir0435  [developer] 14 Sep, 2020 @ 8:38am 
nice
I'm having the same issue as Squeaky Fengy; I've downloaded the base, mounted HL2: Deathmatch and tested the bots on the official maps, checked the convars, used "nav_generate" on the console and spawned some bots from the spawn menu itself just to test. The bots work fine, only problem is that they don't spawn automatically.

I got two lua error reports but they were from the base itself, not from the deathmatch bots:

[IV04 NextBot Base] lua/entities/npc_iv04_rangetest/shared.lua:45: attempt to index field 'Primary' (a nil value)
1. OnInitialize - lua/entities/npc_iv04_rangetest/shared.lua:45
2. unknown - lua/entities/npc_iv04_base/init.lua:184
3. Spawn - [C]:-1
4. InternalSpawnNPC - gamemodes/sandbox/gamemode/commands.lua:487
5. Spawn_NPC - gamemodes/sandbox/gamemode/commands.lua:540
6. unknown - gamemodes/sandbox/gamemode/commands.lua:572
7. unknown - lua/includes/modules/concommand.lua:54

[IV04 NextBot Base] NextBot [75][npc_iv04_rangetest] Error: lua/entities/npc_iv04_rangetest/shared.lua:99: attempt to index field 'Primary' (a nil value)

1. unknown - lua/entities/npc_iv04_base/init.lua:292

These were reported when spawning the Range Attack test bot
IvanVladimir0435  [developer] 30 Jul, 2021 @ 3:05pm 
Originally posted by sorriso ronaldo:
I'm having the same issue as Squeaky Fengy; I've downloaded the base, mounted HL2: Deathmatch and tested the bots on the official maps, checked the convars, used "nav_generate" on the console and spawned some bots from the spawn menu itself just to test. The bots work fine, only problem is that they don't spawn automatically.

I got two lua error reports but they were from the base itself, not from the deathmatch bots:

[IV04 NextBot Base] lua/entities/npc_iv04_rangetest/shared.lua:45: attempt to index field 'Primary' (a nil value)
1. OnInitialize - lua/entities/npc_iv04_rangetest/shared.lua:45
2. unknown - lua/entities/npc_iv04_base/init.lua:184
3. Spawn - [C]:-1
4. InternalSpawnNPC - gamemodes/sandbox/gamemode/commands.lua:487
5. Spawn_NPC - gamemodes/sandbox/gamemode/commands.lua:540
6. unknown - gamemodes/sandbox/gamemode/commands.lua:572
7. unknown - lua/includes/modules/concommand.lua:54

[IV04 NextBot Base] NextBot [75][npc_iv04_rangetest] Error: lua/entities/npc_iv04_rangetest/shared.lua:99: attempt to index field 'Primary' (a nil value)

1. unknown - lua/entities/npc_iv04_base/init.lua:292

These were reported when spawning the Range Attack test bot
Huh, now that's a strange error, I'll look into it
i want to spawn these manually like npcs
how though
< >
Showing 1-15 of 18 comments
Per page: 1530 50