SphereCommunity
Different Questions [newbie] - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: Different Questions [newbie] (/Thread-Different-Questions-newbie)



Different Questions [newbie] - Baenor - 02-21-2017 06:06 PM

Hello everyone,

I'm new of the forum, but basically I've always scraped it silently. I started to learn sphere about a week ago. I read Taran's guide and already made some scripts.

There is a fact however: I really dont know where to get something.

I will try to list things to help you guys advice me how to get these information:
  • Hit Points : how can i change how much Hit Points I get from Str? I've seen the MODSTR, how can it be used to obtain 125 hit points from 100 str?
  • Swing Speed : what is the actual formula for the swing speed of a weapon? How Dexterity influeces it? How can i change it?
  • Remove the Instant Hit: by now it looks like that when I hit the anim is executed instantly after the delay. I would like to have the old look where the anim is actually the delay and only after that you get to hit. How to change it?
  • Override Combat System: i've seen the sphere_combat file. I would like to make some changes in how the combat system works and which skills influeces in the damage. Do you know what is the best way to accomplish this thing?


thank you for every suggestions


RE: Different Questions [newbie] - Criminal - 02-21-2017 10:14 PM

1- you can use maxhits
2- check CombatSpeedEra in sphere ini
3- COMBAT_PREHIT in sphere ini
4- make a global player event


RE: Different Questions [newbie] - darksun84 - 02-21-2017 11:51 PM

The sphere_combat.scp file is not actually used (and you shouldn't use it) it's just for reference.


RE: Different Questions [newbie] - Baenor - 02-22-2017 02:41 AM

(02-21-2017 10:14 PM)Criminal Wrote:  1- you can use maxhits
2- check CombatSpeedEra in sphere ini
3- COMBAT_PREHIT in sphere ini
4- make a global player event

1) Can you explain a little more?
4) I do have to add this event in the serv function releated to char creation right?

(02-21-2017 11:51 PM)darksun84 Wrote:  The sphere_combat.scp file is not actually used (and you shouldn't use it) it's just for reference.

I see. So basically I just have to override the triggers releated to combat?
Do i have to call animation too?



Sorry for all those questions but i really need to understand Smile


RE: Different Questions [newbie] - Leonidas - 02-22-2017 09:59 AM

1) Just use maxhits to set their max health, use str to set their str.

4) Yes, or you can add it in your sphere.ini:

Code:
// Events related to all players
EventsPlayer=your_event

Just make sure you uncomment that line if it is commented.