Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-09-2002, 01:10 AM
MattMrHat MattMrHat is offline
Banned
Join Date: Aug 2002
Location: United States Age: 15
Posts: 111
MattMrHat is on a distinguished road
Newb Gift: Circular Explosions

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?)
Attached Images
 
Reply With Quote
  #2  
Old 10-09-2002, 02:09 AM
KuJi2002 KuJi2002 is offline
Banned
Join Date: Jul 2002
Location: NYC
Posts: 144
KuJi2002 is on a distinguished road
Send a message via AIM to KuJi2002 Send a message via Yahoo to KuJi2002
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
Reply With Quote
  #3  
Old 10-09-2002, 02:38 AM
Graal2001_Developer1 Graal2001_Developer1 is offline
Registered User
Join Date: Sep 2002
Location: Germany - Lübeck
Posts: 17
Graal2001_Developer1 is on a distinguished road
Send a message via ICQ to Graal2001_Developer1
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.)
__________________
This is TDO
Nothing to say.. just need a webhost for images
Reply With Quote
  #4  
Old 10-09-2002, 02:44 AM
CheeToS2 CheeToS2 is offline
That Guy
CheeToS2's Avatar
Join Date: Dec 2001
Location: Seattle, WA
Posts: 2,528
CheeToS2 will become famous soon enough
Send a message via AIM to CheeToS2
Re: Newb Gift: Circular Explosions

Quote:
Originally posted by MattMrHat
fonged.
rofl.
__________________

Reply With Quote
  #5  
Old 10-09-2002, 03:15 AM
HEALER101 HEALER101 is offline
Registered User
Join Date: Aug 2002
Posts: 97
HEALER101 is on a distinguished road
gfx wud only be good if the server had a cartoony feel...
__________________
Reply With Quote
  #6  
Old 10-09-2002, 03:55 AM
Graal2001_NAT Graal2001_NAT is offline
Registered User
Join Date: Sep 2002
Posts: 241
Graal2001_NAT is on a distinguished road
pfft, you can't claim ownership over such a widely used concept (circle explosions)
__________________
GONE, BAI
Reply With Quote
  #7  
Old 10-09-2002, 05:40 AM
KuJi2002 KuJi2002 is offline
Banned
Join Date: Jul 2002
Location: NYC
Posts: 144
KuJi2002 is on a distinguished road
Send a message via AIM to KuJi2002 Send a message via Yahoo to KuJi2002
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
Reply With Quote
  #8  
Old 10-09-2002, 05:41 AM
KuJi2002 KuJi2002 is offline
Banned
Join Date: Jul 2002
Location: NYC
Posts: 144
KuJi2002 is on a distinguished road
Send a message via AIM to KuJi2002 Send a message via Yahoo to KuJi2002
hehe to piss him off im gonna submit this in to playerworld owners
Reply With Quote
  #9  
Old 10-09-2002, 07:38 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
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;
}
}

__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #10  
Old 10-09-2002, 08:06 AM
emortylone emortylone is offline
Registered User
Join Date: Apr 2002
Location: Control-NPC
Posts: 834
emortylone is on a distinguished road
No offense, but putexplosion is really lame =/
---Shifter
__________________
Quote:
*Stefan: it seems sometimes they hire newbie scripters everywhere x-x
*Stefan: scripters are sometimes like people that draw paintings
*Stefan: all that counts is that it looks nice
Reply With Quote
  #11  
Old 10-09-2002, 08:34 AM
Torankusu Torankusu is offline
Elite Member
Torankusu's Avatar
Join Date: Jun 2001
Posts: 10,065
Torankusu is a jewel in the roughTorankusu is a jewel in the rough
Quote:
Originally posted by emortylone
No offense, but putexplosion is really lame =/
---Shifter
yeah. it's the worst possible way to put an explosion!!! =/@@~ !
__________________
Quote:
Originally posted by Spark910
Think befreo you type.
Reply With Quote
  #12  
Old 10-09-2002, 09:31 AM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
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*
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #13  
Old 10-09-2002, 11:08 AM
MattMrHat MattMrHat is offline
Banned
Join Date: Aug 2002
Location: United States Age: 15
Posts: 111
MattMrHat is on a distinguished road
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.
Reply With Quote
  #14  
Old 10-09-2002, 09:47 PM
sage_chaozu sage_chaozu is offline
Registered User
sage_chaozu's Avatar
Join Date: Feb 2002
Location: Florida, USA
Posts: 143
sage_chaozu will become famous soon enough
Send a message via ICQ to sage_chaozu Send a message via AIM to sage_chaozu Send a message via MSN to sage_chaozu Send a message via Yahoo to sage_chaozu
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
Reply With Quote
  #15  
Old 10-09-2002, 11:06 PM
R0bin R0bin is offline
Banned
R0bin's Avatar
Join Date: Oct 2002
Location: Wales, UK
Posts: 828
R0bin is on a distinguished road
Send a message via AIM to R0bin
It wasnt "Stolen" from stefan's online bomberman.

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


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:33 AM.


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