Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NPC AI, interesting events, functions...
Author Message
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #1
NPC AI, interesting events, functions...
Need NPC AI, interesting events, functions...
07-26-2012 11:36 AM
Find all posts by this user Like Post Quote this message in a reply
Anarch Cassius
Master
**

Posts: 273
Likes Given: 19
Likes Received: 10 in 9 posts
Joined: Mar 2012
Reputation: 2



Post: #2
RE: NPC AI, interesting events, functions...
http://forum.spherecommunity.net/sshare....=1&uid=634

Check the abilities file for interesting events and functions. The system as a whole features better casting and item use, monster factions that fight each other and PCs, and monster groups that move and fighter together.

Current Projects: Necromancy SCP overhaul. Custom Faction AI/System. Imbuing.
07-26-2012 11:39 AM
Find all posts by this user Like Post Quote this message in a reply
UltimaAku
Journeyman
*

Posts: 125
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2013
Reputation: 1



Post: #3
RE: NPC AI, interesting events, functions...
Here's a mean event you can add to one of your bosses.

add this to the ON=@CREATE

EVENTS=+e_evil_curse

And add this seperately as a new evet and item

[EVENTS e_evil_curse]

ON=@GETHIT
////Adjust 350 to set health bracket
IF <HITS> < 350
SRC.NEWITEM=i_curse_timer
SRC.ACT.BOUNCE
SRC,ACT.EQUIP
SOUND=496
EVENTS=-e_evil_curse
SAY In Jux Xen
Return 0
ENDIF

[ITEMDEF i_curse_timer]
NAME=Delay Teleport
ID=i_handr_1
TYPE=T_EQ_SCRIPT

ON=@Create
ATTR=attr_invis|attr_decay
///MORE1 is the timer
MORE1=5

ON=@Equip
TIMER=1

ON=@Timer
// Take the effect we would like.
if ( <CONT> )
if ( <MORE1> )
////remove the cont.say line to remove counter above head.
CONT.SAY <MORE1>
MORE1 -= 1
TIMER=1
return 1
else
///when timer runs out, This happens
CONT.EMOTE Get Horriably Cursed
SOUND=531
///Sets hits to 1
CONT.HITS=1
remove
endif
endif
// normal timer fall through is to delete the item
remove
return 1

That'll spice up an event or make a good champion Big Grin
02-22-2013 09:50 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)