Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

How do I...

Page: 1 of 1
 RahnDelSol
11-20-2002, 11:16 PM
#1
What do I need to do to get single-player-type NPC's in multiplayer mode?

I've heard it can be done, but I'm not sure how.

Full details would be appreciated ;)
 teleguy
11-21-2002, 8:40 AM
#2
You need a mod to do that, e.g. Jedimod or Jediplus .
The console command ( in case you don't know , you open the console with shift + key left to 1 ) to enable npc spawning on your server is mod_debugcheats 1 .
The cmd /cheataccess x allows client number x to spawn npcs . To find out the numbers enter status . For you it will most likely be /cheataccess 0 .

How to use /g2animent:
note: /g2platoon works the same way but spawns several npc's

Originally posted by normal
Basic NPC Spawning:
g2animent 0
^ spawns Stormtrooper
g2animent 1
^ spawns Rodian
g2animent 2
^ 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>

Example:
corrected the example, typos.
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.


alignment:
0 - Unknown alignment, probably makes it attack everyone
1 - Evil alignment, attacks you & players
2 - Good alignment, attacks evil NPCs.

weapon (updated):
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)

model:
path & filename of a model using the humanoid animations,
eg: models/players/luke/model.glm

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!)

sound path:
Path to the sound set that will be used,
eg: sound/chars/luke/misc



Modellist:

bespin_cop ( "models/players/bespin_cop/model.glm" )
chiss
desann
droids
galak
galak_mech
glider
gonk
gran
imperial
imperial_worker
interrogator
jan
jedi
jeditrainer
kyle
lando
luke
mark1
mark2
minemonster
monmothma
morgan
mouse
prisoner
probe
protocol
r2d2
r5d2
rebel
reborn
reelo
remote
rodian
sentry
shadowtrooper
stormpilot
stormtrooper
swamptrooper
tavion
trandoshan
ugnaught
weequay
 RahnDelSol
11-21-2002, 6:19 PM
#3
Are there any other mods that do this?

Jedimod, JediPlus, or any derivative of it won't work on my system. The graphics get fouled up pretty bad.

Here's an example:

http://members.cox.net/cadunbar78/issues.jpg)
 teleguy
11-22-2002, 8:39 AM
#4
Normal's debug mod can do this, but I don't know if it's still available for download.

Do you have Jedimod.pk3 and Jedimod1_2.pk3 in your Jedimod folder?
 RahnDelSol
11-22-2002, 9:20 PM
#5
Yes, I do.
Page: 1 of 1