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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with mounts
Author Message
fred
Apprentice
*

Posts: 6
Likes Given: 1
Likes Received: 0 in 0 posts
Joined: Jun 2019
Reputation: 0



Post: #1
problem with mounts
Hello everyone, My sphere is 56b client 6 0 0 10
I have a problem with the mounts, when i mount on the custom unicorn it's appears like a normal horse, it's change totally the grapich, instead when it's not mounted the grapich is ok do you have any idea ?

///UNICORN CODE
[CHARDEF 0153]
ID=0153
DEFNAME=c_unicorno
NAME=Unicorno
ANIM=0153
SOUND=snd_ANIMALS_HORSE1
DAM=22,40
ARMOR=60
RESOURCES=20 i_hide, 30 i_ribs_raw
CAN=MT_WALK|MT_RUN|MT_FLY|MT_USEHANDS|MT_FIRE_IMMUNE
FOODTYPE=55 t_crops, 55 t_fruit, 55 t_grain, 60 t_grass
TEVENTS=e_resist_spell
TEVENTS=e_nuovo_danno
CATEGORY=Animali
SUBSECTION=Cavalcabili
DESCRIPTION=Unicorno
ON=@Create
NPC=brain_animal
COLOR=080c
STR = {350 450}
DEX={350 450}
INT={350 450}
WRESTLING={150.0 250.0}
TACTICS={150.0 250.0}
MAGICRESISTANCE={150.0 250.0}
MAGERY={150.0 250.0}
TAMING=106.0
TAG0.FIRSTUID=<SERIAL>
TAG0.NPC_LOOT_TEMPLATE=tm_new_loot_unicorno
ON=@Dclick
f_gygrazok_ride i_mt_unicorno
f_bonus_cavalcatura 0,0,0,15,0,15,0
RETURN 0

////////////


[FUNCTION f_gygrazok_ride]
IF (<SRC.FLAGS>&statf_freeze) || (<DISTANCE>>3) && !(<SRC.ISGM>)
SRC.SYSMESSAGE You can't reach the creature.
ELSEIF !(<SRC.BODY>==c_man) && !(<SRC.BODY>==c_woman) && !(<SRC.BODY>==c_man_gm)
SRC.SYSMESSAGE You are not physically capable of riding a horse.
ELSEIF !(<ISMYPET>)
SRC.SYSMESSAGE You dont own that horse.
ELSE
IF ( <FINDID.i_rune_poison.UID> ) // Aggiunta anti-poison-bug
FINDID.i_rune_poison.REMOVE
ENDIF
SRC.OBJ=<SRC.FINDLAYER.25.MORE2>
SRC.FINDLAYER.25.REMOVE
SRC.OBJ.P=<SRC.P>
SRC.OBJ.DIR=<SRC.DIR>
SRC.OBJ.FLAGS=<SRC.OBJ.FLAGS>&~statf_ridden
SRC.OBJ.UPDATE
SERV.NEWITEM=<ARGS>
NEW.NAME=<NAME>
NEW.COLOR=<COLOR>
NEW.LINK=<SRC.UID>
NEW.MORE2=<UID>
NEW.MORE=<BASEID>
NEW.TIMER=1
NEW.CONT=<SRC.UID>
ACTARG1=<NEW.UID>|030000000
ACTION=111
DISCONNECT
FLAGS |= 068000000
ENDIF
RETURN 1

/////////

SPHERE_DEF_SCP
mount_0x153 03e9e // unicorno

////////

SPHERE_ITEM_SHIP_PARTS.SCP

[ITEMDEF 03e9e]
//ship (really used as horse equipped)
DEFNAME=i_mt_unicorno
TYPE=T_EQ_HORSE
LAYER=layer_horse
TDATA3=c_unicorno
(This post was last modified: 08-20-2019 12:24 AM by fred.)
08-19-2019 11:29 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
problem with mounts - fred - 08-19-2019 11:29 PM
RE: problem with mounts - Coruja - 08-21-2019, 09:09 AM
RE: problem with mounts - fred - 08-21-2019, 09:56 AM
RE: problem with mounts - Gon - 08-24-2019, 04:36 AM

Forum Jump:


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