MB2 Server spawn npcs and dummys without devmap

Posts
19
Likes
1
Hi,

I saw on 2 servers who using npcs and dummys for combo training.
Is it possible to spawn them without devmap (enabling cheats).

Best Regards,

Draakoor
 
Upvote 0

Spaghetti

Floating in the void
R2D2
Movie Battles II Team Retired
Posts
1,637
Likes
1,633
Yes, but it requires a serverside map entity modification to add them. You can't just spawn them in arbitrarily from the console without cheats being enabled.
 
Posts
368
Likes
533
Yes, you have to edit the .bsp file, the human readable part that has all entities listed and add them manually.

For example of saber dummies:

Code:
{
"classname" "NPC_spawner"
"origin" "-5384.0 -4224.0 376" //coordinates
"npc_type" "saber_test_dummy"
"health" "99999"
"angle" "270.000000"
}
 

Spaghetti

Floating in the void
R2D2
Movie Battles II Team Retired
Posts
1,637
Likes
1,633
To get the proper origin coordinates you could reference an existing map entity (and adjust slightly), or open it up in Radiant after decompiling the map (though at that point you may as well just do the entity modifications in radiant and an entity-only compile to modify the BSP).

It's a non-trivial modification though if you've never done mapping before. If you have, it's easy (since your tools are already setup and you know the basics).
 
Top