Gotlb’s Mod

If you liked this item, please rate it up on Steam Workshop page.

Author: Я не знал, что ей 12

Last revision: 28 Jun at 16:56 UTC

File size: 13.19 MB

On Steam Workshop

Description:

⚠️ EARLY ACCESS MOD!

Some features are still in development and will be added later. The mod will be actively updated and improved over time!


ABOUT THIS MOD

This mod adds a legendary Garry’s Mod style spawn menu to Postal 2! With it, you can easily spawn NPCs, weapons, and various items right in the game.

The main feature of this mod is dynamic content loading. This means that other supported modifications will automatically appear in your menu right after you subscribe to them!
Note for modders: To make items from your mod appear in Gotlb’s Mod, you need to add a special registration line to your mod’s .int file (detailed instructions at the bottom of this description).

🚀 HOW TO LAUNCH
  • Go to the Workshop section in the main menu.
  • Under the Mods tab, select Gotlb’s Mod.
  • Press Start.

🎮 CONTROLS
  • F1 — Open the Gmod menu
  • V — Noclip (fly mode)
  • U — Undo last action

✅ SUPPORTED MODS (ALREADY WORKING):

☕ SUPPORT THE CREATOR

Stay tuned for updates and support the development:


🛠️ INSTRUCTIONS FOR MODDERS: HOW TO ADD YOUR CUSTOM ITEMS

To make items from your mod appear in the Gotlb’s Mod menu, add a specific registration line to your mod’s .int file.

Example (based on Project Marica):

Object=(Name=ProjectMarica.VehicleCreatorPickup,Class=Class,MetaClass=GotlbsMod.GmodItem,Description="Vehicle Creator|2|Mods|Project Marica|Weapon|MaricaTextures.HUD.SpeedHUD|true")

Parameter Breakdown:

Part 1: Mandatory System Parameters (before Description)

  • Object=(… — opens the system object record for the Unreal Engine 2.
  • Name=ProjectMarica.VehicleCreatorPickup — the full path to the item’s class in PackageName.ClassName format. The menu will spawn this exact class into the world in front of the player.
  • Class=Class — mandatory parameter. Tells the engine we are registering a class.
  • MetaClass=GotlbsMod.GmodItem — mandatory parameter. The Gotlb’s Mod interface only looks for objects with this metaclass in the system. Do not change this part.

Part 2: Parameter Breakdown Inside Description="…"
Inside the quotes, all information is strictly separated by a vertical bar (|). The parameter order is fixed:

" Name | Tab Number | Folder | Subfolder | Category | Icon Texture | Quick Spawn "

  • Name (Vehicle Creator) — the item name that will show up in the tooltip when hovering over it.
  • Tab Number (2) — which global tab the item will appear in: 0 – NPCs; 1 – Weapons; 2 – Inventory.
  • Folder (Mods) — the name of the main folder in the menu. If a folder with this name doesn’t exist, it will be created automatically.
  • Subfolder (Project Marica) — internal directory for grouping items (e.g., inside the Mods folder, you could have Weapons, Food, etc., subfolders).
  • Category (Weapon) — the technical type/category of your items.
  • Icon Path (MaricaTextures.HUD.SpeedHUD) — the texture for the square icon on the menu button. Format: TexturePackage.Group.TextureName (the group is optional if not present in the package).
  • Quick Spawn Flag (true / false) — optional parameter (default is false):
    • true — clicking instantly gives the item directly into the player’s hands/inventory (ideal for weapons and power-ups).
    • false — the item physically spawns on the ground in front of the player as a pickup/box (suitable for NPCs, cars, and props).


🤝 Please, if you add Gotlb’s Mod support to your modification, kindly mention it on your mod’s Steam Workshop page. Thanks in advance!