PDA

View Full Version : A question on SP NPCs


INanE
06-28-2002, 03:16 AM
I was wondering, is it possible to disable the friendly NPC's habbit of following your character around? Any help would be much appreciated.

INanE
06-29-2002, 12:49 PM
^^^

Joben
06-30-2002, 11:04 AM
Umm i donno but you could try looking at the scripting commands that makes
them stop following you at various points in the game. Like in cloud city:
you meet two groups of guards both of which decide to 'cover your back'
a little while after you team up.

ronbrothers
07-01-2002, 03:50 PM
I have wondered about this myself. To clarify your question, I'm assuming that you mean as a console command, or something entered into a npcs.cfg file? Good question.

Joben
07-02-2002, 08:25 AM
I have an idea but i havent tried it yet.

Set the npc's playerteam to neutral but leave his enemy team on enemy.
In theory he should still shoot at stormtroopers etc but wont consider himself
as being allied with you directly. This might cause problems with the bit
of team tactics coding they have im not shure.

so from this:

playerTeam player
enemyTeam enemy


change it to this:

playerTeam neutral
enemyTeam enemy


for the record the team choice names are: none, player, enemy, neutral
so maybe all neutral npcs work together? but are neutral guys armed?

Emon
07-02-2002, 08:31 AM
You can arm a neutral guy, dunno if he'll fight back. However neutral won't give you that green crosshair. ICARUS would let you make a true friendly and not follow. Heck, in the Tavion level you have friendly guys attacking you.

INanE
07-02-2002, 11:15 AM
Okay, I extracted my npcs.cfg and made the changes you suggested, unfortunatley it didn;'t seem to make a difference in the game. Would there be any other files located in the .pk3 files that define npc behavior?

acewombat
07-03-2002, 02:28 AM
I have attempted to do this myslef and it''s not working for me either I wanted the Jedi Trainer to attack the player so I changed him to

playerteam enemy
enemyteam player

and it didn't work for me-there is a tool called the simple bot editor but you must havve moicosoft runtime or framework.net which can be downloaded from tools\windows update

Emon
07-03-2002, 02:58 AM
The bot editor is only for MP.

You have to put the file in PK3 and play it as a mod for it to work.

Raktiel
07-03-2002, 07:07 AM
If you know anything about making scripts its not real hard to make a Specific NPC to change his enemy (this is limited tho to being triggered and without testing it myself im guessing that the NPC wouldnt fight anyone BUT the certain target you want it to... or if you want him to stand in a certain place for a certain reason a script can be made for that too. IF im totally off here dont worry bout it, wouldnt be the first time.

yoda101280
07-06-2002, 07:51 AM
you could try turning off the corresponding npc's emotional attachment to kyle, that might work

Triton1050
07-07-2002, 03:54 AM
if you attack a friendly like a jedi they get pissed and try to kill you

Joben
07-07-2002, 04:36 AM
I think this is a scripting issue.
Im a newbie in that area but i know enough to
know what it is. You have to somehow make them not
go into the 'follow leader' behavior.
(I think :D )

acewombat
07-07-2002, 12:37 PM
I wanted to make the Jeid trainer aggressive to the player so I changed the team by the file and it works-trouble is he uses a blaster instead of a saber-I haven't been able to change this.

INanE
07-08-2002, 02:03 PM
I just found out a problem with the neutral setting. After I made the changes and loaded the mod all the NPCs would do is run on the spot. I also noticed when you make them the enemy the weapon changes as well too. I'll try to figure it out but I think it may be scripting as some of you have said.