Commit Graph

17 Commits

Author SHA1 Message Date
Justin Marshall 77b03a8b8e Soviet1: If USSR has no engineers AND doesn't have two radar domes, then mission is lost. 2020-07-20 15:09:04 -07:00
Justin Marshall e30fe11a96 Soviet01: If there aren't two radar domes on the map the mission is fail. Success happens when USSR owns two radar domes. 2020-07-20 14:19:48 -07:00
Justin Marshall b7f234b300 Fixed bug were numRadarDomes win condition would trigger because USSR house wasn't specified for CountBuildings. Fixed spelling mistake. 2020-07-20 12:50:00 -07:00
Justin Marshall a21baa6891 FireSale can be toggled via lua script, the AI in soviet 1 won't do a fire sale, and the allied radar dome is no longer a fake dome. 2020-07-20 12:15:27 -07:00
Justin Marshall 9fcc2d286d Soviets will now have paratroopers at the start of soviet mission 1, modified lua GiveSpecialWeapon and super code to allow perputual usage of script granted super weapons even if the prereq requirements aren't met. 2020-07-20 11:27:06 -07:00
Justin Marshall dbc6cd4087 Map files now have the "map" extension. 2020-07-19 11:05:12 -07:00
Justin Marshall 16c72a0305 Updated briefing screen to show objectives and mission name, with a temp background. 2020-07-16 17:14:16 -07:00
Justin Marshall d37e740d19 Added test video for soviet mission 1 and red intro. 2020-07-15 22:06:16 -07:00
Justin Marshall 43cb23b81a Fixed a bug with mission 1 were engineers weren't assigned to USSR and now a mammoth tank spawns for reinforcements. 2020-07-15 17:06:20 -07:00
Justin Marshall 5d441ca39e Added soviet mission 1 script, expanded _global with more vehicle types and CreateVehicle/CreateInfrantry now support coordinate input. 2020-07-14 15:05:25 -07:00
nev6502 678d784004 Added To_Float to fixed point class. This is to help with certain house values to/from Lua but may have other uses.
Added ability to create objects out of thin air, and force factories to produce units.

Added ability to issue movement commands to units.

Updated object cache system to use an incremental UID for retrieval / passing ID back to the script, as ID collisions were occuring.
2020-06-28 15:54:47 -06:00
nev6502 19569faf2b Added ability to change attributes for buildings, units, infantry, aircraft and veseels. Values are restored to default values by cacheing values upon first usage and cleaning up with Deinit().
Revised global header to encapsulate the values within sections, drastically reducing variable counts

Mouse frequent click/drag fix
2020-06-27 18:16:29 -06:00
nev6502 698d7ee346 Merge branch 'nev6502_branch' of https://github.com/nev6502/CnC_Remastered_Collection into nev6502_branch 2020-06-26 00:19:35 -06:00
nev6502 0ef858bf86 More scripting functions (ability to various change object / objectType attributes) and globals for use with them 2020-06-26 00:19:20 -06:00
Justin Marshall 8890f72a49 Added EA tgautil script. 2020-06-25 13:40:55 -07:00
nev6502 569c925c04 Added ability to fire trigger only once (VOLATILE). It's a good thing I did because it exposed an issue with the merge trigger function. The old code was allowing a trigger to exist more than once in the various lists (eg. LogicTriggers), causing major issues when a temporary (VOLATILE) trigger got sprung. This is resolved. 2020-06-21 14:51:56 -06:00
nev6502 b554ba4448 Global header added
Several new utility functions
2020-06-21 05:32:19 -06:00