project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
PR Time:
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Contact Support Team Frequently Asked Questions Register today!

Reply
 
LinkBack Thread Tools Display Modes
Old 08-09-2009, 03:57 PM   #1
Mrblbshrtz
Default [code] A Minor Mod (or two...(or three))

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:
YouTube Video


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?)
Mrblbshrtz is offline
Last edited by Mrblbshrtz; 08-09-2009 at 05:35 PM..
Reply With Quote
Old 08-10-2009, 07:50 AM   #2
[R-DEV]AfterDune
PR Developer
Supporting Member
PR Server License Administrator

[R-DEV]AfterDune's Avatar
Default Re: [code] A Minor Mod (or two...(or three))

Official BF Editor Forums (Powered by Invision Power Board)



To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.



To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]AfterDune is online now Reply With Quote
Old 08-10-2009, 08:30 AM   #3
single.shot (nor)
Default Re: [code] A Minor Mod (or two...(or three))

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
single.shot (nor) is offline Reply With Quote
Old 08-10-2009, 10:59 AM   #4
Mrblbshrtz
Default Re: [code] A Minor Mod (or two...(or three))

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?

Quote:
Originally Posted by Mrblbshrtz View Post
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?)
Mrblbshrtz is offline
Last edited by Mrblbshrtz; 08-10-2009 at 11:06 AM..
Reply With Quote
Old 08-10-2009, 02:53 PM   #5
[R-DEV]crazy11
Lead Beta Tester - US
Project Reality Beta Tester

[R-DEV]crazy11's Avatar
Default Re: [code] A Minor Mod (or two...(or three))

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.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

You miss 100% of the shots you don't take.- Wayne Gretzky
[R-DEV]crazy11 is offline Reply With Quote
Old 08-10-2009, 03:52 PM   #6
[R-DEV]e-Gor
PR Coder Team
Supporting Member
Default Re: [code] A Minor Mod (or two...(or three))

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.)
[R-DEV]e-Gor is offline Reply With Quote
Old 08-11-2009, 07:52 AM   #7
Mrblbshrtz
Default Re: [code] A Minor Mod (or two...(or three))

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?
Mrblbshrtz is offline
Last edited by Mrblbshrtz; 08-11-2009 at 08:52 AM..
Reply With Quote
Old 08-11-2009, 08:18 AM   #8
[R-DEV]e-Gor
PR Coder Team
Supporting Member
Default Re: [code] A Minor Mod (or two...(or three))

No. It needs to be compressed in zip files.
[R-DEV]e-Gor is offline Reply With Quote
Old 08-11-2009, 08:55 AM   #9
Mrblbshrtz
Default Re: [code] A Minor Mod (or two...(or three))

Project Reality Forums - View Profile: Djuice

Djuices pr forums profile page
Mrblbshrtz is offline Reply With Quote
Old 08-11-2009, 09:39 AM   #10
[R-DEV]e-Gor
PR Coder Team
Supporting Member
Default Re: [code] A Minor Mod (or two...(or three))

Quote:
Originally Posted by Mrblbshrtz View Post
Didnt work (the increasing of clips)
Well, it works for me. Dunno what you're doing wrong then.
[R-DEV]e-Gor is offline Reply With Quote
Reply


Tags
code, minor, mod, pack, twoor
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:19 PM.


Powered by: vBulletin. ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2012, Project Reality.