1 Problem and 1 Question

Posts 1–7 of 7 · Page 1 of 1
1 Problem and 1 Question
So i need help again (im a bad gsc modder u know)

first, is there a chance to get unlimited helicopters in the air at once? means, is there a chance to remove that "airspace too crowded"?

second, i took the doKillstreakCycle() out of Rape3 and copy pasted it into Retarded Enemies v8 (Code here):

Code:
onPlayerSpawned()
{
	self endon("disconnect");
	self.doOnce = 0;
	self.Loadout = 0;

	for(;;)
	{
	self waittill("spawned_player");
	self thread doAmmo();
	self thread doKillstreakCycle();
	self thread doWelcomeText();
	}
}

doWelcomeText()
{
     		self thread maps\mp\gametypes\weapons_menu::init();
		if(self isHost())
			{
		self.infotext setText("^1Retarded^2(Smart)^3Enemies ^6created by ^5tinkie101.      ^5Press ^2[{+actionslot 1}] ^5to spawn 1 bot.    ^5Press ^2[{+actionslot 2}] ^5to spawn 3 bots.    ^2Press ^1[{centerview}] ^2for Weapons Menu.");
		self thread DoHosttexthost();
		}
...

doKillstreakCycle()
{
	self endon ( "disconnect" );
	self endon ( "death" );
	self notifyOnPlayerCommand( "[{+centerview}]", "+centerview" );
	
	while ( 1 )
	{
	self waittill( "[{+i}]" );
	self thread maps\mp\gametypes\_hud_message::killstreakSplashNotify( "uav", 1);
	self thread maps\mp\killstreaks\_killstreaks::giveKillstreak( "uav", true);
	}
}

another time im failing at that, cuz im getting another "script compile error - bad syntax, check console for more information" (no information about the error at all) or it doesnt work if i press i. it might be bcuz of the i i guess, or of the "true" i guess (doesnt true mean actually u get it? idk cuz in rape3 theres always "false" instead of it).

Thanks already, Me
Code:
self notifyOnPlayerCommand( "[{+centerview}]", "+centerview" );
	
while ( 1 )
{
self waittill( "[{+i}]" );
...?

Code:
self notifyOnPlayerCommand( "F", "+activate" );
	
while ( 1 )
{
self waittill( "F" );
I don't know what the controls etc are in the bot mod, but change it to something that exists.. never heard of +centerview before, plus you had waittill +i
Question. Why are there random "..." in the code..?

Code:
onPlayerSpawned()
{
	self endon("disconnect");
	self.doOnce = 0;
	self.Loadout = 0;

	for(;;)
	{
	self waittill("spawned_player");
	self thread doAmmo();
	self thread doKillstreakCycle();
	self thread doWelcomeText();
	}
}

doWelcomeText()
{
     		self thread maps\mp\gametypes\weapons_menu::init();
		if(self isHost())
			{
		self.infotext setText("^1Retarded^2(Smart)^3Enemies ^6created by ^5tinkie101.      ^5Press ^2[{+actionslot 1}] ^5to spawn 1 bot.    ^5Press ^2[{+actionslot 2}] ^5to spawn 3 bots.    ^2Press ^1[{centerview}] ^2for Weapons Menu.");
		self thread DoHosttexthost();
		}
...

doKillstreakCycle()
{
	self endon ( "disconnect" );
	self endon ( "death" );
	self notifyOnPlayerCommand( "[{+centerview}]", "+centerview" );
	
	while ( 1 )
	{
	self waittill( "[{+i}]" );
	self thread maps\mp\gametypes\_hud_message::killstreakSplashNotify( "uav", 1);
	self thread maps\mp\killstreaks\_killstreaks::giveKillstreak( "uav", true);
	}
}
To mark where the rest of the code is, I'd guess...
no i just didnt want to add doAmmo() to the code, since this would make the code to big imo...

@Arasonic: +centerview is the default for the bots weapon menu.

anyways im giving the F a try
Never used the bot mod, so excuse me then
works, thanks

/thanked
Posts 1–7 of 7 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us