725 Commits over 516 Days - 0.06cph!
Add ModelName to ArmorItem
Add placeholder clothing model names to each armor item type
Add InventoryContainer/NetInventoryContainer.Is comparison method
Automatically despawn any client-side ragdolls after a time
Update any equipment clothing when added or removed from the equipment inventory
Various fixes and use type library class name
Merge branch 'main' of sbox-corewars
Change how reload sound is handled and stop any reload sounds when weapon is put away
Try actually setting UseHitboxes on traces...
Update stack sizes for items
Can press Tab to close any active dialog
Add is-empty to InventorySlot for Lewis
Switch SetupPhysicsFromModel to PhysicsMotionType.Keyframed so it works (static isn't)
Call ResetInterpolation when moving a model in the voxel editor
Update sbox-voxels
Update sounds
Merge branch 'main' of sbox-corewars
Remove test weapons from initial inventory and only show hit marker if victim is not friendly
Set ClipSize to 0 for melee and throwable weapons
Fix hit marker not showing/animating
Only show ammo clip count on inventory slots if weapon has a clip size
Show loaded ammo count for "stack size" in inventory slots for weapons
Add hitmarker and hitmarker headshot sounds
Add Crosshair class and add it to the Hud
Add support for setting an ammo type and ammo amount on shop items to give free ammo when purchased
Set Crossbow ammo type and amount
Add Ammo to WeaponItem and serialize/deserialize it
Update Weapon to use item's Ammo variable in AmmoClip setter/getter
Update BulletDropProjectile to have TraceResult in hit callback
Show hit marker for attacker in TakeDamage
Have victim take damage when hit by crossbow projectile
Merge branch 'main' of sbox-corewars
Update sbox-voxels and use Prediction.Off when playing sounds server-side
Add Icon attribute to editor tools
Add melee swing and fix broken sounds for hitting blocks
Added ItemEntity.IconPosition and use it to set the particle effect position too
Add the blowtorch sound effect while blowtorch is being used
Add blowtorch sound event
Add item.dropped sound event and play it when an item drops
Add block hit sounds (placeholder) and crossbow placeholder sounds
Fix TeamList and Announcements blocking mouse input
Update sbox-voxels module
Create all particles bakscratch made in the right places
Update kills for players on the team list
Add RoundStageExtensions to get the next stage and a stage name
Add StageInfo to show Stage, Time Left and Next Stage
Add StageInfo to Hud
Add GetIcon to RoundStageExtensions
Send icon with announcements for stage changes
Update StageInfo SCSS to include stage icon
Merge branch 'main' of sbox-corewars
Set up for Lewis to take a look at
Update nameplate again and set min-width on TeamList + add icon for destroyed core
Update sbox-voxels submodule
Add TeamList and TeamItem UI elements
Change Nameplate styling to make it more visible in bright areas
Add TeamList to Hud template
Open, close and refresh TeamList
Refresh TeamList when teams become valid or invalid
Have BaseGenerator implement IResettable
Add RoundStage enum
Set round stages as game progresses
Update generator times based on round stage
Don't show local player's nameplate
Add Announcement and Announcements UI items
Add Announcements to Hud
Send an announcement at each round stage
Add INameplate interface for entities to implement
Add Nameplate / Nameplate.scss
Implement INameplate for Player, ItemStoreNPC and TeamUpgradesNPC
Prevent various actions when a player is dead (or observing / spectating)
Hide Hotbar and Vitals when a player is dead or spectating
Call an RPC on respawn to set a flag that view angles should be reset to zero in the next BuildInput
Reset MoveController on Respawn
Remove IsInBounds check from MoveController
Update sbox-voxels
When a player is below the world have them take 1000 fall damage
Remove barage explosion and hit sound for Crossbow
Use Touch instead of StartTouch
Update sbox-voxels
Add volume tag to volume entities
When holding shift traces will ignore volumes in the map editor
Add Mins and Maxs to IVolumeEntity
Fix styling error by adding &:last-child to InventorySlot rather than parent
When holding shift and using the Duplicate Blocks tool, entities will also be copy and pasted
Pass copyEntities parameter to initialize
Update corewars_conna test map to include 4 different bases, a bunch of gold generator islands and a center crystal generator island
Add test take_damage command
Don't add margin to the last item in the Hotbar
Add Stamina and IsOutOfBreath to Player and update accordingly in Simulate
Update player stamina in MoveController and check if a player is out of breath before running or jumping
Check and update stamina when using melee weapons
Add Vitals display to bottom of Hud to show Health and Stamina
Added ToastList and Toast methods to Hud
Add kill feed items when a player dies
Have Gold and Crystal spawn slower
Added resource counts to ItemStore and UpgradeStore
Fix hold type on Blowtorch
Teleport players properly and run checks for portal grenade
Remove ItemEntity on Reset
Reset before game starts
Don't generate items in generators if not in a game
Add blowtorch particle effects
IsServer check in GameState.OnEnter
Add Team.GetPlayers
Blowtorch uses Rust SMG model for now
Move CanHearPlayersVoice to state and add valid team methods
Add or remove valid team for TeamCore when it's reset or killed accordingly
Remove portal grenades on death
Better spawnpoint selection for players (choose any assigned to Team.None if no team spawnpoint is available)
Use Team.None spawnpoints if the game state is lobby
Do most simulation only if current state is GameState
Only assign teams in GameState keep as teamless during the lobby
Hide Hotbar UI if not GameState
Merge branch 'main' of sbox-corewars
Added Blowtorch to shop, item, and texture to quickly melt through plastic blocks (use crowbar model for now)
Add InventoryItem.CanBeDropped and let players drop items in their Hotbar
Have damage done to voxels multiplied by Tier in Axe / Pickaxe
Only tick on server for checking whether to reset health