Jump to content

Quick Small Icarus & NPC Script


Recommended Posts

Posted (edited)

Referenced Topic: http://jkhub.org/topic/6285-making-a-static-unarmed-npc/

 

I'm a mapper and I am working on a project. I've been trying to make an unarmed NPC that has infinite health, is unarmed, doesn't move, and doesn't fight back even when attacked. I asked in the referenced thread above, and apparently I need to script some stuff with something called Icarus

 

 

also with icarus add SET_BEHAVOUR_STATE, BS_CINEMATIC. this disable his AI. :)

SET_IGNOREENEMIES avoid he go to anger or flee when see the player or enemies, and SET_IGNOREPAIN avoid pain animations.

you can also yse SET_EARSHOT and SET_VISRANGE for change the range of his sight and earshot. :)

 

You can set SET_INVINCIBLE to True using Icarus to make him truly invincible.

 

This is sort of what I have so far. The model name is jawahat

 

jawahat
{
    fullName        "jawahat"
    playerModel        jawahat
    scale            70
    playerTeam        TEAM_PLAYER
    enemyTeam        TEAM_PLAYER
    class            CLASS_GLIDER
    health            9999
    weapon WP_NONE
    movetype        static
}
 

 

I really don't know scripting, but I assume something like this can be whipped up pretty quickly. If possible include an alternate npc that has 99999 health. I'd be very greatful for this and perhaps I can do something in return in favor.

Edited by mrwonko
Put NPC source into code tags
Posted

Isn't this topic pretty pointless being in Mod Requests since it's already posted asking for the exact same thing in Modding Assistance? I mean you could pretty much work from that Thread rather than making duplicates.

Posted

I believe that thread was more about fixing an NPC problem, where as this is the thread of request. I thought it would be out of place if I suddenly made a request in that thread.

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...