Commit Graph

81 Commits

Author SHA1 Message Date
SomeonesShade
4122a9d51d Reactivity and Assorted Changes (#11245)
* Implemented turretDepositCooldown (1)

* Implemented activationTime for Turrets (1)

* activationTime for Turrets Fixes (2)
readSync() line isn't needed,
Overdrive should not make the cooldown go faster, it stays as is unless there is a good argument against it.

* activationTime (3): Descriptions and SetBars()
Updated arc and lancer descriptions.
Added setBars() stuff for clearness.

* turretDepositCooldown (2):
now depositCooldown and is now on a per turret basis if needed... will potentially need further iteration

* turretDepositCooldown (3): made it opt in
added an internal gamerule (long name, need to reduce it later) to enable the balance (oriented for pvp)
depositCooldown = 0 by def
added depositCooldown entries in Blocks.java

* activationTime (4): Minor Adjustments to UI

* activitationTime (5): Implemented drawInactive() and inactiveColo, and arc/lancer sprite
Thinking if I should set the sprites to be white, then use Color.gray...

* turretDepositCooldown (4): Made the cooldown only affect turrets

* Reload Turret Coolant Fixes (1)
Made coolant and overdrive effects not get chopped off from Math.min when its too high

* activationTime (6): activationTime is now at the Base Turret Level
Also implemented the code for TractorBeamTurret thanks to the code changes
Parallax can have the feature if needed for future balancing.
Hopefully nothing was screwed up in the transition...

* Counterbalance (1): Swarmer 8 -> 7 firerate nerf, and Cyclone 7.5 -> 6 firerate nerf [First Attempt]

* Reload Turret Coolant Fixes (2): added a buffer if the excessReload exceeds more than 2 reloads.

* Reload Turret Coolant Fixes (3): hotfix, the buffer actually works this time

* turretDepositCooldown (5): Made the cooldown seperate from itemDepositCooldown

* Implemented armorMultiplier (1)

* fixing a merge

* (AT:7a) Reverted Saving Capability

* (AT:7b) Removed activation timer from lancer and arc as well as sprites

* (AT:7c) Removed visuals for activation timer
will be reimplemented via a greyscale effect if returned rather than via sprites

* (AT:7aa) oops

* Made the default value 0 when placed - Activation Timer (8)

* (depositCooldown : 6) Moved depositCooldown to Blocks.java, cleaned up canDepositItem(), removed enableTurretDepositCooldown

* armorMultiplier (2) - oops, made armorMultipler = 0 correspond to 100% armorPiercing

* Update core/src/mindustry/input/InputHandler.java

* Reload Turret Coolant Fixes (4): A bit too high

---------

Co-authored-by: Anuken <arnukren@gmail.com>
2025-12-31 14:39:22 -05:00
WMF
a1b47b1188 per-team toggles for core no-build radius / placement range check (#11448)
* per-team toggles for core no-build radius / placement range check

* oops

* fair enough
2025-12-20 11:16:28 -05:00
WMF
c2c1271a4c use BoostAI for enterPayloadCommand & better onlyDepositCore handling (#11297) 2025-10-18 10:31:47 -04:00
Anuken
e95c543fb2 Allow commanding units properly even when player is dead 2025-07-28 18:04:15 -04:00
Anuken
1a07efd80b Do not command select logic controlled units by default 2025-05-01 10:27:47 -04:00
Anuken
e414b02030 Keybind search bar + modding support 2025-04-28 22:13:32 -04:00
Anuken
b7dbe54d76 Merging changes from private branch 2025-04-04 11:47:35 -04:00
Anuken
588faad6f9 Rule for extra core no-build radius per-team 2025-02-06 14:27:35 -05:00
Anuken
ec0ba9f424 Better unit selection visuals / Bigger unit physics collision circles 2024-11-27 12:03:42 -05:00
Anuken
caf0ab581d Item deposit cooldown rule (default: 0.5 sec) 2024-06-30 10:28:01 -04:00
Anuken
4c4476ae95 Fixed #9763 2024-04-21 10:05:05 -04:00
Anuken
604e732edb Switched to unit UI icons for minimap/players 2024-04-18 10:05:21 -04:00
Anuken
243cc1e527 Unit selection overlay improvements 2024-04-17 23:28:01 -04:00
ApsZoldat
c434e18f8f Add drawing layers to markers 2023-11-13 23:25:44 +03:00
Anuken
8bbf5b1f52 Marker instruction rework 2023-09-28 01:04:03 -04:00
ApsZoldat
8c777e79fa Add marker instruction to world processors (#9087)
* Basic implementation of world processor marker control

* Add line marker, some marker control fixes

* Add remote for setting markers, add marker writer/reader to TypeIO

* Add sides cap to ShapeTextMarker's draw() method

* Marker instruction code refactor, revert accident auto-formatting, fix marker control bugs

* Cleanup LMarkerControl.java

* Remove deleted marker controls from MapObjectives

* Marker control method refactor, fix minimap marker rendering

* Refactor, proper double comparsion in MapObjectives

* Fix line marker's color not changing through world processors
2023-09-27 17:17:59 -04:00
GlennFolker
695c19d0b0 Tree-like objective node structure (#7152)
* overall structure

* overall layout

* field interpreter

* less bloated UI

* scroll pan't

* strip off the 'Marker' suffix

* e

* all (hopefully all...) interpreters finished.

* onset

* two, four

* i don't understand how icon mappings work.

* separate remover and indexer

* some cleanups

* untested mobile support

* contrib

* ok anuke

* fix conflicts 2

* hidden
2022-07-15 10:41:18 -04:00
Ilya246
58bfd0e46c add thing (#7012) 2022-06-13 20:49:13 -04:00
Anuken
c5d89ea6bf WIP objective system 2022-04-12 11:53:34 -04:00
Anuken
9f95dc6e47 More experimental changes / Better RTS AI 2022-04-11 00:35:24 -04:00
Anuken
2145e31bac Too many things to list 2022-04-10 21:02:51 -04:00
Anuken
da1517879a Cleanup 2022-03-11 00:11:13 -05:00
Anuken
f47f96663a Bugfixes 2022-03-01 17:59:11 -05:00
Anuken
5fa28e6090 Server-side fog clip + Omnidirectional flare + resprite 2022-02-20 10:17:20 -05:00
Anuken
f9f12843d2 Logic explosion statement 2022-02-13 19:59:57 -05:00
Anuken
f85aaed323 Building loop cleanup 2022-02-13 19:33:04 -05:00
Anuken
c0c7e0f468 Mostly finished T2 spider unit 2022-02-01 18:05:56 -05:00
Anuken
4fb2b70c4b Block selection square fix 2022-01-07 10:32:46 -05:00
Anuken
9088d9eb39 Polygonal protection bugfixes 2021-06-16 15:07:14 -04:00
Anuken
865ee952c9 WIP polygonal core protection 2021-06-16 13:26:18 -04:00
Anuken
28b235ef07 Partial 7.0 merge - API preview 2021-06-02 11:08:08 -04:00
Anuken
fa8d43bbc9 Misc cleanup 2021-01-19 19:55:21 -05:00
Anuken
f812460164 New unit select fixes 2021-01-19 15:49:30 -05:00
VozDuh
da8ea84397 New Unit Select (#3672)
* New Unit Select

* Fix

* Facepalm

* Code Fix

* Texture Fix
2021-01-19 15:42:33 -05:00
Anuken
9f5183b36f Building cleanup 2020-12-17 11:38:03 -05:00
Anuken
371a14af87 Inlined Time.time 2020-11-30 10:15:22 -05:00
Anuken
909dff7608 Bugfixes 2020-11-22 11:59:53 -05:00
Anuken
527be41e32 Merged Unit & Builder components / Cleanup 2020-11-17 19:40:18 -05:00
Anuken
8f53d44278 Various fixes 2020-11-02 16:46:11 -05:00
Anuken
8d7f96bf00 Fixed #3140 2020-10-26 16:54:47 -04:00
Anuken
521d44714d Disabled spawnpoints during ongoing attack maps 2020-10-17 19:49:13 -04:00
Anuken
46ec457819 Cleanup 2020-10-17 10:37:28 -04:00
Anuken
f5decdaa1c Disabled spawner radius/warning when waves off 2020-10-16 11:27:17 -04:00
Anuken
2f6f205dc7 Better builder detection for ConstructBlock 2020-10-11 14:20:53 -04:00
Anuken
f1ec26f82b Correct logic control position rendering 2020-10-11 14:10:55 -04:00
Sunny Kim
b5b75656d1 Block Fields for Modding (#2538)
* quickRotate

* quickRotate and rotateArrow

* rotateArrow

* rotateArrow

* Update contributors

* quickRotate

* removed rotateArrow

* remove rotateArrow

* removal
2020-09-12 10:11:10 -04:00
Anuken
74cefb3ec9 Dacite decoration block / Environmental renaming 2020-09-10 15:17:10 -04:00
Anuken
5259969384 Object sense support / Bugfixes 2020-09-09 19:02:40 -04:00
Anuken
8e17571824 Fixed #2449 / Fixed #2456 / Fixed #2458 / Fixed #2459 / Fixed #2466 / Fixed #2474 2020-09-01 11:34:03 -04:00
Anuken
2f19cab144 Fixed conduits not reacting with each other 2020-08-23 13:25:47 -04:00