Announcement

Collapse
No announcement yet.

Driving/Police Chase

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Driving/Police Chase

    Okay, tell me if this is going too far...but if not, this could be a really fun addition to some people's games, if this is a question that can be answered. As mentioned before in other topics, I am doing a kind of simple, (though it is losing the simplicity by adding things like this, lol) restaurant/fast food type of sim. I wanted there to be a driving portion in the beginning of the game, and possibly at other parts where you have to get around town or get to this restaurant.

    What I am wondering is as follows:
    1.) As a mini game, I want to be able to make a small chunk of city in a map editor or dungeon editor, from an overhead view, where you need to drive around town. I wanted to see if I could make stoplights, various events that drive around that you can't crash into, and I want to make it so if you run a stoplight, perhaps the police would go after you. Now, I understand perhaps for the lights you could do a timed action script or something similar, where if it is red, the variable would change, and you could have the police be on a page that the condition is the red light variable being activated, and that variable would turn off if it was green, etc. I was wondering if anyone had any good ideas for this.

    2.) Otherwise, if anyone could tell me how to make a game, like an old nes game, where you drive down a stretch of road, and the events(other cars) are just there, and you are forced to be moving down the road at quick speeds, and just dodge the obstacles by either moving up or down on the road from an overhead view, kinda like the old GTAs, and such. If anyone could tell me how to do that...to make it so you have to move down the road (automatically) and you have to move up or down, and if you hit an obstacle, you crash, that would be awesome. Thanks in advance
    "What we do in life echoes in eternity"-Gladiator

    #2
    Re: Driving/Police Chase

    A simple game, eh? This seems like it is going to get complicated fast. Anyway, with vehicles there are only a car and truck to choose from so if your wanting to drive around with other cars they will look very similar. If you would want to find ways around this (if you haven't already) I suggest maybe asking Rodak, he is pretty good at stuff like that. The game sounds like it is getting really complicated, but it is a neat idea. Sorry, I coudn't anwser your questions, but I thought I should point out that little detail. I wish you good luck with your game. This sounds like it could be fun.
    I had to change accounts. I'm here now - http://www.pavilionboards.com/forum/member.php?u=1475

    Comment


      #3
      Re: Driving/Police Chase

      Originally posted by Jamos
      Anyway, with vehicles there are only a car and truck to choose from so if your wanting to drive around with other cars they will look very similar. If you would want to find ways around this (if you haven't already) I suggest maybe asking Rodak, he is pretty good at stuff like that.
      Uh, Oh... I'm getting a reputation...

      Anyway, there are several ways around this. The easiest way is to recolor the vehicles.

      Or try making some in the Visual Effects editor.

      Or even throw in a few Horse and Buggy things, or even rickshaws by putting a person where the horse would go with the cart model.

      But to answer some of your actual questions:

      The police chase should be easy enough if your roads are straight. I'd suggest having the pigs... I mean police (although using the pig model with little blue VFX hats would be hilarious..) sitting in the middle of the road at 100% transparency and with bypass objects turned on. Then when the conditions are met just make them visible and use the "to leader" movement command adjusting the speed as needed.

      Turns might require using pre-set movement paths, but this leads to detection problems with collisions mentioned in another recent post (a problem I am wrestling with for the Pseudo Pac-Man mini game in Videogamedrome).

      The whole thing sounds like it could be done and even be fun to play/make.

      Feel free to ask questions if you run into problems with specifics.

      Peace.

      MOO!




      Comment


        #4
        Re: Driving/Police Chase

        As a mini game, I want to be able to make a small chunk of city
        I would have to hope that the buildings and everything would be scaled down some. The bigger your buildings, the less of them you'll be able to have.

        If you have 1-story buildings be one block high and so forth, you'll be able to make a decent-sized area.
        Last edited by ErikaFuzzbottom; 11-11-2005, 08:02 PM.
        "What if like...there was an exact copy of you somewhere, except they're the opposite gender, like you guys could literally have a freaky friday moment and nothing would change. Imagine the best friendship that could be found there."

        Comment


          #5
          Re: Driving/Police Chase

          I have a few different ideas of going about this.

          Make a constant Custom Indirect Effect on the Party Leader. From there have the script that goes every step check the party leader's new space in comparison to his old. Once there's no change he must've got stopped by 'crashing' into something.

          Others than that, with an Action Script of an event you can count the frames with a variable and from there make a losing condition based on the current frame count, meanwhile changing the stop light color accordingly.

          Making it move in a direction by itself would be too hard with the other conditions. Also, I'd say you use rpgm2's 3d capabilities.

          Comment


            #6
            Re: Driving/Police Chase

            I'ld also downsize everything. That way you can use less blocks to make a bigger building. I'ld resize stuff so vehicles were 1x1 size. I'ld also have all opposing vehicles act on touch to simulate the crash. A vfx fo the lights with a switch alternating would work fine if ya wanted to program the other vehicles to follow in accordance with it.
            Everything is a Riemann sum of a lot of nothing.

            Comment

            Working...
            X