Wrox Programmer Forums
|
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old July 18th, 2003, 09:59 PM
Registered User
 
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to coop Send a message via MSN to coop Send a message via Yahoo to coop
Default Need some help

I need help programing somthing in C++. I need a movement engine that the movements are the following...could somone tell me...teach me...or write me the code for all this.

This is the commands I want the movement engine to have(they are all keys on the key board)

w = forward
s = backwards
a = stafe left
d = strafe right
space = jump
left ctrl = crouch
e = operate (will explain more in detail below)
r = reload
q = voice chat (in multiplayer)
v = commands menu (for your teammates (both multiplayer & single player))
f = use conversion parts (if equipped)
v = special vision (if equipped)
mouse movement = look
left mouse button = fire selected weapon
right mouse button = zoom (if available on weapon (up to two zoom views,) if a bladed weapon, it will do a slash instead of a chop)
1 = Main Gun
2 = Secondary Gun
3 = Blade
4 = Grenade

I would like to try & include the following abilities...
If the player double taps the following buttons, the effect will occure...
w = boost forward
w held down = glide over the land
s = jump backwards
a = left side jump
d = right side jump
space = double jump


~Get out of my way or die trying~
Reply With Quote
  #2 (permalink)  
Old July 29th, 2003, 07:40 PM
Authorized User
 
Join Date: Jun 2003
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to natmaster Send a message via AIM to natmaster Send a message via MSN to natmaster
Default

is this a gui (visual) program, or is it a console app?

----------------------------
http://aeonofdarkness.com
Reply With Quote









Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.