Page 1 of 1

Help on modding BZ's game files

Posted: Wed Apr 03, 2013 2:16 pm
by Peek_a_boo
Not models or anything, I may have missed it and I pm'ed a mod and I was told it may not even be here yet soooo

Me and a few friends want to mod a few thing in BZ2 like the resource system. Possibly more later but right now just with one thing.

What tools and file would I need to get/edit to change things like BZ2's resource system?

I took a browsing of the modding forums here but did not see what I was looking for, if I missed it sorry and could you point me to where the answer already is? (if its there and I just missed it)

Re: Help on modding BZ's game files

Posted: Wed Apr 03, 2013 2:54 pm
by General BlackDragon
Well, it depends on what you want to do to the resource system.

The follow file types can be opened/edited with Notepad: .odf .inf .cfg .xsi .aip .trn .bzn

The scrap hold / amount per second are variables defined in the i/f b scav/scup odf files. (ibscav/ibscup, fbscav/fbscup)

Power cost and amount are listed in .odf files as well, but have a default value. (powerplant has a default of -3, most other buildings have a default of 1 for powerCost)

If you want to create a new resource, that is possible through C++ DLL work.

Re: Help on modding BZ's game files

Posted: Thu Apr 04, 2013 7:06 pm
by Peek_a_boo
Awesome thank you, did not know it was that simple

Re: Help on modding BZ's game files

Posted: Thu Apr 04, 2013 7:34 pm
by GSH
You should use the BZ2 Pak Explorer as your canopener for the .pak files installed with BZ2. Do NOT write your changes back into the pak, or you'll be unable to join anyone else's game. Place your changed files in the addon folder (ONLY, never the data folder) for quick tests, but changed files in addon can cause bad assets on join.

Look for 'recycler variants' on these forums for some comments on how to make safe changes that won't cause bad assets.

-- GSH

Re: Help on modding BZ's game files

Posted: Thu Apr 04, 2013 11:18 pm
by DarkCobra262
GSH wrote:You should use the BZ2 Pak Explorer as your canopener for the .pak files installed with BZ2. Do NOT write your changes back into the pak, or you'll be unable to join anyone else's game. Place your changed files in the addon folder (ONLY, never the data folder) for quick tests, but changed files in addon can cause bad assets on join.

Look for 'recycler variants' on these forums for some comments on how to make safe changes that won't cause bad assets.

-- GSH
This. Or you can create a folder with your edited files in your directory, and edit the bz_config.cfg and add your folder as the first thing it looks through (and then save the .cfg as bzmymodorwhatever_config.cfg), then edit a shortcut with /config bzmymodorwhatever_config.cfg and it'll load Bzone.exe with that config file)

Re: Help on modding BZ's game files

Posted: Fri Apr 05, 2013 2:21 am
by General BlackDragon
bzone.cfg *

Re: Help on modding BZ's game files

Posted: Fri Apr 05, 2013 5:37 pm
by DarkCobra262
General BlackDragon wrote:bzone.cfg *
Yeah, this.