Jump to content

Hero Replacement Modding


TheBoogerMan

Recommended Posts

I had posted an earlier topic asking for someone to make a Hero replacing mod.

 

But on second thought, scratch that: I don't want a mod made for me now, but rather information.

 

Not on creating/modifying characters (I've already started reading up on that and it shouldn't be to hard once I get the hang of it), but on replacing Heroes in Breakdown.

 

That is, could someone tell me which files I'll need to manipulate (with maybe a little hint as to what paticular scripts to change) to have them call upon the character of my choice instead of the crappy default Hero files.

 

So, anyone wanna help an emerging modder?

Link to comment
Share on other sites

Hey, hey, hey - I figured this crap out!

 

 

Or at least, real modders did and created applications and basic tutorials that I'm now using. Easy Peasy!

 

I would post the links, but for some reason this forum won't alloy me to paste links (or anything else).

 

But anyway, my questions got answered, my problems got solved.

 

 

Happy modding! :D

Link to comment
Share on other sites

  • 2 years later...

I know this thread is a dead duplicate, but I want to add information for anyone else with the same question. If you want to edit the code rather than using someone else's mod, it should be the same as editing any other character.

 

Editing the hero's details in libs/class3.1/rts/characters.xml should be the only file affected. As long as you're just changing the paths to other existing assets and not creating your own, it's probably easiest to copy and paste values from other characters when you're starting.

For example, I turned Andy Pimms into a female character modelled on Calliope Morris by copying over the first <Charcter... paraghraph. Calliope is a hero but she wears a generic outfit, so I just changed the name and variant in the Model file path to one I liked more, and improved the traits.

 

Make sure the VoiceRole and voice Trait match or you'll have two different voices at different times.

 

<Character HairColor="Red" HairType="Fem07" HeadType="Fem08" Model="characters/female/human/body/leatherjacket_leggings/variant/v04.cdf" SkinColor="Base" VoicePitch="Low" VoiceRole="SAM" PortraitHairColor="3" PortraitHairType="8" PortraitHeadType="27" PortraitSkinColor="1">

<DescriptionText Flags="" Notes="Character Bio" Text="A mysterious figure who showed up in Marshall a few months before the outbreak." />
<NameText Flags="Do Not Localize" Notes="Modified Calliope Morris" Text="133 HERO Andy Pimms" />
<Names>
<FirstNames>
<NameText Flags="" Notes="" Text="Sam" />
</FirstNames>
<LastNames>
<NameText Flags="" Notes="" Text="Morris" />
</LastNames>
</Names>
<Traits>
<TraitBlock>
<DefaultTrait Trait="Trait.Sandbox.StartingBackpack" />
<DefaultTrait Trait="Trait.Gameplay.Powerhouse" />
<DefaultTrait Trait="Trait.Voice.SAM_Hero" />
<DefaultTrait Trait="Trait.Meta.Hero" />
<DefaultTrait Trait="Trait.Voice.Playable" />
<DefaultTrait Trait="Trait.Personality.Realist_Resourceful" />
<DefaultTrait Trait="Trait.Mood.Proud_Supportive" />
<DefaultTrait Trait="Trait.Job.AutoRepair" />
<DefaultTrait Trait="Trait.Hobby.Parkour" />
</TraitBlock>
</Traits>
<Inventory>
<Backpack Name="BackpackLarge_v04" />
<Gun Ammo="10" Name="Pistol_hi_power" />
<Weapon Name="Wrench" />
</Inventory>
</Character>
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...