ID:175353
![]() May 3 2003, 7:42 am
|
|
How could i make a car movement system like in OneFishDown's GTA game? (http://games.byond.com/hub/OneFishDown/GTAonline)
|
Now Now, Dont say that! What was onefishdown's first game? GTAO! Even though onefishdown is very 1337 im sure you could do it. Try looking the direction procs up in the help files. North() South() etc....
|
Well, north, south, east and west aren't going to do anything because in GTA there are about a million directions you can go. Also, please don't make another GTA game, somebody already completely copied Onefishdown's.
~Aleis~ |
The only car-related thing I used the bump proc for is damaging the car when you hit something.
It uses client/North()/Northeast()/East()/etc. When you hit a key, if you are facing that direction then it moves you forward, but, if you aren't facing that direction then it turns you towards the direction that you pressed and it moves you forward. |
I tried to make it so if your direction is not North you go forward and turn but it doesnt work...Here's what i tried:
client North() if(src.dir == North) step(mob,North) else step(mob,mob.dir) mob.dir = turn(North,45) Whats wrong with this and how can i fix it? |
Koolguy900095 wrote:
plz help Try checking the other posts in this thread, someone already gave ya a "heads up" so to speak. http://developer.byond.com/hub/Theodis/AltMoveDemo |
I want to use that but how do you add to is so if your going forward and you press back you stop but if your not moving you go backwards?
|
~Aleis~