Remote Controlled Car

Remote Controlled Car

Re: Remote Controlled Car Posted by sXenoG on Thu Jan 6th 2005 at 5:28am
sXenoG
49 posts
Posted 2005-01-06 5:28am
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
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 :smile:
Re: Remote Controlled Car Posted by Grash on Thu Jan 6th 2005 at 7:05pm
Grash
32 posts
Posted 2005-01-06 7:05pm
Grash
member
32 posts 43 snarkmarks Registered: Jan 5th 2005 Occupation: Developer Location: USA
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.
Re: Remote Controlled Car Posted by Yesurbius on Fri Jan 7th 2005 at 4:38am
Yesurbius
48 posts
Posted 2005-01-07 4:38am
48 posts 5 snarkmarks Registered: Dec 31st 2004
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 :smile:
Re: Remote Controlled Car Posted by sXenoG on Sat Jan 8th 2005 at 5:17am
sXenoG
49 posts
Posted 2005-01-08 5:17am
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
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
Re: Remote Controlled Car Posted by sXenoG on Sun Jan 9th 2005 at 4:26am
sXenoG
49 posts
Posted 2005-01-09 4:26am
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
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 :smile:
Re: Remote Controlled Car Posted by sXenoG on Sun Jan 9th 2005 at 7:12am
sXenoG
49 posts
Posted 2005-01-09 7:12am
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
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 :smile:
Re: Remote Controlled Car Posted by sXenoG on Sun Jan 9th 2005 at 6:21pm
sXenoG
49 posts
Posted 2005-01-09 6:21pm
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
bump
Re: Remote Controlled Car Posted by sXenoG on Sun Jan 9th 2005 at 8:56pm
sXenoG
49 posts
Posted 2005-01-09 8:56pm
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
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 :smile: if anyone needs
help on it later i might be able to help u out :smile:
Re: Remote Controlled Car Posted by SuperCobra on Sun Jan 9th 2005 at 9:31pm
SuperCobra
184 posts
Posted 2005-01-09 9:31pm
184 posts 28 snarkmarks Registered: Jan 2nd 2005 Location: Oregon,USA
why dont u maybe make a tutorial on it or something?
Re: Remote Controlled Car Posted by sXenoG on Sun Jan 9th 2005 at 11:55pm
sXenoG
49 posts
Posted 2005-01-09 11:55pm
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
hmmm perhaps i will after im finished with my map :smile:
Re: Remote Controlled Car Posted by sXenoG on Mon Jan 10th 2005 at 4:13am
sXenoG
49 posts
Posted 2005-01-10 4:13am
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
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
Re: Remote Controlled Car Posted by sXenoG on Mon Jan 10th 2005 at 6:33am
sXenoG
49 posts
Posted 2005-01-10 6:33am
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
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
Re: Remote Controlled Car Posted by Yesurbius on Mon Jan 10th 2005 at 6:21pm
Yesurbius
48 posts
Posted 2005-01-10 6:21pm
48 posts 5 snarkmarks Registered: Dec 31st 2004
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.
Re: Remote Controlled Car Posted by Bobv on Mon Jan 10th 2005 at 8:42pm
Bobv
198 posts
Posted 2005-01-10 8:42pm
Bobv
member
198 posts 40 snarkmarks Registered: Jan 9th 2005 Occupation: n/a Location: USA
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....
Re: Remote Controlled Car Posted by sXenoG on Mon Jan 10th 2005 at 11:51pm
sXenoG
49 posts
Posted 2005-01-10 11:51pm
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
lol battlebots :razz: 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.
Re: Remote Controlled Car Posted by Bobv on Tue Jan 11th 2005 at 12:01am
Bobv
198 posts
Posted 2005-01-11 12:01am
Bobv
member
198 posts 40 snarkmarks Registered: Jan 9th 2005 Occupation: n/a Location: USA
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
Re: Remote Controlled Car Posted by sXenoG on Tue Jan 11th 2005 at 12:32am
sXenoG
49 posts
Posted 2005-01-11 12:32am
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
thanks im downloading it right now :biggrin: hopefully itll be in there but i really appreciate it all :smile:
Re: Remote Controlled Car Posted by sXenoG on Tue Jan 11th 2005 at 1:17am
sXenoG
49 posts
Posted 2005-01-11 1:17am
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
Thanks this helped a ton! :biggrin: And the VMF is in there :smile:
Re: Remote Controlled Car Posted by Bobv on Tue Jan 11th 2005 at 1:24am
Bobv
198 posts
Posted 2005-01-11 1:24am
Bobv
member
198 posts 40 snarkmarks Registered: Jan 9th 2005 Occupation: n/a Location: USA
Thanks this helped a ton! :biggrin: And the VMF is in there :smile:
:biggrin: i just looked.. it uses thrusters ... i wana try that
Re: Remote Controlled Car Posted by Ryley777 on Tue Jan 11th 2005 at 1:49am
Ryley777
4 posts
Posted 2005-01-11 1:49am
Ryley777
member
4 posts 0 snarkmarks Registered: Jan 11th 2005
LOL, i luv the idea of remote control cars...nice!
Re: Remote Controlled Car Posted by sXenoG on Tue Jan 11th 2005 at 4:01am
sXenoG
49 posts
Posted 2005-01-11 4:01am
sXenoG
member
49 posts 5 snarkmarks Registered: Dec 24th 2004
see they just had the right postioning of thrusters i had real problems getting them right but that just made it work out