Help❓ Help Adding a New Class

Posts 1–3 of 3 · Page 1 of 1
❓ Help Adding a New Class
Not sure what I did wrong. It's added in Dat1, Binary, and PlayerCXML. It was working for a bit, but then I tried adding its ability and messed everything up. Any help will be much appreciated! [Edit: Forgot to mention that the issue is that the game won't load. As soon as I open the swf, I get a black screen.]

Code:
    <Object type="0xc0f4" id="Trapper">
      <Class>Player</Class>
      <Description>The Trapper uses a bow to attack at long range and leaves snares for his enemies.</Description>
      <AnimatedTexture>
         <File>players</File>
         <Index>14</Index>
      </AnimatedTexture>
      <HitSound>player/rogue_hit</HitSound>
      <DeathSound>player/rogue_death</DeathSound>
      <Player/>
      <BloodProb>1.0</BloodProb>
    <SlotTypes>3, 30, 6, 9, 0, 0, 0, 0, 0, 0, 0, 0</SlotTypes>
    <Equipment>0xa1a, 0xa61, -1, -1, 0xa22, -1, -1, -1, -1, -1, -1, -1</Equipment>
    <MaxHitPoints max="700">130</MaxHitPoints>
    <MaxMagicPoints max="252">100</MaxMagicPoints>
    <Attack max="70">12</Attack>
    <Defense max="25">0</Defense>
    <Speed max="55">12</Speed>
    <Dexterity max="60">12</Dexterity>
    <HpRegen max="30">12</HpRegen>
    <MpRegen max="60">10</MpRegen>
    <LevelIncrease min="20" max="30">MaxHitPoints</LevelIncrease>
    <LevelIncrease min="2" max="8">MaxMagicPoints</LevelIncrease>
    <LevelIncrease min="1" max="2">Attack</LevelIncrease>
    <LevelIncrease min="0" max="0">Defense</LevelIncrease>
    <LevelIncrease min="0" max="2">Speed</LevelIncrease>
    <LevelIncrease min="0" max="2">Dexterity</LevelIncrease>
    <LevelIncrease min="0" max="1">HpRegen</LevelIncrease>
    <LevelIncrease min="0" max="2">MpRegen</LevelIncrease>
    <UnlockLevel level="20" type="0x0310">Huntress</UnlockLevel>
	<UnlockLevel level="20" type="0x0310">Assassin</UnlockLevel>
      <UnlockCost>999</UnlockCost>
      <DisplayId>Trapper</DisplayId>
   </Object>
Code:
    <Object type="0xc0f5" id="Basic Snare">
    <Class>Equipment</Class>
    <Item/>
    <Texture>
      <File>lofiObj5</File>
      <Index>0xf9</Index>
    </Texture>
    <SlotType>30</SlotType>
    <Tier>0</Tier>
    <Description>A snare taught to every young Trapper.</Description>
    <Usable/>
    <BagType>1</BagType>
    <MpCost>40</MpCost>
    <Activate radius="1.5" totalDamage="60" condEffect="Paralyzed" condDuration=".5">Trap</Activate>
    <feedPower>5</feedPower>
    <DisplayId>Basic Snare</DisplayId>
  </Object>
Quote Originally Posted by frkcy View Post
Not sure what I did wrong. It's added in Dat1, Binary, and PlayerCXML. It was working for a bit, but then I tried adding its ability and messed everything up. Any help will be much appreciated! [Edit: Forgot to mention that the issue is that the game won't load. As soon as I open the swf, I get a black screen.]
You might get better help asking in the private server section. If you can, try running it in debug mode and see if anything stands out.
WOOPS. Thank you lol Thought I asked this in the Pserver section. Was about 4am when I posted this.
Posts 1–3 of 3 · Page 1 of 1

Post a Reply

Tags for this Thread

None

Talk with us