Comp FTC Map Base LUA Scripts v2.47
The following files contain all the LUA scripts contained in the Competitive FTC Base Map for the TTS 40k community. If a file does not exist for an object within the TTS save, then that object does not contain any scripts.
This repo now contains the actual TTS JSON file. To produce the JSON file, run the compile.ps1 script.
Credit and thanks to Trashpanda, GenWilhelm, BaconCatBug, Phubar, Mothman_Zack, Zyllos and Kurcenkurce for their hard work developing/maintaining earlier versions of this mod, and elements contained within it!
- Dice table improvements: use the rotation values built into dice objects instead of calculating them manually, and spawn dice at the correct rotation instead of spawning them and then rotating them (fix supplied by FChippendale - many thanks!)
- Further token improvements - updated more tokens to match new set, and added +1/-1 attack/strength/toughness.
- Added a button for each player to gain a CP. This button remembers whether you've gained a CP this battle round and won't let you gain a second.
- When you show lines for Strategic Reserves, the lines corresponding to player battlefield edges will now show in that player's colour.
- New button to show For the Dark Gods zones (middle of table quarters).
- Objective markers now have states 4 and 5 to colour them in player colours, if you prefer that as a mechanic for recording sticky control (or even just who has current control).
- Swapped the deployment zones on some maps so that red's always on the left and blue on the right!
- Support for ordered dice rolling, in order to facilitate effects like extra damage on 6s to wound into multi-wound models.
- Also supports grouping, useful for feel-no-pains from multi-damage attacks into multi-wound models.
- New button to show lines for Strategic Reserves arriving.
- New button to show lines for Engage on All Fronts / Retrieve Battlefield Data.
- Secondary objective selection overhauled, offering a drop-down or typing interface in place of clicking through a long list.
- Reference the 9e-combined pack repo, which brings generic and faction secondaries together into combined packs.
- Arks of Omen support added. Once better-quality scans are available, please report any issues you find!
- The set of status tokens has been revamped, and now reflects a much more 9th-edition-appropriate set, with options like "obsec" or "fight last" added and options like "+3 to hit" moved to a legacy bag. Huge thanks to Trashpanda for the new token graphics set.
- Status tokens, banners and sticky objective markers are now infinite bags - just drag away to create one.
- Major performance enhancement: switched to a better JSON library, eliminating the multi-second delay every time you load a save.
- Major performance enhancement: mission pack data is no longer included in save files, eliminating the regular slowdown seen when the scoresheet was in use.
- Minor performance enhancement: mission pack data is now downloaded once and shared between the scoreboard and secondary objective managers, speeding up load time and use of those features.
- Dice roller/mat enhancements:
- The buttons to select all dice, or select dice with particular values, have been replaced with buttons that immediately roll those dice. For example, you can re-roll 1s by clicking the button that used to select your 1s, or re-roll all 1s/2s/3s by right-clicking Roll 3. If you want the old behaviour back, just right-click "Roll all dice" to toggle between rolling and selecting.
- Custom dice are now supported. Clear the mat, place a single die on it, then click "Custom Dice". Spawned dice will now be copies of that original one.
- The text in the bottom-left of the dice mat now shows you both how many dice are on the mat and what they sum to.
- You can move the roller and mat separately. Dice will spawn aligned with the mat wherever it is.
- Printouts of recent rolls are a bit more readable.
- Show/hide table quarters and area denial buttons now available during deployment as well as mid-game.
- Mission-specific scoring no longer capped at 15 - now you can record those ludicrous Conversion scores!
- More visible and stable banner models.
- Dice roller tweaked to (customisably) no longer rotate dice after spawning them, in the hopes of fixing physics issues encountered by some players.
- War Zone Nephilim now supported. Ensure the score card is set to GT: Nephilim or Nephilim Factions, and both players will get a CP each turn.
- Some Incursion missions were missing their center objective, now added.
- Nachmund Incursion missions added.
- Fixed broken objective marker scaling (broken in v2.38).
- Objectives are now spawned from a single, hidden template; markers 1-6 are now standalone and never cloned. The template has the "objective" tag built into its alternate states so that spawned objectives correctly despawn/change height even after having their state changed.
- Mat-style state is now the default for objectives.
- Fixed the orientation of the red reserves mat.
- Added chess clock, reserves boards, dice cams, banners and objective control markers, mission dice, action tokens.
- Objectives now have a mat-style state.
- Nachmund Strike Force missions added.
- Hard forked from https://github.com/Zyllos/tts_ftc_base_lua_scripts
- Score sheet updated to support (only) GT22