Creating a recycler variant

Moderators: GSH, VSMIT, Red Devil, Commando

Post Reply
User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Creating a recycler variant

Post by Zero Angel »

Okay. I am looking to create a recycler variant for both ISDF and Scions and it's a little bit confusing as I have no idea whatsoever how to create a rec variant.

First of all some questions:

1) Where do I find the .autoreg files for the stock recy variants (ie: commando_1.2, greenheart, etc) so I can reverse-engineer how rec variants are made?

2) I tried poking around on some mods that contain recy variants, but they only refer to ivrecy_(variant) and not any fvrecy_(variant). Is the fvrecy_(variant) used automatically if scions are chosen and the fvrecy_(variant) files are found?

A more practical example:

Lets say I want to create both an ivrecy_za.odf and fvrecy_za.odf -- how exactly would I set up .autoreg file? Where would I put it, is /addon/ZA Rec Variant/ivrecy_za.autoreg fine?

What would the contents of the autoreg file look like?
User avatar
General BlackDragon
Flying Mauler
Posts: 2408
Joined: Sat Feb 19, 2011 6:37 am
Contact:

Re: Creating a recycler variant

Post by General BlackDragon »

IIRC they're in maps13/autoreg/
User avatar
MrTwosheds
Recycler
Posts: 3059
Joined: Sat Feb 19, 2011 8:37 am
Location: Outer Space
Contact:

Re: Creating a recycler variant

Post by MrTwosheds »

Yes you only need entrys for ivrecy...

Each file should look something like this ivrecy_me.autoreg

[RecyclerList]
ODFName = "ivrecy_me"
Description = "Strat: Air Defence"

[RecyclerListFFA]
ODFName = "ivrecy_me"
Description = "FFA: Air Defence"

[RecyclerListMPI]
ODFName = "ivrecy_me"
Description = "MPI: Air Defence"

[IAHumanRecyclerList]
ODFName = "ivrecy_me"
Description = "IA: Air Defence"

It covers the game modes in which that recy can be used.
probably want to live in a folder called autoreg in addon for now
Col Klink
Sabre
Posts: 368
Joined: Fri Apr 15, 2011 8:24 am
Contact:

Re: Creating a recycler variant

Post by Col Klink »

Very nice thanks for posting this 2Sheds should prove helpful to all.
User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Re: Creating a recycler variant

Post by Zero Angel »

I think I have the basics down. Thanks fellas.

EDIT: Also, I will be reserving the 'vsr' and 'vcr' suffixes (ie: ivrecyvsr.odf).
User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Re: Creating a recycler variant

Post by Zero Angel »

How does one get a rec variant to use custom weapons for the purpose of factory modding? For example, I want to adjust balance on some weapons and have those changes be applied via factory console as well as armory drops.

EDIT: Thanks to GBD, I found this tidbit of info

Code: Select all

[GameObjectClass]
FactoryWeaponConfig = "" // or needs to be something like "iweapon.odf"

   This allows units to override what lists of weapons are available
for them at a factory/recycler panel. Compiles but is untested. [NM]
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Creating a recycler variant

Post by Nielk1 »

Personally I like using an underscore to separate my suffix but even I didn't stick to my own preference when working on all the MRVP recs.
User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Re: Creating a recycler variant

Post by Zero Angel »

I considered an underscore but given the amount of time I spend typing ODFs into the editor, its much easier to avoid using it since it's a little harder for me to touch-type an underscore than any right-side letter. As well, I have a clean, uncomplicated folder heirarchy so it's pretty easy to find my files.
User avatar
dcmaclovin12
Drunken Scav
Posts: 10
Joined: Sun Nov 13, 2011 8:26 am
Contact:

Re: Creating a recycler variant

Post by dcmaclovin12 »

so i was kinda wondering on the same question hes asking but to a little different extent is there any way to use recycler varients from a expansion (ie UEPP) on maps that ive installed myself? and does anyone know how to change the weapon loadouts for the armorys? im way new at modding and im only trying to change certain things so please keep it simple for me lol
User avatar
Nielk1
Flying Mauler
Posts: 2991
Joined: Fri Feb 18, 2011 10:35 pm
Contact:

Re: Creating a recycler variant

Post by Nielk1 »

I honestly don't know what TJ did with the UEP when he released what he did so sadly I can't help you. The recs were supposed to be available on any map of the correct game type.
User avatar
dcmaclovin12
Drunken Scav
Posts: 10
Joined: Sun Nov 13, 2011 8:26 am
Contact:

Re: Creating a recycler variant

Post by dcmaclovin12 »

interesting is there any way or program i need to open and view autoreg files? sorry not very good with computers
User avatar
Zero Angel
Attila
Posts: 1536
Joined: Mon Feb 21, 2011 12:54 am
Contact:

Re: Creating a recycler variant

Post by Zero Angel »

dcmaclovin12 wrote:interesting is there any way or program i need to open and view autoreg files? sorry not very good with computers
You can use notepad to view and edit the autoreg, odf and inf files that are used in BZ2.
User avatar
dcmaclovin12
Drunken Scav
Posts: 10
Joined: Sun Nov 13, 2011 8:26 am
Contact:

Re: Creating a recycler variant

Post by dcmaclovin12 »

really notepad will open them ive been trying too but it keeps telling me windows cannot open this file blah blah blah search internet for program eroor message thing
User avatar
dcmaclovin12
Drunken Scav
Posts: 10
Joined: Sun Nov 13, 2011 8:26 am
Contact:

Re: Creating a recycler variant

Post by dcmaclovin12 »

oh wow it worked damn now i feel slow appreciate it
Post Reply