Jump to content

How to find/use the 'Huntkill' script?


Recommended Posts

Posted

Hi all,

To boost my singleplayer experience I've seen on some forums that you can use a script called 'Huntkill' to make npc chase their enemies (not sure if this works on player only or also on other enemy NPCS but I hope to find out :-) ).

 

I'm afraid however that I can't seem to get it to work. 

I have seen the mention of the command ingame being:

runscript (targetname) huntkill

 

Whenever I spawn an NPC with a name for example

npc spawn sithtrooper sith

I was thinking 'sith' was the targetname, but when using that, the game can't find it. Then in some thread I saw a person mention there is an extra command talking about the affiliation (Light,Dark, Neutral). I also used that in the spawn so for example:

npc spawn sithtrooper dark_side sith

And then 'runscript dark_side huntkill' or 'runscript sith huntkill' and while this no longer gives any errors, npcs aren't chasing anyone and are still static.

 

Is there any way to get this to work? Or is the huntkill script also in need of waypoints in a map, and is that the reason it doesnt work?

Thanks for any reaction :-)

Droidy365 likes this
  • 1 month later...
Posted

The extra part you tried with (npc spawn sithtrooper dark_side sith) from what I understand is specific to Movie Duels, basically allowing you to make any NPC you spawn friend or foe. For base Jedi Academy and OpenJK, the correct syntax is the one you tried before: npc spawn sithtrooper sith. This spawns a Sith Trooper with the assigned targetname sith, which can be used for scripts.

Now, having said that, the huntkill falls in the category of behaviors. Supposedly they're special scripts that are used for various situations, but after trying multiple times in the past to get these "behavior" scripts working, I never managed to. Ultimately I'm not sure these even existed in the first place - the descriptions in NPC Spawner in Radiant seem to suggest they did, but I couldn't find any way to get them working. So maybe it was just a planned feature that never got past the concept.

 

  Reveal hidden contents

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...