Endeavor Modifications

Please Help Support E-Mods.net by Donating


News:

Looking for Video Tutorials? Check out the Open Nod Development section of e-mods.net.

E-Mods.net also has CryEngine tutorials! Check out the Open CryEngine Development section too.

Author Topic: Forced discipline  (Read 609 times)

Offline Ezykeyal

  • Member
  • *
  • Posts: 48
  • Karma: 0
Forced discipline
« on: 2007-03-29, 12:44:46 »
Aloha me nooga's,

So what I wish to know is, how do I make an NPC use a specific discipline and make that NPC ONLY use that discipline and nothing else?
I tried giving an NPC one discipline but it refuses to use it, can only make use of it while the ST posesses the character.

Offline Javokis

  • Horses Dick
  • Member
  • *****
  • Posts: 1946
  • Karma: 2
Re: Forced discipline
« Reply #1 on: 2007-03-29, 15:08:39 »
Java scripts. I've been thinking of making custom EZ scripts that allow people to just edit a text file rather than learn java. Among the scripts I may make sometime soon:

-EZ Script for shops so that players can make their own custom shop names, owner pricing, inventory, and trade limitations.
-EZ Script to allow players to make BASIC conversations with player response options.
-EZ Script to command an AI using just a text file and list of basic 'orders for engagement'.

I plan to attach them to their corresponding tutorial in the tutorial section, but I don't think I finish any this week. Writing a tutorial about how to use a custom script takes some thought. Especially if I want to make the tutorial easy to understand. It took me 2 days to come up with a fairly comprehensible tut on not editing.
 
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo

Offline Ezykeyal

  • Member
  • *
  • Posts: 48
  • Karma: 0
Re: Forced discipline
« Reply #2 on: 2007-03-29, 16:20:54 »
Good idea, cheers holmes!

Can you at least point me in the right direction of that particular script I need to look?
I opened up a few but could'nt find anything regarding this.

Offline Javokis

  • Horses Dick
  • Member
  • *****
  • Posts: 1946
  • Karma: 2
Re: Forced discipline
« Reply #3 on: 2007-03-29, 17:42:10 »
There is no JAVA script currently available that allows for custom control of AI's. Only the NAI files, but I'm sure you already know that those only adjust aggression and starting disciplines.

NOTE: An AI will only use attack disciplines when they detect that a target has disciplines and lots of them. The scripts I plan to make will override this system rule.
"There's nothing wrong with horses dicks, there's nothing wrong with sucking horses dicks." -Signo