Changing the version

Ask questions, discuss ideas, get answers
Post Reply
Kansas1327
Posts: 3
Joined: Fri Jun 06, 2014 6:01 am

Changing the version

Post by Kansas1327 »

When you start BF1942 and go to the main menu in the bottom left corner it shows the version you are on (v1.61), and also when you go to choose to activate a mod. How do I change the version and description it shows? I remember doing this years ago but have since forgotten.
Diamondback
Posts: 617
Joined: Mon Oct 01, 2012 3:13 pm
Location: Canada
Contact:

Re: Changing the version

Post by Diamondback »

Edit the init.con of the mod, which you can find in the "bf1942" folder which is located in the "Mods" folder.

Open it with Notepad/Wordpad and you will see the line which defines the version of the mod as well as another that includes a short description of the mod. Here's how I have my init.con set up:

game.CustomGameName battleinf_42
game.addModPath Mods/battleinf_42/
game.addModPath Mods/BF1942/
game.setCustomGameVersion 0.1
game.setCustomGameUrl "http://www.battleinf-42.com"
game.customGameInfo "An honest depiction of Battlefield 1942 infantry by Black Mamba"

Game.setMenuMusicFilename "music/slaughter4.bik"
Game.setLoadMusicFilename "music/vehicle4.bik"
Game.setWinMusicFilename "music/vehicle3.bik"
Game.setLoseMusicFilename "music/menu.bik"
Game.setCampaignLoseMusicFilename "music/theme2.bik"
Game.setDebriefingMusicFilename "music/briefing.bik"

The commands in red refer to what you want to edit.
See my Strasbourg map project here.
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Changing the version

Post by Swaffy »

I remember being being a dork and changing my mod's version number to "Butt" just for laughs.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
freddy
Posts: 1267
Joined: Sun Oct 18, 2009 4:58 pm

Re: Changing the version

Post by freddy »

So it doesn´t have to be a number then :)
Post Reply