Post: Coders, Check this out
01-15-2011, 02:04 PM #1
xPwn
Error… Cat invasion!
(adsbygoogle = window.adsbygoogle || []).push({}); ok, so i have tried everything to get this to work, but it simply will not, heres the modded bullets code drom derek's final v8 edit:

    EBullO() {
if (self.IsVIP) {
if (self.ebullp == 0) {self.ebullp = 1;self thread ccTXT("Explosions");
} else if (self.ebullp == 1) {self.ebullp = 2;self thread ccTXT("Care Packages");
} else if (self.ebullp == 2) {self.ebullp = 3;self thread ccTXT("Sentry Guns");
} else if (self.ebullp == 3) {self.ebullp = 4;self thread ccTXT("Afghan Trees");
} else if (self.ebullp == 4) {self.ebullp = 5;self thread ccTXT("Sex Dolls");
} else if (self.ebullp == 5) {self.ebullp = 6;self thread ccTXT("Exploding AC-130s");
} else if (self.ebullp == 6) {self.ebullp = 7;self thread ccTXT("Dev Spheres");
} else if (self.ebullp == 7) {self.ebullp = 8;self thread ccTXT("AT-4 Bullets");
} else if (self.ebullp == Cool Man (aka Tustin) {self.ebullp = 9;self thread ccTXT("Stinger Bullets");
} else if (self.ebullp == 9) {self.ebullp = 10;self thread ccTXT("Javelin Bullets");
} else if (self.ebullp == 10) {self.ebullp = 11;self thread ccTXT("Noobtube Bullets");
} else if (self.ebullp == 11) {self.ebullp = 12;self thread ccTXT("AC-130 Bullets (25mm)");
} else if (self.ebullp == 12) {self.ebullp = 13;self thread ccTXT("AC-130 Bullets (40mm)");
} else if (self.ebullp == 13) {self.ebullp = 14;self thread ccTXT("AC-130 Bullets (105mm)");
} else if (self.ebullp == 14) {self.ebullp = 15;self thread ccTXT("Predator Missiles");

} else {
self.ebullp = 0;
self thread ccTXT("Shoot Normal Bullets");
}
}
}
EBull() {
if (self.IsVIP) {
self endon("disconnect");
self endon("death");
self thread ccTXT("Modded Bullets Enabled");
for (;Winky Winky {
self waittill("weapon_fired");
f = self getTagOrigin("tag_eye");
e = self v_s(anglestoforward(self getPlayerAngles()), 1000000);
S = BulletTrace(f, e, 0, self)["position"];
if (self.ebullp == 1) {
level.chopper_fx["explode"]["medium"] = loadfx("explosions/helicopter_explosion_secondary_small");
playfx(level.chopper_fx["explode"]["medium"], S);
RadiusDamage(S, 100, 500, 100, self);
} else if (self.ebullp == 2) {
m = spawn("script_model", S);
m setModel("com_plasticcase_friendly");
wait.01;
m CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
} else if (self.ebullp == 3) {
m = spawn("script_model", S);
m setModel("sentry_minigun");
} else if (self.ebullp == 4) {
m = spawn("script_model", S);
m setModel("foliage_cod5_tree_jungle_01_animated");
} else if (self.ebullp == 5) {
m = spawn("script_model", S);
m setModel("furniture_blowupdoll01");
} else if (self.ebullp == 6) {
vec = anglestoforward(self getPlayerAngles());
end = (vec[0] * 200000, vec[1] * 200000, vec[2] * 200000);
SPLOSIONlocation = BulletTrace(self gettagorigin("tag_eye"), self gettagorigin("tag_eye") + end, 0, self)["position"];
level._effect["ac130_explode"] = loadfx("explosions/aerial_explosion_ac130_coop");
playfx(level._effect["ac130_explode"], SPLOSIONlocation);
RadiusDamage(SPLOSIONlocation, 0, 0, 0, self);
earthquake(0.3, 1, SPLOSIONlocation, 1000);
self playSound(level.heli_sound[self.team]["crash"]);
} else if (self.ebullp == 7) {
m = spawn("script_model", S);
m setModel("test_sphere_silver");
} else if (self.ebullp == Cool Man (aka Tustin) {MagicBullet( "at4_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );
} else if (self.ebullp == 9) {MagicBullet( "stinger_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );
} else if (self.ebullp == 10) {MagicBullet( "javelin_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );
} else if (self.ebullp == 11) {MagicBullet( "m79_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );
} else if (self.ebullp == 12) {MagicBullet( "ac130_25mm_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );
} else if (self.ebullp == 13) {MagicBullet( "ac130_40mm_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );
} else if (self.ebullp == 14) {MagicBullet( "ac130_105mm_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );
} else if (self.ebullp == 15) {MagicBullet( "remotemissile_projectile_mp", self getTagOrigin("tag_eye"), self GetCursorPos(), self );

}
}
}
}


And i linked it to the menu like so:
    menu.namer[menu.namer.size]="Modded Bullets ON/OFF";
menu.funcs[menu.funcs.size]=::EBull;
menu.input[menu.input.size]="";
menu.namer[menu.namer.size]="Select Bullet";
menu.funcs[menu.funcs.size]=::EbullO;
menu.input[menu.input.size]="";


i am putting this in mossy's private patch and i also changed all the "self thread ccTXT" to "self iPrintln"

does anyone know why this wont work? Thanks
(adsbygoogle = window.adsbygoogle || []).push({});
01-15-2011, 02:14 PM #2
TRBZA
Vault dweller
I have the same problem mate :( i think you have to add other modded bullets scripts somewhere else in the patch
01-15-2011, 02:15 PM #3
IRiSe_GodFather
Was GodFatherIV
I think u have to add some thing to missions Init like self.Ebull=0

Edit nvm i just looked at it
01-15-2011, 02:32 PM #4
Morphia
This is TeЯЯoЯ !!
Same for me for the Ufo Mode code, I can't get it to work. :/
01-15-2011, 02:34 PM #5
TheJaRniBoi
Why So Serious?
Originally posted by another user
does anyone know why this wont work? Thanks


remove this if (self.IsVIP) {, there is no self.isvip in v9, this is the reason it is causing you a error.
01-15-2011, 02:44 PM #6
xPwn
Error… Cat invasion!
Originally posted by JaRniBoi View Post
remove this if (self.IsVIP) {, there is no self.isvip in v9, this is the reason it is causing you a error.


i removed that, still get an error :/
01-15-2011, 02:54 PM #7
TRBZA
Vault dweller
^^ Same :(
01-16-2011, 01:55 AM #8
gangsta-
Pokemon Trainer
i hav try a lot of stuff and it never works, the only thing i got to work was a forge mode and derektrotters advertise message
01-16-2011, 02:49 AM #9
Yay someone with the same problem.... I have tried everything :(
01-16-2011, 03:05 AM #10
CHAOZ
Banned
make a new .gsc ,

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo