Announcement

Collapse
No announcement yet.

Independent gravity [only screenshots for now]

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

    Independent gravity [only screenshots for now]

    Just thought I would post some screenshots of this in action. I recall reading somewhere that a bunch of people had been trying to get this sort of stuff to work, so here it is:







    At the moment it's working as a mutator so it can be used with any gametype. However it doesn't quite show the full potential on normal maps since in the playtesting we've done you usually end up just running around on the ground as that's where all the pickups are.

    My plan is for a couple of friends and I to make a proper escher style map that has no real 'floor' or 'ceiling' or 'walls' and release it along with the mutator at the same time. That should be ready in a few months at the very latest (:

    #2
    Wow, that looks fun! I would download it if I played UT2k4 at all anymore...

    Comment


      #3
      wow !

      is this kind of Magnet shoes and can walk wall and ceiling upside down ? if so I really want :up:

      Comment


        #4
        Howdy!

        As a mapper, I'm extremely interested in what you have going here. I have a rather special sort of world planned for one of my upcoming maps, and am currently using some disguised warpzones to do the trick of variable gravity. They come with inherent problems such as glitches and intereference with hitscan weapons. So I beg to ask: How did you do it?!

        Is the gravity truly variable, as in setting a zone's gravity direction and having players automatically rotate to that direction, or do they simply stick to all surfaces so that you can walk up any walls? Basically, can the effect be limited so that, say, you can walk on 8 walls of a cylinder, but not the ceiling or floor? Let me know, because you've done something very cool here. And, if you don't mind, I might like to give the effect a shot in my own map. Don't worry, it's not Escher at all... Anyway, great job, can't wait to try this! :up:

        -Chris

        Comment


          #5
          nice!

          Comment


            #6
            we wants it now!

            Comment


              #7
              In random answer format to all your questions:

              yes it works a lot like magnetic boots would. The effect is a proper effect in that it actually modifies the player's acceleration - there's no warp zones or portals or other tricks involved.

              It works by a new class for both the Pawn and PlayerController. At the moment i have both of those running just by mutators.

              Presently gravity is applied relative to the facing of the player - you will always fall in the direction of your feet. this changes when youre touching a wall however, as it is then applied relative to the surface youre standing on. In the air your rotation is quaternion based, meaning that you can look in any direction without gimbal lock. When 'walking', the view is clamped so you can't look too far up or down, just like in normal UT. I also added an extra button for more control in the air - you hold it to roll your character instead of regular turning.

              In all cases, the gravity is stored as a simple vector, so it would be very easy to extend this with code to create point gravity actors or zones that have different gravity directions.

              Still a couple of bugs with it but hopefully I can get those fixed by the time we've made a map.

              Comment


                #8
                Would the bots use the walls too?

                Comment


                  #9
                  levels dont have bot pathing on walls and ceiling

                  Comment


                    #10
                    wasn't really planning on doing any bot AI for it - i dont really understand much about AI.

                    In theory though if someone were to sit down and write code for it it would work, but then again i dont know much about how the editor calculates bot paths and whether that can be changed or not... But if anyone thinks they can do it and wants to help out youd be more than uber welcome to

                    Comment


                      #11
                      can you jump on walls and ceiling

                      as soon as you touch the wall does it allow you to walk on it, or just at the edges

                      Comment


                        #12
                        That looks very cool - I can't count the number of times I've seen the "gravity" question asked. I'd LOVE to build a map with that...

                        Incidentally, is that 2k3?

                        Comment


                          #13
                          *Imagines being able to use the gravity to accelerate the velocity of the BR ball into the infinite, turning it into a lethal projectile.*

                          Comment


                            #14
                            how did i see that coming? >.<

                            Comment


                              #15
                              Originally posted by WinkyBoy
                              Incidentally, is that 2k3?
                              No, UT2K4. I was watching pospi play it in the uni computer lab yesterday.

                              Comment

                              Working...
                              X