Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   attn: all good scripters(like falados) (https://forums.graalonline.com/forums/showthread.php?t=21432)

ArchOwl 01-18-2002 02:48 PM

attn: all good scripters(like falados)
 
If you can script projectile weapons, or anything that travels when shot, please pm me on the forums, or AIM me at Arch0wl, or msn message me at [email protected]

I know it may not seem to be worth your time but please atleast consider it.

Mrmicro 01-18-2002 06:55 PM

lol Plz man Fall off the face of the earth

ArchOwl 01-18-2002 07:06 PM

Quote:

Originally posted by Mrmicro
lol Plz man Fall off the face of the earth
its idiots like this that shouldnt play graal

TDO2000 01-18-2002 07:50 PM

u need to do showimg and hitplayer/hitobjects or just a triggeraction to attack (I had the best results with triggeraction)

something like:
NPC Code:

if(weaponfired && this.active==0){
this.xy={playerx,playery};
this.dir=playerdir;
this.distance=0;
this.maxdis=15;
this.active=1;
timeout=.05;
}

if(timeout){
if(this.distance < this.maxdis){
this.distance++;
this.xy[0]+=vecx(this.dir);
this.xy[1]+=vecy(this.dir);
showimg 1,yourprojectile.gif,this.xy[0],this.xy[1];
hitobjects 1,this.xy[0],this.xy[1];
}
else {this.active=0;}
if(this.active==1){timeout=.05;}
}



could be shorter but this should show u how to do it...

ArchOwl 01-19-2002 06:58 AM

Quote:

Originally posted by TDO2000
u need to do showimg and hitplayer/hitobjects or just a triggeraction to attack (I had the best results with triggeraction)

something like:
NPC Code:

if(weaponfired && this.active==0){
this.xy={playerx,playery};
this.dir=playerdir;
this.distance=0;
this.maxdis=15;
this.active=1;
timeout=.05;
}

if(timeout){
if(this.distance < this.maxdis){
this.distance++;
this.xy[0]+=vecx(this.dir);
this.xy[1]+=vecy(this.dir);
showimg 1,yourprojectile.gif,this.xy[0],this.xy[1];
hitobjects 1,this.xy[0],this.xy[1];
}
else {this.active=0;}
if(this.active==1){timeout=.05;}
}



could be shorter but this should show u how to do it...

hmm, see the things im going to make are basically fireball clones except for the size/width of the blast (they are guns)

TDO2000 01-19-2002 08:29 PM

hmmm so just take the hitobjects stuff from it, insert an onwall-check and do explosions if it's onwall ^_^

LiquidIce00 01-20-2002 12:22 AM

u could do showimg of the fireball thing .. or u can make it so when you shoot it records the index of the "arrow" and when it hits it putexplosion O.o

TDO2000 01-20-2002 07:05 AM

Quote:

Originally posted by LiquidIce00
u could do showimg of the fireball thing .. or u can make it so when you shoot it records the index of the "arrow" and when it hits it putexplosion O.o
why to do it this way if a simple onwall check would do it to?

ArchOwl 01-21-2002 11:23 AM

nice people on this forum... now for the hard part; to get the graphics for it *huge sigh*

Slaktmaster 01-21-2002 02:25 PM

Arrays, I just say arrays.

Shard_IceFire 01-21-2002 11:38 PM

*confused*
:confused:

btedji 01-22-2002 12:59 AM

If you would stop making scripts for people they would eventually be forced to learn how to script

ArchOwl 01-23-2002 07:11 PM

all i need is a custom arrow/nukeshot and an arrow that cant be blocked by lizard shields/mirror shields/shields


a nukeshot with a damage and speed variable that i can edit
and an arrow with a damage and speed variable that i can edit

and if you do actually make these then what would i put to set the image and projectile images for it(basically script the stuff i put above like this but have the imagenames somewhere in them so i can edit those too)

and my project is pretty secrative so im trying not to leak stuff(and its not a server)

btedji 01-23-2002 08:23 PM

and what do we get

ArchOwl 01-24-2002 02:39 AM

graal2k1 stuff


if kumada ever gets unbanned maybe a few hundred gralats

Warcaptain 01-24-2002 02:54 AM

Quote:

Originally posted by Mrmicro


lol Plz man Fall off the face of the earth



why? these forums are here for people to get help, that is what he is trying to do.

you cant learn if you dont ask things.

commands.rtf isnt that descriptive on commands and how they interact with everything else.

ArchOwl 01-24-2002 03:44 AM

Quote:

Originally posted by Warcaptain



why?


because he told me to fall off the face of the earth

Warcaptain 01-24-2002 03:48 AM

i meant to reply to the person who was makin fun of you, sorry.

ArchOwl 01-24-2002 10:54 AM

Quote:

Originally posted by Warcaptain
i meant to reply to the person who was makin fun of you, sorry.
oh

ArchOwl 01-26-2002 12:58 PM

...

Echos 01-26-2002 08:20 PM

Quote:

Originally posted by Warcaptain

you cant learn if you dont ask things.

[Kaimetsu]

Um... actually...

[/Kaimetsu]

ArchOwl 01-26-2002 09:37 PM

1 Attachment(s)
Quote:

Originally posted by ArchOwl
all i need is a custom arrow/nukeshot and an arrow that cant be blocked by lizard shields/mirror shields/shields


a nukeshot with a damage and speed variable that i can edit
and an arrow with a damage and speed variable that i can edit

and if you do actually make these then what would i put to set the image and projectile images for it(basically script the stuff i put above like this but have the imagenames somewhere in them so i can edit those too)

and my project is pretty secrative so im trying not to leak stuff(and its not a server)

the reason i need all this is because im trying to script stuff like this as a weapon and its RATHER HARD SINCE I HAVE NO SCRIPTING TALENTS

Essenity 01-26-2002 10:41 PM

You dont need talent to make projectile weapons, at least not simple ones. You just need to WANT to learn. I think its too easy for you to come here and have people do it for you instead of trying to learn.

ArchOwl 01-26-2002 10:59 PM

Quote:

Originally posted by Essenity
You dont need talent to make projectile weapons, at least not simple ones. You just need to WANT to learn. I think its too easy for you to come here and have people do it for you instead of trying to learn.
haha easy for you to say, i dont want to spend 3+ months learning how to script one weapon

entravial 01-27-2002 01:15 AM

~AlphaFlame~

Quote:

Originally posted by Warcaptain

you cant learn if you dont ask things.
More like:

You can learn if you dont ask things, but you wont learn if you have other people script things for you.

ArchOwl 01-27-2002 01:23 PM

Quote:

Originally posted by ArchOwl


haha easy for you to say, i dont want to spend 3+ months learning how to script one weapon


ArchOwl 01-28-2002 02:24 PM

damnit

ArchOwl 01-30-2002 09:10 AM

Quote:

Originally posted by Kaimetsu
You can't SEE the bullets from a gatling gun. Though I do love the graphic.
then script it script monkey :)

