11-27-2013, 05:50 AM
possible? YES! with a script? ???????
(sphereworld.scp)
a player has a memory item that links them to a guild...
the stone has a member list...
if you add both of those to sphereworld.scp the npc is in your guild...
so in theory...
if you sold an NPC as an item...
(sphereitems2.scp)
(spherechar.scp)
and made a guildstone with a permanent serial AND a memory item...
(sphereitem.scp)
sounds like it would work
BUT
the problem is, when the npc is summoned, he HAS the memory item, but loses it after 1 second...
i think this is because the container is not set
ideas?
(sphereworld.scp)
a player has a memory item that links them to a guild...
Code:
[WORLDITEM 02007]
SERIAL=04001fc5d
COLOR=0400
LINK=045000000//stoneID
ATTR=04
MORE2=02cdb2b05//<---WHATS THIS?
MOREP=1474,1898,0
LAYER=30
CONT=0d087//GUILDMASTER SERIALthe stone has a member list...
Code:
[WORLDITEM 0edd]
SERIAL=045000000
NAME=MyGuildName
MORE1=01//<-WHATS THIS FOR?
P=1477,1898,0
ALIGN=1
ABBREV=MGN
WEBPAGE=www.sphereserver.com
MEMBER=0d087,,2,0d087,1,1//GUILDMASTER SERIAL w TOGGLE ON
//MEMBER=0d087,,2,0d087,0,1//GUILDMASTER w TOGGLE OFF
MEMBER=0ffee,,2,0ffee,1,1//MEMBER SERIAL w TOGGLE ON<---NPCif you add both of those to sphereworld.scp the npc is in your guild...
so in theory...
if you sold an NPC as an item...
(sphereitems2.scp)
Code:
[7940]
ID=2106//id for the icon
NAME=Hired Soldier
TYPE=37
WEIGHT=10
BUYVALUE=25000
SELLVALUE=10000
MORE=05200//baseid of the npc
CATEGORY=DRAGONS OF TIME ITEMS
SUBSECTION=TEST
DESCRIPTION=Hired Soldier Icon(spherechar.scp)
Code:
[5200]
ID=MALE
NAME=Soldier
TITLE=Soldier
SOUND=HUMAN_M_DIE_01
COLOR=all_skin_colors
NPC=brain_human
STR=100
DEX=100
INT=100
PARRYING=75.0
SWORDSMANSHIP=75.0
FENCING=75.0
WRESTLING=75.0
MAGICRESISTANCE=50.0
TACTICS=75.0
ARCHERY=75.0
//MAGERY=75.0
ITEM=05200//wu guild memory item
ITEM=male_hair
COLOR=all_hair_colors
ITEM=facial_hair
COLOR=match_hair
CATEGORY=DoT Monsters
SUBSECTION=TEST
DESCRIPTION=Soldierand made a guildstone with a permanent serial AND a memory item...
(sphereitem.scp)
Code:
[5100]
// Guild Stone
ID=0edd
NAME=The Army of Wu
SERIAL=5000000
TYPE=57
COLOR=073
ABBREV=Wu
//MEMBER=05200,,2,05200,1,1
CATEGORY=DRAGONS OF TIME ITEMS
SUBSECTION=TEST
DESCRIPTION=Wu Army Stone
//ONTRIGGER=DCLICK
//MEMBER=05200,,2,05200,1,1
//RETURN 1
[5200]
NAME=Soldier Wu Memory
ID=02007
COLOR=0400
LINK=045000000//STONESERIAL
ATTR=04
MORE2=02cdb7c2c
MOREP=1475,1898,0//STONELOCATION
LAYER=30
//CONTAINER=<SERIAL>
//CONT=<SERIAL>//SOLDIERSERIAL
CATEGORY=DRAGONS OF TIME ITEMS
SUBSECTION=TEST
DESCRIPTION=Wu Army Memorysounds like it would work
BUT
the problem is, when the npc is summoned, he HAS the memory item, but loses it after 1 second...
i think this is because the container is not set
ideas?