Garry's Mod

Garry's Mod

Draconic Base
Viser 81-90 af 180 forekomster
< 1 ... 7  8  9  10  11 ... 18 >
Opdatering: 20. maj 2022 kl. 11:16

Small change, when disabling shields on an entity it also updates the shield's health / max health to 0

Opdatering: 16. maj 2022 kl. 6:30

https://github.com/Vuthakral/Draconic_Base/wiki/Changelog-May-16th-2022

Opdatering: 27. mar. 2022 kl. 23:51

Small patch of stable updates before I move
  • Experimental First Person: Completely rewrote the first person body system. It now uses a clientside entity which mimics the player's actual body 1:1.
  • Experimental First Person: Made the systems & body scale properly with the player's scale.
  • Experimental First Person: Made the viewmodel offset scale properly with the player's scale.
  • Experimental First Person / Thirdperson: Made thirdperson override experimental thirdperson code, since it needs a higher priority.
  • Thirdperson: Made the camera automatically scale the offsets with the player's scale.
  • Thirdperson: Made the camera's horizontal offset able to be flipped with Use Key + Alt2 key (User request)
  • Thirdperson: Made thirdperson mode forcibly disable when sitting in a vehicle.
  • Thirdperson: Thirdperson now disables automatically when using a weapon's scope. (Working on compatibility with all weapon bases. Currently supports ASTW2, Draconic, and TFA.)
  • Draconic Menu: Added a toggle button for the thirdperson.
  • Draconic Menu: Updated Credits tab.
  • Weapon Base: Fixed errors associated with timer removals on player death.
  • Weapon Base: Commented out a debug print which I accidentally left in on battery base weapons for NPCs.

Opdatering: 23. mar. 2022 kl. 17:57

Hotfix
  • Fixed simple weather time-tinting cubemaps not detecting properly -- stuff tints again now.
  • Changed how SWEPs with light glow find the right hand, producing a much more accurate effect on properly made models.
  • Fixed an issue with projectiles which could cause a redundant lua error spam when fired from a Draconic weapon in the hands of a nextbot
  • Fixed thirdperson toggling off with no weapons equipped
  • Added Global function DRC:ValveBipedCheck(ent) -- Returns true/false for whether a playermodel is using a proper ValveBiped skeleton.
  • Fixed Draconic Thirdperson origin being on the floor when using a non-valvebiped playermodel.

Opdatering: 14. mar. 2022 kl. 18:32

Opdatering: 14. mar. 2022 kl. 17:24

