Jump to content

Ghost Recon Future Soldier


Photo

Adding Grenades


4 replies to this topic

#1 IndyAries

IndyAries

    Recruit - 3rd Class

  • Members
  • Pip
  • 19 posts

Posted 16 December 2008 - 09:22 AM

Greetings,

I've played the game through a few times in SP.  Now, I just want to go through and blow stuff up! <smile>.

How can I increase the amount of hand grenades and 40mm rifle grenades that I can carry?

I have Brettzie's Mod 3.4 and 4.0 loaded onto my Vista machine.

This modification would be for my personal use in SP, as I never play any games online.

TIA

#2 NoQuarter

NoQuarter

    Ghost - 2nd Class

  • Members
  • PipPipPipPip
  • 2,094 posts
  • Gender:Not Telling
  • Location:Somewhere Out There

Posted 16 December 2008 - 02:51 PM

The quickest way (only one file) would be to extract the /data/lib/managers/xml/weapon_data.xml from the patch.bundle and edit the ammo attribute of the ammopack (_40mm/_m61/_anm8) grenade packs tags to your hearts content.
EDIT:
Just re-read...any mods calling that file would also need to be appended.

Edited by NoQuarter, 16 December 2008 - 02:54 PM.


#3 IndyAries

IndyAries

    Recruit - 3rd Class

  • Members
  • Pip
  • 19 posts

Posted 16 December 2008 - 04:56 PM

Hi NoQuarter,

I've done this in Brettzies weapon pack, G1_v3.4; alas, no joy. I can increase the number of rounds for rifles, but can't seem to get the grenades for GRAW1 to increase.

If I should be using the file from PATCH bundle, once extracted, where should I place it to run with Brettzies 3.4 or 4.0 weapons pack mods ??

Following is from C:\Program Files\Ubisoft\Ghost Recon Advanced Warfighter\local\english\data\lib\managers\xml

<weapon_data disabled_by="disable_frag_grenade" unit="m61_thrower" name="grenade_pack" weapon_id="5" inventory_slot="backpack" gui_unit="frag_grenade" price="120" network_disable="false" player_weapon="1" grenade="1">
<stats capacity="25" info="info_m61" />
<bar_stats accuracy="0" stability="0" weight="1" impact="0" />
<mods front="false" top="false" bottom="false">
</mods>
</weapon_data>

<weapon_data disabled_by="disable_grenade_launcher" unit="ammopack_40mm" name="grenade_pack" weapon_id="21" inventory_slot="backpack" gui_unit="scar_l" weight="1" length="0" stability="0" price="80" damage="0" player_weapon="1" gl="1" ammo="25" cal="40mm" network_disable="false">
<bar_stats accuracy="0" stability="0" weight="1" impact="0" />
</weapon_data>

<weapon_data disabled_by="disable_frag_grenade" unit="ammopack_m61" name="grenade_pack" weapon_id="19" inventory_slot="backpack" gui_unit="frag_grenade" price="60" network_disable="false" player_weapon="1" grenade="1" ammo="25" cal="m61">
<stats capacity="25" info="info_m61" />
<bar_stats accuracy="0" stability="0" weight="1" impact="0" />
<mods front="false" top="false" bottom="false">
</mods>
</weapon_data>

#4 NoQuarter

NoQuarter

    Ghost - 2nd Class

  • Members
  • PipPipPipPip
  • 2,094 posts
  • Gender:Not Telling
  • Location:Somewhere Out There

Posted 16 December 2008 - 07:53 PM

I'm sorry about that...it's been awhile since I've played around in this.
patch.bundle/data/sb_templates/sb_inventory_data.xml
<!-- AMMO FOR SINGLEPLAYER AND COOP -->
		<var name="ammo_max_556" type="number" default="10"/>
		<var name="ammo_max_556_saw" type="number" default="4"/>
		<var name="ammo_max_crye" type="number" default="10"/>
		<var name="ammo_max_9mm" type="number" default="4"/>
		<var name="ammo_max_762" type="number" default="10"/>
		<var name="ammo_max_40mm" type="number" default="4"/>
		<var name="ammo_max_127" type="number" default="20"/>
		<var name="ammo_max_m61" type="number" default="4"/>
		<var name="ammo_max_anm8" type="number" default="4"/>
		
		<var name="ammo_pack_556" type="number" default="6"/>
		<var name="ammo_pack_556_saw" type="number" default="4"/>
		<var name="ammo_pack_crye" type="number" default="6"/>
		<var name="ammo_pack_9mm" type="number" default="4"/>
		<var name="ammo_pack_762" type="number" default="6"/>
		<var name="ammo_pack_40mm" type="number" default="6"/>
		<var name="ammo_pack_127" type="number" default="15"/>
		<var name="ammo_pack_50cal" type="number" default="0"/>
		<var name="ammo_pack_m61" type="number" default="6"/>
		<var name="ammo_pack_anm8" type="number" default="6"/>
Editing these values should do the trick...I've just double-checked.


#5 IndyAries

IndyAries

    Recruit - 3rd Class

  • Members
  • Pip
  • 19 posts

Posted 20 December 2008 - 07:39 PM

Well, I finally reloaded Brettzies WP v4, and managed to get the 40mm and hand grenade counts increased.

Thanks for the assist !!!




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users