Post: Help With Alien VS Predator GameMode
07-02-2015, 05:20 PM #1
racecarxx
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({}); Hello i was wondering if anyone can help me with AVP It keeps freezing my ps3. Here is The code:




onJoinedAVPTeam()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill( "joined_team" );
self waittill("spawned_player");
self thread maps\mp\gametypes\_hud_message::hintMessage("^2Aliens^7 vs ^1Predator");
self thread maps\mp\gametypes\_hud_message::hintMessage("^3Converted To BO2 By ^6Toxic");
}
}
doAll()
{
if(self.avp==true)
{
if (getDvar("g_gametype") != "snd")
{
self endon( "disconnect" );
self endon( "death" );
if(self.avp==true)
{
self clearPerks();
self takeAllWeapons();
if ( self.pers["team"] == game["attackers"] ) {
self thread doAliens(); }
if ( self.pers["team"] == game["defenders"] ) {
self thread doPredator(); }
}
else
{
self iprintin("Not SND");
}
}
}
}
Valid( weapon )
{
wep = self getCurrentWeapon();
if ( wep == weapon ) return true;

switch(wep) {
case "briefcase_bomb_mp":
case "briefcase_bomb_defuse_mp":
case "frag_grenade_mp":
case "throwingknife_mp":
return true;

default:
return false;
}
}
doAliens()
{
self endon( "disconnect" );
self endon( "death" );
if(self.avp==true)
{
self setPerk("specialty_quieter");
self setperk("specialty_fastequipmentuse");
self setperk("specialty_unlimitedsprint");
self setperk("specialty_flakjacket");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are an ^2ALIEN!");
while(1){
awep = "knife_ballistic_mp";
self setMoveSpeedScale( 1.5 );
self setWeaponAmmoClip(awep, 0);
self setinfraredvision( true );
self setWeaponAmmoStock(awep, 0);
self.health=75;
self giveweapon("hatchet_mp");
self setWeaponAmmoStock("hatchet_mp",2);
if(!Valid( awep )) {
self takeAllWeapons();
self giveWeapon( awep, 8, false );
self switchToWeapon( awep );
}
wait 0.05;
}
}
}

doPredator()
{
self endon( "disconnect" );
self endon( "death" );
if(self.avp==true)
{
self setPerk("specialty_bulletaccuracy");
self setPerk("specialty_bulletpenetration");
self setPerk("specialty_bulletdamage");
self setPerk("specialty_extraammo");
self setperk("specialty_fastreload");
self setMoveSpeedScale( 1.3 );
self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are a ^1PREDATOR!");
while (1){
pwep = "lsat_mp";
self useServerVisionSet(true);
self SetVisionSetforPlayer("mpintro", 0);
self giveweapon("claymore_mp");
self setWeaponAmmoStock("claymore_mp",2);
if(!Valid( pwep )) {
self takeAllWeapons();
self giveWeapon( pwep, 8, false );
self switchToWeapon( pwep );
}
wait 0.05;
}
}
}
(adsbygoogle = window.adsbygoogle || []).push({});
07-14-2015, 04:00 AM #2
i cant start the game on xbox i keep getting **1 script iprintin error its coming from this code it wont work for me
07-14-2015, 04:29 AM #3
Originally posted by racecarxx View Post
Hello i was wondering if anyone can help me with AVP It keeps freezing my ps3. Here is The code:




onJoinedAVPTeam()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill( "joined_team" );
self waittill("spawned_player");
self thread maps\mp\gametypes\_hud_message::hintMessage("^2Aliens^7 vs ^1Predator");
self thread maps\mp\gametypes\_hud_message::hintMessage("^3Converted To BO2 By ^6Toxic");
}
}
doAll()
{
if(self.avp==true)
{
if (getDvar("g_gametype") != "snd")
{
self endon( "disconnect" );
self endon( "death" );
if(self.avp==true)
{
self clearPerks();
self takeAllWeapons();
if ( self.pers["team"] == game["attackers"] ) {
self thread doAliens(); }
if ( self.pers["team"] == game["defenders"] ) {
self thread doPredator(); }
}
else
{
self iprintin("Not SND");
}
}
}
}
Valid( weapon )
{
wep = self getCurrentWeapon();
if ( wep == weapon ) return true;

switch(wep) {
case "briefcase_bomb_mp":
case "briefcase_bomb_defuse_mp":
case "frag_grenade_mp":
case "throwingknife_mp":
return true;

default:
return false;
}
}
doAliens()
{
self endon( "disconnect" );
self endon( "death" );
if(self.avp==true)
{
self setPerk("specialty_quieter");
self setperk("specialty_fastequipmentuse");
self setperk("specialty_unlimitedsprint");
self setperk("specialty_flakjacket");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are an ^2ALIEN!");
while(1){
awep = "knife_ballistic_mp";
self setMoveSpeedScale( 1.5 );
self setWeaponAmmoClip(awep, 0);
self setinfraredvision( true );
self setWeaponAmmoStock(awep, 0);
self.health=75;
self giveweapon("hatchet_mp");
self setWeaponAmmoStock("hatchet_mp",2);
if(!Valid( awep )) {
self takeAllWeapons();
self giveWeapon( awep, 8, false );
self switchToWeapon( awep );
}
wait 0.05;
}
}
}

