Basically so far i don't have anything set out but have plans in my head of how I can break road sections up into "Building blocks". But i was after some ideas of what kinda of things I should plan for, for example "House Points", like so a car can be heading to home and will pull up on the drive. "Parking Spaces", these will require a little more manouvering once reached rather than being simple road routes. "Bus Stops" too I guess as it would be expected quite a lot of cars would wait if a bus was at a bus stop compared to a normal car just pulling over to park.
Can anyone else think of some others I might have missed out. Baring in mind I don't want to over complicate it to start with but don't want to get into the situation where it will be impossible to alter later to add a feature
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
People walking over those white and black stripes. Not sure what it is called, but cars have to wait (at least here in Norway).
I guess you didn't forget traffic lights either.
And in sqares if there is a queue the road the car want to drive into, he can't drive into it because then he would block the whole traffic square for other cars that wants to go in other direction.
And last but not least. Remember that you guys are driving on the wrong side of the road...
192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
Posts
3,051
Re: After some ideas on a traffic AI
Trains, and all the stuff that goes with 'em, like level crossings etc.
Trams? (Motor)Bikes?
On the vehicle side, how about 'special' vehicles, such as police cars, fire engines etc.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
Ohhh...yeah, I had police cars and ehhh...sick cars..ehhhh..amulances (SP?) in my traffic AI demo for school. Tell me if you need pictures. I have a great tool to get some nice pictures... I found it when I made the DX car game I once started.
BTW, arn't you doing the same at school now SLH? Are we all on the same school......just kidding.
192.168.0.1 Preferred Animal: Penguin Reason for errors: Line#38
Posts
3,051
Re: After some ideas on a traffic AI
Originally Posted by NoteMe
Ohhh...yeah, I had police cars and ehhh...sick cars..ehhhh..amulances (SP?) in my traffic AI demo for school. Tell me if you need pictures. I have a great tool to get some nice pictures... I found it when I made the DX car game I once started.
BTW, arn't you doing the same at school now SLH? Are we all on the same school......just kidding.
Lets see some pics note!
I'm doing mine for fun, nothing to do with Uni.
Quotes:
"I am getting better then you guys.." NoteMe, on his leet english skills.
"And I am going to meat her again later on tonight." NoteMe "I think you should change your name to QuoteMe" Shaggy Hiker, regarding NoteMe
"my sweet lord jesus. I've decided never to have breast implants" Tom Gibbons
I never did so much out of it. We where just supposed to show that we could handle to make a form, and use a timer and handle the message queue in a Windows SDK (as my teacher said) app.
But I can upload some pictures just for fun. But never bothered to add buildings, more find real traffic lights and stuff like that..
I guess everyone understand where I got it from now.......the app I used is really nice. One of the programmers that actualy made the game commented on it, and said it was better then the resource editor they had for the real game..
Thanx some good suggestions there
We would call them Zebra crossings here
As for the Stop signs that is a good one, I'd of made it with just one type of junction (i.e. the Giveway type), doh.
I think a LevelCrossing would work similar to a Zebra Crossing just what uses them. The way/time the cars have to stop differ so I'm not sure if i will make them the same thing yet.
Good one with those boxes at some traffic lights that you shoudln't enter unless you know you can exit .
For police cars I'm not sure yet how this will be done as they practically ignore all the lines on the road sometimes. I think I've got it sorted how cars will react when a police car is near though.
This aint for school but just something to do in my free time for a bit cos i've not been programming all that much recently .
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
Have you thought about the "New York Second"? It is the smallest unit of time ever measured.
It is the amount of time that passes between the traffic light turning yellow and the taxi driver behind you hitting his car horn.
haha
Roundabouts are actually given for free. They would basically be handled as normal routes with Give way points to enter the main path. Mind for Mini roundabouts problems would arise with cars blocking each other off and as a result no one pulling out, I think adding in a bit of randomness would solve that though .
EDIT: Ow yea good one with the Road works too .
Last edited by Electroman; Mar 17th, 2005 at 06:54 PM.
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.
Well kinda but its still made up from the basic building blocks on the road system. I attached a pic to explain it. The green & Red lines show the paths the cars can take. If they enter the roundabout they will start on a green road, the Blue line represtents a Giveway junction, so they will wait ther till there is room to move onto the roundabout. Once on the round about they continue going round they will come upto the Yellow lines, these represt junctions where the car has to decide which route to take (fork in the road, or a left hand turn). And they basically would use the path they wanted from that.
When your thread has been resolved please edit the original post in the thread ()
and amend "-[RESOLVED]-" to the end of the title and change the icon to , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.