01-05-2011, 02:10
(01-05-2011, 00:33)aosma8 Wrote: [ -> ]Screw the CP, Player controlled sentry FTW!!!!!!!!!!!
Hell yeah! lol.
Prepare for the age of CP maps.
(01-05-2011, 00:33)aosma8 Wrote: [ -> ]Screw the CP, Player controlled sentry FTW!!!!!!!!!!!
(01-05-2011, 07:39)Eekhoorn Wrote: [ -> ](01-05-2011, 02:10)master131 Wrote: [ -> ](01-05-2011, 00:33)aosma8 Wrote: [ -> ]Screw the CP, Player controlled sentry FTW!!!!!!!!!!!
Hell yeah! lol.
Prepare for the age of CP maps.
They didn't even saw your controllable rocketshooter aka SAM turret yet :O
createMinigunTurret(pos, rotation)
{
miniGun = spawnTurret( "auto_turret", pos, "tow_turret_mp" );
miniGun setModel(level.auto_turret_settings["tow"].modelBase);
miniGun SetTurretType("tow");
miniGun.angles = rotation;
level.minigunEnt[level.minigunEnt.size] = miniGun;
}
Cannot find mapsmpturret_killstreak
createBlocks()
{
level.crateTypes["turret_drop_mp"] = [];
level.crateTypes["tow_turret_drop_mp"] = [];
level thread maps\mp\_turret_killstreak::init();
if(level.bunkerList.size > 0) {
for(i = 0; i < level.bunkerList.size; i++) {
if(isDefined(level.bunkerList[i]))
level thread createJumpArea(level.bunkerList[i].location, level.bunkerList[i].angle);
}
}
if(level.minigunList.size > 0) {
for(i = 0; i < level.minigunList.size; i++) {
if(isDefined(level.minigunList[i]))
level thread createMinigunTurret(level.minigunList[i].location, level.minigunList[i].angle);
}
}
}
(01-05-2011, 12:45)4FunPlayin Wrote: [ -> ]It isn't a custom map maker, it's just a carepackage spawner, why do you guys call it a map >.>
To me it's more like a map creator inside a existing map
1. Call this: level thread createBlocks(); on init()
2. and this: level thread doMaps(); on init()
Add this to the very start of init():
level.minigunList = [];
level.bunkerList = [];