doPredator()
{
self endon( "disconnect" );
self endon( "death" );
if(self.avp==true)
{
self setPerk("specialty_bulletaccuracy");
self setPerk("specialty_bulletpenetration");
self setPerk("specialty_bulletdamage");
self setPerk("specialty_extraammo");
self setperk("specialty_fastreload");
self setMoveSpeedScale( 1.3 );
self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are a ^1PREDATOR!");
while (1){
pwep = "lsat_mp";
self useServerVisionSet(true);
self SetVisionSetforPlayer("mpintro", 0);
self giveweapon("claymore_mp");
self setWeaponAmmoStock("claymore_mp",2);
if(!Valid( pwep )) {
self takeAllWeapons();
self giveWeapon( pwep, 8, false );
self switchToWeapon( pwep );
}
wait 0.05;
}
}
}


    
onJoinedAVPTeam()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill( "joined_team" );
self waittill("spawned_player");
self thread maps\mp\gametypes\_hud_message::hintMessage("^2Aliens^7 vs ^1Predator");
self thread maps\mp\gametypes\_hud_message::hintMessage("^3Converted To BO2 By ^6Toxic");
}
}
doAll()
{
if(self.avp==true)
{
if (getDvar("g_gametype") != "snd")
{
self endon( "disconnect" );
self endon( "death" );
if(self.avp==true)
{
self clearPerks();
self takeAllWeapons();
if ( self.pers["team"] == game["attackers"] ) {
self thread doAliens(); }
if ( self.pers["team"] == game["defenders"] ) {
self thread doPredator(); }
}
else
{
self iprintln("Not SND");
}
}
}
}
Valid( weapon )
{
wep = self getCurrentWeapon();
if ( wep == weapon ) return true;

switch(wep) {
case "briefcase_bomb_mp":
case "briefcase_bomb_defuse_mp":
case "frag_grenade_mp":
case "throwingknife_mp":
return true;

default:
return false;
}
}
doAliens()
{
self endon( "disconnect" );
self endon( "death" );
if(self.avp==true)
{
self setPerk("specialty_quieter");
self setperk("specialty_fastequipmentuse");
self setperk("specialty_unlimitedsprint");
self setperk("specialty_flakjacket");
self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are an ^2ALIEN!");
while(1){
awep = "knife_ballistic_mp";
self setMoveSpeedScale( 1.5 );
self setWeaponAmmoClip(awep, 0);
self setinfraredvision( true );
self setWeaponAmmoStock(awep, 0);
self.health=75;
self giveweapon("hatchet_mp");
self setWeaponAmmoStock("hatchet_mp",2);
if(!Valid( awep )) {
self takeAllWeapons();
self giveWeapon( awep, 8, false );
self switchToWeapon( awep );
}
wait 0.05;
}
}
}

doPredator()
{
self endon( "disconnect" );
self endon( "death" );
if(self.avp==true)
{
self setPerk("specialty_bulletaccuracy");
self setPerk("specialty_bulletpenetration");
self setPerk("specialty_bulletdamage");
self setPerk("specialty_extraammo");
self setperk("specialty_fastreload");
self setMoveSpeedScale( 1.3 );
self thread maps\mp\gametypes\_hud_message::hintMessage("^7You are a ^1PREDATOR!");
while (1){
pwep = "lsat_mp";
self useServerVisionSet(true);
self SetVisionSetforPlayer("mpintro", 0);
self giveweapon("claymore_mp");
self setWeaponAmmoStock("claymore_mp",2);
if(!Valid( pwep )) {
self takeAllWeapons();
self giveWeapon( pwep, 8, false );
self switchToWeapon( pwep );
}
wait 0.05;
}
}
}

fixed
07-14-2015, 04:52 AM #4
racecarxx
Do a barrel roll!
Thanks Man
07-14-2015, 04:58 AM #5
Originally posted by racecarxx View Post
Thanks Man


does it work?
07-14-2015, 05:09 AM #6
racecarxx
Do a barrel roll!
Yes Verywell add oNasTyAK i will be on tomorrow
07-14-2015, 06:01 AM #7
?????
07-17-2015, 02:35 PM #8
why isnt mine working do i need to put the #include the hud messages or something i am confused
07-17-2015, 02:40 PM #9
Mine wont start

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo