RanXerox 
Master
 
Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19
![]()
|
RE: How to change the Player SkillClass
As Shak pointed out, you can use notepad++ to search (or you can use Windows Explorer, or the findstr command, or many other things...) In any case, if you search the files you will find that...
Colors are typically defined in sphere_defs.scp file.
Vendor buy and sell lists are setup using SELL= and BUY= statements in the @NPCRestock trigger... those statements can be individual ITEMDEF entries, or they can leverage TEMPLATE lists. The default script pack puts vendor templates in sphere_template_vend.scp file.
As far as making vendors invul... you can set FLAGS |= statf_invul in the @Create trigger and respawn them all... or if you don't want to respawn them all, you can use the @EnvironChange trigger in an EVENTS trigger collection... for example, I added TEVENTS=e_npc_vendor to all my vendor CHARDEFs, and defined it like this:
Code:
[EVENTS e_npc_vendor]
ON=@EnvironChange
//Use this trigger to make changes to vendors without needing to respawn them all
TAG.NAME.HUE=1191
FLAGS |= statf_invul
ON=@ClientToolTip
//Show the vendor TITLE when the cursor hovers over them
SRC.ADDCLILOC 1070722,<TITLE>
ON=@Click
//Show the vendor's TITLE when they initially come into view
MESSAGELOC 1191,3,1049644,<TITLE>
ON=@Hunger
//Prevent vendors from requiring food
RETURN 1
|
|
01-11-2013 04:03 AM |
|
|