Remote Controlled Car
Post Reply
Quote
Re: Remote Controlled Car
Posted by sXenoG on Thu Jan 6th at 5:28am 2005


I saw a while back some1 wanted to make a remote controlled car.. I was looking throught he forums but couldnt find the post again.. Neways I wanted to kno if the guy ever got his car to work and or if anyone can maybe point me into a direction of making a remote comtrolled car.. just a small car like a r/c car would be so not a car people actually ride in and drive fromt he seat. thanks




Quote
Re: Remote Controlled Car
Posted by Grash on Thu Jan 6th at 7:05pm 2005


I was putzing around with HL2DM and was playing with the Jeeps in overwatch. Players don't appear in the jeeps.

If there's a way to lock the camera view and then give control of the jeep (or your AC car) to the player it might work.

the down sides to this approach is the player won't be able to look around himself as mouse control in the jeep is degisnated for something else. To allow the player to look around you'll have to mod some code.





Quote
Re: Remote Controlled Car
Posted by Yesurbius on Fri Jan 7th at 4:38am 2005


Just my two cents ... but you could put some cameras and parent them to the Remote Car ...

Then to control the car the person would go into a room and see the different camera views on the walls.

Use a game_ui entity to allow the user to control it. You can activate / deactivate the game_ui .. and once you activate it, any movements the user presses (ie. left, right, fire, fire2) are sent out as Outputs...

So you could have it where the player hits left, and it runs an output which causes your remote car to turn left ... which may be a little tough unless you develop your own car with its own steering mechanism and thrusters.

To be honest - this is how I suspect vehicles actually work in the game




Quote
Re: Remote Controlled Car
Posted by sXenoG on Sat Jan 8th at 5:17am 2005


there we go the game_ui was the entity i was trying to remember I need to do some test maps using it (shouldnt take me long) a couple questions that might be irrelevant after i start testing but does the game_ui when being used actually turn the object like left and right not just move int he direction u go... as well as, is the object u control affected by brushes (like stops when u run into a br



Quote
Re: Remote Controlled Car
Posted by sXenoG on Sun Jan 9th at 4:26am 2005


Ok... Well I got this test map im working on i have the remote control car (its just a box for now) it moves allt he controls work and everything but for some reason i cant get the thing to move perfectly straight even when i first start the car... Im using thrusters to move a physbox around the thrusters are dead center but it acts as if the small box has some odd center of gravity... ive tried a combination of positions of the thrusters all result in the samething happening ive also tried emplimenting using 2 thrusters in front to pull the box but that doesnt even balance it out.. ne suggestions? should i just toss the thruster and try some other method or should i use something other than physbox or nething any suggestions are appreciated




Quote
Re: Remote Controlled Car
Posted by sXenoG on Sun Jan 9th at 7:12am 2005


well i just did some thinking... and thrusters will not be suffiecient tod ow hat i need in the first place.. I'm planning on have it going off several ramps and if its in the air the thrusters wills till be able to propel the vehicle and since this isnt possible... can some1 think ofa nother way i can do this? i was thinking about phys motors but i havent givent hat a try in ne way shape or form... neways ne help would be appreciated




Quote
Re: Remote Controlled Car
Posted by sXenoG on Sun Jan 9th at 6:21pm 2005


bump



Quote
Re: Remote Controlled Car
Posted by sXenoG on Sun Jan 9th at 8:56pm 2005


well neways everyone thanks for not helping on this last bit cuz i feel rather happy that i figured it out all on my own if anyone needs help on it later i might be able to help u out




Quote
Re: Remote Controlled Car
Posted by SuperCobra on Sun Jan 9th at 9:31pm 2005


why dont u maybe make a tutorial on it or something?
[addsig]




Quote
Re: Remote Controlled Car
Posted by sXenoG on Sun Jan 9th at 11:55pm 2005


hmmm perhaps i will after im finished with my map




Quote
Re: Remote Controlled Car
Posted by sXenoG on Mon Jan 10th at 4:13am 2005


although the thruster sytem works and i seem to be getting realistic movement i seemt o find at certaint ime it gets a bit out of hand so if some1 knows that system was used for the actual vehicles im thinking of maybe changing my only thruster sytem to thruster that propel the object and have another that actually rotates the entire car rather than push 1 side further than the other becuz that what seems to cause the problem at certain times it will have the car in a spinout... anyways ne1 have an idea how i can completely rotate the car liek which ent. should i use to rotate it




Quote
Re: Remote Controlled Car
Posted by sXenoG on Mon Jan 10th at 6:33am 2005


well it seems like im the only 1 interested in this topic lol but ill keep it alive just in case some1 can lend me a hand or advice... Neways I althought i can get some pretty realistic driving Im having a couple problems... and i really think to get an actual car i need to not use thrusters at all.. for the first thing whenever i turn its really hard to ge the object to regain control.. second of all if the car flips over of course the thruster alow u to continue to move... so what type of system should i use to make wheels drive the car rather than thrusters? please ne light shedded on this is greatly appreciated




Quote
Re: Remote Controlled Car
Posted by Yesurbius on Mon Jan 10th at 6:21pm 2005


Sorry for not following up on this post for a while ...

What I did when I made mine was I constructed myself an axle with wheels and make a steering mechanism .. simple physics .. the only real problem I encountered was that since everything is triangles and such, I could not make circular or curved surfaces - so it resembled a flintstone type car more than it resembled the real thing.

As for using phys_torque or phys_motor ... I had a serious problem overcoming inertia .. I found I would have to get out and "push" the vehicle to get it going ... but again, I think this is due to the resistance given by the straight edges as opposed to a circular curve.
[addsig]




Quote
Re: Remote Controlled Car
Posted by Bobv on Mon Jan 10th at 8:42pm 2005


There is a "battlebots" map out there, and i believe the author included the map's hammer file (by accident?) so if you can get your hands on it and see how they did it it may be useful

in it it has remote controls you can use to control the "battlebots"

Or is it robot wars....





Quote
Re: Remote Controlled Car
Posted by sXenoG on Mon Jan 10th at 11:51pm 2005


lol battlebots and thanks if you end up finding it b4 i do can you please post it on here so i can download it. Thanks for the info.




Quote
Re: Remote Controlled Car
Posted by Bobv on Tue Jan 11th at 12:01am 2005


well if you dont mind downloading mappack #2 from halflife2files, i think that's it - it definitely has the map, not 100% sure about the vmf

http://halflife2.filefront.com/file/HalfLife_2_Mappack_Volume_2;34071




Quote
Re: Remote Controlled Car
Posted by sXenoG on Tue Jan 11th at 12:32am 2005


thanks im downloading it right now hopefully itll be in there but i really appreciate it all




Quote
Re: Remote Controlled Car
Posted by sXenoG on Tue Jan 11th at 1:17am 2005


Thanks this helped a ton! And the VMF is in there




Quote
Re: Remote Controlled Car
Posted by Bobv on Tue Jan 11th at 1:24am 2005


? quote:
Thanks this helped a ton! And the VMF is in there



i just looked.. it uses thrusters ... i wana try that




Quote
Re: Remote Controlled Car
Posted by Ryley777 on Tue Jan 11th at 1:49am 2005


LOL, i luv the idea of remote control cars...nice! [addsig]




Post Reply