News:
SMF - Just Installed!
Welcome,
Guest
. Please
login
or
register
.
AnthraxBio
Return to Castle Wolfenstein
Coding Tutorials
Enabling Firing Around a Corner
« previous
next »
Pages:
[
1
]
Author
Topic: Enabling Firing Around a Corner (Read 258 times)
SkreamerVirii
Administrator
Full Member
Posts: 133
Enabling Firing Around a Corner
«
on:
September 03, 2008, 11:13:01 PM »
In this Tutorial I will demonstrate how to Enable firing around a corner when you ar leaning
Go to line 2703 of bg_pmove.c
you should see this
jpw
player is leaning - no fire
if(pm->ps->leanf != 0 && pm->ps->weapon != WP_GRENADE_LAUNCHER && pm->ps->weapon != WP_GRENADE_PINEAPPLE ) {
return;
}
comment it out like so
// jpw
// player is leaning - no fire
// if(pm->ps->leanf != 0 && pm->ps->weapon != WP_GRENADE_LAUNCHER && pm->ps->weapon != WP_GRENADE_PINEAPPLE ) {
// return;
// }
compile and go shoot a weapon around the corner
it appears to look like it is still shooting from its original postion when your leaning
but you can shoot around the corners its odd needs some vector work i think
«
Last Edit: September 03, 2008, 11:25:50 PM by SkreamerVirii
»
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Project 46 Teaser Screenshots
-----------------------------
=> Screenshots
-----------------------------
Help Wanted!!! Need a job??? Want to show off your skills?!?! Sign Up Today!!! Help Win 50,000 Dollars!!! Money Talks !!! Bullshit Walks!!!
-----------------------------
=> My Resume
=> Team Sign Up and the Application Process. It's 50,000 dollars!!! Are You Serious??? Its ONE (1) Year of HARD WORK!!!
=> A Trusted Advisor/Assistant
=> Film Director
=> Storyboard Artist
=> Camera Man
=> Shipping Leader
=> Scripting Leader
=> UnrealScript Editor
=> Kismet and Matinee Editor
=> Modeling Leader
=> 3d Modelers
=> Art Leader
=> Material Editor
=> Audio Leader
=> Musical Score Composer
=> Sound Fx Creator
=> Single Player Game Designer
=> Gameplay Editor
=> Physics Designer
=> Map Editor
=> Terrain Editor
=> Map Makers
=> Scene Decorators
=> Multiplayer Game Designer
=> Character Designer
=> Weapons Designer
=> Mini Games Designer
=> Reality Checker
=> Game Historian
=> Quality Assurance Manager
=> Alpha Testers
=> Ps3 Engineer
=> Texture and Material Creator
-----------------------------
50,000 Dollar Sign Up!!!
-----------------------------
=> Sign Up Here!!!
-----------------------------
Tools and Utilities - all open source or free to use.
-----------------------------
=> 3d Modeling Programs
=> Image Modification Programs
=> Scripting Programs
-----------------------------
Voice Over Auditions
-----------------------------
=> Sign Up Here!
-----------------------------
Machinimation 2 Videos
-----------------------------
=> Videos
-----------------------------
Quake 3
-----------------------------
=> Q3Prime
=> Coding Tutorials
-----------------------------
Return to Castle Wolfenstein
-----------------------------
=> Coding Tutorials
=> the Third Reich Mod
-----------------------------
Doom 3
-----------------------------
=> Insanitus Extremus Mod
-----------------------------
Quake 4
-----------------------------
=> Strogg Fortress Mod
-----------------------------
Unreal 3
-----------------------------
=> Screenshots
-----------------------------
Halflife 2
-----------------------------
=> Screenshots
-----------------------------
3d Models
-----------------------------
=> Screenshots
-----------------------------
Short Stories by Me
-----------------------------
=> Creation
=> Define Tom
=> Fallen
=> The Power of Poe
=> Frosty the Snowman Remix
=> WAR
-----------------------------
Weekly Newsletter SignUp
-----------------------------
=> Sign Up Here!
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Powered by SMF 1.1.6
|
SMF © 2006-2008, Simple Machines LLC
Loading...
Free SMF 1.1.5 Forum Theme
by
Tamuril
. © 2008.