4,794 Commits over 1,371 Days - 0.15cph!
A bunch of work on queueable commands but I'm not sure I like it or that it's worth it - evaluate later
After a day of nightmare I think I've finally got unit command system / move group stack where I'm happy
Add AnimEntity.CurrentSequence
Sealed AnimationSequence + internal constructor
Removed old property. Pass entity into AnimationSequience
A bunch of work on queueable commands but I'm not sure I like it or that it's worth it - evaluate later
Moved fog updating to RTS / gamemode to avoid nasty thread pool issues
Fix being able to deposit resources in a building that is under construction
Accidentally left a spammy log in tick
Improved the fog system with OnVisibilityChanged method on IFogCullable and updated building memory system to use it
Added CanBeAttacked method on IDamageable / ISelectable. Blueprints cannot be attacked. Added blueprint tag. Enemy players will ignore your blueprints when interacting.
Merge branch 'master' of sbox-rts
Fixed units not being able to construct blueprints sometimes. Added Player.TeamGroup and IsLocalTeamGroup. Updated a lot of instances to use IsLocalTeamGroup to support teams. Fixed more bugs with blueprints. Cannot attack a unit in your team group.
Merge branch 'master' of sbox-rts
Commented out WIP CurrentSequence code
By default, placed structures are blueprints until they have a worker try to build them. Blueprints are only visible to and interactable by the player who owns them. Blueprints can be cancelled by left-clicking on them.
Obsolete GetSequenceDuration, IsSequenceFinished and Sequence. Add CurrentSequence which contains .Duration, .IsFinished, .Name, .Time and .TimeNormalized
Fixed HUD still showing when a building clone is created
Fixed the transition between the clone and real building
Remove AnimTime and rename AnimCycle to SequenceCycle
Fade back in and out instead of instantly
First pass at adding building memory. A local copy of a building will be created if you can no longer see it. This means you can't tell if a building has been destroyed until you look again. Commented out animation data copying for now.
Merge branch 'master' of sbox-rts
Bound AnimTime and AnimCycle
Fixed a bug where resources that were made visible by default fog view range couldn't be hovered over. Added a faint outline to resource entities when the camera is near them.
Added RadarJammerEntity (building_radar_jammer). Added RadarJammerRange render entity. Radar Jammer shows its range when selected.
Merge branch 'master' of sbox-rts
Removed compiled files and updated electric bolt sound for the Drone weapon
Renamed Anti-Tank to Rocketman. Added Cryomaniac unit (similar to Pyromaniac but deals freezing effect and ice blast.) Added Plasma and Electric weapon upgrade possibilities to the Marksman. Added Plasma weapon upgrade possibilities to the Assault and Heavy units. Made Assault and Rocketman and Grenadier able to attack aircraft. Implemented EMP Bomb, Ice Bomb and Plasma Bomb properly for the Grenadier. Added sounds to the Tesla Coil. Added weapon upgrade possibilities for the Attack Drone (Plasma and Electric).
Merge branch 'master' of sbox-rts
Distance of Nuke and Airstrike increased by 3x for now
Double tap a selection group slot to automatically pan the camera over to the middle point between all of the selected items
Refactored UnitGroups to SelectionGroups. Buildings can now be added to selection groups.
See a tiny little bit more on unseen areas
Reduce Heavy model scale by 0.15. Player can now press Tab to switch between the active selected item in the multi-selection panel. Temporarily make unit circles and models visible through objects until there's a way to do this for outlines only.
I missed a spot
Ctrl + Click to select only that type of unit from the multi-selection panel
Added Radar Jammer placeholder and set Advanced Research Lab model. Added IsLocationValid virtual method for Abilities.
Added Unseen Alpha and Seen Alpha configuration for the Fog - by default have unseen areas slightly more visible than pitch black
Merge branch 'master' of sbox-rts
Added the Heavy (machine gunner) unit. Added the Frenzy ability. Fixed a problem with Resistances on Unit Modifiers (moved them to UnitEntity instead.)
Merge branch 'master' of sbox-rts
Shuffle possible team colors before play so you don't keep getting red
Added Radar Scan Ability. Added Advanced Command Centre and Mega Command Centre with Upgrades. Renamed Headquarters to Command Centre. Updated some structures and abilities to require Command Centre upgrades. Updated cooldowns on some abilities.
Added `rts_obstacle` an entity that can be placed in Hammer for players to destroy. Added ObstacleEntity, IHudEntity interface and implemented IDamageable. Updated Rocket Launcher to use a model for the projectile and the grenade abilities now use one too. Updated Tooltip to blur the bakground. Made Rocket Launcher fire sound more audible.
Fixed compiled particle files?
Added a different sound for gathering beer from barrels to mining rocks
Various balance changes of times and costs for every item in the game (first pass)
Fixed movement marker color
Added the Suicide Drone entity implementation and fixed some looping attack sounds
Item tooltips for resource entities once again show the remaining stock
Increased Pathfinder step-up height to 60 units (test.) Added sounds for Drone movement and selection. Added support for Resource Generator looping and finish sounds and implemented them for all generator types. Added Drone mining laser looping sound.
Don't render the minimap at all for the moment - performance is too bad right now
Added ability to click the minimap to move the camera there
Set clear color to black on minimap
MiniMap stub
Merge branch 'master' of sbox-rts
Added the Trading Centre and Supply Lines technology. The Trading Centre just piggybacks off the ability system.
Fixed errors in tech definitions. Added Multi Item Icon display.
Merge branch 'master' of sbox-rts