And actually you can spawn npc's in mp by using /g2animent . It's included in several mods.
Example: Jedimod 1.2
-Can use cheats like /g2animent to spawn stormtroopers. First you must use the cheataccess
command with your client number to give yourself access to these cheats. So if you were the
server in non dedicated mode you would do /cheatacces 0 in console to give client 0 (you)
access to the cheats. You could then do /g2animent to spawn a stormtrooper There is also
/g2platoon to spawn a group of stormtroopers (from the readme file)
Originally posted by normal
This will spawn a pseudo-entity, that, on certain maps, will have an AI. These will act like single-player NPCs. We had some fun spawning dozens of them at the same time. =)
The spawned NPCs also seem to be force resistant (you can see this in a couple screenshots, the yellow spheres)[/edit]
How to use g2animent:
Basic NPC Spawning:
^ spawns Stormtrooper
^ spawns Rodian
^ spawns Jan
Custom NPC Spawning:
After I re-read the custom NPC spawning code, I found out what I was doing wrong, here's how to do it.
g2animent 3 <alignment> <weapon> <model filename & path> <sound path>
corrected the example, typos.[/edit]
g2animent 3 2 2 "models/players/luke/model.glm" "sound/chars/luke/misc"
^ Would spawn an NPC allied to you, using Luke's Model & Sounds, with a Light Saber.
0 - Unknown alignment, probably makes it attack everyone
1 - Evil alignment, attacks you & players
2 - Good alignment, attacks evil NPCs.
0 - None
1 - Stun Baton
2 - Light Saber
3 - Bryar Pistol
4 - Blaster
5 - Disruptor
6 - Bowcaster
7 - Repeater
8 - DEMP2
9 - Fletchette
10 - Rocket Launcher
11 - Thermal Grenades
12 - Trip Mines
13 - Det Packs
14 - Emplaced Gun (?? -- Probably not safe to use)
^ from reading another post, this seems to give you the ability to "box" with your hands.
15 - Turret (?? -- Probably not safe to use)
path & filename of a model using the humanoid animations,
DO NOT USE MODELS THAT YOU KNOW DO NOT USE THE HUMANOID ANIMATIONS! It'll result in a crash, (I tried to spawn a protocol droid with a lightsaber.. baaad results!)
Path to the sound set that will be used,
bespin_cop ( "models/players/bespin_cop/model.glm" )