Modding Just By Class


(*Xx LyKaN xX*) #1

I wanted to know if anyone knows if it is possible to mod individual classes. Like change the amount of damage a grenade can do thrown by an engineer only. I also want to find out how to change the rate of the recharge bar. Any help would be appriciated. Thanks!

:banana:


(kamikazee) #2

Search where the grenade weapon code calls the G_Damage function and add an if/else check to see if the attacker is an engineer. In that case, call the G_Damage function with a higher amount of damage.

Changing the rate of the chargebar should not be that hard either - just take a look at the scripting code, “setchargetimefactor” command.


(*Xx LyKaN xX*) #3

would i find this in the source? I am sort of new to the whole modding of the game play. i mostly do the skinning and sound paks.

:banana:


(nUllSkillZ) #4

Yes, you will find this in the source code.


(*Xx LyKaN xX*) #5

ok kewl i will have to try that. i just got the source code downloaded so don’t be suprised if i am back here asking more questions. Thanks again!

:banana:


(kamikazee) #6

Make sure you got the right code… Mostly there is a “WET Source” and an “ET SDK” download. The last one is to be used with W:ET 2.60, the first with W:ET 2.55.


(*Xx LyKaN xX*) #7

where you you recommend i download it from then. Is the a website i should get it from?

:banana:


(kamikazee) #8

You could grab one off here: http://www.3dgamers.com/games/wolfensteinet/downloads/. You need one of the three last files, eg et_2.60_sdk_setup.exe if you’re using windows.


(*Xx LyKaN xX*) #9

ok i got the right code and i have opened it up, but now i am not sure where i would find the code i need to edit. there are so many.

:banana:


(nUllSkillZ) #10

What program do you use (MS Visual C++ V6 recommended)?


(*Xx LyKaN xX*) #11

Visual Basics C++ 6


(nUllSkillZ) #12

Have you created a “workspace” (not sure if this is the correcr english term)?
Or opened the one that ships with the W:ET source SDK?

There’s an option in MVC++ V6.
You can search the whole workspace for text.
It’s in the “edit” menu:
“Search files”

So you could try to find the term “G_Damage”.

But you should have some basic knowledge of C first.