SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: About making a hero

Results 1 to 4 of 4
  1. #1

    About making a hero

    Hey, I'm an amateur at making heroes, and theres a loads of stuff I want to do,
    but sometimes the skills don't show up at all or they lose their particle effects.

    How come?
    Heres the skill. (Not finished)

    ability.entity
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <ability
        name="Ability_Aseriel"
        
        statuseffecttooltip="State_Aseriel_Ability1"
        icon="icon.tga"
        
        anim="ability_1"
        casttime="1000"
        castactiontime="200"
    
        maxlevel="4"
        requiredlevel="1,3,5,7"
    
        actiontype="target_position"
        targetradius="800"
        targetmaterial="/shared/materials/area_cast_legion_indicator.material"
        casteffecttype="Magic"
        targetscheme="enemy_units"
        
        manacost="50,75,100,125"
        cooldowntime="30000"
        
        range="900"
    >
        <onimpact >
            <spawnunit name="Gadget_Aseriel_Ability1" target="target_position"/>
        </onimpact>
    </ability>
    gadget.entity
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <gadget
        name="Gadget_Aseriel_Ability1"
    
        isselectable="false"
        iscontrollable="false"
        ismobile="false"
        canrotate="false"
        invulnerable="true"
        drawonmap="false"
        
        model="/shared/models/invis.mdf"
        passiveeffect="effects/ability_01.effect"
        
        lifetime="25000"
        deathtime="0"
        corpsetime="0"
    >
        <aura state="State_Aseriel_Ability1" radius="250,275,300,325" targetscheme="enemy_units" effecttype="Magic" />
    </gadget>
    state.entity
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <state
        name="State_Aseriel_Ability1"
    
        icon="icon.tga"
        passiveeffect="effects/state.effect"
        
        movespeedslow="0.15"
        attackspeed="-0.15"
        armor="-1,-2,-3,-4"
        
        effecttype="StatusDebuff"
        allowtransfer="true"
    >
    </state>
    and hero.entity
    Code:
    <?xml version="1.0" encoding="UTF-8"?>
    <hero
        name="Aseriel"
            
        team="Dev_Hellbourn"
        icon="icon.tga"
        portrait="icon.tga"
        model="model.mdf"
        skin=""
        
        passiveeffect=""
        spawneffect=""
        respawneffect="/shared/effects/respawn.effect"
        selectedsound="sounds/voice/select_%.wav"
        selectedflavorsound="sounds/voice/select_flavour_%.wav"
        confirmmovesound="sounds/voice/move_%.wav"
        confirmattacksound="sounds/voice/attack_%.wav"
        nomanasound="sounds/voice/no_mana.wav"
        cooldownsound="sounds/voice/cooldown.wav"
        announcersound="sounds/voice/hero_select.wav"
        tauntedsound="sounds/voice/taunt_prior.wav"
        tauntkillsound="sounds/voice/taunt_after.wav"
        
        preglobalscale="1.62"
        modelscale="1.0"
        effectscale="0.9"
        boundsheight="112"
        boundsradius="24"
        selectionradius="40"
        targetoffset="0 0 64"
    
        category="physical"
        difficulty="3.5"
        
        movespeed="305"
        turnrate="450"
        turnsmoothing="0.05"
        
        maxhealth="150"
        healthregen="1.25"
        maxmana="0"
        manaregen="0.01"
    
        armor="-.5"
        magicarmor="5.5"
    
        inventory0="Ability_Aseriel1"
        inventory1="Ability_Aseriel2"
        inventory2="Ability_Aseriel3"
        inventory3="Ability_Aseriel4"
        inventory4="Ability_AttributeBoost"
        inventory5=""
        inventory6=""
        inventory8="Ability_Taunt"
    
        attackduration="1000"
        attackactiontime="330"
        attackcooldown="1500"
        attackdamagemin="31"
        attackdamagemax="37"
        attacknumanims="2"
        attackoffset="0 0 0"
        attackprojectile=""
        attackrange="128"
        attackstarteffect=""
        attackactioneffect=""
        attackimpacteffect="effects/attack_impact.effect"
        attacktype="melee"
        combattype="Hero"
    
        aggrorange="600"
        sightrangeday="1800"
        sightrangenight="800"
        wanderrange="250"
    
        primaryattribute="Agility"
        strength="17"
        strengthperlevel="1.9"
        agility="21"
        agilityperlevel="2.7"
        intelligence="19"
        intelligenceperlevel="1.9"
        
        previewmodel="model.mdf"
        previewpos="0 0 -50"
        previewangles="0 0 0"
        previewscale="1.6"
        
        storemodel="model.mdf"
        storepos="0 0 -20"
        storeangles="0 0 0"
        storescale="1.65"
    >
        <recommendeditem name="Item_ManaPotion" />
        <recommendeditem name="Item_MinorTotem" />
        <recommendeditem name="Item_RunesOfTheBlight" />
        <recommendeditem name="Item_HealthPotion" />
        <recommendeditem name="Item_HomecomingStone" />
        
        <recommendeditem name="Item_Soulscream" />
        <recommendeditem name="Item_IronShield" />
        <recommendeditem name="Item_BloodChalice" />
        <recommendeditem name="Item_EnhancedMarchers" />
        <recommendeditem name="Item_ManaBurn1" />
        
        <recommendeditem name="Item_Pierce" />
        <recommendeditem name="Item_StrengthAgility" />
        <recommendeditem name="Item_Protect" />
        <recommendeditem name="Item_Weapon3" />
        <recommendeditem name="Item_Evasion" />
        
        <modifier key="Alt" modpriority="1"
            altavatar="true"
            
            icon="alt/icon.tga"
            portrait="alt/icon.tga"
            model="alt/model.mdf"
            preglobalscale="1.68"
            previewmodel="alt/preview.mdf"
            previewpos="0 0 -80"
            previewangles="0 0 0"
            previewscale="1.6"
            infoheight="184"
            
            storemodel="alt/preview.mdf"
            storepos="0 0 -45"
            storeangles="0 0 0"
            storescale="1.45"
        >
        </modifier>    
        
        <modifier key="Alt2" modpriority="1"
            altavatar="true"
            
            icon="alt2/icon.tga"
            portrait="alt2/icon.tga"
            model="alt2/model.mdf"
            preglobalscale="1.95"
            previewmodel="alt2/preview.mdf"
            previewpos="0 0 -80"
            previewangles="0 0 0"
            previewscale="1.6"
            infoheight="184"
            
            selectedsound="alt2/sounds/voice/select_%.wav"
            selectedflavorsound="alt2/sounds/voice/select_flavour_%.wav"
            confirmmovesound="alt2/sounds/voice/move_%.wav"
            confirmattacksound="alt2/sounds/voice/attack_%.wav"
            nomanasound="alt2/sounds/voice/no_mana.wav"
            cooldownsound="alt2/sounds/voice/cooldown.wav"
            tauntedsound="alt2/sounds/voice/taunt_prior.wav"
            tauntkillsound="alt2/sounds/voice/taunt_after.wav"
        
            storemodel="alt2/preview.mdf"
            storepos="0 0 -25"
            storeangles="0 0 0"
            storescale="1.65"
        >
        </modifier>    
    </hero>

  2. #2
    Lol im making a hero too. The skill is some kind of teletransport with area debuff?
    You should test it in practice mode, get honmodmanager, then pack it.. Uh... Its a bit hard to explain.You must have at least 2 files into a .zip renamed to .honmod. Those 2 files are: "mod.xml" where you include the hero resources and strings explaining skills, etc. and a folder "heroes/yourheronamedfolder"
    in example, mine is replicant.honmod
    inside, mod.xml
    item.tga
    heroes/
    replicant/
    ability1/
    ability2/
    ability3/
    ability4/

    Maybe you can give me a hand tooż? Im getting some troubles with third skill :P

    Note: mod.xml file should look like this:

    <?xml version="1.0" encoding="UTF-8"?>
    <modification
    application="Heroes of Newerth"
    appversion="*.*"
    mmversion="1.1"
    name="Replicant Mod"
    version="1.13"
    date="Apr 20, 2010"
    description="Adds Replicant"


    author="Yugoloth"
    >

    <copyfile name="heroes/Replicant/icon.tga"/>
    <copyfile name="heroes/Replicant/hero.entity"/>
    <copyfile name="heroes/Replicant/ability_01/icon.tga"/>
    <copyfile name="heroes/Replicant/ability_01/ability.entity"/>
    <copyfile name="heroes/Replicant/ability_01/projectile.entity"/>
    <copyfile name="heroes/Replicant/ability_01/gadget.entity"/>
    <copyfile name="heroes/Replicant/ability_02/icon.tga"/>
    <copyfile name="heroes/Replicant/ability_02/ability.entity"/>
    <copyfile name="heroes/Replicant/ability_03/icon.tga"/>
    <copyfile name="heroes/Replicant/ability_03/ability.entity"/>
    <copyfile name="heroes/Replicant/ability_03/state_charges.entity"/>
    <copyfile name="heroes/Replicant/ability_04/icon.tga"/>
    <copyfile name="heroes/Replicant/ability_04/ability.entity"/>
    <copyfile name="heroes/Replicant/ability_04/state.entity"/>

    <editfile name="stringtables/entities_en.str">
    <find><![CDATA[// Ability_Revenant1]]></find>
    <insert position="before"><![CDATA[// Ability_Replicant1
    Ability_Replicant1_name Far Seer!
    Ability_Replicant1_description Focusing his spirit, Replicant is able to see across far lands.
    Ability_Replicant1_IMPACT_effect Reveals target area.
    State_Replicant_Ability1_Debuff_description Im Watching you!
    // Ability_Replicant2
    Ability_Replicant2_name Decoy replica
    Ability_Replicant2_description Replicant creates a replica of himself, disjointing in process.

    // Ability_Replicant3
    Ability_Replicant3_name True replica
    Ability_Replicant3_description Replicant uses his own life to create living replicas of himself.

    // Ability_Replicant4
    Ability_Replicant4_name True Soul
    Ability_Replicant4_description Replicant evolves. His soul gives him extra 6/12/18% movement speed and 500/600/700 radius true sight. It also allows Far Seer! to deal mixed damage.
    Ability_Replicant4_description_simple Replicant evolves. His soul gives him extra movement speed and true sight. It also allows Far Seer! to deal mixed damage.
    Ability_Replicant4_effect_header True soul(s)
    Ability_Replicant4_tooltip_flavor INFINITE POWER!

    // State_Replicant_Ability4
    State_Replicant_Ability4_name True soul

    // Hero_Replicant
    Hero_Replicant_name Replicant
    Hero_Replicant_description Forged by Blacksmith, with some Empath life sparks, an experiment fights to prove himself his own potential to become a real, living creature.
    ]]></insert>
    </editfile>
    </modification>
    To get some hints, you can also open "resources0.s2z" file in heroes of newerth/game folder, and see some heroes and their codes. Be aware, just look, if you touch something, you screw the game :P
    Last edited by Yugoloth; 06-20-2012 at 12:53 PM.
    "Can homunculus dream with electrical sheeps?"

    Another kind of support hero, a gank avoider, a late game pusher. Check it!
    http://forums.heroesofnewerth.com/showthread.php?p=14880427#post14880427

  3. #3
    Yeah, I know all that stuff, but I'm mostly suck cause the skill disapears from the hero in training mode, and oh yes I have copyed like 3 heroes in order to TRY to make this skill.

  4. #4
    whats the skill supposed to do? you blink in some place then there a debuff is spawned? if you tell me maybe i can help you. you have any idea about how to spawn units with a passive buff enabled?
    "Can homunculus dream with electrical sheeps?"

    Another kind of support hero, a gank avoider, a late game pusher. Check it!
    http://forums.heroesofnewerth.com/showthread.php?p=14880427#post14880427

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •