Update 0.36.6
[h3]Content[/h3]
[h3]Features and improvements[/h3]
[h3]Bug fixes[/h3]
[h3]Next update[/h3]
- Added 3 SAM turrets which shoot rockets at air vehicles
- Added stack of arrows ammo pack
- Added stack of bolts ammo pack
- Added gold and silver ingots as money (3 sizes each)
- Added landed versions of AE500, future helicopter, future jet, heavy dropship
[h3]Features and improvements[/h3]
- Scripting
- Added OnDamageGlobal event which gets invoked when any unit in the battle takes damage
- Added ColorOverlay node which can be used to fade (0-1 intensity) the screen to a specific color (rgb)
- Added DeleteEquipment node to delete the equipment of units which just died (OnDeath -> DeleteEquipment can be used to prevent the player from picking up the unit's weapons)
- Added GetCustomUnitData to get the custom unit data if possible to spawn another unit with the same gear
- Added global variables to share data between scripts
- Global variables can be placed from the toolbar in the scripting view
- Select variables to set a name and type
- GlobalVar input node can be used to reference global variables from multiple scripts
- GetGlobal/SetGlobal can be used to get/set the value
- Global variables can be placed from the toolbar in the scripting view
- Added GetTarget node to get the target of a unit (can be a position or another unit)
- Added GameSound node to input vanilla sounds
- Contains all in-game music and some effect sounds. More effects will follow
- Contains all in-game music and some effect sounds. More effects will follow
- Particle effects are movable objects now
- Objects which are referenced by scripts can now always be deleted with the 'Delete' node
- Setting the text of a unit hint (message bubble) to null or empty will hide it now
- OnDamage events will now be invoked even if the unit died
- Added OnDamageGlobal event which gets invoked when any unit in the battle takes damage
- Buffed AA tanks (Marksman, AMX-10) with faster projectile speed and weapon rotations
- Added dark color theme for all ground vehicles
- Added an option to close the unit editor without updating the unit when it was opened from within the battle editor
- Custom units with anti air launchers will now always prioritize air vehicles
[h3]Bug fixes[/h3]
- Fixed a bug that caused weapon to get knocked out of the player's hands
- Fixed that invalid sound files in a script would prevent the script from being compiled
- UI elements will now longer be affected by keyboard input
- This will prevent a variety of bugs that caused invisible selected UI elements to be modified
- This will prevent a variety of bugs that caused invisible selected UI elements to be modified
- Fixed frequent lag spikes in the unit creator
- Fixed reloading of underbarrel gl
- Fixed that loading equipment from custom units would be possible in campaign levels with restrictions or inventory
- Fixed a bug that allowed units to move while crouching
- Fixed a bug that caused the animation for chambering a bullet to play after switching the gun
- Fixed a bug that caused some objects to be visible through other objects when the transform handles were visible
[h3]Next update[/h3]
The next update will be 0.37.0 with randomized vanilla units to make them more interesting and some other improvements.