FORUM ARCHIVED

Need Help with mod please

Discussion in 'Modding' started by nealpd, Aug 22, 2012.

  1. nealpd

    nealpd Member

    this buff crashes the game, tell me whats wrong please.
    <spell name="5 Second Energy" type="self" icon="skills/5hour32.png" >
    <buff usetimer="1" time="5" allowstacking="0" icon="skills/5hour64.png" smallicon="skills/5hour32" bad="0" >
    <primarybuff id="2" amount="8"/> <!-- Nimbleness -->
    </buff>
    this i'll help me alot so thank you in advance
     
  2. Kazeto

    Kazeto Member

    This:
    Code:
    <spell name="5 Second Energy" type="self" icon="skills/5hour32.png" >
    <buff usetimer="1" time="5" allowstacking="0" icon="skills/5hour64.png" smallicon="skills/5hour32.png" bad="0" >
    <primarybuff id="2" amount="8"/> <!-- Nimbleness -->
    </buff>
    </spell>
     
    shaken and OmniNegro like this.
  3. MasterShizzle

    MasterShizzle Member

    You didn't put a file extension on the smallicon argument. Change "skills/5hour32" to "skills/5hour32.png". And there's no closing tag for the spell.

    Other than that, I can't think of why it wouldn't work.
     
  4. Jellp

    Jellp Member

    <buff usetimer="1" time="5" allowstacking="0" icon="skills/5hour64.png" smallicon="skills/5hour32" bad="0" />
     
  5. MasterShizzle

    MasterShizzle Member

    Nope.

    <buff> is an opening tag, not a singleton. It's got the closing tag </buff> later on. Only tags that don't encompass other ones need a "/>" at the end.
     
  6. shaken

    shaken Member

    OmniNegro, Jellp and Kazeto like this.
  7. Jellp

    Jellp Member

    oh yeah your right. =p
     
  8. Yeah definitely use the mod validator, it'll flag errors like this one with "File not found 'blah'" which is really handy 'cause I've made exactly this error like a dozen times. (Also the using > when I want /> and vice versa ahhhhh)