+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: Zero G E2

  1. #1
    Wirererer grandpapolly's Avatar
    Join Date
    Aug 2008
    Posts
    283

    Default Zero G E2

    Hey, I was wondering if you could make an E2 chip, maybe with forcers or even applyForce() where if you put something in a specific area, there is no gravity. I have put thrusters on the bottom of props to make it so they are suspended in air, and was wondering if you could apply this concept to a bigger area, possibly without thrusters. Now I am not great with E2, so I am suggesting this. But, I am not putting it into the suggestions and ideas spot, because I also want help learning how to do this.



    Thanks.

  2. #2
    Wire Sofaking ahref's Avatar
    Join Date
    Jul 2008
    Posts
    520

    Default Re: Zero G E2

    wire force field generators, how the hell would thrusters attached to an E2 make things float...
    A-Z Materials - Released!!!!!!!

  3. #3
    Wirererer grandpapolly's Avatar
    Join Date
    Aug 2008
    Posts
    283

    Default Re: Zero G E2

    Lol, nvm about the E2. I mean if there would be one for a big area using applyForce(). But when I used the thrusters, I just changed the force and stuck it on a prop :P

    But I do not mean an extra wire mod, I mean something I can use in a server.

    Is it possible to make an area where if there is anything in it, applyForce() makes it so it floats in the air, but you can move it around?

  4. #4
    Banned Nicolai1's Avatar
    Join Date
    Nov 2008
    Location
    Denmark.
    Posts
    1,251

    Default Re: Zero G E2

    Code:
    @inputs E:entity
    runOnTick(1)
    E:applyForce(vec(0, 0, 9.8)*E:mass())
    Wire E to some entity and it'll have no-gravity simulated

  5. #5
    Wirererer grandpapolly's Avatar
    Join Date
    Aug 2008
    Posts
    283

    Default Re: Zero G E2

    Thank you Nicolai. Yet, I already knew this xD

    I will give you an example.

    I/E:

    I make a big box. Inside of this box, I have an E2 chip. This E2 chip makes it so that everything inside of the box has no gravity. Is this possible? (Maybe not players, only props have no gravity in the box)

  6. #6
    Wire Sofaking Echo51's Avatar
    Join Date
    Feb 2009
    Location
    Denmark
    Posts
    1,489

    Default Re: Zero G E2

    You use thruster on the world prehaps? :P
    Proud of my non-existant life...
    In russia, Expression 2 codes you!
    Quote Originally Posted by Snowden42 View Post
    Nooblishious? That's a signature keeper.

  7. #7
    Wirererer grandpapolly's Avatar
    Join Date
    Aug 2008
    Posts
    283

    Default Re: Zero G E2

    Quote Originally Posted by Echo51 View Post
    You use thruster on the world prehaps? :P
    Could I have a serious comment? xD

  8. #8
    Banned Nicolai1's Avatar
    Join Date
    Nov 2008
    Location
    Denmark.
    Posts
    1,251

    Default Re: Zero G E2

    Code:
    runOnTick(1)
    findInSphere(entity():pos(), 1000)
    find():applyForce(vec(0, 0, 9.8)*find():mass())
    findResult(2):applyForce(vec(0, 0, 9.8)*findResult(2):mass())
    findResult(3):applyForce(vec(0, 0, 9.8)*findResult(3):mass())
    findResult(4):applyForce(vec(0, 0, 9.8)*findResult(4):mass())
    findResult(5):applyForce(vec(0, 0, 9.8)*findResult(5):mass())
    findResult(6):applyForce(vec(0, 0, 9.8)*findResult(6):mass())
    Couldn't you just use that? It's limited but the best way I know of though :/

  9. #9
    Wirererer grandpapolly's Avatar
    Join Date
    Aug 2008
    Posts
    283

    Default Re: Zero G E2

    I will test it now.

    EDIT:

    This does not find the props. If I understand the code properly, I have to add in my own entities. I want it to find the entities, and then make it so they have no weight, and that they suspend in the air.
    Last edited by grandpapolly; 04-12-2009 at 04:56 PM.

  10. #10
    Wire Sofaking mjmr89's Avatar
    Join Date
    Mar 2008
    Posts
    555

    Default Re: Zero G E2

    Physics in gmod does not correlate with physics in real life - that will only slow its fall down. You can use deltas and stuff to make it stay at a set height though...

+ Reply to Thread
Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
proceed-collector
proceed-collector
proceed-collector
proceed-collector
linguistic-parrots
linguistic-parrots
linguistic-parrots
linguistic-parrots