News: SMF - Just Installed!
 
Welcome, Guest. Please login or register.
+  AnthraxBio
|-+  Return to Castle Wolfenstein
| |-+  Coding Tutorials
| | |-+  Weapons Spread
« previous next »
Pages: [1] Print
Author Topic: Weapons Spread  (Read 246 times)
SkreamerVirii
Administrator
Full Member
*****
Posts: 133


View Profile
« on: September 03, 2008, 11:02:30 PM »

This is as easy as modifying the weapons damge im just showing you were to go to do such things some people may not now so im just making people aware

so open up g_weapons.c and scroll to line 1235

you should see this

else { // JPW NERVE but in multiplayer... new spreads and don't look at g_userAim
switch (weapon) {
case WP_LUGER: return 600;
case WP_SILENCER: return 900;
case WP_COLT: return 800;
case WP_AKIMBO: return 800; //----(SA)added
case WP_VENOM: return 600;
case WP_MP40: return 400;
case WP_FG42SCOPE:
case WP_FG42: return 500;
case WP_BAR:
case WP_BAR2: return 500;
case WP_THOMPSON: return 600;
case WP_STEN: return 200;
case WP_MAUSER: return 2000;
case WP_GARAND: return 600;
case WP_SNIPERRIFLE: return 700; // was 300
case WP_SNOOPERSCOPE: return 700;
}
}

Modify away!

« Last Edit: September 03, 2008, 11:28:46 PM by SkreamerVirii » Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
Free SMF 1.1.5 Forum Theme by Tamuril. © 2008.