| Editing Wolfenstein: Enemy Territory Splash Damage's official support and discussion forum for Level Design in Wolfenstein: Enemy Territory. |
![]() |
| Thread Tools |
|
|
#1 |
|
Splash Damage Update
Most Recent Awards:
|
Hello all,
Because the old "Compiling a mod under Windows" thread was not very well explained. i'm making a new one here now. I included a link with the source also, wich i uploaded myself. The things i edited was only the workspace files, as they are now directly openable in Visual Studo Express 2008. =============================== [COLOR="DarkRed"]On the bottom of this post i included some extra's![/COLOR] =============================== Also, maybe this is sometimes some 'childy' but i wanted to explain it as best, so even beginners can do it. (And we don't get extra extra extra questions about where a particular button is) I Also made a fast VIDEO show so if you don't know where to click or something you can just look at it and watch what you do wrong. http://www.youtube.com/watch?v=PFcQCkEw-qw - [COLOR="Red"]Watch in HD only![/COLOR] [COLOR="DarkRed"]If you already have Visual C++ Express Edition (2008) or Visual Studio you can Skip Step 1[/COLOR] --------------------------------------------------------------------------------------------------- INDEX: Step 1) Downloading Visual Studio Step 2) Getting the source Step 3) Editing some code to test Step 4) Building the source Step 5) Packing up Step 6) Going in-game Extra 1) Adding MP40 to ALLIES and THOMPSON to AXIS Extra 2) Getting ETPUB --------------------------------------------------------------------------------------------------- Step 1) Downloading Visual Studio - To Top Download Visual C++ 2008 Express Edition here.http://www.microsoft.com/express/download/default.aspx Scroll down to the bottom and select language you like and press Download. Save it and run it (File is about 2,6MB). Just press overall next and accept license just as normal setup. There are 2 optional products: Microsoft Silverlight and SQL Server. I recommend NOT to install them by now, as you don't need them and it takes extra time. Now it's downloading all the needed stuff - Wich is around 92MB. After installing the installer asks if you want to register, it's not necessary now but it's an advice to do it because then you can use it for more then 30 days. Congratulations, you installed Visual Studio 2008 ![]() --------------------------------------------------------------------------------------------------- Step 2) Getting the source - To Top [COLOR="DarkRed"]When you are serious gonna make a mod, i recommend that you use the ETPUB source (found in Extra - 2) as this already contains killing sprees and much more. Also NoQuarter and Jaymod are build on it so [/COLOR]Download the Source HERE: http://www.unitedgamingresource.com/...WET_Source.zip This is 100% trustable file, it's just latests ET source but i converted it already to Studio 2008 files so you don't have to do the conversion. Extract the .ZIP anywhere you want, but a suggestion is NOT TO extract it in one of your ET directories. Open up /src/wolf.sln [COLOR="DarkRed"]Oke, you can skip Step 3 if you just want to go now with no modification, else i will make an example of changing a clip size from a MP40. It is recommended, as you can quickly see later or it worked out or not.[/COLOR] --------------------------------------------------------------------------------------------------- Step 3) Editing some code to test - To Top Here I'm showing how to change the clip size from MP40 and Thompson to 32 Expand cgame and then expand source files and search for bg_misc.c Press Control+G (Goto) and type 148. This will bring you directly to the line of the MP40 section. Change the numbers 30 to 32 there. May also do this in line 153 (Thompson) --------------------------------------------------------------------------------------------------- Step 4) Building the source - To Top Press right mouse on Solution 'wolf' and press Build Solution. Just ignore all the warnings for now, those doesn't matter. Now you just made a DEBUG build, if you are releasing your mod set the build option to Release. --------------------------------------------------------------------------------------------------- Step 5) Packing up - To Top Testing your mod, you first have to pack up 2 files. It can be done with winrar or any other program that supports packing of ZIP. The files to pack up are: cgame_mp_x86.dll and ui_mp_x86.dll those are both client files. The qagame_mp_x86.dll is a server file, you don't packup that file. Just change the extension from .zip to .pk3. Then just call it something like mymod.pk3 for now. Now go to your ET installation, although it's not recommend to use your ET-Play installation it's possible. Make a new directory, for example mymod. Place the mymod.pk3 and the qagame_mp_x86.dll in your mod folder. --------------------------------------------------------------------------------------------------- Step 6) Going in-game - To Top I'm not gonna do it the hard way so: make a extra shortcut to ET.exe and give it an extra parameter: +set fs_game mymod where mymod is the folder where you placed in your mod. Then just press HOST GAME ans START SERVER. Just join a team now, if you did step 3 you see now that the clip size is 32 in stead of reguler 30. CONGRATULATIONS, You just build your own mod! --------------------------------------------------------------------------------------------------- [COLOR="DarkRed"]EXTRA'S[/COLOR] --------------------------------------------------------------------------------------------------- Extra 1) Adding MP40 to ALLIES and THOMPSON to AXIS - To Top Oke here i will explain how to add MP40 to Allies and Thompson to Axis, it's actually quite easy. At first, expand game, then expand source files and open up bg_classes.c Basicly under every WP_THOMPSON, add WP_MP40 and under every WP_MP40 in the next section add WP_THOMPSON. Compile everything and redo earlier steps. IN-game result is now this: http://gamemaps.nl/et/src/screenshot.png The code gets this: http://gamemaps.nl/et/src/bg_classes.c --------------------------------------------------------------------------------------------------- Extra 2) Getting ETPUB - To Top First install SVN: http://tortoisesvn.net/downloads, Then make a new folder, for example ETPUB en press right mouse button->SVN Checkout THen give this link: http://svn2.assembla.com/svn/etpub/trunk/ Open src/wolf-vs2k8.sln and do the Build step again. Now goto the folder /Debug of /Release (Depending on what kind of build you made. And voila - There are the .dll's again! Don't forget to also include the etpub pk3 (client) and replace your dlls by them, else you have much missing files
__________________
SDU & ActiveGamer (People want to help?) Badman! Badman - "I'm glad you're feeling giggly today" Salteh: Paul: What's up? Salteh: 'the sky!' Last edited by Paul; 8th Mar 2010 at 15:58. Reason: new source download location! |
|
|
|
|
|
#2 |
|
Pixelated Dot
Posts: 1,187
Location:
Tartu, Estonia Most Recent Awards:
|
Nice work you got there scary. You found time off your ET Dutch project to write a tutorial for other new mod makers. It's alot more easier to understand then the earlier sticky. Hopefully this will get to be a sticky.
|
|
|
|
|
|
#3 |
|
Tapir Stalker
Most Recent Awards:
|
Thanks for the tutorial.
As far as I know it's not possible to crosscompile for Linux under Windows. Whereas under Linux it's possible to compile the source for Linux and crosscompile the source for Windows. |
|
|
|
|
|
#4 |
|
Splash Damage Update
Most Recent Awards:
|
Yes under windows you actually CAN compile a .so ;)
I will make that later, it's really possible!.
__________________
SDU & ActiveGamer (People want to help?) Badman! Badman - "I'm glad you're feeling giggly today" Salteh: Paul: What's up? Salteh: 'the sky!' |
|
|
|
|
|
#5 |
|
Answering machine
Most Recent Awards:
|
wow cool, I was thinking of trying some of this stuff so this will help alot thanks!
__________________
![]() "The human race is a self-destructive species that reduces every single problem to counting coins, all the rest doesn't matter." |
|
|
|
|
|
#6 |
|
Aromak.
Most Recent Awards:
|
Nice tutor!
__________________
|
|
|
|
|
|
#7 |
|
Splash Damage Update
Most Recent Awards:
|
Some people asked so i will try to explain these things:
How to compile ETPUB How to add mp40 to allies and visa-versa.
__________________
SDU & ActiveGamer (People want to help?) Badman! Badman - "I'm glad you're feeling giggly today" Salteh: Paul: What's up? Salteh: 'the sky!' Last edited by Paul; 11th Aug 2009 at 11:37. |
|
|
|
|
|
#8 |
|
Senior Member
Posts: 109
Location:
Embryo Most Recent Awards:
|
Awesome post. Will be waiting for more tutorials.
|
|
|
|
|
|
#9 |
|
Splash Damage Update
Most Recent Awards:
|
I added the ETPUB Piece, i'm now cleaning up the thread a bit so it's more clear (parts).
__________________
SDU & ActiveGamer (People want to help?) Badman! Badman - "I'm glad you're feeling giggly today" Salteh: Paul: What's up? Salteh: 'the sky!' |
|
|
|
|
|
#10 |
|
Senior Member
Posts: 109
Location:
Embryo Most Recent Awards:
|
|
|
|
|
|
|
#11 |
|
Splash Damage Update
Most Recent Awards:
|
No problem, at your service
__________________
SDU & ActiveGamer (People want to help?) Badman! Badman - "I'm glad you're feeling giggly today" Salteh: Paul: What's up? Salteh: 'the sky!' |
|
|
|
|
|
#12 |
|
AFK
Posts: 4,161
Location:
't looks like a room Most Recent Awards:
|
Ah, I guess you installed a full Cygwin installation then?
|
|
|
|
|
|
|
|
Splash Damage Mascot
Most Recent Awards:
|
The anchor links make it extra awesome!
__________________
|
|
|
|
|
|
#14 |
|
Splash Damage Update
Most Recent Awards:
|
No but, updated my thread.
[COLOR="DarkRed"]THX TO SALTEH FOR MAKING A NEW FUNCTION![/COLOR]
__________________
SDU & ActiveGamer (People want to help?) Badman! Badman - "I'm glad you're feeling giggly today" Salteh: Paul: What's up? Salteh: 'the sky!' |
|
|
|
|
|
#15 |
|
Quiz Master
Most Recent Awards:
|
omg, now I see what you mean with anchors
![]() cool indeed and veeery handy
__________________
I <3 N - ( . ) ( . ) I love entities Project: Wolf Records Map: Kha Ran Than Map: et_Carentan Splash Damage Update |
|
|
|
|
|
#16 | |
|
AFK
Posts: 4,161
Location:
't looks like a room Most Recent Awards:
|
Quote:
I'm just curious how you pulled it off, you see. |
|
|
|
|
|
|
#17 |
|
ID Tech 3 <3
Most Recent Awards:
|
Thanks! The tutorial worked flawlessly for me! I've only done the ammo change. Going to try extras now then figure out some other stuff
thanks for taking time to make such great topic. |
|
|
|
|
|
#18 |
|
Senior Member
Posts: 109
Location:
Embryo Most Recent Awards:
|
Mp40/Thompson thing doesn't work for Etpub when I follow your tutorial. Is their anyway to fix it? Thing is i no matter what i choose mp40/thompson as an allies but i will only get thompson and as axis i will only get mp40 although it shows both in menu.
Thanks. Last edited by hellreturn; 17th Aug 2009 at 17:54. |
|
|
|
|
|
#19 |
|
ETnam MOD
Most Recent Awards:
|
|
|
|
|
|
|
#20 |
|
ID Tech 3 <3
Most Recent Awards:
|
I'm having same problem as hell monkey also with that mp40 and thompson not working with etpub. I'd also be looking forward to figure out how to compile .so under windows too
|
|
|
|
![]() |
| Tags |
| compile, compile mod under windows, compiling mod, mod creation, own mod, tutorial, windows, windows build |
| Thread Tools | |
|
|
Copyright ©2001 - 2010 Splash Damage Ltd. All rights reserved.