MB2 Server spawn npcs and dummys without devmap

Posts
19
Reaction score
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
 

Spaghetti

cable monster
R2D2
Movie Battles II Team Retired
Posts
936
Reaction score
901
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.
 

PuNk

Donator
Internal Beta Team
Posts
341
Reaction score
474
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

cable monster
R2D2
Movie Battles II Team Retired
Posts
936
Reaction score
901
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