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-nmm7 (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-nmm7 (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-nmm7 (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
Mounts with bonuses
Author Message
Nara
Apprentice
*

Posts: 24
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Jul 2014
Reputation: 0



Post: #1
Mounts with bonuses
Hello everyone! Maybe someone has a script on mounts with bonuses? I mean when character mount horse or llama(doesn't matter), he get bonuses like MaxHp or Str/Int/Dex. Thanks
08-04-2014 11:47 PM
Find all posts by this user Like Post Quote this message in a reply
JohnVeritas
Apprentice
*

Posts: 49
Likes Given: 0
Likes Received: 4 in 4 posts
Joined: Feb 2014
Reputation: 2



Post: #2
RE: Mounts with bonuses
Code:
on=@Mount
if (<argo.id> == xxxx) // xx is mount id.
src.xxx +=yy // xx bonus yy is value
endif

Don't forget to take back bonuses with on=@dismount.


P.S : This mount and dismount triggers must be in a event that player's had.
(This post was last modified: 08-05-2014 08:23 AM by JohnVeritas.)
08-05-2014 08:22 AM
Find all posts by this user Like Post Quote this message in a reply
Nara
Apprentice
*

Posts: 24
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Jul 2014
Reputation: 0



Post: #3
RE: Mounts with bonuses
Thank you Wink
08-05-2014 05:29 PM
Find all posts by this user Like Post Quote this message in a reply
htid4life
Journeyman
*

Posts: 162
Likes Given: 27
Likes Received: 4 in 3 posts
Joined: Mar 2012
Reputation: 2



Post: #4
RE: Mounts with bonuses
hey im using it this way to do it...
just add e_mount to your player...
and add tags to the ride only way i know of doing it...

Code:
[events e_mount]
on=@Mount
IF (<argo.tag0.mountstr>)
modstr += <argo.tag0.mountstr>
ENDIF
IF (<argo.tag0.mountmagery>)
magery += <argo.tag0.mountmagery>
ENDIF

on=@dismount
IF (<argo.tag0.mountstr>)
modstr -= <argo.tag0.mountstr>
ENDIF
IF (<argo.tag0.mountmagery>)
magery -= <argo.tag0.mountmagery>
ENDIF

[CHARDEF c_night_llama]
ID=c_llama
NAME=Night Llama
SOUND=snd_ANIMALS_LLAMA3
ICON=i_pet_LLAMA
CAN=MT_WALK|MT_RUN
ANIM=01fff
DAM=10
ARMOR=50


ON=@CREATE
tag0.mountstr=10
tag0.mountmagery=50
STR=125
DEX=500
COLOR=0810
PARRYING={70.0 70.0}
MAGICRESISTANCE={70.0 70.0}
TACTICS={70.0 70.0}
WRESTLING={70.0 70.0}
TAMING=75.0

CATEGORY=Mounts
SUBSECTION=Llama
DESCRIPTION=Night Llama


[EOF]

[Image: htid.jpg]
08-05-2014 11:25 PM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes htid4life's post
Nara
Apprentice
*

Posts: 24
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Jul 2014
Reputation: 0



Post: #5
RE: Mounts with bonuses
Thank you all! I'm working on it Wink

But i have one more request: someone have script for random mounts respawn?
(This post was last modified: 08-07-2014 03:14 AM by Nara.)
08-07-2014 03:13 AM
Find all posts by this user Like Post Quote this message in a reply
Runcuks
Journeyman
*

Posts: 179
Likes Given: 5
Likes Received: 3 in 3 posts
Joined: Nov 2012
Reputation: 0



Post: #6
RE: Mounts with bonuses
(08-07-2014 03:13 AM)Nara Wrote:  Thank you all! I'm working on it Wink

But i have one more request: someone have script for random mounts respawn?

Pats pameegini uztaisit nevis te visu prasi nekaa sarezgiita tur nav
08-07-2014 05:48 AM
Find all posts by this user Like Post Quote this message in a reply
Nara
Apprentice
*

Posts: 24
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Jul 2014
Reputation: 0



Post: #7
RE: Mounts with bonuses
(08-07-2014 05:48 AM)Runcuks Wrote:  
(08-07-2014 03:13 AM)Nara Wrote:  Thank you all! I'm working on it Wink

But i have one more request: someone have script for random mounts respawn?

Pats pameegini uztaisit nevis te visu prasi nekaa sarezgiita tur nav

What? O_o
08-07-2014 07:52 AM
Find all posts by this user Like Post Quote this message in a reply
Extreme
Grandmaster Poster
***

Posts: 1,141
Likes Given: 217
Likes Received: 90 in 77 posts
Joined: May 2012
Reputation: 20

SphereCommunity

Post: #8
RE: Mounts with bonuses
Someone have.

STEPS BEFORE CREATE A THREAD
- Check the revisions log;
- Use the search button and use the keywords of your problem;
- Check the WIKI;
- Create a thread.
08-07-2014 08:53 AM
Find all posts by this user Like Post Quote this message in a reply
XuN
Sphere Developer
*****

Posts: 852
Likes Given: 102
Likes Received: 156 in 119 posts
Joined: Jul 2013
Reputation: 30



Post: #9
RE: Mounts with bonuses
Look at sphere_Spawns.scp:

Code:
[SPAWN spawn_WaterCreatures]
CATEGORY=Spawn Groups
SUBSECTION=Animals
DESCRIPTION=Water Creatures
ID=c_kappa
ID=c_dolphin
ID=c_elemental_water
ID=c_kraken
ID=c_sea_serpent
ID=c_sea_serpent_deep

You can create your own [SPAWN spawn_YourCustomSpawnID] with the characters you want inside it following the style.

You can additionally add a number after each id (ID=c_whatever 5) where the number means a random value with a increased chance to spawn over the other spawn members, detailed information can be found here: http://wiki.sphere.torfo.org/index.php/SPAWN

Additionally, you may like or mean a script like this one from Mordaunt: http://forum.spherecommunity.net/Thread-Random-Rares
(This post was last modified: 08-07-2014 05:26 PM by XuN.)
08-07-2014 05:24 PM
Find all posts by this user Like Post Quote this message in a reply
dagger4k
Journeyman
*

Posts: 194
Likes Given: 1
Likes Received: 12 in 12 posts
Joined: Mar 2012
Reputation: 0



Post: #10
RE: Mounts with bonuses
Download the Coldfire UO script pack, then scripts > npcs > lvl 1 to 4 rides you will see they have bonuses. change the on=@npcmount and on=@demount to the right triggers. This might give you some inspiration.
08-12-2014 07:23 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


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