PDA

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


iron_kross
02-16-2006, 07:59 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.t ga"
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\kevlarVe st.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

ZackAttack2005
02-16-2006, 08:38 PM
i have a question, have you tried playin online since you did this? cause im worried that punkbuster will see the mods and think ur hacking or something and not let you play

PBAsydney
02-16-2006, 08:57 PM
http://usimod.clanspy.net/forums/showthread.php?t=1347

Unique mod for it, no worries about online play.

edit: lol, sorry for hijacking your thread/fame/glory mate :p

HicRic
02-16-2006, 09:08 PM
Yep, use the mod. Nice and small, too!

mizu
02-17-2006, 02:20 AM
http://usimod.clanspy.net/forums/showthread.php?t=1347

Unique mod for it, no worries about online play.

edit: lol, sorry for hijacking your thread/fame/glory mate :p
site down. account suspended (for not paying bills LOL)

pickled pizza
02-17-2006, 04:46 AM
Why is your post filled with a ton of misspelt stuff you don't need?
If you tell people how to do it, keep it clean, keep it spelt correctly, keep it concise. All you really need in your post is a list of the EU weapon_names and telling people which weapon_name to swap and the file it's in.

Also, as long you swap the modified unlocks_server with the normal one before playing online you'll be fine, and if you forget it's no big deal, you get kicked to the menu with a modified content error.

turkeybaggins
02-21-2006, 05:37 PM
Why is your post filled with a ton of misspelt stuff you don't need?
If you tell people how to do it, keep it clean, keep it spelt correctly, keep it concise. All you really need in your post is a list of the EU weapon_names and telling people which weapon_name to swap and the file it's in.

Also, as long you swap the modified unlocks_server with the normal one before playing online you'll be fine, and if you forget it's no big deal, you get kicked to the menu with a modified content error.


hell dude its his post and no one can tell him what he has to omit in his post even if it is stuff, you, yourself doesnt need to know. but people like me do! and anyway, as for his spelling etc....he might have dyslexia. or he may be foreign and that his best attempt at english?? oh and he apologised for it at the end of the post anyway.

jdrou
02-22-2006, 11:44 PM
Another mod to do this (along with making the unlocks available): http://www.totalbf2.com/forums/showthread.php?t=56694 .

wolfi
02-27-2006, 06:52 PM
Yeah the link syd posted was the thread link in our old forums.
It was the same thread as the one jdrou posted.
Have fun with this, its easy to install and fun to play ;)