Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Newb Gift: Circular Explosions (https://forums.graalonline.com/forums/showthread.php?t=39053)

MattMrHat 10-09-2002 01:10 AM

Newb Gift: Circular Explosions
 
1 Attachment(s)
I finally got it, but I decided not to use it. hehe. So I am giving it out to every newb to play with. But remmember, You can't use this on your project or your playerworld without my permission unless you want to be severely fonged.

NPC Code:

//NPC made by Hironubous
if (playerenters){toweapons Fire;}
if (weaponfired) {
angle = 0.00;
while (angle <= 6.28) {
putexplosion 1, playerx + (5*sin(angle)), playery + (5*cos(angle));
angle += .628;
sleep .05;
}
}



Also, here is what I have decided to use. I decided to use graphics, because putexplosion is very boring, plus there is no 'ice' or 'shadow' explosions.. (maybe in the future?)

KuJi2002 10-09-2002 02:09 AM

nice nice I like but u gotta fix it so every time u fire it it doesnt stop and then continue again as a new one

Graal2001_Developer1 10-09-2002 02:38 AM

uhm visit atlantis ;)
I made some sort of "real" explosions + ice bombs for it ^^
(so also light effect-bombs etc. but even if they are extra NPCs you cann carry them around etc.)

CheeToS2 10-09-2002 02:44 AM

Re: Newb Gift: Circular Explosions
 
Quote:

Originally posted by MattMrHat
fonged.
rofl.

HEALER101 10-09-2002 03:15 AM

gfx wud only be good if the server had a cartoony feel...

Graal2001_NAT 10-09-2002 03:55 AM

pfft, you can't claim ownership over such a widely used concept (circle explosions)

KuJi2002 10-09-2002 05:40 AM

hehe hes right theirs diff ways of making that (a lot of them) and they could make something like that exact thing but script it different and u cant tell us to take it off

KuJi2002 10-09-2002 05:41 AM

hehe to piss him off im gonna submit this in to playerworld owners

Dach 10-09-2002 07:38 AM

hehe, do something that's more fun, like this;

NPC Code:

if (playerenters) {
this.radius = 5;
this.sectors = 8;
toweapons Flame Spiral;
}
if (weaponfired) {
for (this.i=3;this.i<this.radius+3;this.i++) {
for (this.a=0;this.a<6.28;this.a+=(6.28/this.sectors)) {
putexplosion 1,playerx+1.5+this.i*cos(this.a),playery+1.5-this.i*sin(this.a);
}
sleep .1;
}
}


emortylone 10-09-2002 08:06 AM

No offense, but putexplosion is really lame =/
---Shifter

Torankusu 10-09-2002 08:34 AM

Quote:

Originally posted by emortylone
No offense, but putexplosion is really lame =/
---Shifter

yeah. it's the worst possible way to put an explosion!!! =/@@~ !

Dach 10-09-2002 09:31 AM

Quote:

Originally posted by emortylone
No offense, but putexplosion is really lame =/
---Shifter

True, but hey I have an idea! Let's see who can make the prettiest putexplosion display!?

*cricket chirps*

MattMrHat 10-09-2002 11:08 AM

Putexplosion is one of the only things I can think of that wasnt copied off of Zelda 3, so in a way, putexplosion is special.

sage_chaozu 10-09-2002 09:47 PM

Re: Newb Gift: Circular Explosions
 
Quote:

Originally posted by MattMrHat
NPC Code:

//NPC made by Hironubous
if (playerenters){toweapons Fire;}
if (weaponfired) {
angle = 0.00;
while (angle <= 6.28) {
putexplosion 1, playerx + (5*sin(angle)), playery + (5*cos(angle));
angle += .628;
sleep .05;
}
}


I have noticed that code looks very familiar. Maybe because I have sent him
NPC Code:

if (weaponfired) {
angle = 0.00;
while (angle <= 6.28) {
putexplosion 1, playerx + (5*sin(angle)), playery + (5*cos(angle));
angle += .628;
sleep .05;
}
}


and I get no credit for showing him that. Last time I help anyone.
Also putexplosion was stolen from Stefan's online Bomberman game which was stolen form Bomberman.. X_X

R0bin 10-09-2002 11:06 PM

It wasnt "Stolen" from stefan's online bomberman.

It was code reused s'all especially since Stefan made both games.


All times are GMT +2. The time now is 08:23 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.