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

Thread: Garry's mod units

  1. #1
    Wire Sofaking Jimlad's Avatar
    Join Date
    Dec 2008
    Posts
    941

    Exclamation Garry's mod units

    I just got around looking at the physics of GMod, and I'm having some serious problems starting out.

    I have two questions, and they're very fundamental but also pretty important. It might even seem stupid at first, but at this point I'm confused because I've seen several cases of the answer not being consistent, depending on the source.

    Please only post if you're reasonably knowledgeable about the subject. I'm not after information like "My friend told me it's this so it must be true". Also, it might be tempting to answer just the one question and think it covers both, but I've split it into two for a good reason, so please answer them separately if you can.
    • Does Garry's Mod use the same length units as Hammer?
    • How long is one GMod unit in "real" length units? (e.g. feet, meters)

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

    Default Re: Garry's mod units

    Quote Originally Posted by Jimlad View Post
    • How long is one GMod unit in "real" length units? (e.g. feet, meters)
    It uses inches

  3. #3
    Wire Sofaking Beer's Avatar
    Join Date
    Jul 2007
    Location
    Dallas, Texas
    Posts
    1,357

    Default Re: Garry's mod units

    1. Yes
    2. Yes, it's inches.

  4. #4
    Wire Sofaking Azrael's Avatar
    Join Date
    Aug 2007
    Posts
    1,946

    Default Re: Garry's mod units

    Everything in the Source engine uses metric units -- kilograms, newtons, etc. -- apart from the lengths, which are in inches. This is purely to be compatible with the old Half-Life engine which used inches.

  5. #5
    Expressionism 2.0 Syranide's Avatar
    Join Date
    Mar 2007
    Location
    Sweden
    Posts
    4,573

    Default Re: Garry's mod units

    There is actually an extension in E2 that calculates all of this for you (if that's what you are looking for).
    It's on the wiki, and it also specifies "default" units.

  6. #6
    Wire Sofaking Jimlad's Avatar
    Join Date
    Dec 2008
    Posts
    941

    Default Re: Garry's mod units

    Well, everyone seems to think it's inches, which is why I'm confused. Does anyone have any evidence to back this up? Because according to this, the default Hammer units are NOT inches.

    1 unit = 0.75 inches

    This is consistent with the conversion tools and also seems to be consistent with standard measurements for common objects such as doors. 108 inches high would be pretty huge for a doorway, but 0.75 * 108 = 81 inches is fairly standard for real world housing.

    From what I can tell, the logic behind this was that they made the player the height correct in inches originally, but when the player size didn't work out for gameplay purposes, everything was scaled up by 1/3. Effectively, players are much shorter than 6', they're more like 4.5' as the Valve wiki points out.

    Obviously the implication is that if Beer's right and GMod does use default Hammer units, then either the information I've pointed out is wrong, or all of the wire length conversions (not just the E2 conversions) made so far are incorrect.

    Quote Originally Posted by AzraelUK View Post
    Everything in the Source engine uses metric units -- kilograms, newtons, etc. -- apart from the lengths, which are in inches. This is purely to be compatible with the old Half-Life engine which used inches.
    This can't be true, because if force units were Newtons, then if I applied a force of 1 N to an object weighing 1 kg for 1 second, I would expect a speed of 1 m/s, or 39.4 in/sec, or 52.5 unit/s. But I get nothing like this - if I apply 1 Force to 1 kg for 1 tick, I get a speed of 1 unit/s. So unless ticks are measured in some odd multiple of seconds, or the physics code doesn't work quite the way I expect, I don't quite get how it could be Newtons.
    Last edited by Jimlad; 03-01-2009 at 08:04 AM.

  7. #7
    Wire Sofaking tomb332's Avatar
    Join Date
    Mar 2007
    Location
    Birmigham,UK
    Posts
    1,377

    Default Re: Garry's mod units

    Jim the length of a tick depends on the servers tickrate, which apparently is normally one of the following.
    33 ticks/s
    66 ticks/s
    100 ticks/s
    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

    Super Easy Wire Download

  8. #8
    Wire Sofaking Jimlad's Avatar
    Join Date
    Dec 2008
    Posts
    941

    Default Re: Garry's mod units

    Quote Originally Posted by tomb332 View Post
    Jim the length of a tick depends on the servers tickrate, which apparently is normally one of the following.
    33 ticks/s
    66 ticks/s
    100 ticks/s
    How about for single player? Either way, I don't think it will be quite odd enough to account for the difference. It would have to be some multiple of 39.4 or 52.5 to be the only factor converting Force to Newtons.

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

    Default Re: Garry's mod units

    It isent 100% accurate ofcause, this aint no physics simulator...
    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.

  10. #10
    Wire Noob Wenli's Avatar
    Join Date
    Feb 2009
    Posts
    9

    Default Re: Garry's mod units

    [edit - deleted because i'm dumb]
    Last edited by Wenli; 03-01-2009 at 09:21 AM.

+ Reply to Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. Ranger Units
    By turck3 in forum Installation and Malfunctions Support
    Replies: 3
    Last Post: 10-10-2007, 06:23 PM
  2. How many units in a Kilometer/Mile?
    By thedood in forum Wiremod General Chat
    Replies: 5
    Last Post: 08-25-2007, 07:15 PM
  3. Proper units?
    By miron in forum Wiremod General Chat
    Replies: 6
    Last Post: 07-28-2007, 02:56 AM
  4. Realistic Units Of Measurement?
    By Azcid in forum Installation and Malfunctions Support
    Replies: 7
    Last Post: 05-11-2007, 05:07 PM
  5. Life Support Consumption Units
    By NisseOwned in forum Ideas & Suggestions
    Replies: 9
    Last Post: 04-21-2007, 12:04 PM

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