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
Sphere Community Pack 2.0
Author Message
Anarch Cassius
Master
**

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



Post: #11
RE: Sphere Community Pack 2.0
Skul, I'm personally in favor of getting rid of i_shield_platemail_bronze type items entirely. You can use functions to achieve the same effect in a more flexible way with fewer defs.

Code:
[FUNCTION f_material_i_ingot_aurichalcum] //aka Orichalcum
tag0.MATERIAL=i_ingot_aurichalcum
tag.basematerial=i_ingot_iron
NAME=aurichalcum <NAME>
COLOR=color_o_aurichalcum
HITPOINTS += <MulDiv <HITPOINTS>,10,100>
tag0.LOWERREQS += 10
IF (<ISARMOR>) || (<TYPE>==t_shield)
    modar += <modar> + <MulDiv <ARMOR.HIGH>,10,100>
    tag0.SKILLBOOST1=MAGICRESISTANCE
    IF (<LAYER>==13) && (<TAG0.COVERARMS>)
        tag0.SKILLBOOST1AMT=200
    ELSEIF (<LAYER>==13) || (<TYPE>==t_shield)
        tag0.SKILLBOOST1AMT=160
    ELSEIF (<LAYER>==4) && (<TAG0.COVERFEET>)
        tag0.SKILLBOOST1AMT=100
    ELSEIF (<LAYER>==4)
        tag0.SKILLBOOST1AMT=80
    ELSEIF (<LAYER>==6) && (<TAG0.COVERNECK>)
        tag0.SKILLBOOST1AMT=60
    ELSEIF (<LAYER>==6) || (<LAYER>==19) || (<LAYER>==7)
        tag0.SKILLBOOST1AMT=40
    ELSEIF (<LAYER>==10) || (<LAYER>==3)
        tag0.SKILLBOOST1AMT=20
    ENDIF
ELSEIF (<ISWEAPON>)
TAG.SPELL.0=40,41
tag0.DAMINCREASE += 10
ENDIF
tag0.modvalue += (40*<RESOURCES.1.VAL>)

With that and the right crafting menus you can create whole new materials with a few lines of code and no new itemdefs. I have menus that were originally based on modern EA that support this, they could be made EA-like again. If someone can make the old school menu (or a cloned copy) work with this I really think it's the way to go.


RanXerox, weren't you involved in the writing of the combat maneuvers? These I have and they are remarkably EA-like for one of my files Smile Just need to be made spells since I do think that would be cleaner.

I like Big Ship Combat Smile

I'm for the boss systems since we need the EA stuff. I would like to see it made customizable so we can make up our own boss battle settings.
07-06-2012 06:06 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
Sphere Community Pack 2.0 - Valios - 07-05-2012, 08:27 AM
RE: Sphere Community Pack 2.0 - Extreme - 07-05-2012, 09:44 AM
RE: Sphere Community Pack 2.0 - Valios - 07-05-2012, 12:45 PM
RE: Sphere Community Pack 2.0 - Skul - 07-05-2012, 01:11 PM
RE: Sphere Community Pack 2.0 - RanXerox - 07-05-2012, 01:25 PM
RE: Sphere Community Pack 2.0 - Valios - 07-05-2012, 11:09 PM
RE: Sphere Community Pack 2.0 - Mordaunt - 07-06-2012, 02:46 AM
RE: Sphere Community Pack 2.0 - Extreme - 07-06-2012, 03:16 AM
RE: Sphere Community Pack 2.0 - Anarch Cassius - 07-06-2012 06:06 AM
RE: Sphere Community Pack 2.0 - RanXerox - 07-06-2012, 06:40 AM
RE: Sphere Community Pack 2.0 - Valios - 07-06-2012, 03:36 PM
RE: Sphere Community Pack 2.0 - Shaklaban - 07-06-2012, 09:51 PM
RE: Sphere Community Pack 2.0 - Skul - 07-06-2012, 10:49 PM
RE: Sphere Community Pack 2.0 - Extreme - 07-07-2012, 08:25 AM
RE: Sphere Community Pack 2.0 - Valios - 07-07-2012, 09:30 AM
RE: Sphere Community Pack 2.0 - dagger4k - 07-07-2012, 06:30 PM
RE: Sphere Community Pack 2.0 - Mordaunt - 07-09-2012, 04:23 AM
RE: Sphere Community Pack 2.0 - mrkarlo - 07-11-2012, 02:27 AM
RE: Sphere Community Pack 2.0 - Lazarus - 07-11-2012, 03:08 AM
RE: Sphere Community Pack 2.0 - RanXerox - 07-11-2012, 04:33 AM
RE: Sphere Community Pack 2.0 - Valios - 07-11-2012, 05:35 AM
RE: Sphere Community Pack 2.0 - Khaos - 07-18-2012, 01:41 AM
RE: Sphere Community Pack 2.0 - Extreme - 07-18-2012, 03:16 AM
RE: Sphere Community Pack 2.0 - Valios - 07-18-2012, 03:29 AM
RE: Sphere Community Pack 2.0 - Khaos - 07-18-2012, 04:00 AM
RE: Sphere Community Pack 2.0 - Valios - 07-18-2012, 04:32 AM
RE: Sphere Community Pack 2.0 - Extreme - 07-18-2012, 10:05 AM
RE: Sphere Community Pack 2.0 - Skul - 07-19-2012, 04:34 AM
RE: Sphere Community Pack 2.0 - Khaos - 07-19-2012, 12:27 AM
RE: Sphere Community Pack 2.0 - Extreme - 07-19-2012, 01:00 AM
RE: Sphere Community Pack 2.0 - Khaos - 07-19-2012, 02:08 AM
RE: Sphere Community Pack 2.0 - Extreme - 07-19-2012, 03:00 AM
RE: Sphere Community Pack 2.0 - Khaos - 07-19-2012, 03:22 AM
RE: Sphere Community Pack 2.0 - Khaos - 07-19-2012, 06:03 AM
RE: Sphere Community Pack 2.0 - Extreme - 07-19-2012, 08:30 AM
RE: Sphere Community Pack 2.0 - Valios - 07-19-2012, 09:12 AM
RE: Sphere Community Pack 2.0 - RanXerox - 07-19-2012, 11:24 AM
RE: Sphere Community Pack 2.0 - Valios - 07-19-2012, 11:46 AM
RE: Sphere Community Pack 2.0 - Extreme - 07-19-2012, 11:52 AM
RE: Sphere Community Pack 2.0 - Khaos - 07-20-2012, 12:52 AM
RE: Sphere Community Pack 2.0 - Valios - 07-20-2012, 03:59 AM

Forum Jump:


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