Freedom Reborn Archive

Freedom Force Forums => Hero File Discussion => Topic started by: Uncle Yuan on June 04, 2008, 10:18:12 AM

Title: "Extracting" hero files
Post by: Uncle Yuan on June 04, 2008, 10:18:12 AM
Is it possible to "extract" hero files from the main game to a mod or from one mod to another?  If, for example, I wanted to play Minute Man in the Strangers could I copy all of the neccesary files and make that work?  What would I have to copy?  Since the Strangers is an FF mod, I assume that the mesh and FX would all be in place.  So, the skin and then the Hero file?
Title: Re: "Extracting" hero files
Post by: Previsionary on June 04, 2008, 10:28:58 AM
minuteman and all the other heroes and villains from ff1 are "built in" and should already be available in other mods unless the mod creator erased their files from their mod. Otherwise, you'll need to open the characters in game and "copy" them to create a custom hero with all the same info/setup.

By copy, I mean there's an actual option on the create a character screen to copy the file and rename it.

Just to note, moving characters around from mod to mod is not always that simple as different mod makers set things up differently and the game won't always look in the same place for a file (IE: mesh, fx, skin).
Title: Re: "Extracting" hero files
Post by: stumpy on June 04, 2008, 10:42:40 AM
(Note that a 'built-in' character refers to any character with its information in the DAT files and available in FFEdit, not just the Irrational characters.)

Yes, for the most part, mod makers have left the Irrational characters in the DATs when creating their mods. They don't show up in the campaign as recruitable because that requires a scripting call. If you want Minute Man to be recruitable in The Strangers mod, open the game console and enter
Campaign_AddHero('minute_man')
Then he will show up on the list of characters you can spend PP to recruit during the campaign.

And you can do that for any character you see in that mod's FFEdit Characters tab (who should also have the 'campaign only' flag checked). That's also how you can make recruitable your own built-in characters you've added to a mod (either via FFEdit or a tool like Alex' EZ Hero, which can export a custom character as a built-in).

[EDIT: Should have been Campaign_AddHero(), not Campaign_AddRecruit().]
Title: Re: "Extracting" hero files
Post by: Uncle Yuan on June 04, 2008, 10:50:55 AM
Quote from: stumpy on June 04, 2008, 10:42:40 AM
If you want Minute Man to be recruitable in The Strangers mod, open the game console and enter
Campaign_AddRecruit('minute_man')
Then he will show up on the list of characters you can spend PP to recruit during the campaign.

How do I do this?
Title: Re: "Extracting" hero files
Post by: stumpy on June 04, 2008, 10:57:16 AM
Do what? See the Game FAQ (http://freedomreborn.net/archive/index.php?topic=41006.0) for info at enabling and opening the console.
Title: Re: "Extracting" hero files
Post by: Uncle Yuan on June 04, 2008, 11:07:41 AM
Thanks!
Title: Re: "Extracting" hero files
Post by: stumpy on June 04, 2008, 11:27:47 AM
Glad to help. I find that the campaigns take up a whole new level of fun when you can design your own character and level him up in a certain order that fits with your character concept.  :)
Title: Re: "Extracting" hero files
Post by: Uncle Yuan on June 04, 2008, 11:41:07 AM
Quote from: stumpy on June 04, 2008, 11:27:47 AM
Glad to help. I find that the campaigns take up a whole new level of fun when you can design your own character and level him up in a certain order that fits with your character concept.  :)

Haven't even gotten that far yet - I'm still trying to get the hang of getting everything where they need to go with pre-made hero files.  I still need to get a mesh that fits UY, but I'm getting closer!
Title: Re: "Extracting" hero files
Post by: stumpy on June 06, 2008, 06:04:25 PM
I made a correction to my earlier post. I called the function that adds built-in characters to the recruitable list by the wrong name. It is Campaign_AddHero(). Sorry if that caused any confusion.