Re: [hlcoders] Velocity Clamp

2009-07-30 Thread Harry Jeffery
Actually do you know which bits are modified? I'm using scratch SDK and I dont really want to go through the whole of both files looking for a subtle difference. 2009/7/29 Harry Jeffery harry101jeff...@googlemail.com: Cheers, I'm sure they'll end up on the VDC wiki too. 2009/7/29  

Re: [hlcoders] Velocity Clamp

2009-07-30 Thread Harry Pidcock
WinMerge?? SVN Diff? -- From: Harry Jeffery harry101jeff...@googlemail.com Sent: Thursday, July 30, 2009 9:47 PM To: james1...@gmail.com; Discussion of Half-Life Programming hlcoders@list.valvesoftware.com Subject: Re: [hlcoders] Velocity Clamp

Re: [hlcoders] Velocity Clamp

2009-07-30 Thread Richard Slaughter
@list.valvesoftware.com Subject: Re: [hlcoders] Velocity Clamp Actually do you know which bits are modified? I'm using scratch SDK and I dont really want to go through the whole of both files looking for a subtle difference. 2009/7/29 Harry Jeffery harry101jeff...@googlemail.com

[hlcoders] Velocity Clamp

2009-07-29 Thread Harry Jeffery
I'm modifying the orangebox engine from the MP template. I am trying to re-implement bunnyhopping as a viable way of moving. I believe I have tracked the problem down to CGameMovement::WalkMove(), when ever the player touches the ground the players velocity is instantly clamped to normal movement

Re: [hlcoders] Velocity Clamp

2009-07-29 Thread James Murray
I have fixed that in my mod and I will email you the fix when I get off of work :) only two files to edit On Wed, Jul 29, 2009 at 6:55 AM, Harry Jeffery harry101jeff...@googlemail.com wrote: I'm modifying the orangebox engine from the MP template. I am trying to re-implement bunnyhopping as

Re: [hlcoders] Velocity Clamp

2009-07-29 Thread Harry Jeffery
Ah brilliant, thanks mate! 2009/7/29 James Murray james1...@gmail.com: I have fixed that in my mod and I will email you the fix when I get off of work :) only two files to edit On Wed, Jul 29, 2009 at 6:55 AM, Harry Jeffery harry101jeff...@googlemail.com wrote: I'm modifying the orangebox

Re: [hlcoders] Velocity Clamp

2009-07-29 Thread James1325
Here are the Modified Files. http://www.mediafire.com/file/0j55azewemm/hl2_player.cpp http://www.mediafire.com/file/nm3ynwiwin1/gamemovement.cpp -- This message was sent on behalf of james1...@gmail.com at openSubscriber.com

Re: [hlcoders] Velocity Clamp

2009-07-29 Thread James1325
Here are the Modified Files. http://www.mediafire.com/file/0j55azewemm/hl2_player.cpp http://www.mediafire.com/file/nm3ynwiwin1/gamemovement.cpp -- Saul Rennison wrote : You don't mind sending me the files too, do you? I'll add it to VDC :) Even better, upload them somewhere and paste the

Re: [hlcoders] Velocity Clamp

2009-07-29 Thread Harry Jeffery
Cheers, I'm sure they'll end up on the VDC wiki too. 2009/7/29 james1...@gmail.com: Here are the Modified Files. http://www.mediafire.com/file/0j55azewemm/hl2_player.cpp http://www.mediafire.com/file/nm3ynwiwin1/gamemovement.cpp -- Saul Rennison wrote : You don't mind sending me the

[hlcoders] Velocity

2009-05-01 Thread Dan Clark
Vector vecAiming = GetAutoaimVector( 0 ); SetAbsVelocity(vecAiming * m_thrust); I am trying to move a player forward with a specific thrust or speed. It doesnt seem to work inside hl2mp_player.cpp; GetAutoaimVector( 0 ); is giving me trouble. Is there another way? -- Best regards,

Re: [hlcoders] Velocity

2009-05-01 Thread Janek
You can use pPlayer-EyeVectors(vForward) J. 2009/5/1 Dan Clark lnx...@gmail.com Vector vecAiming = GetAutoaimVector( 0 ); SetAbsVelocity(vecAiming * m_thrust); I am trying to move a player forward with a specific thrust or speed. It doesnt seem to work inside hl2mp_player.cpp;

Re: [hlcoders] Velocity

2009-05-01 Thread Steve Henderson
Check out in_main.cpp on the client side On May 1, 2009 11:00 AM, Dan Clark lnx...@gmail.com wrote: Vector vecAiming = GetAutoaimVector( 0 ); SetAbsVelocity(vecAiming * m_thrust); I am trying to move a player forward with a specific thrust or speed. It doesnt seem to work inside

