NEW SCRIPT I WROTE!!!

Posted by pule on Aug. 3, 2007, 3 a.m.

Hey people,

How's it going? I've been especially bored lately, due to a lack of some sort of water polo or swim practice to go to. Anyone else play sports? I think of myself as a well-rounded nerd :P. But anyways, you all know that when I'm bored, I blog…

Hmm… maybe the word 'blog' can be my new swear word. This is bloggin' ridiculous, I'm so bored and blog. WTB am I supposed to do other than sports, reading, and various computer-based stuff (mom says i spend too much time on the computer. I say… meh..) But who knows. I'm probably wasting my life, when i should be out there hanging out with friends… then again, my mom gets in the way of that too! I'm confused :S

But as for Agent 0, progress is picking up. I've also done a little bit with Snowy recently, and hopefully progress for that will pick up again soon. Trail Blazer…. not so much lately. I ought to make some new levels… real killers. Btw, if anyone manages to beat the game, tell me. Don't lie about it either; PM me and tell me what the third line in the credits says. Then I'll beleive you… if anyone cares to try and beat it, that is.

On some other not (don't know if its lighter or darker or heavier or whatever) I've got to start planning out a storyline for Agent 0… I've got a few ideas… but it should have plenty of twists and turns and random bits of information that are for some reason shocking :P. Anyways, happy game-making, or at least less frustrating game-making, and I'll see you all around.

EDIT: Since i changed the title of this blog, on to the script. Ever had a problem with n00bs? Well this is the answer:

script_execute(kill_n00b,round(random(6)));

>>>>Script kill_n00b

victim = instance_nearest(64d.x,64d.y,n00b)
method = argument0
switch(method)
    {
    case 1: //heavy object
            instance_create(victim.x,victim.y-50,heavy_obj);
            heavy_obj.gravity = 1; break;
    case 2: //rocket launcher 
            player_obj.has_rocket_launcher = true;
            instance_creat(player_obj.x,player_obj.y,rl_obj);
            break;
    case 3: //code overload
               x += 1;
               //omfg he did a command with CODE!!!
               break;
    case 4: //misinformation
               draw_text(n00b_computer.x,n00b_computer.y,
               'The reason your crappy game didnt show up
               RIGHT after you submitted it was because
               your computer is blocking it.  Delete the
               system32 file and you should be good.');
               break;
    case 5: //auto-defense system
            instance_create(64d.x,64d.y,anti_n00b_engine);
            global.anti_n00b_defense = true; break;
    case 6: //deactivation :P
            instance_deactivate_object(victim.object_index);
            break;
    }
    
if victim.health > 0 //STILL ALIVE?!?!?!
victim.health -= 1000000000000 //failsafe :P

game_end()

I personally thought that was hilarious, but what does everyone else think?

Comments

Dirt_Devil 16 years, 9 months ago

Congratulations =D

pule 16 years, 9 months ago

yeah of course its old, but this time the inspiration came from a friends joke that was 'kill_[our_other_friends_name]' so I'd like to think its a bit different. Sure, it's a milked joke, but I'll make my contribution to it and then leave it alone from now on.

flashback 16 years, 9 months ago

You don't invent scripts. You write them.

Z3da 16 years, 9 months ago

BTW i got the _92 taken off.

have the script repeat N times where N = instance_number(n00b).

pule 16 years, 9 months ago

there, happy flashback?

Flea1991 16 years, 9 months ago

Quote:
victim = instance_nearest(64d.x,64d.y,n00b)

method = argument0

switch(method)

{

case 1: //heavy object

instance_create(victim.x,victim.y-50,heavy_obj);

heavy_obj.gravity = 1; break;

case 2: //rocket launcher

player_obj.has_rocket_launcher = true;

instance_creat(player_obj.x,player_obj.y,rl_obj);

break;

case 3: //code overload

x += 1;

//omfg he did a command with CODE!!!

break;

case 4: //misinformation

draw_text(n00b_computer.x,n00b_computer.y,

'The reason your crappy game didnt show up

RIGHT after you submitted it was because

your computer is blocking it. Delete the

system32 file and you should be good.');

break;

case 5: //auto-defense system

instance_create(64d.x,64d.y,anti_n00b_engine);

global.anti_n00b_defense = true; break;

case 6: //deactivation :P

instance_deactivate_object(victim.object_index);

break;

}

if victim.health > 0 //STILL ALIVE?!?!?!

victim.health -= 1000000000000 //failsafe :P

game_end()

Try:

victim = instance_nearest(64d.x,64d.y,n00b)
method = argument[1];
switch(method)
    {
    case 1: //heavy object
            instance_create(victim.x,victim.y-50,heavy_obj);
            heavy_obj.gravity = 1; break;
    case 2: //rocket launcher 
            player_obj.has_rocket_launcher = true;
            instance_creat(player_obj.x,player_obj.y,rl_obj);
            break;
    case 3: //code overload
               x += 1;
               //omfg he did a command with CODE!!!
               break;
    case 4: //misinformation
               draw_text(n00b_computer.x,n00b_computer.y,
               'The reason your crappy game didnt show up
               RIGHT after you submitted it was because
               your computer is blocking it.  Delete the
               system32 file and you should be good.');
               break;
    case 5: //auto-defense system
            instance_create(64d.x,64d.y,anti_n00b_engine);
            global.anti_n00b_defense = true; break;
    case 6: //deactivation :P
            instance_deactivate_object(victim.object_index);
            break;
    }
    
if victim.health > 0 //STILL ALIVE?!?!?!
victim.health -= 1000000000000 //failsafe :P

game_end()