Forts
Not enough ratings
New Zealand Skirmish 1v1 - KOTH
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
407.722 KB
20 Jul, 2021 @ 5:58pm
23 Jul, 2021 @ 5:39pm
20 Change Notes ( view )

Subscribe to download
New Zealand Skirmish 1v1 - KOTH

Description
A Collection of KOTH maps made by various mappers with varying skill.
Concept made by myself. you may copy the script from Koth_Vista if you wish to make one yourself.

Unique Script made by Gxaps:

RequiresMoonshot = true
Symmetrical = true

-- Insert mods here, e.g. Mods = { "shortrange", "rapidfire" }
Mods = { "dlc1_weapons_skirmish", "dlc1_portal_skirmish", "weapon_pack", "dlc1" }

function OnDeviceTeamUpdated(oldTeamId, newTeamId, deviceId, saveName)
if newTeamId == 1 and deviceId == 8 then
--deviceId should be the ID of your derrick, which will change depending on the order you placed it.
--when you place a device, it'll tell you it's ID in the editor
SetDoorState(19, 27, DS_OPENING, false)
SetDoorState(91, 92, DS_OPENING, false)
--open doors when team 1 claims the derrick, the nodes must be in numerical order, and the nodes should be the two ends of the door concerned.
--when you click a node in the editor, it'll tell you it's ID.
end
if oldTeamId == 1 and deviceId == 8 then
SetDoorState(19, 27, DS_CLOSING, false)
SetDoorState(91, 92, DS_CLOSING, false)
--close doors when team 1 loses derrick
end

if newTeamId == 2 and deviceId == 8 then
SetDoorState(64, 65, DS_OPENING, false)
SetDoorState(23, 31, DS_OPENING, false)
--open doors when team 2 claims derrick
end
if oldTeamId == 2 and deviceId == 8 then
SetDoorState(64, 65, DS_CLOSING, false)
SetDoorState(23, 31, DS_CLOSING, false)
--close doors when team 2 loses derrick
end
end
--blast door ids (useless if you're using this script to make your own map)
--left core: 64, 65
--left bridge:19, 27
--right bridge: 23, 31
--right core: 91, 92