Skip to content

Commit

Permalink
Configuration for YR
Browse files Browse the repository at this point in the history
Co-authored-by: ZivDero <kirill.andriiashin@gmail.com>
Co-authored-by: Rampastring <rampastring@outlook.com>
  • Loading branch information
3 people committed Apr 29, 2024
1 parent d840408 commit 002d559
Show file tree
Hide file tree
Showing 45 changed files with 2,627 additions and 2,330 deletions.
285 changes: 230 additions & 55 deletions src/TSMapEditor/Config/Actions.ini
Expand Up @@ -32,7 +32,8 @@
; WaypointZZ,
; String,
; GlobalVariable (35),
; House (2)
; HouseType (2),
; StringTableEntry

; A trigger action can have up to 7 parameters. When defining types for these, they range from P1Type= to P7Type=.
; If a trigger action takes a waypoint, typically the waypoint is P7 (this is why FinalSun has "uses waypoint" instead of P7 type).
Expand Down Expand Up @@ -96,8 +97,9 @@ P2Type=Movie
[TextTrigger]
Name=Text Trigger
Description=Display the text from Tutorial section in Tutorial.ini (check from map first (Patch)).
P2Type=Text
Description=Display a stringtable string.
P1Type=-4
P2Type=StringTableEntry
[DestroyTrigger]
Name=Destroy Trigger
Expand Down Expand Up @@ -136,16 +138,19 @@ P2Type=Waypoint
[PlaySound]
Name=Play Sound
Description=Plays the sound effect specified. Use numbers from Sounds.ini.
P1Type=-7
P2Type=Sound

[PlayMusicTheme]
Name=Play Music Theme
Description=Plays the specified music track. Tracks are listed in Theme.ini.
P1Type=-8
P2Type=Theme

[PlaySpeech]
Name=Play Speech
Description=Plays the speech sound specified.
P1Type=-6
P2Type=Speech

[ForceTrigger]
Expand Down Expand Up @@ -345,8 +350,8 @@ P2PresetOptions=0 Small,1 Medium,2 Large,3 Huge
P7Type=WaypointZZ
[ReduceTiberiumAt]
Name=Reduce Tiberium At
Description=Reduces Tiberium at the specified waypoint.
Name=Reduce Ore At
Description=Reduces Ore at the specified waypoint.
P2Type=Waypoint
[SellBuilding]
Expand Down Expand Up @@ -473,9 +478,9 @@ Name=Vein Growth
Description=Control if veins grow or not.
P2Type=Boolean

[TiberiumGrowth]
Name=Tiberium Growth
Description=Control if Tiberium grows or not.
[OreGrowth]
Name=Ore Growth
Description=Control if ore grows or not.
P2Type=Boolean

[IceGrowth]
Expand Down Expand Up @@ -533,11 +538,13 @@ Description=Toggles state of cargo train dropping crate.
[PlaySoundEffectRandom]
Name=Play Sound Effect (Random)
Description=Plays sound effect at random waypoint. Rules of action 19 apply.
P1Type=-7
P2Type=Sound

[PlaySoundEffectAtWaypoint]
Name=Play Sound Effect at Waypoint
Description=Plays sound effect specified at waypoint specified. Rules of action 19 apply.
P1Type=-7
P2Type=Sound
P7Type=WaypointZZ

Expand All @@ -546,74 +553,242 @@ Name=Play Ingame Movie
Description=Displays the specified movie ingame. Player still has control of interface and units.
P2Type=Movie

[ReshroudMapAt]
Name=Reshroud Map at
Description=Reshrouds map around waypoint.
P2Type=Waypoint

[LightningStormStrike]
Name=Lightning Storm Strike
Description=Trigger's House fires a Lightning Storm at the specified waypoint.
P7Type=WaypointZZ
[TimerText]
Name=Timer Text
Description=Displays text string from CSF as mission timer text.
P1Type=-4
P2Type=StringTableEntry
[FlashTeam]
Name=Flash Team
Description=Flashes all members of a TeamType for the specified number of frames.
P1Type=-4
P1Type=-5
P2Type=TeamType
P7Type=Number
[DisableSpeech]
Name=Disable Speech
Description=Disables EVA announcements.

[EnableSpeech]
Name=Enable Speech
Description=Enables EVA announcements.

[SetGroup]
Name=Set Group
Description=Assigns all attached objects to the given Group number.
P2Type=Number

[TalkBubble]
Name=Talk Bubble
Description=Displays talk bubble over each member of the specified TeamType.
P1Type=-4
P1Type=-5
P2Type=TeamType
P7Type=Number
P7Name=Frame
P7Name=Duration
[SetObjectTechLevel]
Name=Set Object Tech Level
Description=Sets the specified object type to have the specified tech level.
P1Type=-9
P2Type=Techno
P7Type=Number
[ReinforcementByChrono]
Name=Reinforcement by Chrono
Description=Creates an instance of a TeamType by Chronoshifting it into the map. The team is owned by the trigger's owning house.
P1Type=-1
P2Type=TeamType
P7Type=WaypointZZ

[GiveCredits]
Name=Give Credits (Patch)
Description=Give credits to a specific house.
[CreateCrate]
Name=Create Crate
Description=Creates a Crate with specific contents at a waypoint.
P2Type=Number
P7Type=WaypointZZ

[IronCurtainAt]
Name=Iron Curtain at
Description=Fires the Iron Curtain at the specified waypoint.
P7Type=WaypointZZ

[PauseGame]
Name=Pause Game
Description=Pauses the game for the specified number of seconds.
P2Type=Number

[EvictOccupiers]
Name=Evict Occupiers
Description=Evicts occupants from the attached building.

[CenterJumpCameraAtWaypoint]
Name=Center (Jump) Camera at Waypoint
Description=Moves the tactical view to the specified waypoint.
P7Type=WaypointZZ

[MakeHouseCheer]
Name=Make House Cheer
Description=All infantry of the specified house will play their cheer animation if they can.
P2Type=HouseType
P3Type=Number

[EnableShortGame]
Name=Enable Short Game (Patch)
Description=Enables the Short Game option. Will NOT automatically kill players that have no buildings when this is enabled.
[SetSidebarTab]
Name=Set Sidebar Tab
Description=Flips sidebar to specified tab number (0-3).
P2Type=Number

[DisableShortGame]
Name=Disable Short Game (Patch)
Description=Disables the Short Game option.
[FlashCameo]
Name=Flash Cameo
Description=Flashes the cameo of the given object for the specified number of frames.
P1Type=-9
P2Type=Techno
P7Type=Number

[ShowDifficultyLevel]
Name=Show Difficulty Level (Patch)
Description=Prints the difficulty level used for the current mission.
[StopSoundsAt]
Name=Stop Sounds at
Description=Stops all sounds playing at given waypoint that were started using the Play Sound At trigger action.
P7Type=WaypointZZ

[ForceSurrender]
Name=Force Surrender (Patch)
Description=Force the specified house to surrender and blow up everything they own. Use house indexes 50 to 57 for multiplayer houses.
[PlayIngameMoviePauseGame]
Name=Play Ingame Movie (Pause Game)
Description=Pauses game, locks player input and displays the specified movie in the sidebar.
P2Type=Movie

[ClearAllSmudges]
Name=Clear All Smudges
Description=Will delete all Smudge objects from the map.

[DestroyAllOf]
Name=Destroy All of
Description=Kills everything of the specified house.
P2Type=HouseType

[PromoteVeterancy]
Name=Promote Veterancy (Patch)
Description=Promote the veterancy of the attached team.
[DestroyAllBuildingsOf]
Name=Destroy All Buildings of
Description=Kills all buildings for specified house.
P2Type=HouseType

[EnableAllyReveal]
Name=Enable AllyReveal (Patch)
Description=Enables AllyReveal (in Rules.ini AudioVisual section) logic, allowing allied houses to reveal shroud for each other.
[DestroyALlLandUnitsOf]
Name=Destroy All Land Units of
Description=Kills all land units for specified house.
P2Type=HouseType

[DisableAllyReveal]
Name=Disable AllyReveal (Patch)
Description=Disables AllyReveal (in Rules.ini AudioVisual section) logic, preventing allied houses from revealing shroud for each other.
[DestroyALlNavalUnitsOf]
Name=Destroy All Naval Units of
Description=Kills all naval units for specified house.
P2Type=HouseType

