Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   shoot (https://forums.graalonline.com/forums/showthread.php?t=26086)

Andor_RC9 03-22-2002 07:12 AM

shoot
 
explain the command
shoot real,real,real,real,real,real,string,string;
and i give you a cookie.

SSJVegeta1 03-22-2002 07:15 AM

Re: shoot
 
Quote:

Originally posted by Andor_RC9
explain the command
shoot real,real,real,real,real,real,string,string;
and i give you a cookie.

I would, but im allergic to cookie's from strangers. :(

haunter 03-22-2002 07:39 AM

Re: shoot
 
Quote:

Originally posted by Andor_RC9
explain the command
shoot real,real,real,real,real,real,string,string;
and i give you a cookie.

*steals cookie and stuffs face with it* Mmm... *eyes roll back in head an collapses*

AlexH 03-22-2002 07:41 AM

Re: shoot
 
Quote:

Originally posted by Andor_RC9
explain the command
shoot real,real,real,real,real,real,string,string;
and i give you a cookie.

never even heard of it
whats it supposed to do?

sage_chaozu 03-22-2002 08:25 AM

Ooo Cookies ooO
 
I have also stumbled upon that command one time and never went back to figure out what it is for because it is unknown right now to us. But it probably has something to do with adding a new projectile which would be cool. Only one problem with that idea is that it calls for reals and no strings for images or extra coding. It would be cool to do that though and add new explosion types. It would cut down on our part with scripting new stuff like poison arrows and FlameThrowers explosion fire type.

Do I get a cookie now? :D

Andor_RC9 03-23-2002 03:02 AM

*Gives sage a cookie, totally new hash-free flavour!*

Spanko 03-23-2002 03:38 AM

shoot variable,variable,variable,variable,variable,varia ble,string,string; is the best I can make of it.

Spanko 03-23-2002 03:59 AM

Quote:

Originally posted by Kaimetsu


Hah! Your knowledge of NPC Scripting commands pales to insignificance next to mine, lesser being! ;)

*Decides not to mention the few cases in which Kaimetsu asked him for help*
;P

screen_name 03-23-2002 04:21 AM

u will delete my posts kai but not some of the pointless ones above??

DeathChill 03-23-2002 04:41 AM

haha!I know how to use shoot command!hahaha And I know people who also do :)

neomaximus2k 03-24-2002 05:14 PM

Quote:

Originally posted by Kaimetsu


Not exactly help per se. More technical guidance on a particular function, asking about its subtleties etc. That and asking questions to make you feel important ;)



There's a fine line between pointless and spam. They haven't crossed it.

Yeah there is also a fine line between nobility and stupidity

i wonder which one most people fall into :D

kyle0654 03-24-2002 05:27 PM

Quote:

Originally posted by Kaimetsu


Hah! Your knowledge of NPC Scripting commands pales to insignificance next to mine, lesser being! ;)

*won't even get started*

amonrabr 03-25-2002 02:44 AM

I was trying to learn it, and I just know this:

shoot <x>,<y>,<1nd>,<2nd>,<dunno>,<3rd>,<dunno>,<dunno >;

X => Position X where it will start
Y => Position Y where it will start
1nd = > If u test the script, u will see a Shadow moving.. When
this "value" be > than 4.. the shadown doesnt will disapear when touch the player or a npc.
2nd => Directions that the shadow moves
3rd = > Where it will disapear, or something...

kyle0654 03-25-2002 03:20 AM

anyway though, shoot won't work properly on servers without the new terrain...and as far as I know, G2K2 is the only public server allowed to use terrain as of now.

Andor_RC9 03-25-2002 04:45 AM

Quote:

Originally posted by Kaimetsu


;)

Isnt this spam? or is it ok because your mod?
(if it is i highly protest! :P)

screen_name 03-25-2002 05:27 AM

Quote:

Originally posted by Kaimetsu


There's a meaning to it, whether or not it may be apparent. Single-smiley posts can be worthwhile, even though they usually aren't.

well, my one smiley post that you delted had a point too you know

Admins 03-25-2002 06:02 AM

Informations about it will be released with the next
Graal version, then everything works good
(gani scripting was not working for projectile,
but are needed for things like lasers).

screen_name 03-25-2002 06:04 AM

Quote:

Originally posted by Stefan
Informations about it will be released with the next
Graal version, then everything works good
(gani scripting was not working for projectile,
but are needed for things like lasers).

when can we expect the next version release?

sage_chaozu 03-25-2002 08:40 AM

found out more
 
I finally got home to test some more with this thing...
The reason why it shows a shadow because it is a character of some kind for some reason..
this is the syntax I have for it

shoot x,y, y-offset, direction in radians, unknown, character animation, unknown;

so like for me I did
shoot x, y, 5, 3.14, 0, 0, swim, ;

I think it is measured in radians for the direction, you gotta think of trigonometry with circles.

so it will start at x and y.. be up 5 spaces.. and be a swimming animation. On the Y-Offset, it can only be positive to show effect and it will only add to be above original position with what I found.

Hope you guys can find out more without Stefan telling us.. lol;)

sage_chaozu 03-25-2002 09:51 AM

Finally found out all the code
 
I finally did it and found out what shoot is and it goes like this...

shoot x, y, z, direction in radians, arc length, arc height, objects animation, animation parameter 1, animation parameter 2, animation parameter 3, animation parameter 4;


I have an example attached right here...


also if you make the arc height and arc length both 0.. it will just shoot like an arrow.. which means guns and bullets will now be possible without lag. mu ha hah hahahha...

sage_chaozu 03-25-2002 10:08 AM

attachment
 
1 Attachment(s)
it didn't want to add it because I edited the last part.. lol

BARGAD 03-25-2002 11:36 PM

Thats nifty!:p

I could see some uses for that in loops:)

/CaRnIe

nyghtGT 03-26-2002 04:32 PM

Quote:

Originally posted by Kaimetsu


There's a meaning to it, whether or not it may be apparent. Single-smiley posts can be worthwhile, even though they usually aren't.

:D


All times are GMT +2. The time now is 01:37 AM.

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