• Announcements

    • Detrux

      Site Relaunched   10/13/2016

      Welcome back to BFEditor.org! We've upgraded the forum software, removed the spammers, and improved security. Apologies for the downtime! Det
bergerkiller

Kit Developer

27 posts in this topic

And yes, I am still making new programs :lol:

Now I made this: The Kit Developer.

Many people have trouble with making kits. The most anoying problem is the weapon index.

now I made a program to solve that, once and for all.

This program displays all weapons in rows, selected in indexes, as seen below:

bfkitdeveloper.jpg

With this program you can make and edit kits. You can set the weapons for the main kit and for the unlocks.

You can also open and edit kits indivually.

The other option is the kit creator. With this tool you can create kits, set the mesh, and prepare kit meshes.

(preparing kit meshes means that as example the 'us_kits.con' file is added to load the 'us_kits.skinnedmesh')

Pic of this part is seen below:

bfkitdeveloper2.jpg

To use this program properly, place it in your mod's directory.

The files in your mod must be unpacked in order for the program to detect them.

A lot of question dialogs have been added, so the chance is really small files get edited or deleted without user knowledge.

This program is compatible with Battlefield 2142, but the 'create kit' option could give some problems.

Also, the unlock boxes would not work properly, because Battlefield 2142 handles over 32 unlock slots.

If you have any questions, problems or if you've found an error somewhere, please post a reply.

Minimal requirements:

OS: Windows xp or windows vista 32/64 bit.

CPU: 1.8 ghz single core. (this is an estimation)

RAM: 512 mb

Microsoft framework 2.0 (best would be 3.5)

Edited by bergerkiller

Share this post


Link to post
Share on other sites

I was wondering...would it be an addition to make a small app to change Battlefield 2142 unlocks?

Share this post


Link to post
Share on other sites

as a paratrooper in the us army

THIS IS SOME HIGHSPEED STUFF MAN. holy hell. life saver. easy. good job. makes my day a cake walk

bf2 assault mod. kickin a every day

Share this post


Link to post
Share on other sites

Lol are you advertising for the assault mod or something? :P

I played it, and I must admit it is a good mod, well, good levels =P

Especially black hawk down and operation hydra are cool ;)

You can even play those levels in swof you know? It is so fkn much chaos, with firetanks all around ya :o

And that was my advertisement, SWOF Rockz~~! :P

Share this post


Link to post
Share on other sites

Whoa that is one amazing thing! And you know what? I thought about making a program just like this one as well, it's just that my programming skills are not that great :D Anyways, nice work, will definitely promote it in my editing forum :)

Share this post


Link to post
Share on other sites

Spartan is the dev of BF2 Assault mod..

Btw.. nice program! Will check it out!

Share this post


Link to post
Share on other sites

Cool i could need this prog, but filefront says "download not available" :mellow:

Share this post


Link to post
Share on other sites

Cool i could need this prog, but filefront says "download not available" :mellow:

Yeah it's now in the Battlefield Collection.

You can see a link to all my programs and the lp col download page in my signature. :D

Share this post


Link to post
Share on other sites

Yep in most cases you need to check the file afterwards ; it can't interpret if some resources are missing etc.

Always check if the weapon, geometry and textures used in the kits are available.

In your case, I guess you added a weapon not available in your mod. (as example, you added an xpack-weapon w/o including xpack in your mod)

Share this post


Link to post
Share on other sites
In your case, I guess you added a weapon not available in your mod. (as example, you added an xpack-weapon w/o including xpack in your mod)

No no all Standard BF2 Weapons... and i checked all weapongeometries textures and all other stuff...

Share this post


Link to post
Share on other sites

And you tried running bf2 in windowed mode to check the error that comes with the crash?

Share this post


Link to post
Share on other sites

Mh that's a bit of a problem there...

Kit code? Usually these types of crashes are 'cause of one of the following errors:

- error in ai code

- damaged file

- level-load error

The code of the kit could help greatly. Ow, and if you edited using the bf tweaker, please update the tweaker because the previous version saved new lines using a non-common format. Check the file in notepad.

