CreateObject(model, origin, angle) {
return spawnEntity("script_model", model, origin, angle);
}
onPlayerSpawned()
...
for(;
{
self waittill("spawned_player");
self thread spawnmap(); <--- Place here
if (!isDefined(level.customMapReady) && level.useCustomMaps)
...
spawnmap()
{
if(getDvar("mapname") == "mp_nuketown_2020")
self setOrigin( level.snuketown );
}
Nuketown()
{
level thread removeSkyBarrier();
CreateRamp((300, 390, -70), (183, 350, -55));
CreateMysteryBox((77, 459, -22), (0, 102, 0), 150);
CreateMysteryBox((-826, 76, -41), (0, -20, 0), 125);
CreateMysteryBox((-574, 520, 85), (0, -110, 0), 125);
CreateDoor((-848, 553, 99), (-798, 380, 99), 2, (90, 122, 0), 3, 2, 25, 80);
CreateDoor((300, 489, -40), (178, 360, -27), 2, (90, 17, 0), 2, 2, 25, 80);
CreateDoor((-439, 26, -40), (-194, -264, -40), 2, (90, -90, 0), 5, 2, 25, 80);
CreateFlag((-730, 813, -62), (816, 668, -56), false, false);
CreateFlag((1330, 485, -62), (948, 488, -56), false, false);
CreateFlag((1587, 288, -62), (816, 668, -56), false, false);
CreateFlag((-574, 606, 79), (1090, 198, -56), false, false);
CreateZipline((-1855, 154, -62), (-1088, 482, 77), 3, true);
CreateTurret((-1643, 360, -10), (0, -20, 0), "auto_gun_turret_mp");
CreateWall((739, 830, -63), (708, 956, 20), false);
CreateWall((538, 93, 160), (568, 20, 161), false);
level.snuketown = (1967, 392,-60);
createObject(( "t6_wpn_supply_drop_ally"), (579, -22, 23), (0, 103,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (579, -22, 53), (0, 103,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (1145, 262, -26), (0, 16,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (1145, 262, 5), (0, 16,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (1134, 300, 95), (0, 16,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (1134, 300, 135), (0, 16,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (573, 110, -1
, (0, 15,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (573, 110, -1
, (0, 20,0 ));
createObject(( "t6_wpn_supply_drop_axis"), (983, 462, -12), (0, -75,0 ));
createObject(( "t6_wpn_supply_drop_axis"), (967, 682, -1
, (0, 16,0 ));
createObject(( "t6_wpn_supply_drop_axis"), (957, 679, 15), (0, 16,0 ));
createObject(( "veh_t6_nuketown_2020_car02_whole"), (205, 595, -23), ( 0, 0, 90 ));
createObject(( "veh_t6_nuketown_2020_car02_whole"), (352, 629, -23), ( 0, 0, 90));
createObject(( "veh_t6_nuketown_2020_car02_whole"), (540, 644, -23), ( 0, 0, 90 ));
createObject(( "veh_t6_nuketown_2020_car02_whole"), (379, 332, -23), ( 0, 0, 90 ));
createObject(( "veh_t6_nuketown_2020_car02_whole"), (268, 306, -23), ( 0, 0, 90 ));
//BUS
createObject(( "t6_wpn_supply_drop_ally"), (25, 536, -2), (0, 104,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (25, 536, 26), (0, 104,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (25, 536, 56), (0, 104,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (81, 552, -2), (0, 104,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (81, 552, 26), (0, 104,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (81, 552, 56), (0, 104,0 ));
//AFTER BUS
createObject(( "veh_t6_nuketown_2020_car02_whole"), (-33, 331, -23), ( 0, -135, 90 ));
createObject(( "veh_t6_nuketown_2020_car02_whole"), (-85, 272, -23), ( 0, -100, 90 ));
//BLUE CAR
createObject(( "veh_t6_nuketown_2020_car02_whole"), (295, -54.7, -23), ( 0, 117, 90 ));
createObject(( "veh_t6_nuketown_2020_car02_whole"), (320, -144, -23), ( 0, 117, 90 ));
createObject(( "t6_wpn_supply_drop_ally"), (331, -222, 29), (0, 134,0 ));
//NEAR HOUSE
createObject(( "veh_t6_nuketown_2020_car02_whole"), (-234, 132, -23), ( 0, 160, 90 ));
createObject(( "veh_t6_nuketown_2020_car02_whole"), (-384, 165, -23), ( 0, 170, 90 ));
createObject(( "t6_wpn_supply_drop_ally"), (-738, 229, -15), (0, -20,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (-738, 229, 32), (0, -20,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (-759, 167, -15), (0, -20,0 ));
createObject(( "t6_wpn_supply_drop_ally"), (-759, 167, 32), (0, -20,0 ));
//balcoon door
createObject(( "t6_wpn_supply_drop_ally"), (-1027, 696, 131), (0, 68,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1067, 713, 131), (0, 68,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1109, 729, 131), (0, 68,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1121, 705, 120), (0, 158,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1136, 665, 131), (0, 158,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1146, 624, 131), (0, 160,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1159, 582, 131), (0, 160,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1180, 529, 131), (0, 160,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1197, 484, 131), (0, 157,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1178, 462, 131), (0, -108,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1127, 443, 131), (0, -108,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1209, 501, 19), (0, 159,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1270, 523, 19), (0, -25,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-1266, 586, 41), (0, -25,0 ));
//House Guard
createObject(( "t6_wpn_supply_drop_ally"), (-502, 213, 19), (0, 55,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-502, 213, 39), (0, 55,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-895, 640, 117), (0, 71,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-902, 640, 155), (0, 68,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-542, 279, 170), (0,-18,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-528, 321, 170), (0,-18,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-792, 456, -33), (0,-18,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-792, 456, -5), (0,-18,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-792, 456, 24), (0,-18,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-809, 400, -33), (0,-18,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-808, 400, -5), (0,-18,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-808, 400, 24), (0,-18,0 ) );
//Final
createObject(( "t6_wpn_supply_drop_ally"), (-981, 705, -15), (0, 160,0 ) );
createObject(( "t6_wpn_supply_drop_ally"), (-979, 705, 16), (0, 160,0 ) );
createObject(( "veh_t6_nuketown_2020_car01_whole"), (-1628, 350, -30), ( 0, -108 , 0 )); //Turret
createObject(( "veh_t6_nuketown_2020_car02_whole"), (-1545, 569, -19), (0, 160,90 ));
createObject(( "veh_t6_nuketown_2020_car02_whole"), (-1394, 510, -19), (0, 164,90 ));
createObject(( "veh_t6_nuketown_2020_car02_whole"), (-1145, 452, -23), ( 0, 160, 90 ));
createObject(( "t6_wpn_supply_drop_ally"), (-1123, 371, 33), (0, -22,0 ));
}
createBlock(pos, angle)
{
block = spawn("script_model", pos );
block setModel("t6_wpn_supply_drop_ally");
block.angles = angle;
}
createBlockCar(pos, angle)
{
blockCar = spawn("script_model", pos );
blockCar setModel("veh_t6_nuketown_2020_car02_whole");
blockCar.angles = angle;
}
onPlayerSpawned()
...
for(;
{
self waittill("spawned_player");
self thread spawnmap(); <--- Place here
if (!isDefined(level.customMapReady) && level.useCustomMaps)
...
spawnmap()
{
if(getDvar("mapname") == "mp_nuketown_2020")
self setOrigin( level.snuketown );
}
[SPOILER]
Nuketown()
{
CreateMysteryBox((77, 459, -22), (0, 102, 0), 150);
CreateMysteryBox((-826, 76, -41), (0, -20, 0), 125);
CreateDoor((-848, 553, 99), (-798, 380, 99), 2, (90, 122, 0), 3, 2, 25, 80);
CreateDoor((300, 489, -40), (178, 360, -17), 2, (90, 17, 0), 2, 2, 25, 80);
CreateDoor((-439, 26, -40), (-194, -264, -40), 2, (90, -90, 0), 5, 2, 25, 80);
CreateFlag((-730, 813, -62), (816, 668, -56), false, false);
CreateFlag((1330, 485, -62), (948, 488, -56), false, false);
CreateFlag((1587, 288, -62), (816, 668, -56), false, false);
CreateFlag((-574, 606, 79), (1519, 1047, -56), false, false);
CreateZipline((-1855, 154, -62), (-1088, 482, 77), 3, true);
CreateTurret((-1643, 360, -10), (0, -20, 0), "auto_gun_turret_mp");
CreateWall((739, 830, -63), (708, 956, 20), false);
CreateWall((538, 93, 116), (568, 20, 150), false);
CreateWall((610, -116, -62), (656, -26, 20), false);
level.snuketown = (1967, 392,-60);
createBlock( (573, 110, -18.1), (0, 15,0 ));
createBlock( (573, 110, -18.1), (0, 20,0 ));
createBlock( (983, 462, -12), (0, -75,0 ));
createBlock( (967, 682, -18.1), (0, 16,0 ));
createBlock( (957, 679, 15), (0, 16,0 ));
createBlockCar( (205, 595, -23), ( 0, 0, 90 ));
createBlockCar( (352, 629, -23), ( 0, 0, 90));
createBlockCar( (540, 644, -23), ( 0, 0, 90 ));
createBlockCar( (379, 332, -23), ( 0, 0, 90 ));
createBlockCar( (268, 306, -23), ( 0, 0, 90 ));
//BUS
createBlock( (25, 536, -2), (0, 104,0 ));
createBlock( (25, 536, 26), (0, 104,0 ));
createBlock( (25, 536, 56), (0, 104,0 ));
createBlock( (81, 552, -2), (0, 104,0 ));
createBlock( (81, 552, 26), (0, 104,0 ));
createBlock( (81, 552, 56), (0, 104,0 ));
//AFTER BUS
createBlock( (-18, 374, -32), (0, -72,0 ));
createBlock( (-71, 331, -32), (0, -37,0 ));
createBlock( (-105, 271, -32), (0, -23,0 ));
createBlock( (-122, 208, -32), (0, -12,0 ));
createBlock( (-9, 350, -8.1), (0, 120,0 ));
createBlock( (-58, 294, -8.1), (0, 137,0 ));
createBlock( (-85, 241, -8.1), (0, 170,0 ));
//BLUE CAR
createBlock( (270, -24, -34), (0, 28,0 ));
createBlock( (296, -81, -34), (0, 20,0 ));
createBlock( (313, -148, -30), (0, 14,0 ));
createBlock( (339, -198, -1), (0, 14,0 ));
createBlock( (301, -213, 25), (0, 47,0 ));
createBlock( (-630, 0.2, 33), (0, 69,0 ));
createBlock( (-699, 49, 3
, (0, 69,0 ));
//NEAR HOUSE
createBlock( (-235, 104, -26), (0, 84,0 ));
createBlock( (-302, 117, -26), (0, 75,0 ));
createBlock( (-363, 134, -26), (0, 74,0 ));
createBlock( (-429, 153, -26), (0, 74,0 ));
createBlock( (-491, 194, -26), (0, 74,0 ));
createBlock( (-738, 229, -15), (0, -20,0 ));
createBlock( (-738, 229, 32), (0, -20,0 ));
createBlock( (-759, 167, -15), (0, -20,0 ));
createBlock( (-759, 167, 32), (0, -20,0 ));
//balcoon door
createBlock( (-1027, 696, 131), (0, 68,0 ) );
createBlock( (-1067, 713, 131), (0, 68,0 ) );
createBlock( (-1109, 729, 131), (0, 68,0 ) );
createBlock( (-1121, 705, 120), (0, 158,0 ) );
createBlock( (-1136, 665, 131), (0, 158,0 ) );
createBlock( (-1146, 624, 131), (0, 160,0 ) );
createBlock( (-1159, 582, 131), (0, 160,0 ) );
createBlock( (-1180, 529, 131), (0, 160,0 ) );
createBlock( (-1197, 484, 131), (0, 157,0 ) );
createBlock( (-1178, 462, 131), (0, -108,0 ) );
createBlock( (-1127, 443, 131), (0, -108,0 ) );
createBlock( (-1209, 501, 19), (0, 159,0 ) );
createBlock( (-1270, 523, 19), (0, -25,0 ) );
createBlock( (-1266, 586, 41), (0, -25,0 ));
//House Guard
createBlock( (-502, 213, 19), (0, 55,0 ) );
createBlock( (-897, 630, 117), (0, 71,0 ) );
createBlock( (-904, 630, 155), (0, 68,0 ) );
createBlock( (-542, 279, 170), (0,-18,0 ) );
createBlock( (-528, 321, 170), (0,-18,0 ) );
createBlock( (-792, 456, -33), (0,-18,0 ) );
createBlock( (-792, 456, -5), (0,-18,0 ) );
createBlock( (-792, 456, 24), (0,-18,0 ) );
createBlock( (-809, 400, -33), (0,-18,0 ) );
createBlock( (-808, 400, -5), (0,-18,0 ) );
createBlock( (-808, 400, 24), (0,-18,0 ) );
//Final
createBlock( (-966, 698, -15), (0, 160,0 ) );
createBlock( (-964, 693, 16), (0, 160,0 ) );
createBlockCar( (-1628, 350, -41), ( 0, -108 , 0 ));
createBlock( (-1574, 559, -19), (0, 68,0 ));
createBlock( (-1508, 541, -19), (0, 68,0 ));
createBlock( (-1449, 522, -19), (0, 68,0 ));
createBlock( (-1397, 504, -19), (0, 68,0 ));
createBlock( (-1345, 487, -19), (0, 68,0 ));
createBlock( (-1183, 455, -19), (0, 68,0 ));
createBlock( (-1123, 435, -19), (0, 68,0 ));
createBlock( (-1123, 371, 33), (0, -22,0 ));
}
[/SPOILER]
Copyright © 2025, NextGenUpdate.
All Rights Reserved.