I am new to making mods but i would like to make a few mods for LAN servers.
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
A Mod which prevents AI from making squads, but still lets them join squads
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?)
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....
Re: [code] A Minor Mod (or two...(or three))
Posted: 2009-08-10 13:59
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?)
Re: [code] A Minor Mod (or two...(or three))
Posted: 2009-08-10 17:53
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.
Re: [code] A Minor Mod (or two...(or three))
Posted: 2009-08-10 18:52
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.)
Re: [code] A Minor Mod (or two...(or three))
Posted: 2009-08-11 10:52
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
Mrblbshrtz wrote:Didnt work (the increasing of clips)
Well, it works for me. Dunno what you're doing wrong then.
Re: [code] A Minor Mod (or two...(or three))
Posted: 2009-08-11 15:15
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