Share this post


Link to post
Share on other sites

omg, thanks!!!  :D And also, I figured out how to get the kits to show up in the kit developer list for newly made mods.  :)

Share this post


Link to post
Share on other sites

hey, im having problems with this, it doesnt work... i edit the kits save em and then when i go test em in game, the kits arent changed... i also tried modbuilder because im not a skilled modder i just use tools and it worked 3 times...then i couldnt do anything... the kits stay the same...btw im running 1.41

Share this post


Link to post
Share on other sites

Could be the file you try to edit is read-only, can't remember adding a read-only proof saving system... :unsure:

Share this post


Link to post
Share on other sites

almost impossible as i allready finished my mod by now, but still am unable to edit the US SPEC OPS kit...i edited EVERY SINGLE OTHER KIT in game even EU and it all worked...with any weapon.. so can i uld my mod here? (on this site)

Share this post


Link to post
Share on other sites

No idea what the problem is or could be, since I have no information. Just confirmed that 1.1 can overwrite readonly files, so that's not it.

To debug this I need to know:

- when it happens (on loading or saving of the kit, or when you change a weapon)

- the us_specops.con file coding you try to load and save again

Kinda busy on the tweaker right now, if it is a bug I'll try to fix it asap. ;)

Share this post


Link to post
Share on other sites

Hi, I'm having the same problem with the tool, when I modify a kit, the game crashes at loading with no error message... I've tried to insert an ak47 at unlocklevel 2, here is the only con file I have modified:

ObjectTemplate.create Kit us_specops
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.kitType Specops
ObjectTemplate.aiTemplate Specops
ObjectTemplate.geometry US_Kits
ObjectTemplate.geometry.kit 0
ObjectTemplate.geometry.dropGeom 10
ObjectTemplate.networkableInfo KitInfo
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.unlockIndex 4
ObjectTemplate.cullRadiusScale 2.5
rem -------------------------------------
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate uspis_92fs_silencer
ObjectTemplate.addTemplate usrif_m4
ObjectTemplate.addTemplate ushgr_m67
ObjectTemplate.addTemplate c4_explosives
ObjectTemplate.addTemplate defibrillator
ObjectTemplate.addTemplate parachutelauncher
ObjectTemplate.addTemplate Unlockusspecops
ObjectTemplate.addTemplate Unlockusspecops2
rem -------------------------------------

ObjectTemplate.createComponent AbilityHud
ObjectTemplate.abilityHud.ammoSound S_Resupply
ObjectTemplate.abilityHud.healingSound S_Heal
ObjectTemplate.abilityHud.repairingSound S_Repair

ObjectTemplate.createComponent VehicleHud
ObjectTemplate.vehicleHud.hudName 		"HUD_TEXT_MENU_SPAWN_KIT_SPECIALFORCES"
ObjectTemplate.vehicleHud.miniMapIcon		"Ingame\Kits\Icons\kit_Specops_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon		"Ingame\Kits\Icons\kit_Specops.tga"
ObjectTemplate.vehicleHud.spottedIcon 		"Ingame\Player\Icons\Minimap\mini_Soldier.dds"
ObjectTemplate.vehicleHud.pantingSound		S_SprintBreath
ObjectTemplate.vehicleHud.injurySound		S_Injury
ObjectTemplate.sprintStaminaDissipationFactor 0.2

rem ---BeginComp:Radio ---
ObjectTemplate.createComponent Radio
ObjectTemplate.Radio.spottedMessage	"infantry_spotted"
rem ---EndComp ---

ObjectTemplate.create ItemContainer Unlockusspecops
ObjectTemplate.replaceItem usrif_m4
ObjectTemplate.addTemplate usrif_g36c
ObjectTemplate.unlockLevel 1

ObjectTemplate.create ItemContainer Unlockusspecops2
ObjectTemplate.replaceItem usrif_m4
ObjectTemplate.replaceItem usrif_g36c
ObjectTemplate.addTemplate rurif_ak47
ObjectTemplate.unlockLevel 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now