[code] A Minor Mod (or two...(or three))

Making or wanting help making your own asset? Check in here
Post Reply
Mrblbshrtz
Posts: 10
Joined: 2009-08-09 18:34

[code] A Minor Mod (or two...(or three))

Post by Mrblbshrtz »

I am new to making mods but i would like to make a few mods for LAN servers.
  1. A Mod which gives you unlimited extra magazines for guns only (Rifles, Shotguns, Pistols) but keeps the magazine size the same and rate of fire the same- so none of whats going on in the video
  2. A Mod which prevents AI from making squads, but still lets them join squads
  3. A Mod which allows about 32 bots in LAN games
So none of this:
http://www.youtube.com/watch?v=IdXmVrGcmtc[/youtube]

I'm pretty sure this is minor changes to some of the games files but as i'm new, i don't know what to do.

Any help would be appreciated

(PS if the video don't work, heres the link: http://www.youtube.com/watch?v=IdXmVrGcmtc)

iVE TRIED GOING INTO MODS\BF2\OBJECTS_SERVER\WEAPONS\HANDHELD
and changing the .tweak files but that only works for the Sniper rifles and Pistols, (can anyone help me out here?)
Last edited by Mrblbshrtz on 2009-08-09 20:35, edited 1 time in total.
single.shot (nor)
Posts: 692
Joined: 2008-04-12 07:06

Re: [code] A Minor Mod (or two...(or three))

Post by single.shot (nor) »

can't u just modify .tweak files like I did with PRSP?

copy PR and make all .tweaks u need open in notepad, and modify the magcount to whatever you wish. u can already have up to 48 bots in PRSP....
War is a huge matter for a nation. it's the field of life and death, destruction and survival, and such matters cannot be left unstudied. - Sun Tzu
Mrblbshrtz
Posts: 10
Joined: 2009-08-09 18:34

Re: [code] A Minor Mod (or two...(or three))

Post by Mrblbshrtz »

firstly, its for standard battlefield
secondly, ive tried and it only works for the sniper rifle and pistol
however, ive noticed an entry in most of the weapons which refuse to work called ammotype 1- seeing as those tweak files have no other info (such as .magSize and .nrofClips) i think this must be a reference to another file of some sort. I have tried taking this entry out and inserting the .magSize and .nrofClips entries but this doesnt work either
i have also tried leaving in the ammotype 1 and doing this
i have also tries leaving in the ammotype 1 but just entering .nrofClips
the individual .tweak files seem to be dead ends
the only glimmer of hope seems to be finding and editing the mysterious "ammotype 1"
any other ideas anyone?
Mrblbshrtz wrote: iVE TRIED GOING INTO MODS\BF2\OBJECTS_SERVER\WEAPONS\HANDHELD
and changing the .tweak files but that only works for the Sniper rifles and Pistols, (can anyone help me out here?)
Last edited by Mrblbshrtz on 2009-08-10 14:06, edited 1 time in total.
crazy11
Retired PR Developer
Posts: 3141
Joined: 2008-02-05 00:20

Re: [code] A Minor Mod (or two...(or three))

Post by crazy11 »

There is no need to ask for help when only 2 hours have passed, someone will help you if they know how, but that may take some time.
Image
You miss 100% of the shots you don't take.- Wayne Gretzky
e-Gor
Retired PR Developer
Posts: 3752
Joined: 2006-03-06 22:40

Re: [code] A Minor Mod (or two...(or three))

Post by e-Gor »

I've no idea what OT.ammoType does - I think it's probably a remnant of a system no longer in the game. Whatever it is, it's not relevant.

Lines are only needed to change things from the default - the 'default' setting for mag size is 30, for example. This is why you don't see it in the tweak for most assault rifles (although this is rather unusual, normally it gets specified anyway for clarity).

So to get an assault rifle to have an unlimited number of mags, just add the line "OT.ammo.nrOfMags -1". Just make sure you're editing the right one - most of the assault rifles have several different versions. The usrif_m16a2 is the medic gun, for example, whereas the assault class has the usrif_m203 (they use a slightly odd naming convention for the UGL rifles.)
Mrblbshrtz
Posts: 10
Joined: 2009-08-09 18:34

Re: [code] A Minor Mod (or two...(or three))

Post by Mrblbshrtz »

Thanks ill try that out

PS will it still work if i uncompress the folder objects_server and leave it as a folder as my computer is a peice of (well i cant say) and it gets stuck every time it compresses the files

Didnt work (the increasing of clips)

This guy, djuice has managed to do it, used to be a member on this very forum, last activity is very long ago though

BF2 Realism V3.0, Battlefield 2142 Downloads, Battlefield 2142 Battlefield 2 Realism

See changelog v1.5

In the .tweak files in his mod, the weapons still have the standard values

How does this work?
Last edited by Mrblbshrtz on 2009-08-11 11:52, edited 2 times in total.
e-Gor
Retired PR Developer
Posts: 3752
Joined: 2006-03-06 22:40

Re: [code] A Minor Mod (or two...(or three))

Post by e-Gor »

No. It needs to be compressed in zip files.
Mrblbshrtz
Posts: 10
Joined: 2009-08-09 18:34

Re: [code] A Minor Mod (or two...(or three))

Post by Mrblbshrtz »

Project Reality Forums - View Profile: Djuice

Djuices pr forums profile page
e-Gor
Retired PR Developer
Posts: 3752
Joined: 2006-03-06 22:40

Re: [code] A Minor Mod (or two...(or three))

Post by e-Gor »

Mrblbshrtz wrote:Didnt work (the increasing of clips)
Well, it works for me. Dunno what you're doing wrong then.
Mrblbshrtz
Posts: 10
Joined: 2009-08-09 18:34

Re: [code] A Minor Mod (or two...(or three))

Post by Mrblbshrtz »

I'm doing it in vanilla battlefield, not pr
thanks for the help anyway- im gonna search that guys realism mod and try to find out what he's done
About the other two mods- ive tried going into AI/AIdefaults.ai and it still doesnt work.
I dont think bf2 likes me
Post Reply

Return to “PR:BF2 Community Modding”