Update
  • Global: Moved convars to their own script, and are tied to the DRC table now so they can be called properly in lua.
  • Global: Added DRC.MapInfo.NavMesh table -- pulls the whole navmesh as the map starts. Useful so people can make addons without needing to frequently pull a function which on large maps can create a noticeable hitch every time it's run. By nature of the navmesh file this cannot be reloaded with drc_reload, and the map must be fully reloaded when generating a new navmesh.
  • Global Added lua function DRC:DLight(<entity or ent index> ent, <vector> position, <Color(0-255, 0-255, 0-255, 0-1) colour, <number> size, <number> lifetime, <bool> emissive) -- Handles the DynamicLight structure for simple uses instead of having to define a whole ass table for a basic light.
  • Global Added DRC:IsVehicle(ent) -- Returns true/false if a given entity is a vehicle. Checks for standard, LFS, and SF, Halo Base, and Mech Assault vehicles currently. If there's anything else it needs to work with just let me know.
  • Global Added DRC:ConvertUnit(<number> input, <string> output) -- Converts gmod measurements from things such as tracelines into real-world units. Example usage: DRC:ConvertUnit(175935, "m")
  • Thirdperson: Completely rewrote / overhauled this system. Used to be SWEP specific, is now a fully fleshed out camera system. More below.
  • Thirdperson: Added NWString to players "Draconic_ThirdpersonForce", which can be read internally, and be set to "On" or "Off". Just set to anything else (other than nil) for it to go back to handling itself.
  • Thirdperson / Global Added sv_drc_disable_thirdperson to server configs, for disabling Draconic's Thirdperson entirely. (Does not affect SWEPs with this setting which require it to work)
  • Thirdperson: Added cl_drc_thirdperson 0/1 which can be toggled at any time by holding your use key and pressing a key bound to +alt1. Or by just putting it into the console.
  • Weapon Base / Thirdperson: Added SWEP.ThirdpersonOffset = Vector() -- adjusts idle offset for this specific weapon.
  • Weapon Base / Thirdperson: Just a reminder entry that the forced-thirdperson variable for SWEPs is SWEP.Thirdperson = true
  • Weapon Base: Fixed function SWEP:DoCustomSecondaryAttackEvents() -- Called only when a secondary attack is valid and occurs (Does not trigger with sight toggles)
  • Weapon Base: Added function SWEP:DoCustomSecondary() -- Is called regardless of whether or not CanSecondaryAttack passes, even if secondary is disabled.
  • Weapon Base: Added function SWEP:DoCustomPrimary() -- Same as bove.
  • Weapon Base: Added SWEP.Primary/Secondary.AimAssist = true/false -- Placeholder and currently does not do anything for "aim assistance" values, and is just used for tracking-enabled projectiles at the moment.
  • Weapon Base: Added SWEP.Primary/Secondary.AimAssist_Mul = 1 -- By default, aim assist is relative to the size of the spread cone (can be viewed with the debug mode crosshair). This value can be used to increase or decrease the aim assist cone. Bullets currently do not have aim assist implemented.
  • Weapon Base: Added SWEP.Primary/Secondary.AimAssistDist = <number> (default 1000) -- Secondary currently unimplemented. Currently only really works with projectile stuff. See above.
  • Weapon Base: Added SWEP:GetShootPos() -- returns world vector position of the "muzzle attachment" on the weapon.
  • Weapon Base: Added SWEP:GetShootAng() -- Same as above, but the angle instead.
  • Weapon Base: Added SWEP:PassToProjectile(proj) -- For custom lua usage. Pass values / run lua from the weapon to the spawned projectile entity.
  • Projectile Base: Added a fix to projectiles which previously were not reacting on contact with combine gunships / dropships / striders / hunters.
  • Projectile Base: Added a tracking method which integrates with the SWEP base. See below for more info.
  • Projectile Base: Added ENT.Tracking = true/false -- Whether or not this projectile tracks targets natively.
  • Projectile Base: Added ENT.TrackType = "Tracking", or "Guided". -- "Tracking" just follows a given entity (ENT.TrackTarget = <ent> Entity). "Guided" makes the active projectile(s) always aim towards where the player is looking, a la the Half-Life 2 RPG.
  • Projectile Base: Added ENT.TrackFraction = <number> -- A value of 1 will give this perfect precision tracking which can sometimes be hard to avoid, where a value of 0.5 will cause it to only re-orient halfway at most. 0.25 1/4, etc. Setting to values over 1 will produce infuriatingly accurate tracking that is nigh impossible to avoid the higher you go.
  • Projectile Base: Fixed an error that could sometimes occur when hitting a breakable prop which was broken one tick sooner than processing.
  • Projectile Base: Made code for setting the creator use the new IsVehicle function from the Draconic Library, making it properly compatible with a wide variety more vehicles.
  • Projectile Base: Added a minimum clamp of 0 to the handling of the supercombine counter. It's still not 100% consistent but it works well enough for the time being until I have the time to rewrite this system interally.
  • Debug: Added a new ring to the debug crosshair which is cyan. It represents the "Aim Cone". This is used to represent the aim assist system (to be further developed.)
  • Material Proxies: Added new material proxy: drc_ScrollPitch -- Scrolls the Y axis of a vector with the entity's Eye Angle pitch. (If used on a HUD element or non-entity it just pulls the local player)

Opdatering: 14. mar. 2022 kl. 17:24

to be filled in

Opdatering: 11. feb. 2022 kl. 7:26

Hotfix
  • Added a failsafe to the projectile base upon finding out that some other, unknown, addons out there are coded piss-poor and alter all physics objects in existence, which can sometimes remove the physobj of my projectiles. Resulting in them breaking entirely.
  • Added a table check in DRC's PlayerTick hook wwhich was previously causing errors on bot players since other scripts which are player-specific do not run on bots.
  • Fixed "Press <use key> to pick up / swap for" text on manual-pickup weapons.

Opdatering: 8. feb. 2022 kl. 17:36

Mini-update
  • Global: Added a check for the ViableWeapons table in the event it somehow becomes undefined.
  • Global: DRC.LightingInfo -> DRC.MapInfo
  • Menu: Fixed the debug info lighting display to use a new block character since the previous one was seemingly removed from the game's font-set for DermaLarge.
  • Menu: Renamed "Debug" to "Debug & Dev Tools"
  • Menu: Added a "Map version" field to the Map Information section of the Debug Information subtab.
  • Menu: Renamed "Debug Settings" tab to "Development Tools".
  • Dev Tools: Fixed sights detection in the legacy assistant.
  • Dev Tools: Added "Nuke Map" option. Breaks all props & kills all active NPCs.
  • Dev Tools: Added "Show TraceInfo" which will show basic information about the entity the player is looking at.
  • Attachment Base: Added missing material: MAT_WOOD_PANEL
  • Weapon Base: Made interpolations use RealFrametime to fix interpolation speeds since I forgot it existed.
  • Weapon/Attachment Base: Added "BurnDecal" to the Ammunition field for decals. This is a secondary decal application aimed at use for decals which fade out overtime.
  • Projectile Base: Added support to pull the ImpactDecal & BurnDecal from the bullet profile of a Draconic weapon, if fired from one.
  • Projectile Base: ^^ This also works properly between impacting projectiles & explosive projectiles. Impact-typed projectiles will create the decal upon impact while explosives will do traces around them to create decals on nearby sufaces.
  • Material Proxies: Switched all calculations to use RealFrametime since apparently I forgot that was a thing.

Thanks to Dopey for helping me figure out why custom decals weren't working previously.

Opdatering: 5. feb. 2022 kl. 15:05

https://github.com/Vuthakral/Draconic_Base/wiki/Hotfixes-&-updates-from-January-9th-to-February-5th