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 08-29-2003, 09:58 PM
MKnance MKnance is offline
Registered User
Join Date: Aug 2003
Location: Dupo
Posts: 49
MKnance is an unknown quantity at this point
Lightbulb help i need help

this is Cutie Angel i neeed help how to make a rifle shoot bombs everywere like it expolding houses and ween they house gets expoled it gets holes al over the house

Last edited by MKnance; 08-29-2003 at 10:49 PM..
Reply With Quote
  #2  
Old 08-29-2003, 10:09 PM
marcoR marcoR is offline
Registered User
Join Date: Jul 2003
Posts: 1,349
marcoR is on a distinguished road
o.O
__________________
If this is your account, contact me.
- loriel
email, jabber: [email protected]
icq: 67530805
aim: lorielvictrix
Reply With Quote
  #3  
Old 08-29-2003, 10:40 PM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
putexplosion? lol
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #4  
Old 08-29-2003, 10:58 PM
Soul-Blade Soul-Blade is offline
US Marine
Soul-Blade's Avatar
Join Date: Jul 2001
Location: Coeur d'Alene, ID
Posts: 945
Soul-Blade is an unknown quantity at this point
Send a message via AIM to Soul-Blade
The best bet would be using a gani to create a "tiled house". A script can then detect a collision and the power (radius) then remove the showimg tiles, and add a transition to the tiles and the newly formed hole.

Or if you meant just putting little black holes, some simple use of putnpc2 and a class script with //#clientside would be the best, as it would stay permamently, but showimg could work as well.

As for the gun itself, using the shoot command
shoot x,y,z,angle,zangle,power,gani,ganiparams;
Would be the best, but I stay away from it because of it's use of triggeraction, which tends to be a bit insecure. I won't go any further because of the fact you are asking, so I doubt you will understand anything I said anyway.
Reply With Quote
  #5  
Old 08-30-2003, 05:13 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Soul-Blade
The best bet would be using a gani to create a "tiled house". A script can then detect a collision and the power (radius) then remove the showimg tiles, and add a transition to the tiles and the newly formed hole.
Ew, a showimg for each tile? No way. Graal isn't good with lots of little showimgs.
__________________
Reply With Quote
  #6  
Old 08-30-2003, 05:17 AM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
I think this 87 year old girl wants it to look cute.

:-/

Tiles don't look cute.
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #7  
Old 08-30-2003, 05:59 AM
Soul-Blade Soul-Blade is offline
US Marine
Soul-Blade's Avatar
Join Date: Jul 2001
Location: Coeur d'Alene, ID
Posts: 945
Soul-Blade is an unknown quantity at this point
Send a message via AIM to Soul-Blade
Quote:
Originally posted by Kaimetsu


Ew, a showimg for each tile? No way. Graal isn't good with lots of little showimgs.
16x16 tiles? Would only end up being about...64 imgs. And they wouldn't be constantly updated, so it would be fine, I'd say.
Reply With Quote
  #8  
Old 08-30-2003, 06:19 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Soul-Blade
16x16 tiles? Would only end up being about...64 imgs. And they wouldn't be constantly updated, so it would be fine, I'd say.
16x16=256

Then maybe we have four houses on screen at once - 1024 showimgs in all. Then we add a few for the GUI, maybe some for spell effects etc. Where will it stop? 1500? That's way, way too many.
__________________
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 06:28 AM.


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