![]() |
How to change the Player SkillClass - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: How to change the Player SkillClass (/Thread-How-to-change-the-Player-SkillClass) |
RE: How to change the Player SkillClass - AmpereJoule - 01-08-2013 09:55 AM thank you very much, but now it is getting these errors: " 21:54:ERROR:(Giants.scp,135)Undefined symbol 'i_hammer_ettin' 21:54:ERROR:(Lizardmen.scp,144)Undefined symbol 'i_mace_lizardman' 21:54:ERROR:(Lizardmen.scp,94)Undefined symbol 'i_spear_lizardman' 21:54:ERROR:(Lizardmen.scp,144)Undefined symbol 'i_mace_lizardman' 21:54:ERROR:(Orcs.scp,146)Undefined symbol 'i_club_orc' 21:54:ERROR:(Lizardmen.scp,94)Undefined symbol 'i_spear_lizardman' 21:54:ERROR:(Giants.scp,135)Undefined symbol 'i_hammer_ettin' 21:54:ERROR:(Ratmen.scp,140)Undefined symbol 'random_weapon_sword_normal' 21:54:ERROR:(Ratmen.scp,140)Undefined symbol 'i_sword_ratman' 21:54:ERROR:(Ratmen.scp,140)Undefined symbol 'random_weapon_sword_normal' 21:54:ERROR:(Ratmen.scp,140)Undefined symbol 'i_sword_ratman' 21:54:ERROR:(Lizardmen.scp,144)Undefined symbol 'i_mace_lizardman' " Should I change those scripts to the nightly version? RE: How to change the Player SkillClass - Mordaunt - 01-08-2013 12:03 PM That would not be related to the changes you made to either my script or to the names of the spawn groups. I'd suggest checking those lines in said scripts to see what's there. RE: How to change the Player SkillClass - RanXerox - 01-08-2013 02:05 PM You are missing some ITEMDEFs: http://code.google.com/p/sphere-community-pack/source/browse/trunk/scripts/items/sphere_item_deco_weapons.scp RE: How to change the Player SkillClass - AmpereJoule - 01-09-2013 10:18 AM my "Ratman.scp" is like ****, it is not indented! But what RanXerox said worked, but now I am getting these errors: " Code: 22:14:ERROR:(spherechar_anim.scp,675)Undefined symbol 'i_pet_wolf_gray' RE: How to change the Player SkillClass - AmpereJoule - 01-10-2013 07:19 PM Hey guys, I think I made it! And it is working! Thank you all. PS: where can I change color_o_gold to other value? PS 2: How can I make all the Vendors "[invul]"? C:\sphere\scripts\npcs\Civilized\Tradesman, "human_chemist.scp": Code: [CHARDEF c_h_alchemist] Where can I change the stock of the vendors? (where can I change the "VENDOR_S_ALCHEMIST" and "VENDOR_B_ALCHEMIST") RE: How to change the Player SkillClass - Shaklaban - 01-11-2013 12:09 AM you can use notepad++ and find in files feature for searching purposes like this. RE: How to change the Player SkillClass - RanXerox - 01-11-2013 04:03 AM 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] RE: How to change the Player SkillClass - Mordaunt - 01-11-2013 08:14 AM Ok.. this is turning into a never ending thread... and so I am splitting it. Please make new threads for each request otherwise people will assume that the discussion pertains to the same issue and may ignore it thinking they cannot help or assume that help has been given RE: How to change the Player SkillClass - Muke - 01-07-2023 06:42 AM I would need advice on how exactly the code should look. I want to make 6 classes. Can it also be done when creating a character? (The selection? ) [SKILLCLASS 1] // undeclared class. // max skills for players of this skill class. DEFNAME=Class_Undeclared NAME=War //EVENTS=e_ClassUndeclared STATSUM=300 SKILLSUM=10000.0 STR=100 INT=100 DEX=100 Alchemy=100.0 Anatomy=100.0 AnimalLore=100.0 ItemId=100.0 ArmsLore=100.0 Parrying=100.0 Begging=100.0 Blacksmithing=100.0 Bowcraft=100.0 Peacemaking=100.0 Camping=100.0 Carpentry=100.0 Cartography=100.0 Cooking=100.0 DetectingHidden=100.0 Enticement=100.0 EvaluatingIntel=100.0 Healing=100.0 Fishing=100.0 Forensics=100.0 Herding=100.0 Hiding=100.0 Provocation=100.0 Inscription=100.0 LockPicking=100.0 Magery=100.0 MagicResistance=100.0 Tactics=100.0 Snooping=100.0 Musicianship=100.0 Poisoning=100.0 Archery=100.0 SpiritSpeak=100.0 Stealing=100.0 Tailoring=100.0 Taming=100.0 TasteId=100.0 Tinkering=100.0 Tracking=100.0 Veterinary=100.0 Swordsmanship=100.0 Macefighting=100.0 Fencing=100.0 Wrestling=100.0 Lumberjacking=100.0 Mining=100.0 Meditation=100.0 Stealth=100.0 RemoveTrap=100.0 Necromancy=100.0 Focus=100.0 Chivalry=100.0 Bushido=100.0 Ninjitsu=100.0 Spellweaving=100.0 Mysticism=100.0 Imbuing=100.0 Throwing=100.0 ON=@Login IF !(<isempty <ACCOUNT.TAG.GMPage.Response>>) SDIALOG d_gmpage_response ENDIF ON=@ItemEquip IF (<ACT.TYPE> == t_armor) && !(<ACT.MageArmor>) TAG0.MeditPenalty ++ f_meditation_setup ENDIF ON=@ItemUnequip IF (<ACT.TYPE> == t_armor) && !(<ACT.MageArmor>) TAG0.MeditPenalty -- f_meditation_setup ENDIF Thanks |