Full Version : Spawning an item with altered properties ingame
xmlspawner >>Q&A >>Spawning an item with altered properties ingame


<< Prev | Next >>

olsyke- 03-30-2006
hello

well as the topic name tells, im trying to spawn an item with altered properties from ingame (since im GM and dont have access to the server files)


so for example how would i go to spawn a katana with 35dmg inc 30ssi spellchanneling ?


im tryin to set up a pvp-event with free choosing of equipment, and probly this is the best way to do it


thx in advantage

ArteGordon- 03-31-2006
take a look at this HowTo entry
http://xmlspawner.15.forumer.com/index.php?showtopic=11

olsyke- 03-31-2006
ah thank you that worked for me ^^

but there came up another problem smile.gif

im trying to give a lootpack to a monster and somehow i cant get it to work

orc/ADD/LOOTPACK.Ultrarich -> invalid ADD : no such item lootpack

orc/LOOTPACK.Ultrarich -> Lootpack.ultrarich not found


what did i do wrong ?


http://xmlspawner.15.forumer.com/index.php?showtopic=116 i got the commands from here but i must be doing something wrong

ArteGordon- 03-31-2006
it should be a comma not a period.

orc/ADD/LOOTPACK,Ultrarich

the lootpack type is an argument to the LOOTPACK keyword

olsyke- 03-31-2006
okay was my fault then...

but still with this orc/ADD/LOOTPACK,Ultrarich im getting this -> invalid ADD : no such item LOOTPACK,ultrarich

ArteGordon- 03-31-2006
make sure that you entered it just the way you showed above and it will work.

orc/ADD/LOOTPACK,Ultrarich

below is a spawner that has that exact string in it and it works unless you have an old or modified version of xmlspawner that doesnt support the LOOTPACK keyword.

QUOTE

<Spawns>
  <Points>
    <Name>UltrarichSpawner</Name>
    <UniqueId>d5fcf69c-350b-4ddd-9a40-f13d835caa62</UniqueId>
    <Map>Felucca</Map>
    <X>5435</X>
    <Y>1150</Y>
    <Width>10</Width>
    <Height>10</Height>
    <CentreX>5440</CentreX>
    <CentreY>1155</CentreY>
    <CentreZ>0</CentreZ>
    <Range>5</Range>
    <MaxCount>1</MaxCount>
    <MinDelay>5</MinDelay>
    <MaxDelay>10</MaxDelay>
    <DelayInSec>False</DelayInSec>
    <Duration>0</Duration>
    <DespawnTime>0</DespawnTime>
    <ProximityRange>-1</ProximityRange>
    <ProximityTriggerSound>500</ProximityTriggerSound>
    <TriggerProbability>1</TriggerProbability>
    <InContainer>False</InContainer>
    <MinRefractory>0</MinRefractory>
    <MaxRefractory>0</MaxRefractory>
    <TODStart>0</TODStart>
    <TODEnd>0</TODEnd>
    <TODMode>0</TODMode>
    <KillReset>1</KillReset>
    <ExternalTriggering>False</ExternalTriggering>
    <SequentialSpawning>-1</SequentialSpawning>
    <AllowGhostTriggering>False</AllowGhostTriggering>
    <SpawnOnTrigger>False</SpawnOnTrigger>
    <SmartSpawning>False</SmartSpawning>
    <Team>0</Team>
    <Amount>1</Amount>
    <IsGroup>False</IsGroup>
    <IsRunning>True</IsRunning>
    <IsHomeRangeRelative>True</IsHomeRangeRelative>
    <Objects2>orc/ADD/LOOTPACK,Ultrarich:MX=1:SB=0:RT=0:TO=0:KL=0:RK=0:CA=1:DN=-1:DX=-1:SP=1:PR=-1</Objects2>
  </Points>
</Spawns>