Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   help i need help (https://forums.graalonline.com/forums/showthread.php?t=47570)

MKnance 08-29-2003 09:58 PM

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

marcoR 08-29-2003 10:09 PM

o.O

konidias 08-29-2003 10:40 PM

putexplosion? lol :p

Soul-Blade 08-29-2003 10:58 PM

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.

Kaimetsu 08-30-2003 05:13 AM

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.

adam 08-30-2003 05:17 AM

I think this 87 year old girl wants it to look cute.

:-/

Tiles don't look cute.

Soul-Blade 08-30-2003 05:59 AM

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.

Kaimetsu 08-30-2003 06:19 AM

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.


All times are GMT +2. The time now is 04:14 PM.

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