[MindControlBaseOf]
Name=Mind Control Base of
Description=The owner of the trigger will mind control the argument's base.
P2Type=HouseType
[RestoreMindControlledBaseTo]
Name=Restore Mind Controlled Base to
Description=The owner of the trigger will give all buildings that were the argument's back to it.
P2Type=HouseType

[CreateBuildingAt]
Name=Create Building At
Description=Owner of the trigger will gain this type of building at this waypoint. Overlays will be cleared and units bumped.
P1Type=-10
P2Type=Building
P7Type=Waypoint

[RestoreStartingTechnosOf]
Name=Restore Starting Technos of
Description=All Buildings and units this house had at the start of the game will be recreated. Will bump units and erase Overlays.
P2Type=HouseType

[ChronoScreenEffectsFor]
Name=Chrono Screen Effect for
Description=Will tile the screen with the full screen chrono effect for this many frames.
P2Type=Number

[CreateAutoSave]
Name=Create Auto-Save (Patch)
Description=Makes the game create an auto-save if auto-saves are enabled for the current game session.
[TeleportAllTo]
Name=Teleport All to
Description=All Units of trigger owning House will teleport to Waypoint.
P7Type=Waypoint

[EraseAttachedObject]
Name=Erase Attached Object (Patch)
Description=Erase any buildings or units that this trigger is attached to. Erasing means that the objects are silently removed from the game world without any explosions or other effects. Use "Destroy attached object" if you want to destroy the object normally.
[SetSuperweaponCharge]
Name=Set Superweapon Charge
Description=The owner of this trigger will have this superweapon charged to this percent% if they have the superweapon. Takes an int (0-100).
P1Type=-11
P2Type=HouseType
P7Type=Number

[RestoreStartingBuildingsOf]
Name=Restore Starting Buildings of
Description=All Buildings this house had at the start of the game will be healed or recreated. Will bump units and erase Overlays.
P2Type=HouseType

[FlashBuildingsOfType]
Name=Flash Buildings of Type
Description=All buildings of this type owned by trigger owner will flash for this long.
P1Type=-9
P2Type=Building
P7Type=Number

[SuperweaponSetRechargeTime]
Name=Superweapon Set Recharge Time
Description=Changes the time (in frames) this superweapon takes to charge the next time it is reset or fired.
P1Type=-11
P2Type=SuperWeapon
P7Type=Number

[SuperweaponResetRechargeTime]
Name=Superweapon Reset Recharge Time
Description=Changes the time (in frames) this superweapon takes to charge back to normal.
P2Type=SuperWeapon

[SuperweaponReset]
Name=Superweapon Reset
Description=Resets a superweapon like a spy had gotten in.
P2Type=SuperWeapon

[PreferredTargetCellSet]
Name=Preferred Target Cell Set
Description=The owner of this trigger will aim all future targetable superweapons at this waypoint.
P7Type=Waypoint

[PreferredTargetCellClear]
Name=Preferred Target Cell Clear
Description=The owner of this trigger will go back to targeting its superweapons normally.

[CenterBaseCellSet]
Name=Center Base Cell Set
Description=Owner of this trigger will consider the center of its base to be this waypoint.
P7Type=Waypoint

[CenterBaseCellClear]
Name=Center Base Cell Clear
Description=Owner of this trigger will go back to computing its center.

[BlackoutRadarTrigger]
Name=Blackout Radar Trigger
Description=Owner will have radar blackout for this many frames.
P7Type=Number

[DefensiveTargetCellSet]
Name=Defensive Target Cell Set
Description=The owner of this trigger will aim all future force shields at this waypoint.
P7Type=Waypoint

[DefensiveTargetCellClear]
Name=Defensive Target Cell Clear
Description=The owner of this trigger will go back to targeting its force shields normally.

[RetintRed]
Name=Retint Red
Description=Retint the Red portion of the screen, %
P2Type=Number

[RetintGreen]
Name=Retint Green
Description=Retint the Green portion of the screen, %
P2Type=Number

[RetintBlue]
Name=Retint Blue
Description=Retint the Blue portion of the screen, %
P2Type=Number

[JumpCameraHome]
Name=Jump Camera Home
Description=Just like hitting the 'H' key.

0 comments on commit 002d559

Please sign in to comment.