Editing .npc

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 22: Line 22:
== NPC classes ==
== NPC classes ==
==== Special classes ====
==== Special classes ====
* <code>CLASS_PLAYER</code>
* CLASS_PLAYER
* <code>CLASS_VEHICLE</code>
* CLASS_VEHICLE


==== New Republic / Kyle's allies ====
==== New Republic / Kyle's allies ====
* <code>CLASS_BESPIN_COP</code>
* CLASS_BESPIN_COP
* <code>CLASS_REBEL</code>
* CLASS_REBEL
* <code>CLASS_JAN</code>
* CLASS_JAN
* <code>CLASS_LANDO</code>
* CLASS_LANDO
* <code>CLASS_MONMOTHMA</code>
* CLASS_MONMOTHMA
* <code>CLASS_MORGAN</code>
* CLASS_MORGAN
* <code>CLASS_PRISONER</code>
* CLASS_PRISONER


==== Imperials ====
==== Imperials ====
* <code>CLASS_IMPERIAL</code>
* CLASS_IMPERIAL
* <code>CLASS_IMPWORKER</code>
* CLASS_IMPWORKER
* <code>CLASS_STORMTROOPER</code>
* CLASS_STORMTROOPER
* <code>CLASS_SWAMPTROOPER</code>
* CLASS_SWAMPTROOPER
* <code>CLASS_HAZARD_TROOPER</code>
* CLASS_HAZARD_TROOPER
* <code>CLASS_ROCKETTROOPER</code>
* CLASS_ROCKETTROOPER
* <code>CLASS_SABOTEUR</code>
* CLASS_SABOTEUR


==== Aliens ====
==== Aliens ====
Hostile
Hostile
* <code>CLASS_GRAN</code>
* CLASS_GRAN
* <code>CLASS_RODIAN</code>
* CLASS_RODIAN
* <code>CLASS_TRANDOSHAN</code>
* CLASS_TRANDOSHAN
* <code>CLASS_WEEQUAY</code>
* CLASS_WEEQUAY
* <code>CLASS_NOGHRI</code>
* CLASS_NOGHRI
* <code>CLASS_TUSKEN</code>
* CLASS_TUSKEN


Non-hostile
Non-hostile
* <code>CLASS_BARTENDER</code>
* CLASS_BARTENDER
* <code>CLASS_JAWA</code>
* CLASS_JAWA
* <code>CLASS_UGNAUGHT</code>
* CLASS_UGNAUGHT


==== Jedi ====
==== Jedi ====
* <code>CLASS_JEDI</code>
* CLASS_JEDI
* <code>CLASS_KYLE</code>
* CLASS_KYLE
* <code>CLASS_LUKE</code>
* CLASS_LUKE


* <code>CLASS_REBORN</code>
* CLASS_REBORN
* <code>CLASS_SHADOWTROOPER</code>
* CLASS_SHADOWTROOPER


==== Droids and mechs ====
==== Droids and mechs ====
Friendly
Friendly
* <code>CLASS_SEEKER</code>
* CLASS_SEEKER


Hostile
Hostile
* <code>CLASS_REMOTE</code>
* CLASS_REMOTE
* <code>CLASS_INTERROGATOR</code>
* CLASS_INTERROGATOR
* <code>CLASS_PROBE</code>
* CLASS_PROBE
* <code>CLASS_SENTRY</code>
* CLASS_SENTRY


* <code>CLASS_ASSASSIN_DROID</code>
* CLASS_ASSASSIN_DROID
* <code>CLASS_SABER_DROID</code>
* CLASS_SABER_DROID
* <code>CLASS_MARK1</code>
* CLASS_MARK1
* <code>CLASS_MARK2</code>
* CLASS_MARK2
* <code>CLASS_ATST</code>
* CLASS_ATST


Non-hostile
Non-hostile
* <code>CLASS_MOUSE</code>
* CLASS_MOUSE
* <code>CLASS_GONK</code>
* CLASS_GONK
* <code>CLASS_PROTOCOL</code>
* CLASS_PROTOCOL
* <code>CLASS_R2D2</code>
* CLASS_R2D2
* <code>CLASS_R5D2</code>
* CLASS_R5D2