Re: [hlcoders] Velocity and teleport

2005-02-10 Thread Lance Vorgin
Bomber - that's what Teleport is doing - just changing instantaneous velocity. We use this because it is one of the few scraps server plugins have easy access to. ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

Re: [hlcoders] Velocity and teleport

2005-02-10 Thread British_Bomber
Right sorry about that, I thought by teleport you meant put a player at X X X location, rather than change how they were moving :D I suppose I was just stating the obvious in my respons then :D On Thu, 10 Feb 2005 14:02:34 -0500, Lance Vorgin [EMAIL PROTECTED] wrote: Bomber - that's what

Re: [hlcoders] Velocity and teleport

2005-02-10 Thread Frank Weima
, February 11, 2005 12:23 AM Subject: Re: [hlcoders] Velocity and teleport Right sorry about that, I thought by teleport you meant put a player at X X X location, rather than change how they were moving :D I suppose I was just stating the obvious in my respons then :D On Thu, 10 Feb 2005 14

[hlcoders] Velocity and teleport

2005-02-09 Thread Frank Weima
Hi, After a while testing, trying things and that kind coding I figured out how I can make a slap function. I made one and this one works. You heard the sound when the client is slapped, health is decreasing by damage and the player dies when health get below 0. But there is one thing that now

RE: [hlcoders] Velocity and teleport

2005-02-09 Thread Josh
@list.valvesoftware.com Subject: [hlcoders] Velocity and teleport Hi, After a while testing, trying things and that kind coding I figured out how I can make a slap function. I made one and this one works. You heard the sound when the client is slapped, health is decreasing by damage and the player dies when health get

Re: [hlcoders] Velocity and teleport

2005-02-09 Thread Jon
I teleport the player in my current project this is how it is done. Note that I am warping them to a target entity so your slap would move them relative to their current position instead of too the info_target... pPlayer = UTIL_GetLocalPlayer(); CBaseEntity *pTargetLocation = NULL; pTargetLocation

Re: [hlcoders] Velocity and teleport

2005-02-09 Thread Lance Vorgin
You can only get the user's origin with that (and its windows only since it's an offset). You cannot change it. Err.. says who? *(float*)(pEnt-GetUnknown() + OFFSET_ORIGIN_X) = fX; ... But that method isn't very bright anyway, considering you have the CBaseEntity definition - just access the

Re: [hlcoders] Velocity and teleport

2005-02-09 Thread Frank Weima
Hey Guys, Thanks for this reaction. It will help me with my project. Thanks! If I have any questions, you will hear it. Thanks again, Frank anxiro Weima ___ To unsubscribe, edit your list preferences, or view the list archives, please visit:

Re: [hlcoders] Velocity and teleport

2005-02-09 Thread British_Bomber
couldnt you just take the players velocity and when you send a slap command it just add's a number, say 30 to X and 20 to Y, to the players current velocity? I thought that's how the CS 1.6 and below slap commands worked. I never looked into them but I dont remember them teleporting people. :D

Re: [hlcoders] Velocity and teleport

2005-02-09 Thread tei
I dont know HL, but we on Quake move the player 1 unit up*, to avoid friction. This whas needed or the player will not move, even if you add '40284 40284 40284' to his speed. Yet another option can be to remove ON_GROUND flags or something similar, etc... the problem here can be friction. *On a

Re: [hlcoders] velocity

2003-03-07 Thread Cortex
Of Cortex Sent: March 5, 2003 2:38 PM To: [EMAIL PROTECTED] Subject: [hlcoders] velocity Hi, I'm stuck in a very weird bug there... I want to create a weapon as the discs launcher in Unreal Tournament (1). So, my weapon should throw projectiles (model) that rebounds on each wall

[hlcoders] velocity

2003-03-05 Thread Cortex
Hi, I'm stuck in a very weird bug there... I want to create a weapon as the discs launcher in Unreal Tournament (1). So, my weapon should throw projectiles (model) that rebounds on each wall. I've managed to code the whole thing. Actually, I set a touch function and when the disc's

RE: [hlcoders] velocity

2003-03-05 Thread omega
To: [EMAIL PROTECTED] Subject: [hlcoders] velocity Hi, I'm stuck in a very weird bug there... I want to create a weapon as the discs launcher in Unreal Tournament (1). So, my weapon should throw projectiles (model) that rebounds on each wall. I've managed to code the whole thing. Actually, I

Re: [hlcoders] velocity

2003-03-05 Thread botman
The problem is *after*. The engine (I suppose) changes the velocity of the object and one of its value (x, y or z) is reseted to 0 !! It's always the axis of the plane normal that is reseted to 0 in pev-velocity :( So, my projectile moves along the wall... What's the pev-movetype of the