ArchOwl 01-30-2002 10:08 PM

Quote:

Originally posted by Kaimetsu


If I did then I'd script it differently. I've already coded pretty good guns for my WW PW concept skeleton thing and miniguns would make interesting staff weapons...

roy is working on:

rocket launcher
railgun
plasma machine gun thingy
dynamite

and we also have a pistol that brad let us use
you can use all of them if you script them ;)

Saga2001 01-31-2002 12:18 AM

SINCE you said like faldaos and not like pastaustin i feel i cannot post here...

ArchOwl 02-01-2002 04:04 AM

:o

entravial 02-01-2002 04:11 AM

~AlphaFlame~



Quote:

you can use all of them if you script them
Oh my, that's too amusing... you're offering the best scripter in graal NPCs? Bwahaha...

ArchOwl 02-01-2002 10:28 PM

Quote:

Originally posted by entravial
~AlphaFlame~





Oh my, that's too amusing... you're offering the best scripter in graal NPCs? Bwahaha...

graphics son

royce 02-03-2002 03:33 PM

Quote:

Originally posted by ArchOwl


roy is working on:

rocket launcher
railgun
plasma machine gun thingy
dynamite

and we also have a pistol that brad let us use
you can use all of them if you script them ;)

I am looking forward to the rail gun!;)

ArchOwl 02-04-2002 12:35 AM

Quote:

Originally posted by royce


I am looking forward to the rail gun!;)

I am too.... but the sad part is, noone is willing to script it...
And people can easily just TELL me to learn how to script, but that takes months and months of learning

someone99 02-05-2002 03:02 AM

Quote:

Originally posted by Kaimetsu


Tough. Stop spamming the forum.

How else am I going to find someone to script it if I cannot script it myself? Yes, massmessaging on graal2001 would work wonders :rolleyes:


All times are GMT +2. The time now is 03:02 PM.

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