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-nmm6 (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-nmm6 (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-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Different Questions [newbie]
Author Message
Baenor
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2017
Reputation: 0



Post: #1
Different Questions [newbie]
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
02-21-2017 06:06 PM
Find all posts by this user Like Post Quote this message in a reply
Criminal
Journeyman
*

Posts: 182
Likes Given: 38
Likes Received: 22 in 22 posts
Joined: Jun 2015
Reputation: 0

SantiagoUO.com

Post: #2
RE: Different Questions [newbie]
1- you can use maxhits
2- check CombatSpeedEra in sphere ini
3- COMBAT_PREHIT in sphere ini
4- make a global player event

[Image: mfqAZnj.png]
Discord: SantiagoUO
Skype:
criminaluo
02-21-2017 10:14 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #3
RE: Different Questions [newbie]
The sphere_combat.scp file is not actually used (and you shouldn't use it) it's just for reference.
02-21-2017 11:51 PM
Find all posts by this user Like Post Quote this message in a reply
Baenor
Apprentice
*

Posts: 2
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Feb 2017
Reputation: 0



Post: #4
RE: Different Questions [newbie]
(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
(This post was last modified: 02-22-2017 02:42 AM by Baenor.)
02-22-2017 02:41 AM
Find all posts by this user Like Post Quote this message in a reply
Leonidas
Master
**

Posts: 277
Likes Given: 3
Likes Received: 13 in 12 posts
Joined: May 2013
Reputation: 1



Post: #5
RE: Different Questions [newbie]
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.
02-22-2017 09:59 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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