View Single Post
  #8  
Old 09-20-2002, 11:25 PM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

What a cool idea, put a primitive command shell inside of eqemu..

Then you could embed simple shell type scripts inside of the emu..

#script on
for race in 1 to 400
do
#spawn $race options
sleep 10
depop()
done

or easily script creature behavior. I'd like to see each creature given a customizable ai, a script to tell it how to respond uniquely, personally though, I doubt our machines have the cpu power to do that on a large scale so it would have to be based on distance to the player, only run ai for the monster when you are within a certain distance of a player.. Then have the mob perform actions specific to its characters, guards could pace back and forth in front of a door, a rat could run if at 15% health, etc. You could just write simple AI logic commands in a basic script language.

if (health < 15% )
do
creaturesay("You wont get me asshole!")
run()
done

I guess this is just an extension of the questing language, except it can be assigned to standard mobs and activated based on a distance check.

Anyways, just an idea, early in the morning so it might be a stupid one at that...
Reply With Quote