==== Beasts ====
==== Beasts ====
* <code>CLASS_MINEMONSTER</code>
* CLASS_MINEMONSTER
* <code>CLASS_HOWLER</code>
* CLASS_HOWLER
* <code>CLASS_RANCOR</code>
* CLASS_RANCOR
* <code>CLASS_SAND_CREATURE</code>
* CLASS_SAND_CREATURE
* <code>CLASS_WAMPA</code>
* CLASS_WAMPA
* <code>CLASS_GLIDER</code> (not fully implemented?)
* CLASS_GLIDER (not fully implemented?)


==== Bosses ====
==== Bosses ====
* <code>CLASS_BOBAFETT</code>
* CLASS_BOBAFETT
* <code>CLASS_GALAK_MECH</code>
* CLASS_GALAK_MECH
* <code>CLASS_REELO</code>
* CLASS_REELO


* <code>CLASS_ALORA</code>
* CLASS_ALORA
* <code>CLASS_DESANN</code>
* CLASS_DESANN
* <code>CLASS_TAVION</code>
* CLASS_TAVION


== Modifiers ==
== Modifiers ==


===Basic Modifiers===
===Basic Modifiers===
* <code>playermodel</code> - Tells the game what [[model]] to use for this npc. Valid values for this modifier include any [[playermodel]] in the base/models/players directory.
* "playermodel". Tells the game what [[model]] to use for this npc. Valid values for this modifier include any [[playermodel]] in the base/models/players directory.
* <code>weapon</code> - Depicts what weapon the npc will use. Valid values are any [[weapon]] type, however WP_NONE only works with a few classes. Some NPC types can switch between multiple weapons, like Grans or Boba Fett.
* "weapon". Depicts what weapon the npc will use. Valid values are any [[weapon]] type, however WP_NONE only works with a few classes. Some NPC types can switch between multiple weapons, like Grans or Boba Fett.
* <code>playerTeam</code> - Defines the npc's allegiance. Valid values are "TEAM_PLAYER", "TEAM_ENEMY", and "TEAM_NEUTRAL". "TEAM_FREE" means you have no allegiance.
* "playerTeam". Defines the npc's allegiance. Valid values are "TEAM_PLAYER", "TEAM_ENEMY", and "TEAM_NEUTRAL". "TEAM_FREE" means you have no allegiance.
* <code>enemyTeam</code> - Tells the game what team the npc opposes. Valid values are "TEAM_PLAYER", "TEAM_ENEMY", and "TEAM_NEUTRAL".
* "enemyTeam". Tells the game what team the npc opposes. Valid values are "TEAM_PLAYER", "TEAM_ENEMY", and "TEAM_NEUTRAL".
* <code>health</code> - Sets the [[health]] of the npc. Valid values are any positive integer, however the player may receive an error notice if the value is too large or "0".
* "health". Sets the [[health]] of the npc. Valid values are any positive integer, however the player may receive an error notice if the value is too large or "0".
* <code>saber</code> - Tells the npc what [[hilt]] to use. Valid values are any [[.SAB File|lightsaber names]].
* "saber". Tells the npc what [[hilt]] to use. Valid values are any [[.SAB File|lightsaber names]].
* <code>saberColor</code> - Optional modifier that tells the saber what color the blade should be. Valid colors are red, blue, green, yellow, orange, purple, and random. However, this information is usually defined in the [[.SAB File|.sab file]].
* "saberColor". Optional modifier that tells the saber what color the blade should be. Valid colors are red, blue, green, yellow, orange, purple, and random. However, this information is usually defined in the [[.SAB File|.sab file]].
* <code>saberStyle</code> - Says what [[Category:Styles|saber style]] to use. Valid values are 1 ([[Fast Style]]), 2 ([[Medium Style]]), 3 ([[Strong Style]]), 4 ([[Desann Style]]), 5 ([[Tavion Style]]), 6 ([[Duals]]), and 7 ([[Staff]]).
* "saberStyle". Says what [[saber style]] to use. Valid values are 1 ([[Blue Style]]), 2 ([[Yellow Style]]), 3 ([[Red Style]]), 4 ([[Desann Style]]), 5 ([[Tavion Style]]), 6 ([[Duals]]), and 7 ([[Staff]]).


===Force Powers===
===Force Powers===
Line 146: Line 146:
| FP_DRAIN        ||
| FP_DRAIN        ||
|-
|-
| FP_SEE       || NPCs may not use this power, not entirely sure
| FP_SEE   || NPCs may not use this power, not entirely sure
|-
|-
| FP_SABERTHROW   ||
| FP_SABERTHROW   ||
Please note that all contributions to Jedi Knight Wiki | JKHub are considered to be released under the Public Domain (see JKHub:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)