2 Questions -1 reply

Please wait...

Bong, James Bong

GF makes me horny

50 XP

1st August 2004

0 Uploads

90 Posts

0 Threads

#1 15 years ago

Hey guys I have 2 questions: 1. I have been looking around the forums but I can't seem to find a FH .61 .lst for BC. The only one I could find was for .6. Am I missing something or is this the only current .lst? 2. I am trying to make a very simple, small map for knife fighting and I need to make all the classes contain only a knife. Is there a tutorial somewhere or is it just a matter of changing a few numbers? Thanks for your answers in advance :)




SacredLizard

Its cupnoodles not cuponoodles

50 XP

23rd April 2004

0 Uploads

918 Posts

0 Threads

#2 15 years ago

the battlecraft files you need are up in the sticky called "mapping tools" http://www.gamingforums.com/showthread.php?t=137184




Hail of Nails

I want to be like Revenge

50 XP

13th June 2004

0 Uploads

376 Posts

0 Threads

#3 15 years ago
Creating a Custom Kit

Bust out the RFA files, and crack open the Objects.RFA with an RFA Ripping Program. Inside th RFA will be an "ITEMS" folder, full of kits, such as GermKit, Britkit, Polkit, etc... Open one of them up and it should look like this... ObjectTemplate.create Kit 1Rus_AssaultNagant ObjectTemplate.setType Assault ObjectTemplate.setKitTeam 2 ObjectTemplate.geometry Kit_Allies_Assault ObjectTemplate.setHasCollisionPhysics 1 ObjectTemplate.networkableInfo KitInfo ObjectTemplate.addTemplate Russ_Helmet ObjectTemplate.addTemplate Russian_hippack ObjectTemplate.addTemplate Chutedisabler ObjectTemplate.setHealthBarIcon "Ingame/Healthbar_empty_assault_64x64.tga" ObjectTemplate.setHealthBarFullIcon "Ingame/Healthbar_full_assault_64x64.tga"

ObjectTemplate.addWeaponIcon "Weapon/Icon_alliesKnife.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_tt33.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_MosinNagant.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_grenadeallies.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_k98grenade.tga" ObjectTemplate.setKitIcon 0 "kits/Icon_NagantRuss_selected.tga" ObjectTemplate.setKitName 0 "RESPAWN_ASSAULT" ObjectTemplate.setKitActiveName 0 "RESPAWN_ACTIVE_ASSAULT" ObjectTemplate.addTemplate MosinNagant ObjectTemplate.addTemplate NagantGrenade ObjectTemplate.addTemplate GrenadeAllies ObjectTemplate.addTemplate Tt33 ObjectTemplate.addTemplate KnifeAllies ObjectTemplate.aitemplate Assault Here's the lowdown... ObjectTemplate.create Kit 1Rus_AssaultNagant The kit name. This can be just about anything as long as it's not the same as another kit. ObjectTemplate.setType Assault The type of kit it is. You have Assault, AT, Medic, Engineer, Scout to choose from. ObjectTemplate.setKitTeam 2 The team the kit goes to. 1 is Axis, 2 is Allied. ObjectTemplate.geometry Kit_Allies_Assault This is the object you see when a kit is on the ground. you have Kit_x_Assault, Kit_x_Antitank, Kit_x_Engineer, Kit_x_Medic, and Kit_x_Scout, where x is either Axis or Allies. ObjectTemplate.setHasCollisionPhysics 1 Not sure what this is.

ObjectTemplate.networkableInfo KitInfo Not sure about this either.

ObjectTemplate.addTemplate Russ_Helmet This is the helmet the class will wear. There are numerous to choose from, just look in the RFA files.

ObjectTemplate.addTemplate Russian_hippack Extra accessories like backpacks can be added as well, there are a bunch to choose from.

ObjectTemplate.addTemplate Chutedisabler This disables the parachute for the class. Remove it to make a paratrooper class.

ObjectTemplate.setHealthBarIcon "Ingame/Healthbar_empty_assault_64x64.tga" ObjectTemplate.setHealthBarFullIcon "Ingame/Healthbar_full_assault_64x64.tga" These are for the healthbar. Assault can be replaced with AT, Medic, Scout, or Engineer. Could be swapped out entirely ObjectTemplate.addWeaponIcon "Weapon/Icon_alliesKnife.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_tt33.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_MosinNagant.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_grenadeallies.tga" ObjectTemplate.addWeaponIcon "Weapon/Icon_k98grenade.tga" These are the pictures that appear at the bottom of the screen when changing weapons. They don't necessarily have to correspond to the actual weapons. Look in the other kit RFA files to find other picturefiles. Or these could be replaced entirely by new picture files. ObjectTemplate.setKitIcon 0 "kits/Icon_NagantRuss_selected.tga" This is the picture that appears on the spawn screen. Again can be changed out for anything. ObjectTemplate.setKitName 0 "RESPAWN_ASSAULT" ObjectTemplate.setKitActiveName 0 "RESPAWN_ACTIVE_ASSAULT" These are the names of kits as they appear on the spawn screen. Can be changed to anything. The first is the kit name, and the second is used to display how many active soldiers are using this class. ObjectTemplate.addTemplate MosinNagant ObjectTemplate.addTemplate NagantGrenade ObjectTemplate.addTemplate GrenadeAllies ObjectTemplate.addTemplate Tt33 ObjectTemplate.addTemplate KnifeAllies This is the actual loadout. Put them in order of important, and the first will be the starting weapon. When the weapon runs out of ammo, it switches to the highest available one, like how when you run out of Grenades, you switch back to your rifle. ObjectTemplate.aitemplate Assault This is used to designate what AI scheme bots of this class will use. You have Assault, AT, Medic, Scout, and Engineer Got that? Now let's say you have a kit named "KnifeFight" Objecttemplate.create Kit Knifefight in the kit file. Unpack your map's RFA, and open it up. In the main directory, you should see a few folders, like CTF, TDM, and files like the Init.con. If not already present, create a folder called "Objects". Open the main Init.com file, and add the line "run Objects/Objects. Go into the Objects folder, and create a text file, called "Objects.con". Open it, and then move back to the Objects directory. Create a folder called "Knifekit" Switch back to the Objects.con text, and add the line "run objects/Knifekit/lol" Now go into the Knifekit folder, and paste in the "Knifefight" kit Objects.con Create a text file called "lol.con". Inside it, type run Objects. Now that should be set. It's just a complicated way of activating the files in each folder. Go back to your main Init.con, and find where the kits are listed. game.setTeamSkin 1 GermanSoldier game.setKit 1 0 1German_CloseQuartersMp40 game.setKit 1 1 2German_Assaultk98 game.setKit 1 2 3German_ATPanzerfaust100 game.setKit 1 3 4German_OfficerMp40 game.setKit 1 4 5German_SapperK98 game.setTeamSkin 2 BritishSoldier game.setKit 2 0 1GB_CloseQuartersStenMk5 game.setKit 2 1 2GB_AssaultNo4 game.setKit 2 2 3GB_ATPiat game.setKit 2 3 4GB_SupportBren game.setKit 2 4 GB_SpecOpsStenMk5

Replace one of the existing kits listed in bold with the "KnifeFight", since that is our kit name.

Now, pack up the map, and test it out in BF. Although there are some errors I haven't been able to pin down, this is the method I use, and works most of the time.




Bong, James Bong

GF makes me horny

50 XP

1st August 2004

0 Uploads

90 Posts

0 Threads

#4 15 years ago

Thanks guys I really appreciate it!!! :smokin: :beer: :beer: :smokin: