v2024.0.0
Release Date 01/06/2024
Changes
- FIX a bug in getting the attack progress range value when a BuildingAttack does not have a target but is allowed to target a terrain position.
- FIX a bug in panning, rotation and zooming speed modifier where controls were not being read as they were not properly initialized.
- FIX a bug in UnitCarrier's Add/Move methods that does not update the CurrCarrier property on the target unit's CarriableUnit component.
- FIX a bug that involves entity components finding targets automatically in situations where the underlying components are not active and no target search should be allowed.
- FIX a bug that resets the unit animator override controller on idle even if between the time the animator got the call and needed the time to reach the idle animation state, another request superseded this to assign a different override controller.
- FIX a bug where the rallypoint location marker object is activated when the source rallypoint entity is selected with the rallypoint set to an entity.
- FIX a bug in the UnitAttack and BuildingAttack custom inspector editor when the application is not running and the "Debug" field is accessing runtime only values.
- FIX a bug in minimap icons where a unit can enter a unit carrier that moves but the original unit's minimap icon remains static until the unit leaves the carrier.
- FIX a bug in minimap icons where directly setting the position of a unit without triggering a path finding operation does not update the unit minimap icon's position until the unit starts moving again.
- FIX a bug where if a unit is moving towards a unit carrier that can move and the target carrier changes its position before the origianl unit reaches it, it triggers the unit to be added to the carrier immediately.
- FIX a bug when having one or multiple units selected and rotating the camera with one of the assigned mouse buttons held down triggers movement for the units on mouse up at the same frame where the rotation stops. Now a one frame delay is introduced to fix this.
- UPDATE the Attack Range field in the BuildingAttack inspector to allow to define minimum and maximum attacking distances for buildings depending on the target type (unit, building or no target as in terrain attack).
- ADD the field "Deactivate Object On Disable" to all task UI components to choose whether to deactivate the whole game object or just disable its UI elements when the corresponding task is disabled.
- ADD the option to define a separate maximum stopping distance for height or Y-axis of a moving unit's path destination. When defined, the default stopping distance will be used for the x and y axis and a different stopping distance will be applied to test the height.
- ADD the option to specify the types of entities by entity type (unit, resource or building) or by groups of entity codes/categories in each entity component's target entity finder data field. This allows to define entity types that the entity component is allowed to target automatically which can encompass less than the allowed targetable types of the component.
- ADD FactionEntityClosestAttackPositionGetter which when attached to an entity, allows to input Transform instances into a field list and pick the closest one to the source attacker entity as the attack target position. This allows you to define entities with multiple hit positions.
- ADD AudioSource component to the new attack object and new effect object prefabs.
- ADD the option to lock the rotation of the main camera on the X and Y axis through the inspector options in the Rotation Limit field.
API
- UPDATE all attack target position retrieval methods to be universal and pass through the same method.
- ADD enable, disable and deactivate events in the IEffectObject interface in addition to the inspector field UnityEvent types. These events can be subscribed to from your own components and are triggered when the effect object is enabled, disabled and fully deactivated respectively.
- ADD UnitAdded and UnitRemoved events to ICarriableUnit which are invoked when the unit is added and removed to a IUnitCarrier instance respectively.
- ADD PositionSet event to IMovementComponent which is triggered when the SetPosition() method is called to update the unit's position without triggering a pathfinding operation.
Demo
- REMOVE PostProcessLayer script from the new map configurations.
- UPDATE all demo entity prefabs to have the category "rtse_demo_entity".
- ADD effect objects for villagers collecting wood, food and metal resources.
- ADD effect objects for villagers claiming the treasure resource.
- ADD effect objects for the catapult rock hitting targets or the terrain.
- ADD effect objects for archer level 1 and villager upgrades.
- ADD particle effects to the catapult attack components and its attack object.
Modules
- Mirror Multiplayer
- FIX a bug that disallows a client in a multiplayer game to not be allowed to send their player issued commands to the server.
- FIX a bug that disallows all clients from sending their player issued commands when running the game on a headless server instance.
- Basic UI
- UPDATE FactionSlotStatsUIHandler to handle missing resource types by ignoring them and only considering valid ones instead of erroring out.