HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Keyboard without lag

02-05-2005, 10:43 PM#1
imwithsstupids
i got an idea for a arena map in firstperson mode (yes it is a true FPS) im just having a bit of trouble with the keyboard. I made keyboard movement for another map a while ago. works flawlessly but causes unplayable lag with more then 3 players. So im coming up with a movement way that has no lag. I have done this by removing triggers running automatically (timed trigs) i have tested it with another person and it shows no lag so far. My entire system only uses 4 triggers (forward left right and turn around) im just concered if this is the best way to do it. it is playable just pretty hard to get used to. pushing left or right makes ur character move with polar offset of 15 degreess. the thing is u needa keep pressing it to turn. i just need to know waht you people think about this idea. remeber its a first person shooter arena. you have to aim :)
02-06-2005, 03:08 AM#2
LegolasArcher
I don't think that movement system would work at all. Repeatidly tapping keys to move would get tiresome at best, not to mention turning around efficiently. This is especially an issue when aiming is involved: if a person isn't at mulitple of 15 degrees away from you, you wouldn't be able to hit him!

Even more troublesome is implimenting height/slope changes: they require an imported height map, and a great deal of JASS (I know exactly how much, for I coded a decent one that still needs alot of polishing). If you did get height and slope to work marginally well, you still would have to find a way to manipulate ajusting the camera accross the z-axis.

I had a similar idea a while ago, but the logistics of implementing ranged, melee, etc; fighting lag; and keeping gameplay interesting was too great to get past the first idea phases.

I am sorry if my post is not completely coherent, I have a pounded headache; and really need to get some sleep.
02-06-2005, 12:10 PM#3
johnfn
Legolas is right; repeatedly tapping keys would get annoying fast, as well as all the other problems he brought up. You may as well just make it a 1 on 1 game, or even a single player campaign... Or you could control using the mouse...
02-06-2005, 01:38 PM#4
imwithsstupids
Quote:
Originally Posted by LegolasArcher

I am sorry if my post is not completely coherent, I have a pounded headache; and really need to get some sleep.

Lol i had a bad ass headache yesterday to a couple iboprophine will help it :). Anyways there is no camera problems it works perfectly. its an arena no terrain changes. just a couple walls here and there. witch the camera is so close to the unit (minimum to target) the walls dont even get in the way! here are waht the controls do

up - moves you forward in yourr position (only one you can hold down)
down- turns you around without moving
left/right - moves you 15 degrees left or right for a bit. the faster you press it the faster you turn
escape - fires
Q/W - turns you about 10 degrees without moving (used for sniping and aiming, thats why its close to escape)

I really want to get this to work. ive never seen a fire person shooter on battle.net before and i can assume that its just not practicle. im going to break that and make a super laggless fps
02-06-2005, 04:55 PM#5
imwithsstupids
yay i think i did it. it works mostly flawlessly allowing quick turn arounds. but is sensitive enough to allow snipeing