
Ray gun
Moderator: Core Staff
-
- Core Staff
- Posts: 13315
- Joined: April 13th, 2005, 8:22 pm
- Location: UK, London
Re: Ray gun
Code: Select all
event2_weapon_pickups()
{
thread weapon_cleanup();
trig1 = getent("crater1","targetname");
trig2 = getent("crater2","targetname");
trig3 = getent("crater3","targetname");
trig1 waittill ("trigger");
trig2 waittill ("trigger");
trig3 waittill ("trigger", who);
wait 10;
if (isdefined(who) && who istouching (trig3))
{
//TUEY Sets the bus state to EASTER
setbusstate("EASTER");
starts1 = getentarray("gun01","targetname");
starts2 = getentarray("gun02","targetname");
starts3 = getentarray("gun03","targetname");
starts4 = getentarray("gun04","targetname");
starts1[0] moveto (starts1[0].origin + (0,0,500), 10, 6, 3);
starts2[0] moveto (starts2[0].origin + (0,0,500), 10, 6, 3);
starts3[0] moveto (starts3[0].origin + (0,0,500), 10, 6, 3);
starts4[0] moveto (starts4[0].origin + (0,0,500), 10, 6, 3);
starts1[1] moveto (starts1[1].origin + (0,0,500), 10, 6, 3);
starts2[1] moveto (starts2[1].origin + (0,0,500), 10, 6, 3);
starts3[1] moveto (starts3[1].origin + (0,0,500), 10, 6, 3);
starts4[1] moveto (starts4[1].origin + (0,0,500), 10, 6, 3);
if ( SoundExists( "Pel1_IGD_900A_JAS2_ST" ) )
{
playsoundatposition("Pel1_IGD_900A_JAS2_ST", starts1[0].origin + (0,0,500) );
}
earthquake( 0.3, 16, starts1[0].origin + (0,0,500), 2000 );
playsoundatposition("earthquake", (0,0,0));
thread rumble_all_players("damage_light", "damage_heavy", starts1[0].origin + (0,0,500), 400, 800);
starts = getentarray ("r_gun_trigs","targetname");
for (i = 0; i < starts.size; i++)
{
starts[i] thread do_give();
}
level notify ("rg_weapons_avail");
level thread timer_for_bus(12);
}
}
do_give( weapon )
{
wait 10;
self.origin = self.origin + (0,0,500);
while (1)
{
self waittill ("trigger", who);
primaryWeapons = who GetWeaponsListPrimaries();
current_weapon = undefined;
// This should never be true for the first time.
if( primaryWeapons.size >= 2 ) // he has two weapons
{
current_weapon = who getCurrentWeapon(); // get his current weapon
if( isdefined( current_weapon ) )
{
who TakeWeapon( current_weapon );
}
}
if( IsDefined( primaryWeapons ) && !isDefined( current_weapon ) )
{
for( i = 0; i < primaryWeapons.size; i++ )
{
who TakeWeapon( primaryWeapons[i] );
}
}
who GiveWeapon( "ray_gun", 0 );
who GiveMaxAmmo( "ray_gun" );
who SwitchToWeapon( "ray_gun" );
}
}


Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010
-
- CJ Worshipper
- Posts: 376
- Joined: November 12th, 2008, 10:48 pm
- Location: Connecticut
- Contact:
Re: Ray gun
Some1 should do a search of all of the CoD:WaW files for the word EASTER. That way, we don't have to search for hours to try to find secrets!! It may be cheating, but would you actually have gone and looked all over for silly easter eggs?
Re: Ray gun
i dont think theyd write easter into the scriptwork. Something along the lines of secret or hidden or reveal might be better 


