mod request

This is a discussion on mod request within the RtCW Modding, Mapping and Editing forums, part of the Return to Castle Wolfenstein category; Millenia ago I posted a request for a mod on here but lost track of time. So I'm wondering if ...

RtCW Modding, Mapping and Editing Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1  
Old March 17th, 2009
Five-Star General
 
Join Date: November 12th, 2005
Location: America
Posts: 46
Rep Power: 0
azothsolo is a n00b
Default mod request

Millenia ago I posted a request for a mod on here but lost track of time. So I'm wondering if any there were any modders (no, not moderators. . .) out there in cyberspace that would possibly lend me a hand in assisting me create a mod of sorts.

The quick lowdown is I'm once again looking to eliminate the overheating thing with the STEN and Venom gun strictly for singleplayer only on RTCW. Server-side, client-side, whatever, as long as it works for single player. And no I'm wanting this for Enemy Territory, just the good ol' fashioned Return to Castle Wolfenstein game. Also, I was wondering if the ammo stats could be increased signifigantly, such as increasing Venom gun's ammo capacity from 500 to 5000 rounds per clip. . . and the overall ammo capacity from 999 rounds to 99999 (yes that had exactly five 9's in it).

Any help would be appreciated.
Reply With Quote
  #2  
Old March 19th, 2009
Chrissstrahl's Avatar
[dM] President/HZM Head
 
Join Date: September 20th, 2006
Location: Germany
Posts: 629
Rep Power: 7
Chrissstrahl should make some friends
Send a message via ICQ to Chrissstrahl Send a message via AIM to Chrissstrahl Send a message via MSN to Chrissstrahl Send a message via Yahoo to Chrissstrahl Send a message via Skype™ to Chrissstrahl
Default Re: mod request

The following post is not a tutorial it is just a overview how I did it.

I've downloaded this RTCW Mod Source Code 1.41, Wolfenstein: Enemy Territory Downloads, Wolfenstein: Enemy Territory Source Code

Installed that: Download Microsoft Visual C++ 2005 Express Edition - - Enables you to write managed applications for the .NET Framework - Softpedia

And modified this C++ code (in file: Wolf_source_141/SP/SP_source/src/game/bg_misc.c):

STEN

----------------------------------------------
PHP Code:
//MAX                USES    MAX        RELOAD    FIRE              NEXT    HEAT,    COOL,    MOD,    ...
//AMMO               AMT.    CLIP        TIME      DELAY            SHOT
{    MAX_AMMO_9MM,    1,        32,        3100,    DELAY_LOW,        110,    700,    300,    MOD_STEN                },    //    WP_STEN                    // 25 
in to this:
PHP Code:
//MAX                USES    MAX        RELOAD    FIRE               NEXT    HEAT,    COOL,    MOD,    ...
//AMMO              AMT.    CLIP         TIME     DELAY              SHOT
{    MAX_AMMO_9MM,    1,        32,        3100,    DELAY_LOW,        110,    0,        0,        MOD_STEN                },    //    WP_STEN                    // 25 
So heat and cool is now ZERO so it does simply not over heat any more.


VENOM
----------------------------------------------
PHP Code:
//MAX                USES    MAX        RELOAD    FIRE              NEXT    HEAT,    COOL,    MOD,    ...
//AMMO               AMT.    CLIP        TIME      DELAY            SHOT
{    MAX_AMMO_VENOM,    1,        500,    3000,    750,            45,       5000,   200,    MOD_VENOM                },    //    WP_VENOM                // 8 
in to this:
PHP Code:
//MAX                USES    MAX        RELOAD    FIRE              NEXT    HEAT,    COOL,    MOD,    ...
//AMMO               AMT.    CLIP        TIME      DELAY            SHOT
{    MAX_AMMO_VENOM,    1,        500,    3000,    750,            45,        0,    0,    MOD_VENOM                },    //    WP_VENOM                // 8 
PHP Code:
#define MAX_AMMO_VENOM    1000 
In to this:
PHP Code:
#define MAX_AMMO_VENOM    99999 
----------------------------------------------

Compiled the code as release for win32.
Grabbed the dll(qagamex86.dll) file from Wolf_source_141/SP/SP_source/src/release and placed it in Return to Castle Wolfenstein/Return to Castle Wolfenstein/.

Before I placed the ddl in theer i did make a copy of the original qagamex86.dll

I have attached you the dll, I do not know if it works correctly, you have to try it, all I know is that it does not crash the game .
And here is the visual c++ 2005 express ready source code: www.chrissstrahl.de/temp/Wolf_source_141.zip, plz grab it it will be only stored temporary here.

There are two ways to access this source code:
Open the file Wolf_source_141/SP/SP_source/src/game/game.sln or go to FILE -> OPEN -> PROJECT/SOLUTION -> Wolf_source_141/SP/SP_source/src/game/game.dsw and click yes at all following dialogs

I'm afraid you have to start a new singleplayer game or access a map via console before this changes do apply to the game (/spmap dark), but you will start without weapons, perhaps you try it with cheats.
Attached Files
File Type: zip rtcw_weapon_mod_sten+venom.zip (344.1 KB, 27 views)
__________________
Co-op Developer Group
Reply With Quote
  #3  
Old March 20th, 2009
Five-Star General
 
Join Date: November 12th, 2005
Location: America
Posts: 46
Rep Power: 0
azothsolo is a n00b
Default Re: mod request

Well you certainly got it right. I placed the mod in the game's main directory folder, fired up the game and got it to work like a charm. The Sten and Venom no longer overheat anymore!!! YAY!!! I'm ek-static now!!! For a solid half hour (at least) all I heard was the beautiful sound of the minigun mowing down the "Jerrys" and the undead on the game. I did not wanna tempt fate and incur the wrath of the admin gods, so I wrote "Jerrys" in there instead of "Not-sees," 'cause I know that on some websites people these days are way too easily provoked when they see a certain word on a public forum. Anyways, thanks for the hard work, I REALLY appreciate it.

So how long did it take you to do this BTW? Looks like to me the other weapon values can be modified (such as clips and ammo numbers) somewhat easily.
__________________
hi
Reply With Quote
  #4  
Old March 21st, 2009
Chrissstrahl's Avatar
[dM] President/HZM Head
 
Join Date: September 20th, 2006
Location: Germany
Posts: 629
Rep Power: 7
Chrissstrahl should make some friends
Send a message via ICQ to Chrissstrahl Send a message via AIM to Chrissstrahl Send a message via MSN to Chrissstrahl Send a message via Yahoo to Chrissstrahl Send a message via Skype™ to Chrissstrahl
Default Re: mod request

It didn't take very long just a couple of minutes, it did take much longer to install the game

It's simple if you have done this a few times before.
To Mod this game is very easy once you got the IDE working.
__________________
Co-op Developer Group
Reply With Quote
  #5  
Old March 22nd, 2009
Five-Star General
 
Join Date: November 12th, 2005
Location: America
Posts: 46
Rep Power: 0
azothsolo is a n00b
Default Re: mod request

All this seems a little confusing to me. I wanna modify the rest the weapon stats myself but can't figure out where to go from here.

I got all the stuff downloaded and installed, figured out how to open the Wolf_source_141/SP/SP_source/src/game/bg_misc.c and change the ammo values in there. . . but beyond that my mind went blank.

I'll be straight up about this: as a complete newb to this, I have almost no idea how to do. . . whatever it does to make this thing. So in short, is there some sort of blow-by-blow way of doing this?

To further make things interesting, do I have to access the bg_misc file through the game.sln source code file in order to modify the values and also how do ya get to the point to make/replace the DDL qagamex86 file so in-game it changes the guns around?

I thank you for your help.

Hope my questions weren't too complicated.
__________________
hi
Reply With Quote
  #6  
Old March 23rd, 2009
Chrissstrahl's Avatar
[dM] President/HZM Head
 
Join Date: September 20th, 2006
Location: Germany
Posts: 629
Rep Power: 7
Chrissstrahl should make some friends
Send a message via ICQ to Chrissstrahl Send a message via AIM to Chrissstrahl Send a message via MSN to Chrissstrahl Send a message via Yahoo to Chrissstrahl Send a message via Skype™ to Chrissstrahl
Default Re: mod request

Quote:
I'll be straight up about this: as a complete newb to this, I have almost no idea how to do. . .
I'm also new to this, have been programming in a different language for a while. Just ask, so ppl can answer your questions.

Quote:
I got all the stuff downloaded and installed, figured out how to open the Wolf_source_141/SP/SP_source/src/game/bg_misc.c and change the ammo values in there. . . but beyond that my mind went blank.
You need to set the program to compile the code as release. The bar on the top does have a few boxes, in one of this boxes you can select RELEASE, make sure you do.


Quote:
how do ya get to the point to make/replace the DDL qagamex86 file
Once you made your changes go to Build (see image above, it's in the menu), and select Build Solution the very first time the compile will take a few minutes, you need to wait until the program is done with it, it will not take that long the next time unless you make significant file changes.


Once the compile is complete, it should output 0 errors and 0 Failed, similar to this:
Quote:
1>game - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
If you do have errors or failed, plz post them here. Once the compile was successful you will find the qagamex86.dll in
Quote:
Wolf_source_141/SP/SP_source/src/release/qagamex86.dll
I hope that helps

Greetings
Chriss

PS: If you want to modify something else just search (CONTROL + F as in almost every program) the source code for the name of the thing you want to modify, and take your time to look over the code, it will take a while to understand it all.
__________________
Co-op Developer Group
Reply With Quote
  #7  
Old April 1st, 2009
Five-Star General
 
Join Date: November 12th, 2005
Location: America
Posts: 46
Rep Power: 0
azothsolo is a n00b
Default Re: mod request

OH MY ****ING GOD!!! I THOUGHT FOR SURE THE FORUMS HAD BEEN DELETED FOR GOOD!!!

Chirsssstal, you still there?
__________________
hi
Reply With Quote
  #8  
Old April 2nd, 2009
Chrissstrahl's Avatar
[dM] President/HZM Head
 
Join Date: September 20th, 2006
Location: Germany
Posts: 629
Rep Power: 7
Chrissstrahl should make some friends
Send a message via ICQ to Chrissstrahl Send a message via AIM to Chrissstrahl Send a message via MSN to Chrissstrahl Send a message via Yahoo to Chrissstrahl Send a message via Skype™ to Chrissstrahl
Default Re: mod request

Yes, for now.
__________________
Co-op Developer Group
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may 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 -7.