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:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Creating New Gathering Skill
Author Message
Archaaz
Journeyman
*

Posts: 98
Likes Given: 12
Likes Received: 4 in 4 posts
Joined: Aug 2013
Reputation: 1



Post: #8
RE: Creating New Gathering Skill
(09-06-2013 01:18 AM)RanXerox Wrote:  In Sphere, only 1 "base" item should be defined. A base item looks like this:

Code:
[ITEMDEF 01234]
DEFNAME=i_whatever

...where the 01234 correlates to the tile image number in the MUL/UOP file. You can make other copies derived from that base item by doing this:

Code:
[ITEMDEF i_mywhatever]
ID=i_whatever //or you could put the number itself here

Notes:

1. In Sphere, hex number have a leading zero only... they do not also have an x like your previous post example.
2. I suggest you avoid using minus symbols in defining the names of things... the minus symbol has special meaning. Use an underscore instead.
3. You can find some details on REGIONRESOURCE properties (and other related things like that) on the wiki here: http://wiki.sphere.torfo.org/index.php/REGIONRESOURCE
4. fallen_log or log_fallen is just a personal preference... it is up to you how you name things. I personally use log_fallen just in case there will be a log_standing or log_buried, that way they will sort better when I search for stuff.
5. TARGP is a special sort of reference... to a point on the ground. As such you can't do things like TARGP.TYPE because a point on the ground is not a thing, it is a location. Try the @TargOn_Item first (where you would use TARG which is a reference to a specific thing)... and once you have that perfected, then try the ground. The wiki has some details on what specific references are available in those triggers: http://wiki.sphere.torfo.org/index.php/@TargOn_Ground http://wiki.sphere.torfo.org/index.php/@TargOn_Item


Yet again ,thanks for all the information and advice. I was used to the little bit of POL programming I go into, which uses the 0X prefix, which I got from UOFiddler.

Thanks for the link. Though I had read the basic scripting tutorials, I had not made it through the various categories. These have been of immense help in a number of other areas involving what I want to do.
09-06-2013 06:47 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Creating New Gathering Skill - Archaaz - 09-05-2013, 03:44 AM
RE: Creating New Gathering Skill - Archaaz - 09-05-2013, 02:23 PM
RE: Creating New Gathering Skill - Archaaz - 09-05-2013, 09:48 PM
RE: Creating New Gathering Skill - Archaaz - 09-06-2013 06:47 PM
RE: Creating New Gathering Skill - Archaaz - 09-07-2013, 07:06 PM

Forum Jump:


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