SphereCommunity
Mounts with bonuses - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Requests (/Forum-Script-Requests)
+--- Thread: Mounts with bonuses (/Thread-Mounts-with-bonuses)

Pages: 1 2


Mounts with bonuses - Nara - 08-04-2014 11:47 PM

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


RE: Mounts with bonuses - JohnVeritas - 08-05-2014 08:22 AM

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.


RE: Mounts with bonuses - Nara - 08-05-2014 05:29 PM

Thank you Wink


RE: Mounts with bonuses - htid4life - 08-05-2014 11:25 PM

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]



RE: Mounts with bonuses - Nara - 08-07-2014 03:13 AM

Thank you all! I'm working on it Wink

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


RE: Mounts with bonuses - Runcuks - 08-07-2014 05:48 AM

(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


RE: Mounts with bonuses - Nara - 08-07-2014 07:52 AM

(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


RE: Mounts with bonuses - Extreme - 08-07-2014 08:53 AM

Someone have.


RE: Mounts with bonuses - XuN - 08-07-2014 05:24 PM

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


RE: Mounts with bonuses - dagger4k - 08-12-2014 07:23 PM

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.