This file was automatically imported from the old garrysmod.org site. You can see other imported files on the reuploads page.

Substance Weight Calculator

Originally uploaded by Fisheater on 6th April 2012 02:07 am

Substance Weight Calculator
Coded By: Fisheater
This is a simple substance weight calculator which will add up the total weight in grams of a substance involving elements and how many of each.
-How to use-
To open up the menu, type in console: weight_menu
Example:
Choose 'h' and then 2 and press 'Cont.' Select 'o' and then 1. This is h20 (water) and has a total mass of 18 grams/mol.
-Installation-
Just drag the lua folder into your garrysmod/garrysmod directory and override if necessary.

This download looks like an unpacked addon. You can either convert the files to an addon or merge the folders in the zip with the folders in your Garry's Mod folder.

Convert to Addon (Recommended)

You should end up with a directory structure similar to below:

  • steamapps
    • common
      • garrysmod
        • garrysmod
          • addons
            • Substance Weight Calculator <-- Make this folder!
              • e.g.
              • lua
              • maps
              • materials
              • models
              • etc

Or, Merge Folders (Not recommended)

This option makes it difficult to remove the content should you no longer want it. Merge any folders from the zip with the equivalent folders in your Garry's Mod folder.

Don't know where the Garry's Mod folder is or how to extract zip files? See more useful installation tips.

  • lua/
    • autorun/
      • client/
        • element.lua

BBCode:

HTML:

Social: