Skip to content

Commit e018545

Browse files
MortonPLZivDeroRampastring
committed
Configuration for YR
Co-authored-by: ZivDero <kirill.andriiashin@gmail.com> Co-authored-by: Rampastring <rampastring@outlook.com>
1 parent db417bf commit e018545

39 files changed

+2222
-2306
lines changed

src/TSMapEditor/Config/Actions.ini

Lines changed: 230 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
; WaypointZZ,
3333
; String,
3434
; GlobalVariable (35),
35-
; House (2)
35+
; HouseType (2),
36+
; StringTableEntry
3637

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

141144
[PlayMusicTheme]
142145
Name=Play Music Theme
143146
Description=Plays the specified music track. Tracks are listed in Theme.ini.
147+
P1Type=-8
144148
P2Type=Theme
145149

146150
[PlaySpeech]
147151
Name=Play Speech
148152
Description=Plays the speech sound specified.
153+
P1Type=-6
149154
P2Type=Speech
150155

151156
[ForceTrigger]
@@ -345,8 +350,8 @@ P2PresetOptions=0 Small,1 Medium,2 Large,3 Huge
345350
P7Type=WaypointZZ
346351
347352
[ReduceTiberiumAt]
348-
Name=Reduce Tiberium At
349-
Description=Reduces Tiberium at the specified waypoint.
353+
Name=Reduce Ore At
354+
Description=Reduces Ore at the specified waypoint.
350355
P2Type=Waypoint
351356
352357
[SellBuilding]
@@ -473,9 +478,9 @@ Name=Vein Growth
473478
Description=Control if veins grow or not.
474479
P2Type=Boolean
475480

476-
[TiberiumGrowth]
477-
Name=Tiberium Growth
478-
Description=Control if Tiberium grows or not.
481+
[OreGrowth]
482+
Name=Ore Growth
483+
Description=Control if ore grows or not.
479484
P2Type=Boolean
480485

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

538544
[PlaySoundEffectAtWaypoint]
539545
Name=Play Sound Effect at Waypoint
540546
Description=Plays sound effect specified at waypoint specified. Rules of action 19 apply.
547+
P1Type=-7
541548
P2Type=Sound
542549
P7Type=WaypointZZ
543550

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

556+
[ReshroudMapAt]
557+
Name=Reshroud Map at
558+
Description=Reshrouds map around waypoint.
559+
P2Type=Waypoint
560+
561+
[LightningStormStrike]
562+
Name=Lightning Storm Strike
563+
Description=Trigger's House fires a Lightning Storm at the specified waypoint.
564+
P7Type=WaypointZZ
565+
566+
[TimerText]
567+
Name=Timer Text
568+
Description=Displays text string from CSF as mission timer text.
569+
P1Type=-4
570+
P2Type=StringTableEntry
571+
549572
[FlashTeam]
550573
Name=Flash Team
551574
Description=Flashes all members of a TeamType for the specified number of frames.
552-
P1Type=-4
575+
P1Type=-5
553576
P2Type=TeamType
554577
P7Type=Number
555578
556-
[DisableSpeech]
557-
Name=Disable Speech
558-
Description=Disables EVA announcements.
559-
560-
[EnableSpeech]
561-
Name=Enable Speech
562-
Description=Enables EVA announcements.
563-
564-
[SetGroup]
565-
Name=Set Group
566-
Description=Assigns all attached objects to the given Group number.
567-
P2Type=Number
568-
569579
[TalkBubble]
570580
Name=Talk Bubble
571581
Description=Displays talk bubble over each member of the specified TeamType.
572-
P1Type=-4
582+
P1Type=-5
573583
P2Type=TeamType
574584
P7Type=Number
575-
P7Name=Frame
585+
P7Name=Duration
586+
587+
[SetObjectTechLevel]
588+
Name=Set Object Tech Level
589+
Description=Sets the specified object type to have the specified tech level.
590+
P1Type=-9
591+
P2Type=Techno
592+
P7Type=Number
593+
594+
[ReinforcementByChrono]
595+
Name=Reinforcement by Chrono
596+
Description=Creates an instance of a TeamType by Chronoshifting it into the map. The team is owned by the trigger's owning house.
597+
P1Type=-1
598+
P2Type=TeamType
599+
P7Type=WaypointZZ
576600

577-
[GiveCredits]
578-
Name=Give Credits (Patch)
579-
Description=Give credits to a specific house.
601+
[CreateCrate]
602+
Name=Create Crate
603+
Description=Creates a Crate with specific contents at a waypoint.
604+
P2Type=Number
605+
P7Type=WaypointZZ
606+
607+
[IronCurtainAt]
608+
Name=Iron Curtain at
609+
Description=Fires the Iron Curtain at the specified waypoint.
610+
P7Type=WaypointZZ
611+
612+
[PauseGame]
613+
Name=Pause Game
614+
Description=Pauses the game for the specified number of seconds.
615+
P2Type=Number
616+
617+
[EvictOccupiers]
618+
Name=Evict Occupiers
619+
Description=Evicts occupants from the attached building.
620+
621+
[CenterJumpCameraAtWaypoint]
622+
Name=Center (Jump) Camera at Waypoint
623+
Description=Moves the tactical view to the specified waypoint.
624+
P7Type=WaypointZZ
625+
626+
[MakeHouseCheer]
627+
Name=Make House Cheer
628+
Description=All infantry of the specified house will play their cheer animation if they can.
580629
P2Type=HouseType
581-
P3Type=Number
582630

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

587-
[DisableShortGame]
588-
Name=Disable Short Game (Patch)
589-
Description=Disables the Short Game option.
636+
[FlashCameo]
637+
Name=Flash Cameo
638+
Description=Flashes the cameo of the given object for the specified number of frames.
639+
P1Type=-9
640+
P2Type=Techno
641+
P7Type=Number
590642

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

595-
[ForceSurrender]
596-
Name=Force Surrender (Patch)
597-
Description=Force the specified house to surrender and blow up everything they own. Use house indexes 50 to 57 for multiplayer houses.
648+
[PlayIngameMoviePauseGame]
649+
Name=Play Ingame Movie (Pause Game)
650+
Description=Pauses game, locks player input and displays the specified movie in the sidebar.
651+
P2Type=Movie
652+
653+
[ClearAllSmudges]
654+
Name=Clear All Smudges
655+
Description=Will delete all Smudge objects from the map.
656+
657+
[DestroyAllOf]
658+
Name=Destroy All of
659+
Description=Kills everything of the specified house.
598660
P2Type=HouseType
599661

600-
[PromoteVeterancy]
601-
Name=Promote Veterancy (Patch)
602-
Description=Promote the veterancy of the attached team.
662+
[DestroyAllBuildingsOf]
663+
Name=Destroy All Buildings of
664+
Description=Kills all buildings for specified house.
665+
P2Type=HouseType
603666

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

608-
[DisableAllyReveal]
609-
Name=Disable AllyReveal (Patch)
610-
Description=Disables AllyReveal (in Rules.ini AudioVisual section) logic, preventing allied houses from revealing shroud for each other.
672+
[DestroyALlNavalUnitsOf]
673+
Name=Destroy All Naval Units of
674+
Description=Kills all naval units for specified house.
675+
P2Type=HouseType
676+
677+
[MindControlBaseOf]
678+
Name=Mind Control Base of
679+
Description=The owner of the trigger will mind control the argument's base.
680+
P2Type=HouseType
681+
682+
[RestoreMindControlledBaseTo]
683+
Name=Restore Mind Controlled Base to
684+
Description=The owner of the trigger will give all buildings that were the argument's back to it.
685+
P2Type=HouseType
686+
687+
[CreateBuildingAt]
688+
Name=Create Building At
689+
Description=Owner of the trigger will gain this type of building at this waypoint. Overlays will be cleared and units bumped.
690+
P1Type=-10
691+
P2Type=Building
692+
P7Type=Waypoint
693+
694+
[RestoreStartingTechnosOf]
695+
Name=Restore Starting Technos of
696+
Description=All Buildings and units this house had at the start of the game will be recreated. Will bump units and erase Overlays.
697+
P2Type=HouseType
698+
699+
[ChronoScreenEffectsFor]
700+
Name=Chrono Screen Effect for
701+
Description=Will tile the screen with the full screen chrono effect for this many frames.
702+
P2Type=Number
611703

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

