Mod brings 30 maps from RTS game Rusted Warfare into the 2005 Star Wars Battlefront II! First ever mod with 7 Team Conquest!
Modders assets for my Multi-Teamed Capture The Flag. Comes with ctf base colors, script and a test map.
Modders assets for my semi-working Multi-Teamed Capture The Flag. Comes with ctf base colors, script and a test map.
Make sure to credit me and Rayman1103 if these are helpful.I originally just made 4 Team CTF as an extra for my Battlefront 4 Mayhem mod: Moddb.com I wanna experiment with it.The RCF folder is an example map, just move it to addon and you can play it. The map name is [Multi-Teamed CTF] with the brackets so they appear at the bottom of the list.Only team 1 can capture the flag and I've tried really hard to get team 2 to too.All the ctfbase colors can be found in the 'msh' folder. You'll notice that there is none for yellow team, that's because it's already in the game!To make yellow team:Place the following code in ScriptInit:SetTeamAsNeutral(1, 3)SetTeamAsNeutral(3, 1)SetTeamAsNeutral(2, 3)SetTeamAsNeutral(3, 2)Then place the following in ScriptPostLoad:SetTeamAsEnemy(1, 3)SetTeamAsEnemy(3, 1)SetTeamAsEnemy(2, 3)SetTeamAsEnemy(3, 2)Credit to Rayman1103 for that.Credit to Super Battle Droid Posting [YT] for discovering that only one team can capture the flag.
4 team ctf script: SetProperty("flag1", "GeometryName", "com_icon_republic_flag") SetProperty("flag1", "CarriedGeometryName", "com_icon_republic_flag_carried") SetProperty("flag2", "GeometryName", "com_icon_cis_flag") SetProperty("flag2", "CarriedGeometryName", "com_icon_cis_flag_carried") SetProperty("flag3", "GeometryName", "com_icon_green_flag") SetProperty("flag3", "CarriedGeometryName", "com_icon_green_flag_carried") SetProperty("flag4", "GeometryName", "com_icon_alliance_flag") SetProperty("flag4", "CarriedGeometryName", "com_icon_alliance_flag_carried") AddAIGoal(3, "Defend", 50, flag3) AddAIGoal(4, "Defend", 50, flag4) SetMemoryPoolSize("FlagItem", 4)
--This makes sure the flag is colorized when it has been dropped on the ground SetClassProperty("com_item_flag", "DroppedColorize", 1)
--This is all the actual ctf objective setup ctf = ObjectiveCTF:New{teamATT = REP, teamDEF = CIS, team3 = IMP, team4 = ALL, captureLimit = 5, textATT = "game.modes.ctf", textDEF = "game.modes.ctf2", hideCPs = true, multiplayerRules = true} ctf:AddFlag{name = "flag1", homeRegion = "team1_capture", captureRegion = "team2_capture", "team3_capture", "team4_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag2", homeRegion = "team2_capture", captureRegion = "team1_capture", "team3_capture", "team4_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag3", homeRegion = "team3_capture", captureRegion = "team1_capture", "team2_capture", "team4_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag4", homeRegion = "team4_capture", captureRegion = "team1_capture", "team2_capture", "team3_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc 7 team ctf script: SetProperty("flag1", "GeometryName", "com_icon_republic_flag") SetProperty("flag1", "CarriedGeometryName", "com_icon_republic_flag_carried") SetProperty("flag2", "GeometryName", "com_icon_cis_flag") SetProperty("flag2", "CarriedGeometryName", "com_icon_cis_flag_carried") SetProperty("flag3", "GeometryName", "com_icon_green_flag") SetProperty("flag3", "CarriedGeometryName", "com_icon_green_flag_carried") SetProperty("flag4", "GeometryName", "com_icon_alliance_flag") SetProperty("flag4", "CarriedGeometryName", "com_icon_alliance_flag_carried") SetProperty("flag5", "GeometryName", "com_icon_cyan_flag") SetProperty("flag5", "CarriedGeometryName", "com_icon_cyan_flag_carried") SetProperty("flag6", "GeometryName", "com_icon_magenta_flag") SetProperty("flag6", "CarriedGeometryName", "com_icon_magenta_flag_carried") SetProperty("flag7", "GeometryName", "com_icon_alliance_flag") SetProperty("flag7", "CarriedGeometryName", "com_icon_alliance_flag_carried") -- no need to include these two if you want flag7 to be the 1flag ctf flag AddAIGoal(3, "Defend", 50, flag3) AddAIGoal(4, "Defend", 50, flag4) AddAIGoal(5, "Defend", 50, flag5) AddAIGoal(6, "Defend", 50, flag6) AddAIGoal(7, "Defend", 50, flag7) SetMemoryPoolSize("FlagItem", 7)
--This makes sure the flag is colorized when it has been dropped on the ground SetClassProperty("com_item_flag", "DroppedColorize", 1)
--This is all the actual ctf objective setup ctf = ObjectiveCTF:New{teamATT = REP, teamDEF = CIS, team3 = GREEN, team4 = YELLOW, team5 = CYAN, team6 = MAGENTA, team7 = ORANGE, captureLimit = 5, textATT = "game.modes.ctf", textDEF = "game.modes.ctf2", hideCPs = true, multiplayerRules = true} ctf:AddFlag{name = "flag1", homeRegion = "team1_capture", captureRegion = "team2_capture", "team3_capture", "team4_capture", "team5_capture", "team6_capture", "team7_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag2", homeRegion = "team2_capture", captureRegion = "team1_capture", "team3_capture", "team4_capture", "team5_capture", "team6_capture", "team7_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag3", homeRegion = "team3_capture", captureRegion = "team1_capture", "team2_capture", "team4_capture", "team5_capture", "team6_capture", "team7_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag4", homeRegion = "team4_capture", captureRegion = "team1_capture", "team2_capture", "team3_capture", "team5_capture", "team6_capture", "team7_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag5", homeRegion = "team4_capture", captureRegion = "team1_capture", "team2_capture", "team3_capture", "team4_capture", "team6_capture", "team7_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag6", homeRegion = "team4_capture", captureRegion = "team1_capture", "team2_capture", "team3_capture", "team4_capture", "team5_capture", "team7_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag7", homeRegion = "team4_capture", captureRegion = "team1_capture", "team2_capture", "team3_capture", "team4_capture", "team5_capture", "team6_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc
I tried doing this but it makes it so only team 2 can capture the third party flags:
--This is all the actual ctf objective setup ctf = ObjectiveCTF:New{teamATT = REP, teamDEF = CIS, team3 = GREEN, team4 = YELLOW, team5 = CYAN, team6 = MAGENTA, team7 = ORANGE, captureLimit = 5, textATT = "game.modes.ctf", textDEF = "game.modes.ctf2", hideCPs = true, multiplayerRules = true} ctf:AddFlag{name = "flag1", homeRegion = "team1_capture", captureRegion = "team2_capture", "team3_capture", "team4_capture", "team5_capture", "team6_capture", "team7_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag2", homeRegion = "team2_capture", captureRegion = "team1_capture", "team3_capture", "team4_capture", "team5_capture", "team6_capture", "team7_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag3", homeRegion = "team3_capture", captureRegion = "team1_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag3", homeRegion = "team3_capture", captureRegion = "team2_capture", "team4_capture", "team5_capture", "team6_capture", "team7_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc MapAddEntityMarker "flag3", "flag_icon", 4.0, DEF, "YELLOW", true, false, true) ctf:AddFlag{name = "flag4", homeRegion = "team4_capture", captureRegion = "team1_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag4", homeRegion = "team4_capture", captureRegion = "team2_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc MapAddEntityMarker "flag4", "flag_icon", 4.0, DEF, "YELLOW", true, false, true) ctf:AddFlag{name = "flag5", homeRegion = "team4_capture", captureRegion = "team1_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag5", homeRegion = "team4_capture", captureRegion = "team2_capture", "team3_capture", "team4_capture", "team6_capture", "team7_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc MapAddEntityMarker "flag5", "flag_icon", 4.0, DEF, "YELLOW", true, false, true) ctf:AddFlag{name = "flag6", homeRegion = "team4_capture", captureRegion = "team1_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag6", homeRegion = "team4_capture", captureRegion = "team2_capture", "team3_capture", "team4_capture", "team5_capture", "team7_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc MapAddEntityMarker "flag6", "flag_icon", 4.0, DEF, "YELLOW", true, false, true) ctf:AddFlag{name = "flag7", homeRegion = "team4_capture", captureRegion = "team1_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc ctf AddFlag{name = "flag7", homeRegion = "team4_capture", captureRegion = "team2_capture", "team3_capture", "team4_capture", "team5_capture", "team6_capture", capRegi, capRegi icon = "", mapIcon = "flag_icon", mapIc MapAddEntityMarker("flag7", "flag_icon", 4.0, DEF, "YELLOW", true, false, true)