
Originally Posted by
Hddman
I'm fairly new to using the FSOD source and XML, so I have a question. How can I add the "Eye of Marble" (The big Pillar that spawns when you use the Marble Seal) into my game? I already have everything else setup and I have the Sprite file but I don't know what I must write in XML to make the Sprite appear. Any help is greatly appreciated
Prod xml:
<Object type="0x0243" id="Marble Seal">
<DisplayId>Marble Seal</DisplayId>
<Class>Equipment</Class>
<Item/>
<Texture>
<File>lostHallsObjects8x8</File>
<Index>39</Index>
</Texture>
<Usable/>
<SlotType>12</SlotType>
<BagType>6</BagType>
<FameBonus>6</FameBonus>
<MpCost>135</MpCost>
<Description>A seal made from the Marble Colossus' head. The power of a pure and mighty paladin still remains within.</Description>
<ExtraTooltipData>
<EffectInfo name="" description="Summon an Eye of Marble for 4.5 seconds"/>
<EffectInfo name="Eye Effect" description="Armored within 4 sqrs"/>
<EffectInfo name="Eye Effect" description="Damaging within 4 sqrs"/>
</ExtraTooltipData>
<ActivateOnEquip stat="21" amount="5">IncrementStat</ActivateOnEquip>
<Activate objectId="Eye of Marble">Pet</Activate>
<Cooldown>5.5</Cooldown>
<feedPower>1300</feedPower>
<Soulbound/>
</Object>
the <Activate objectId="Eye of Marble">Pet</Activate> is the important thing here u have to make an xml called the eye of marble and make a behavior for it
eye of marble xml :
<Object type="0xb053" id="Eye of Marble">
<Class>GameObject</Class>
<Texture>
<File>lostHallsObjects16x16</File>
<Index>0x00</Index>
</Texture>
<Size>140</Size>
<ShadowSize>80</ShadowSize>
<Effect color="0xFFDF3F" rate="15" life=".5" lifeVariance="0" speed="0" speedVariance="0" size="8" rise="0" riseAcc="0" riseVariance="0" rangeX="4" rangeY="4">CustomParticles</Effect>
</Object>
I wont make the behavior but looking into the behaviors of the drakes should help you