Garry's Mod

Garry's Mod

134 个评价
[AIS] Aaron's Inventory System
4
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 快乐, 角色扮演, 写实
文件大小
发表于
更新日期
16.559 MB
5 月 20 日 下午 5:00
9 月 13 日 下午 11:52
18 项改动说明 ( 查看 )

订阅以下载
[AIS] Aaron's Inventory System

在 Aaron 的 1 个合集中
[AIS] Collection
6 件物品
描述
Aaron's Inventory System (AIS)
The ultimate modular gear and armor framework for Garry's Mod




🛡️ What is AIS?
AIS is a lightweight inventory and armor system focused on equipping protective gear (helmets, vests, gloves, etc.).
Unlike general-purpose inventories, AIS is all about wearable equipment — not consumables or weapons (Can change in the future).




⚙️ Key Features:
  • Slot-based Equipment – Players equip gear into defined slots: Head, Torso, Arms, Gloves, Pants, Boots, and more.
  • Armor & Elemental Armor – Separate damage reduction stats for physical and elemental/nonphysical types.
  • Custom Damage Handling – Damage is reduced dynamically based on what you wear.
  • Realism Mode – Only armor on the body part that was hit will apply.
  • Dynamic Tooltips – Item descriptions show armor values and descriptions.
  • Server-Client Sync – Keeps equipment data persistent and secure.




📦 How to Use (For Players)
  • Open the inventory menu using
    Open_AIS_Inventory
    .
  • Drag and drop equipment into the proper slots or press RMB and Equip (Head, Torso, etc.).

🛠️ How to Use (For Developers)
  • Define your custom gear in the
    AIS_Items
    table, by making file in folder AIS_Addon.
  • Each item can contain:
    • Attributes – Armor values like ArmorPoints (physical resist) or ELArmorPoints (elemental resist).
    • ServerHooks – Damage reflection, healing, custom logic, etc.
    • ClientHooks– UI effects, visuals, client-side logic.
    • OnEquip, OnUnequip, WhenWearing triggers - custom one time logic (Equip,UnEquip) and loop (WhenWearing)
    • Description - Make own descritpion using MarkUp GMod library
  • Toggle realism mode with
    AIS_RealismMode = true
    to enable hitgroup-based damage.
  • Debug behavior with
    AIS_DebugMode = true
    .

💬 Feedback & Contributions
Suggestions and ideas are welcome.
Use Discord for that: https://discord.gg/d2m2Rgky66

If you need help with making own items, i'm open for that.




🚫 JMod Compatibility Notice
AIS is a standalone system, built from the ground up as an independent alternative to JMod.
It is not designed to be compatible with JMod or its systems — and no support for JMod is planned.

The goal of AIS is to offer a modular, self-contained framework for gear and armor that fits a wide range of custom gamemodes and servers, without external dependencies.

Created by Aaron
热门讨论 查看全部(3)
20
10 月 8 日 下午 6:09
置顶: Suggestions
Aaron
14
9 月 13 日 下午 11:54
置顶: Bug Reports
Aaron
0
5 月 28 日 下午 12:45
置顶: Planned Features
Aaron
35 条留言
EthicalObligation 10 月 19 日 上午 10:48 
spine and ent:GetBonePosition(spine) or ent:WorldSpaceCenter() is effectively an if then else statement all in a single line :)
EthicalObligation 10 月 19 日 上午 10:46 
Nice stuff this is! Here is a bug fix for you as a token of appreciation:

ais_gui.lua line 320:

local spine = ent:LookupBone("ValveBiped.Bip01_Spine2")
local lookPos = ent:GetBonePosition(spine) or ent:WorldSpaceCenter()

should be

local spine = ent:LookupBone("ValveBiped.Bip01_Spine2") or false
local lookPos = spine and ent:GetBonePosition(spine) or ent:WorldSpaceCenter()

This will now properly display character if bone structure is non standard; allowing you to use the inventory with a custom animation playermodel.

tl;dr GetBonePosition doesn't always play nice when given a nil value. So check if it is a non nil val and if so run GetBonePosition. :) <3
Galok 9 月 13 日 上午 8:51 
can you add pick up and store weapon on ground?
Aaron  [作者] 9 月 11 日 下午 12:53 
Join discord and create ticket
Tekno 9 月 11 日 下午 12:42 
From the silence, I can tell there's no way to bind any of the trinket slots.
Tekno 9 月 11 日 下午 12:28 
I can take a screenshot and message you if you want a better idea of what I'm saying
Tekno 9 月 11 日 下午 12:24 
The use active item command doesn't do anything either
Tekno 9 月 11 日 下午 12:24 
I already have it equipped but it's not binded to any key
Aaron  [作者] 9 月 11 日 下午 12:20 
I mean, open up your inventory once you pick item up, place it or equip it on the correct slot and enjoy the effects. Trinket if have something coded in "on Use" then it would display on the bottom of the screen little UI
Tekno 9 月 11 日 下午 12:19 
Like how do I bind trinkets? If that makes any sense since they have no bind written above them