SphereCommunity
HELP WITH sphere.ini - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: HELP WITH sphere.ini (/Thread-HELP-WITH-sphere-ini)

Pages: 1 2 3 4


HELP WITH sphere.ini - kn4tseb - 05-12-2014 11:16 PM

Dear friends, once again i need a little of your help.

i know its possible to activate some new VARS for items/chars, ive seen for example items showing "LOWER REQUIREMENTS" or adding extra durability % and LUCK, elemental damage like DAMFIRE, etc.... how do i do that? this is my sphere.ini

please help!

Sphere.ini (Click to View)



RE: HELP WITH sphere.ini - XuN - 05-14-2014 09:09 PM

// FeatureAOS, used to control AOS expansion features ( default 0 )
// FEATURE_AOS_UPDATE_A 01 // AOS Monsters, Map
// FEATURE_AOS_UPDATE_B 02 // Tooltip, Fightbook, Necro/paladin on creation, Single/Six char selection screen, Skills, Newer spellbook support
// FEATURE_AOS_POPUP 04 // PopUp Menus
// FEATURE_AOS_DAMAGE 08
FeatureAOS = 01|02|04|08 <--- 02 (Tooltip) enable them, however you should add one event to show them, the Tooltips script uploaded by me or the one in scripts\items\sphere_items_typedef.scp would do it.


RE: HELP WITH sphere.ini - kn4tseb - 05-15-2014 01:17 AM

Sorry about my ignorance, i am a begginer >.< .... what would be the EVENT instead t_equipitem with your tooltips Script?

thanks in advance!


RE: HELP WITH sphere.ini - XuN - 05-15-2014 07:01 AM

If you use t_equipitem, ToolTips will show without any changes. If you use my script you need to add the event 'e_tooltips' to EventsPlayer in sphere.ini. They are doing the same job, I updated the t_equipitem to show everything updated, however my script is doing a full replacement of what the source is doing, so if you need more tweaking than the allowed in the t_equipitem use it... if not you are ok with t_equipitem Smile


RE: HELP WITH sphere.ini - kn4tseb - 05-15-2014 08:02 AM

ok ok, works but im getting some errors, just changed the name of the scp file

19:00:ERROR:(sphere_item_tooltips.scp,374)Undefined symbol (Click to View)



RE: HELP WITH sphere.ini - Ben - 05-15-2014 08:40 AM

I added a new tag to the editor... edited these posts to show what they can do Smile
It's the [ spoiler=title] [ /spoiler] tag (no spaces)


RE: HELP WITH sphere.ini - kn4tseb - 05-15-2014 08:46 AM

got it xD


RE: HELP WITH sphere.ini - XuN - 05-15-2014 03:55 PM

Updated the file, I missed to change it after some changes in the core Smile


RE: HELP WITH sphere.ini - kn4tseb - 05-15-2014 11:39 PM

Ok, working and no errros @console, but it has its details, "durability" doesnt seem to be hardcored yet, and items with this attribute set shows this: Error [megaCliloc] : Stringld not Found : 1151780

the name of the maker shows: Crafted by '1_NAME'
and the lastone, some items dont show its name, for example Legs of honor or Breastplate of Justice.
everything else seems to be working just Great!


RE: HELP WITH sphere.ini - kn4tseb - 05-26-2014 04:56 AM

Xun, looking at the new variable list posted by Khaos i see "DURABILITY <INT>% DURABILITY INCREASE" included, but it seems not to be hardcoded yet...
so, if i had the actual durability as a "HitPoints,MaxHitPoints" how could i code something like "extra Durability in porcent"... so if i set on the Create Trigger a value like: Durability 100
i get the actual Maxpoints + extra durability%

Example:
ON=@Create
HITPOINTS={100}

if "Durability = 50
hitpoints would be 100 + (100*50)/100) and that would be 100 hitpoints plus a 50% of its maxhitpoints

so tooltips should be showing when you click at the item, the "Extradurability" that would be 50 in this case and the maxhitpoints shall make the sum of both variables...

Puedes ayudarme con ésto?