PDA

View Full Version : Set defualt weapons as EURO FORCE WEAPONS AND UNLOCKS in single player


iron_kross
02-16-2006, 07:52 PM
hey dudes i figure out a way how to use euroforce weapons and unlockable weapons lvl 1 and 2 as default weapon in single player heres all you need to do

1>open the folder
if ur want to modify bfw weapons C:\Program Files\EA GAMES\Battlefield 2\mods\bf2
if u want to modify sf weapons C:\Program Files\EA GAMES\Battlefield 2\mods\xpack

2>open objects server then kits then the army you wanna modify
example
a>open object server
b>open kits folder
c>open US folder
d>lets say i wanna modify medic weapon US_MEDIC.con

3>make a back up copy of the stuff you wanna modify

ok now heres the thing you need to do to unlock lvl 1 and 2 weapons and set it as a defualt weapon

1>follow the stuff above
2>open the kit you wanna modify lets take US sniper for example then open US_SNIPER.con
3>search for objectTemplate.unlock level 1 then change it to 0
some of them has a variable of 2 change it to 1 and if you want to unlock level 2 weapon change unlock level 1 with 0 and 2 with 0 if there is 2
4>to make it more formal search for ObjectTemplate.addtemplate USRIF_M24 and replace it with ussni_m95_barret

this is a example of my modified kit
ObjectTemplate.create Kit US_Assault
ObjectTemplate.saveInSeparateFile 1
ObjectTemplate.networkableInfo KitInfo
ObjectTemplate.kitType Assault
ObjectTemplate.aiTemplate Assault
ObjectTemplate.geometry US_Kits
ObjectTemplate.geometry.kit 5
ObjectTemplate.geometry.dropGeom 15
ObjectTemplate.setHasCollisionPhysics 1
ObjectTemplate.dropHeadwear helmet
ObjectTemplate.unlockIndex 1
ObjectTemplate.cullRadiusScale 2.4

rem -------------------------------------
ObjectTemplate.addTemplate sasrif_fn2000
ObjectTemplate.addTemplate sasgr_fn2000
ObjectTemplate.addTemplate USPIS_92FS
ObjectTemplate.addTemplate hgr_smoke
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate UnlockUSAssault
ObjectTemplate.addTemplate UnlockUSAssault2
ObjectTemplate.addTemplate ParachuteLauncher
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_ASSAULT"
ObjectTemplate.vehicleHud.miniMapIcon "Ingame\Kits\Icons\kit_Light_Assault_outline.tga"
ObjectTemplate.vehicleHud.vehicleIcon "Ingame\Kits\Icons\kit_Light_Assault.tga"
ObjectTemplate.vehicleHud.spottedIcon "Ingame\Player\Icons\Minimap\mini_Soldier.dds"
ObjectTemplate.vehicleHud.abilityIcon "Ingame\Weapons\Icons\Hud\SpecialKitIcons\kevlarVes t.tga"
ObjectTemplate.vehicleHud.pantingSound S_SprintBreath
ObjectTemplate.vehicleHud.injurySound S_Injury
ObjectTemplate.vehicleHud.vehicleType 7

ObjectTemplate.sprintStaminaDissipationFactor 0.6

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

ObjectTemplate.create ItemContainer UnlockUSAssault
ObjectTemplate.addTemplate usrif_G3A3
ObjectTemplate.replaceItem usrif_m203
Objecttemplate.addTemplate ushgr_m67
ObjectTemplate.replaceItem usrgl_m203
ObjectTemplate.unlockLevel 0

ObjectTemplate.create ItemContainer UnlockUSAssault2
ObjectTemplate.addTemplate sasrif_fn2000
ObjectTemplate.replaceItem usrif_m203
ObjectTemplate.replaceItem usrif_G3A3
Objecttemplate.addTemplate sasgr_fn2000
ObjectTemplate.replaceItem usrgl_m203
ObjectTemplate.replaceItem ushgr_m67
ObjectTemplate.addTemplate nshgr_flashbang
Objecttemplate.replaceItem ushgr_smoke
ObjectTemplate.unlockLevel 0

*replace the defualt template to the weapon you wanna change to make its pic appear on the screen when choosing a kit
5>play the game

how to use euro force weapons in single player
1>make sure you have patch 1.2
2>open the kit you wanna modify
3>open EU folder located at C:\Program Files\EA GAMES\Battlefield 2\mods\bf2 then open object server then kits this will server as your basis
4>if you get my no.4 thing above heres all you need to do
a>replace unlockable weapon with eu template exmaple

this is the defualt one
ObjectTemplate.create ItemContainer UnlockSpetsMedic
ObjectTemplate.addTemplate usrif_sa80
ObjectTemplate.unlockLevel 1

this is the modified one with famas(medic weapon)
ObjectTemplate.create ItemContainer UnlockSpetsMedic
ObjectTemplate.addTemplate eurif_famas
ObjectTemplate.unlockLevel 0

b>then unlock it by changing its variable to 0
c>then to make its template appear on the screen when selecting kits do this

the defualt one is
rem -------------------------------------
ObjectTemplate.addTemplate medikit
ObjectTemplate.addTemplate defibrillator
ObjectTemplate.addTemplate RUPIS_Baghira
ObjectTemplate.addTemplate USHGR_M67
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate UnlockSpetsMedic
ObjectTemplate.addTemplate RURIF_AK101 <-old weapon
ObjectTemplate.addTemplate ParachuteLauncher
ObjectTemplate.addTemplate nightvisiongoggles
ObjectTemplate.addTemplate gasmask

the modified one with famas is
rem -------------------------------------
ObjectTemplate.addTemplate medikit
ObjectTemplate.addTemplate defibrillator
ObjectTemplate.addTemplate RUPIS_Baghira
ObjectTemplate.addTemplate USHGR_M67
ObjectTemplate.addTemplate kni_knife
ObjectTemplate.addTemplate UnlockSpetsMedic
ObjectTemplate.addTemplate eurif_famas <-new one
ObjectTemplate.addTemplate ParachuteLauncher
ObjectTemplate.addTemplate nightvisiongoggles
ObjectTemplate.addTemplate gasmask

5>same process when changing weapons to other kits it just need analysis
6>play the game and enjoy

some ending stuff
1>not tested in multi play
2>remember to BACK UP the original one before modify it
3>the purpose of this is for fun not to **** anyone else and this is not a HACK
4>sorry for my bad english

Grimlokster
03-22-2006, 08:50 PM
dunno man

JTF2_darkloop
03-23-2006, 09:54 PM
super complex and confusing man
well i need to d/l euro force, whcich im doing tonite
for 10.00 bucks

BlackEagle[UK]
03-23-2006, 11:22 PM
super complex and confusing man
well i need to d/l euro force, whcich im doing tonite
for 10.00 bucks

Good luck!! make sure you put in your BF2 username when it asks for gamespy name!

Sovetskeey
03-23-2006, 11:56 PM
You know those threads that always seem to be at the top of the page? They're there for a reason....
http://www.totalbf2.com/forums/showthread.php?t=56694
His mod is easier to use and won't get you booted from servers if you forget to swap the files.

OWNAGE TIME
03-24-2006, 12:28 AM
I need to talk to friends about this who knwo what punkbuster checks. Also the way this is written is extremely complicated.

~Ownage

Sovetskeey
03-24-2006, 01:20 AM
It's not Punkbuster that checks that. That's what gets checked when it says "Verifying Client Data". Punkbuster is the one that does CVAR checks though.