Skip to content

Commit

Permalink
Add VJ Base NPC helper tags
Browse files Browse the repository at this point in the history
  • Loading branch information
DrVrej committed Dec 29, 2024
1 parent 45d0ebb commit 6de4b89
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/entities/base_glide/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ ENT.Author = "StyledStrike"
ENT.Purpose = "Move around"
ENT.Instructions = "Aim at it, then press USE to enter"
ENT.AdminOnly = false
ENT.VJTag_IsDamageable = true
ENT.VJTag_ID_Vehicle = true

-- Let Glide know it should handle this entity differently
ENT.IsGlideVehicle = true
Expand Down
1 change: 1 addition & 0 deletions lua/entities/base_glide_aircraft/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ ENT.PrintName = "Glide Aircraft"
ENT.Author = "StyledStrike"
ENT.AdminOnly = false
ENT.AutomaticFrameAdvance = true
ENT.VJTag_ID_Aircraft = true

-- Increase default max. chassis health
ENT.MaxChassisHealth = 1200
Expand Down
1 change: 1 addition & 0 deletions lua/entities/glide_missile.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ENT.PrintName = "Missile"

ENT.Spawnable = false
ENT.AdminOnly = false
ENT.VJTag_ID_Danger = true

ENT.PhysgunDisabled = true
ENT.DoNotDuplicate = true
Expand Down
1 change: 1 addition & 0 deletions lua/entities/glide_projectile.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ ENT.PrintName = "Projectile"

ENT.Spawnable = false
ENT.AdminOnly = false
ENT.VJTag_ID_Danger = true

ENT.PhysgunDisabled = true
ENT.DoNotDuplicate = true
Expand Down

0 comments on commit 6de4b89

Please sign in to comment.