The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to change the Player SkillClass
Author Message
RanXerox
Master
**

Posts: 550
Likes Given: 1
Likes Received: 12 in 9 posts
Joined: Dec 2010
Reputation: 19



Post: #57
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
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to change the Player SkillClass - RanXerox - 01-11-2013 04:03 AM

Forum Jump:


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