Yep. I just did that today. Ripped code from the SMG's grenade launcher.
The organization of the code is kind of strange, because the grenades
the SMG fires, use the class CGrenadeAR2. Kept thinking I was looking at
the wrong thing. Though I guess maybe the SMG and the AR2 use the same
grenade class, but send it different values....not sure on that.

-SuicideCommando

r00t 3:16 wrote:

You bring up a good point.
Because the frags have gravity on them.
Is it possible to use say a grenade as a projectile out of a weapon but
speed it up so it would fire like a bullet?
Then gravity would have a affect on it?


r00t 3:16 CQC Gaming www.cqc-gaming.com ----- Original Message ----- From: "HoundDawg" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Tuesday, January 04, 2005 7:11 PM Subject: RE: Re[4]: [hlcoders] Objects, Physics, and Gravity Concepts


1) That would be to easy. The aim of this whole thing is to make it
harder for the player to hit a target over a large distance.


It's really more of a reality issue.  HL1 and now HL2, the pistol wins,
even
when taking out targets far off in the distance.  I mean, really
far.  Or,
take a simple law of gravity test, make a simple map that uses the full
height possible for a HL2 map (which is significantly greater than in
HL1).
Fire a pistol up in the air.... if it were true, the bullet would
eventually
come down and possibly kill you.

This is why so many players get pissed off playing these games, cuz
they're
always getting pistol whipped a mile away.  Some players can outsnipe
using
a pistol than a player with a sniper rifle and scope.  Heavier weapons
tend
to have either burst fire or greater recoil making them pretty
innacurate.

In a way, you're correct too.  The current bullet weapons allows a
player
to
really use any weapon for close or distance use.  When, in actuality,
the
pistol should be more for close combat, and a rifle for distance.  If
nothing else, I guess a MOD could cause a pistol bullet to explode at a
certain distance.  But, this may be more realistic for energy weapons
like
lasers.

Anyway, my original question was more in the sense of what to use for a
ball
in a sports MOD (e.g. baseball, basketball, or football).  That was
already
answered by making it somewhat of a grenade/projectile weapon rather
than
a
bullet weapon.  Basically, bullet weapons have no gravity effects and
function pretty much like a laser gun would.  This same concept would be
the
same for other weapons like howitzers and possibly flak guns.

- HoundDawg


_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders





_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders





_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



Reply via email to