616-
[EraseAttachedObject]
617-
Name=Erase Attached Object (Patch)
618-
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.
709+
[SetSuperweaponCharge]
710+
Name=Set Superweapon Charge
711+
Description=The owner of this trigger will have this superweapon charged to this percent% if they have the superweapon. Takes an int (0-100).
712+
P1Type=-11
713+
P2Type=HouseType
714+
P7Type=Number
715+
716+
[RestoreStartingBuildingsOf]
717+
Name=Restore Starting Buildings of
718+
Description=All Buildings this house had at the start of the game will be healed or recreated. Will bump units and erase Overlays.
719+
P2Type=HouseType
720+
721+
[FlashBuildingsOfType]
722+
Name=Flash Buildings of Type
723+
Description=All buildings of this type owned by trigger owner will flash for this long.
724+
P1Type=-9
725+
P2Type=Building
726+
P7Type=Number
727+
728+
[SuperweaponSetRechargeTime]
729+
Name=Superweapon Set Recharge Time
730+
Description=Changes the time (in frames) this superweapon takes to charge the next time it is reset or fired.
731+
P1Type=-11
732+
P2Type=SuperWeapon
733+
P7Type=Number
734+
735+
[SuperweaponResetRechargeTime]
736+
Name=Superweapon Reset Recharge Time
737+
Description=Changes the time (in frames) this superweapon takes to charge back to normal.
738+
P2Type=SuperWeapon
739+
740+
[SuperweaponReset]
741+
Name=Superweapon Reset
742+
Description=Resets a superweapon like a spy had gotten in.
743+
P2Type=SuperWeapon
744+
745+
[PreferredTargetCellSet]
746+
Name=Preferred Target Cell Set
747+
Description=The owner of this trigger will aim all future targetable superweapons at this waypoint.
748+
P7Type=Waypoint
749+
750+
[PreferredTargetCellClear]
751+
Name=Preferred Target Cell Clear
752+
Description=The owner of this trigger will go back to targeting its superweapons normally.
753+
754+
[CenterBaseCellSet]
755+
Name=Center Base Cell Set
756+
Description=Owner of this trigger will consider the center of its base to be this waypoint.
757+
P7Type=Waypoint
758+
759+
[CenterBaseCellClear]
760+
Name=Center Base Cell Clear
761+
Description=Owner of this trigger will go back to computing its center.
762+
763+
[BlackoutRadarTrigger]
764+
Name=Blackout Radar Trigger
765+
Description=Owner will have radar blackout for this many frames.
766+
P7Type=Number
767+
768+
[DefensiveTargetCellSet]
769+
Name=Defensive Target Cell Set
770+
Description=The owner of this trigger will aim all future force shields at this waypoint.
771+
P7Type=Waypoint
772+
773+
[DefensiveTargetCellClear]
774+
Name=Defensive Target Cell Clear
775+
Description=The owner of this trigger will go back to targeting its force shields normally.
776+
777+
[RetintRed]
778+
Name=Retint Red
779+
Description=Retint the Red portion of the screen, %
780+
P2Type=Number
781+
782+
[RetintGreen]
783+
Name=Retint Green
784+
Description=Retint the Green portion of the screen, %
785+
P2Type=Number
786+
787+
[RetintBlue]
788+
Name=Retint Blue
789+
Description=Retint the Blue portion of the screen, %
790+
P2Type=Number
619791

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

0 commit comments

Comments
 (0)