SphereCommunity
Switch c_giant_beetle and put horse in lord - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: Switch c_giant_beetle and put horse in lord (/Thread-Switch-c-giant-beetle-and-put-horse-in-lord)



Switch c_giant_beetle and put horse in lord - victorstelzer - 09-12-2012 08:04 AM

I can not exchange the mount

I want to use the Horse

[CHARDEF c_cenobite_cuca]
DEFNAME=c_cenobite_cuca
ID=C_MAN
CAN=MT_WALK|MT_RUN|MT_EQUIP|
NAME=Cenobite
SOUND=snd_HUMAN_M_DIE_01
DAM=18,24
ARMOR=50
CATEGORY=Cenobites Montados
AVERSIONS=t_TRAP,t_eerie_stuff
TEVENTS= // Insert your custom tevents here//


ON=@Create
COLOR=colors_skin
STR=130
DEX=160
INT=300
MAXHITS=8500
PARRYING=100.0
SWORDSMANSHIP=100.0
ARCHERY=100.0
WRESTLING=90.0
MAGICRESISTANCE=250.0
TACTICS=500.0
POISONING=100.0
NPC=brain_monster
FAME=9999
KARMA=-9999
ITEMNEWBIE=i_montura_cuca // Name of the mounting item

ON=@NPCRestock
ITEM=i_bone_arms
Color=0f93
ITEM=i_bone_chest
Color=0f93
ITEM=i_bone_gloves
Color=0f93
ITEM=i_bone_helmet
Color=0f93
ITEM=i_bone_leggings
Color=0f93
ITEM=i_sword_viking
Color=0f93
ITEM=i_shield_dupre
Color=0f93
ITEM=i_gold,{5000 12000}
ITEM=random_scroll,{2 3}
ITEM=random_scroll,{1 2}
ITEM=i_mapa_tesouro
ITEM=random_jewel,{1 4},R2
ITEM=random_jewel,{1 4},R2





// Insert your custom Loot here//

ON=@DEATH
serv.newnpc c_giant_beetle // this is the npc created from the Rider ´s death

[ITEMDEF i_montura_cuca]
id=03ebc //This is the Mount of the Npc, Can be anyone... Skeletal Mount, Unicorn, Savage Ridgeback, even custom mounts
name=Montura de cuca
type=t_eq_horse
layer=layer_horse


RE: Switch c_giant_beetle and put horse in lord - darksun84 - 09-12-2012 09:34 AM

PHP Code:
ITEMDEF i_montura_cuca
id=03e9f //horse
name=Montura de cuca 
type
=t_eq_horse 
layer
=layer_horse 
You can check mount items in sphere_defs.scp


RE: Switch c_giant_beetle and put horse in lord - victorstelzer - 09-12-2012 10:25 AM

Thank you. Can someone give more aid


Thank you. Can anyone give more help.

when you kill, drops the Mustangs to tame .....

how to not fall into the Mustangs all the time


RE: Switch c_giant_beetle and put horse in lord - darksun84 - 09-12-2012 10:52 AM

PHP Code:
ON=@DEATH 

newnpc 
<findlayer.25.more1//more1  store id of the npc mount inside a item with typedef  t_eq_horse
new.<p

PHP Code:
ITEMDEF i_montura_cuca
id=03e9f //horse
name=Montura de cuca 
type
=t_eq_horse 
layer
=layer_horse 

ON
=@Create
more1 
0c8 //horse