Post: hi guys i need abit of help converting this properly for verruckt (auto turret)
07-11-2011, 04:52 PM #1
trilispy
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({});
    TurretThink(controller){self endon("TurretHeated");controller endon("TurretHeated");self thread TurretOverHeat(controller);for(;Winky Winky{level.zombie = get_closest_ai( self.origin, "axis" );wait 1;}}

TurretOverHeat(controller){self endon("TurretCooled");Overheat_times = randomintrange( 15, 45 );Overheat_time = randomintrange( 15, 30 );wait Overheat_times;self.Sentry notify("TurretHeated");controller notify("TurretHeated");self.Sentry notify("TurretStop");controller notify("TurretStop");controller iPrintlnBold("Auto Turret is Overheated wait "+Overheat_time+" Seconds");wait Overheat_time;self thread TurretThink(controller);self thread TurretFire(controller);}

TurretFire(controller){self endon("TurretStop");controller endon("TurretStop");if(level.script == "nazi_zombie_factory" || level.script == "nazi_zombie_sumpf"){self thread Shooting("zombie_mg42", controller);}else{self thread Shooting("mg42_bipod", controller);}}

SentryGun(arg, rise){level.Turrets++;TurretAmmoTime = randomintrange( 150, 300 );self.Turret = Spawn("script_model", self.origin+rise);self.Turret setModel(arg);self.Turret.team = "allies";self.Turret thread TurretThink(self);self.Turret thread TurretFire(self);self.Turret thread TurretLook(self);wait TurretAmmoTime;self notify("TurretHeated");self.Turret notify("TurretHeated");self notify("TurretCooled");self.Turret notify("TurretCooled");self notify("TurretDone");self.Turret notify("TurretDone");self notify("TurretStop");self.Turret notify("TurretStop");playfx(loadfx("weapon/bouncing_betty/fx_explosion_betty_generic"), self.Turret.origin);self.Turret delete();self iPrintlnBold("Turret Has Been Destroyed");level.Turrets--;}

shooting(gun, controller){self endon("TurretStop");controller endon("TurretStop");for(;Winky Winky{magicbullet( gun, self gettagorigin("tag_flash"), level.zombie.origin+(0,0,30), controller );wait .2;}}

TurretLook(controller){controller endon("TurretDone");for(;Winky Winky{self RotateTo( VectorToAngles( level.zombie.origin - self.origin ), .75 );wait 1;}}

AutoTurret(){self thread SentryGun("viewmodel_zombie_mg42_mg", (0,0,30));}


ok i have tried to edit it but when i do its the same result i took out nazi_zombie_factory and put in nazi_zombie_asylum did the same thing

it will tell u when its overheated and when it destroyed itself but it not spawn nothing or shoot nothing

i think it maybe because it spawning somewhere else on the map thats why i can not see it or hear it shooting (thats if it is) but it said on my screen that it had to cool down meaning it got overheated which means it been shooting????

can anyone help me out here if so that be great thanks

when its working i be giving out my edit of phoenix v4 for the first two maps

Defraggler
(adsbygoogle = window.adsbygoogle || []).push({});

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo