Have you added your texture to the server files and then in visual studio as well?
Im trying to add my own weapons to my server, the weapons work fine but the texture doesn't show up, it shows up as the error, I have the actual texture in the folder too, here's the weapon code.
<Object id="The Kings Wand" ext="true">
<Class>Equipment</Class>
<Item/>
<RemoteTexture>
<Instance>production</Instance>
<Id>kings_wand</Id>
</RemoteTexture>
<SlotType>8</SlotType>
<Description>The wand used by the legendary lost king of Atlantis</Description>
<RateOfFire>1.1</RateOfFire>
<Sound>weapon/wand_of_death</Sound>
<Projectile>
<ObjectId>Super Trident</ObjectId>
<Speed>83</Speed>
<MinDamage>120</MinDamage>
<MaxDamage>190</MaxDamage>
<LifetimeMS>750</LifetimeMS>
<Amplitude>0.1</Amplitude>
<Frequency>3</Frequency>
<Size>70</Size>
<ParticleTrail lifetimeMS="30">0xffff00</ParticleTrail>
</Projectile>
<NumProjectiles>3</NumProjectiles>
<ArcGap>12</ArcGap>
<ActivateOnEquip stat="0" amount="10">IncrementStat</ActivateOnEquip>
<ActivateOnEquip stat="3" amount="10">IncrementStat</ActivateOnEquip>
<ActivateOnEquip stat="20" amount="2">IncrementStat</ActivateOnEquip>
<ActivateOnEquip stat="22" amount="3">IncrementStat</ActivateOnEquip>
<BagType>6</BagType>
<FameBonus>4</FameBonus>
<feedPower>500</feedPower>
<Soulbound/>
<DisplayId>The Kings Wand</DisplayId>
</Object>
Have you added your texture to the server files and then in visual studio as well?
don't use
butCode:ext="true"
and add your XML to the client. you can change 2900 to any number that hasnt been used yetCode:type="0x2900" id="The Kings Wand"
Last edited by EHaehthsthethetheh; 04-10-2017 at 06:36 PM.
Wouldn't it be better just adding the sprite to the client instead of remote textures?