Insert the Combat scp of s.c.pack in own server. - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Insert the Combat scp of s.c.pack in own server. (/Thread-Insert-the-Combat-scp-of-s-c-pack-in-own-server) Pages: 1 2 |
Insert the Combat scp of s.c.pack in own server. - Lazarus - 07-07-2012 05:17 PM Hi! first, my english sucks so... try to understand please ^_ ^ I want to use the community files, but... my saveworld get's too many errors and i can't [Because items and NPC'S have's others def's and names]. Because that, i want to put the combat system of the community pack in my own server of 56b last nightly... How can I do this? I got the full script: sphere_combat_functions.scp and the full: The sphere_combat_events.scp and some little fragment of Sphere_Settings.scp [For options combat] Code: [DEFNAME SPHERE_COMMUNITY_PACK_SETTINGS] I put the flags in the sphere.ini like this: Code: EventsPlayer = e_PlayerCombatEvent and when I will to hit in game with a weapon, i get this error: Code: 04:12:ERROR:(sphere_combat_functions.scp,98)Can't resolve <max -32, 13> Anyone can help me to add the full custom combat and get work in my shard? and obviusly, I want the settings to test the best option... I don't want to do all sphereworld again and i don't know how to build a new combat scp... I m noob in this and I want a functional server for private use, to pvp ^_^ Thanks for reading! P.S. [And, if anyone can help me, how can i add the special moves too of the community pack and get work in my shard? i can't -.- so nooooooooooob] RE: Insert the Combat scp of s.c.pack in own server. - Extreme - 07-08-2012 01:40 AM Copy this file too: sphere_general_functions.scp And this part Code: /////////////////////////////////////////////////////////////// RE: Insert the Combat scp of s.c.pack in own server. - Lazarus - 07-08-2012 06:46 AM (07-08-2012 01:40 AM)Extreme Wrote: Copy this file too: sphere_general_functions.scp Thanks for the quickly reply ^_^ I have a problem now, I had added the sphere_general_Functions and the UNTIL had added in the last of the settings Now i can hit ^_^ but when i hit i get some 4 errors Code: 17:43:ERROR:(sphere_combat_functions.scp,120)Undefined symbol '' The respective lines in the txt: Code: if <def.scp.ItemProp_HitChanceIncrease> == 1 What is happend ^_^? mbe i need to add e_PlayerPropertiesEvent in sphere.ini? Again: Thanks! rly! Oh and the special moves? i can get them now? RE: Insert the Combat scp of s.c.pack in own server. - Extreme - 07-08-2012 07:16 AM Check in your sphere_settings.scp if you copied the part where you activate the properties. Look for scp.ItemProp_HitChanceIncrease, scp.ItemProp_DefenseChanceIncrease.. etc... Special Moves isn`t working very good, you should wait we fix it or fix yourself. RE: Insert the Combat scp of s.c.pack in own server. - Lazarus - 07-08-2012 07:26 AM (07-08-2012 07:16 AM)Extreme Wrote: Check in your sphere_settings.scp if you copied the part where you activate the properties. This? Just copy in the settings before the "UNTIL" and works? I rly don't want the magic propieties of the weapons ^_^ Ok, i don't add the special moves ^_^ no problem. 1 last question: RESISTANCES works in magic too? [I never play a OSI shard] mbe i'll use the resistances to apply new magic attributes like INMUNE TO FIRE [100% fire res] and others thinks REALLY, REALLY THANKS ^_^ you made my day man. Thank you! and the team for the forum Code: /////////////////////////////////////////////////////////////// RE: Insert the Combat scp of s.c.pack in own server. - Lazarus - 07-08-2012 11:04 AM A new question: The system of resist spell it's implemented? RE: Insert the Combat scp of s.c.pack in own server. - Extreme - 07-08-2012 12:13 PM Yes, resistances affects in spell damages, but I really don't know if its already done. Resisting Spells is working, just need know if you copied the right script. RE: Insert the Combat scp of s.c.pack in own server. - Lazarus - 07-08-2012 01:14 PM (07-08-2012 12:13 PM)Extreme Wrote: Yes, resistances affects in spell damages, but I really don't know if its already done. I copy just the last script that we say... I need to copy too sphere_skill_magicresistance? I have a new question, because i want to use the UO:R bonus mode but i need to bonus DAMAGE LUMBERJACKING in ALL weapon Because that, i've added the weapon types in the right line. Just in case i left here the original script part: Code: if <def.scp.Combat_UOR_LumberBonus> But when i do that, the bonus doesn't works. I had do this to repair that: Code: local.bonus.lumber = <eval <lumberjacking> / 10> But, with this, the bonus incorpore to ALL damage, like WRESTLING too... I don't want the Lumberjacking bonus in Wrestling because the Polymorph in Drake, got too damn damage ^_^ how is the IF of weapons to select this bonus ONLY in the right weapons type? I just try like if <weapon.type> == (t_weapon_axe) || (t_weapon_fence) ... etc... but doesn't work! THANKS rly, thanks so much RE: Insert the Combat scp of s.c.pack in own server. - Extreme - 07-08-2012 03:33 PM No no, the Lumberjacking bonus will apply only if you use an Axe. If you are disarmed, it won't apply bonus. if <def.scp.Combat_UOR_LumberBonus> if <weapon.type> == t_weapon_axe local.bonus.lumber = <eval <lumberjacking> / 50> if <lumberjacking> >= 100.0 local.bonus.lumber += 10 endif else local.bonus.lumber = 0 endif endif You can see it in highlighted code. RE: Insert the Combat scp of s.c.pack in own server. - Lazarus - 07-08-2012 05:46 PM (07-08-2012 03:33 PM)Extreme Wrote: No no, the Lumberjacking bonus will apply only if you use an Axe. Yep yep! I know! but I want to use this bonus in other type weapons too. how can i add the weapons there? If i add if (<weapon.type> == t_weapon_axe || t_weapon_Fence || t_weapon sword) doesn't works =( How can i? EDIT: I fix it i turn on this: Code: // If set to 1, combat system will use the body's damage when polymorph and im using my changes ^_^ now i get a problem with hit chance on default (ALWAYS HIT) with hit chance UO:R (something hits with 100 combat skill too less) with hit chance AOS (something hits with 100 combat skill too less...) :'( but... i'll try to fix on my own Thanks ^_ ^ |