JDogg: 'I have a video of me pissing, wanna see?'
-
- Too cool for CoDJumper
- Posts: 3535
- Joined: April 21st, 2005, 8:54 pm
- Location: England, Redditch
Re: Ray gun
Well in this example they did write "Easter" into the script. I imagine that the person who discovered it did indeed just search for certain egg related words... Unless they particually enjoy reading script.
-
- Core Staff
- Posts: 14220
- Joined: October 21st, 2004, 7:17 pm
- Location: Holland
- Contact:
Re: Ray gun
wut?KillerSam wrote:This game just keeps falling in my opinion off it. I can't wait for IW to release CoD6, perhaps it won't be full of 12yo console fanboy features.
This one is cool!
matt101harris wrote:big cock was the first thing that came to my head lol
Re: Ray gun
You keep falling in my opinion of correct grammar use.KillerSam wrote:This game just keeps falling in my opinion off it.


Re: Ray gun
I think you mean spelling o.o.Pedsdude wrote:You keep falling in my opinion of correct grammar use.KillerSam wrote:This game just keeps falling in my opinion off it.

"The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together."
"A still more glorious dawn awaits- not a sun rise, but a galaxy rise. A morning filled with four hundred billion suns: the rising of The Milky Way." - Carl Sagan
[15:19] _MattyTÒ£eFarmer_: infinate
[15:19] _MattyTÒ£eFarmer_: u r smarter than me
Re: Ray gun
Infinite wrote:I think you mean spelling o.o.Pedsdude wrote:You keep falling in my opinion of correct grammar use.KillerSam wrote:This game just keeps falling in my opinion off it.
No, grammar use, 'off' isnt a spelling mistake but its the wrong word to put in there


JDogg: 'I have a video of me pissing, wanna see?'
-
- Too cool for CoDJumper
- Posts: 3535
- Joined: April 21st, 2005, 8:54 pm
- Location: England, Redditch
Re: Ray gun
Although if he did mispell the TWO letter word "of", (inadvertently spelling a new word) that would be much funnier.
Re: Ray gun
that would be HILARIOUSNeon wrote:Although if he did mispell the TWO letter word "of", (inadvertently spelling a new word) that would be much funnier.

JDogg: 'I have a video of me pissing, wanna see?'
Re: Ray gun
Well, i guess you can see somewhat why i have a 75 in English
.
EDIT: talking about school, I just finished my English + Java finals and they were easy
. I'm in java right now, and since we have 2 hours to take the final (everyone finished in 30 minutes or less), I'm sitting at one of the computers and typing this rofl.

EDIT: talking about school, I just finished my English + Java finals and they were easy


"The beauty of a living thing is not the atoms that go into it, but the way those atoms are put together."
"A still more glorious dawn awaits- not a sun rise, but a galaxy rise. A morning filled with four hundred billion suns: the rising of The Milky Way." - Carl Sagan
[15:19] _MattyTÒ£eFarmer_: infinate
[15:19] _MattyTÒ£eFarmer_: u r smarter than me
Re: Ray gun
Both tbh, a spelling mistake is a type of grammatical error, I believe.jimbojetuk wrote:No, grammar use, 'off' isnt a spelling mistake but its the wrong word to put in thereInfinite wrote:I think you mean spelling o.o.


-
- Too cool for CoDJumper
- Posts: 3535
- Joined: April 21st, 2005, 8:54 pm
- Location: England, Redditch
Re: Ray gun
OFF TOPIC:
I dreamt last night that Peds killed me with an m16. For some reason I went round to his house, which was just a wooden hut (
) to show him a vCoD map that I made and he just shot me, bastard! Weird that I only know Peds through pictures and this forum, and i've never mapped anything in my life.
I also dreamt that a wheel fell off my car and I wrote it off.
I dreamt last night that Peds killed me with an m16. For some reason I went round to his house, which was just a wooden hut (

I also dreamt that a wheel fell off my car and I wrote it off.
Re: Ray gun
Neon wrote:OFF TOPIC:
I dreamt last night that Peds killed me with an m16. For some reason I went round to his house, which was just a wooden hut () to show him a vCoD map that I made and he just shot me, bastard! Weird that I only know Peds through pictures and this forum, and i've never mapped anything in my life.
I also dreamt that a wheel fell off my car and I wrote it off.
You seriously need a big break from codjumper...maybe a permenant break


JDogg: 'I have a video of me pissing, wanna see?'
Who is online
Users browsing this forum: Amazon [Bot] and 2 guests