Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   NPC Request Thread. (Admins and Managers Only) (https://forums.graalonline.com/forums/showthread.php?t=45118)

TripleE 06-21-2003 04:42 AM

Quote:

Originally posted by Angel



:eek: :megaeek: :eek: :megaeek: :p. I have Returned. Feel free to pm me more requests :o

lol i still didnt know what you did

zell12 06-24-2003 05:32 PM

Quote:

Originally posted by TripleE

lol i still didnt know what you did

Been so long now, I can't even remember what she did. :p

osrs 06-27-2003 01:23 AM

Just a question:
When you talk to a GST member to help you to fix a script,the member must fix the script for you or just give a suggestion about how to fix it?

ApeHex 06-27-2003 08:54 AM

Ningnong should be a global scripter. :D! Oh yeah, hi Angel. ;]

-JBot (Holy hell, I'm anonymous now. ;D)

osrs 06-27-2003 03:11 PM

Nobody will answer me? ^_^

James 06-30-2003 07:26 AM

Quote:

Originally posted by Judge_S
Well, it shouldn't be that difficult.

I can't do much with scripting, but wouldn't something like this work?

NPC Code:

if (playerchats&&strequals(#c,Non PK Zone)) {
disableweapons;
}



Keep in mind, that I don't even know if this works, seeing as I haven't done real coding in about a year, and as I don't know which commands have been changed, edited, or disabled.

I'm pretty sure that'd just disable your own wNPCs.

Tseng 06-30-2003 10:36 AM

Quote:

Originally posted by osrs
Just a question:
When you talk to a GST member to help you to fix a script,the member must fix the script for you or just give a suggestion about how to fix it?

There is no requirement of how much they should help you other than to the best of their ability answer your questions. It is to my knowedge their perrogative how much they help you and how much you must do on your own - I'm a big advocate of teaching people to fish instead of catching fish for them.

TribulationStaff 07-23-2003 10:31 PM

James is right, Judge. You need to throw in a for loop that would disable all the players on the level. Personally, I would make a serverside npc that does a for loop and uses with.

zs0 07-27-2003 07:28 AM

Quote:

Originally posted by tlf288



It seems like Loriel is forgotton a lot.

Poor guy. When I used to talk to him he was really nice.. o_o

I thought there was one more GST though

Tseng 07-27-2003 07:38 AM

Quote:

Originally posted by zs0


Poor guy. When I used to talk to him he was really nice.. o_o

I thought there was one more GST though

Global Scripting Team Members:

Kaimetsu
Angel
Jagen
Tseng
Loriel
Projectshifter

Destorm 08-10-2003 06:30 PM

So is there like tryouts or anything for GST ?

wonderboysp2p 08-11-2003 02:07 AM

angel's on gst? huh, never knew that ^_^

Mykel 08-17-2003 04:35 AM

It seems that most people (GST) don't have time to do these requests anymore, so for anyone who is interested, go sign up at:
www.gscript.us

Those forums are dedicated to GScript, and Gscript only, and you may request full NPCs there too.

HunterTerryon 08-19-2003 03:17 AM

I NEED HELP BADLY
 
Ok heres the deal: I need a hardcoded tile set like eras or bravos or well you know.The problem is my NATS are clueless and I really need help because gfx is my thing Im making the tile set but it wont be compatable with pics one.And I tried copying eras and redoing it to fit my needs but it seems the hard code didnt copy over.Now if anyone could give me any tips or hardcode a image for me I would be very greatfull.

-Delta

Mykel 08-19-2003 06:14 AM

Re: I NEED HELP BADLY
 
Quote:

Originally posted by HunterTerryon
Ok heres the deal: I need a hardcoded tile set like eras or bravos or well you know.The problem is my NATS are clueless and I really need help because gfx is my thing Im making the tile set but it wont be compatable with pics one.And I tried copying eras and redoing it to fit my needs but it seems the hard code didnt copy over.Now if anyone could give me any tips or hardcode a image for me I would be very greatfull.

-Delta

I don't really know what you are talking about, but I am pretty sure you have to use the predifined one.

Python523 08-19-2003 07:11 AM

Re: I NEED HELP BADLY
 
Quote:

Originally posted by HunterTerryon
Ok heres the deal: I need a hardcoded tile set like eras or bravos or well you know.The problem is my NATS are clueless and I really need help because gfx is my thing Im making the tile set but it wont be compatable with pics one.And I tried copying eras and redoing it to fit my needs but it seems the hard code didnt copy over.Now if anyone could give me any tips or hardcode a image for me I would be very greatfull.

-Delta

if your NATs don't know how to do a tiledef get new NATs...

wonderboysp2p 08-19-2003 09:12 AM

rofl amen to that jagen

HunterTerryon 08-19-2003 08:24 PM

They know how to do that but the tiles I made arent compatible with picsone so I need to use another image,a hard coded one like the nw one or era one or bravos old one...

Gravis2k 09-07-2003 07:38 AM

Flying npc
 
Server: Laysuf
Account: Gravis2k
Position: Admin
NPC Server? True
NPC: I need a npc that when transformed into a bird and flying it wont stop when the button is let go but glide slowly to a stop also to be able to fly over walls and buildings (which could be turned on and off by flags) and to have a higher speed then normal walking
Date: When ever, i'm in no rush for it.

Below i will paste what i have done so far which is setting the gani's to each ani and the land and fly options, please feel feel to make this better if you like :)

NPC Code:
//#CLIENTSIDE

if (weaponfired){
if (this.on==0) {
playerdir=2;
setani birdtransform,;
replaceani idle,birdidle1;
replaceani sword,birdattack3;
replaceani walk,birdidle1;
replaceani sit,birdidle1;
replaceani pull,birdidle1;
replaceani push,birdidle1;
replaceani swim,birdidle1;
this.on=1;
}
else if (this.on==1){
playerdir=2;
setani birdreform1,;
replaceani idle,idle;
replaceani sword,sword;
replaceani walk,walk;
replaceani sit,sit;
replaceani pull,pull;
replaceani push,push;
replaceani swim,swim;
this.on=0;
}
}


if (playerchats){
if (strequals(#c,land)){
setplayerprop #c,::Descends slowly::;
setani birdland2,;
replaceani sit,birdsit1;
disabledefmovement;
}


else if (strequals(#c,fly)){
setplayerprop #c,::Rises rapidly into the air::;
setani birdfly5,;
replaceani sit,birdidle;
enabledefmovement;
}
}


GoZelda 09-08-2003 05:14 PM

Quote:

Originally posted by Spark910


Should be +Ningnong too!

And me!
Oh wait no. I'm not good enough, lol.

haro41 10-10-2003 12:24 AM

Server: Zenkou
Account: haro41
Postition: Admin
NPC Server? True
NPC: A key that is added to the weapons when picked up and is deleted from weapons when the respective door is unlocked.

Neoreno 10-10-2003 12:26 AM

Y'know. I don't think this offer still stands.

Lance 10-10-2003 06:07 AM

Quote:

Originally posted by haro41
Server: Zenkou
Account: haro41
Postition: Admin
NPC Server? True
NPC: A key that is added to the weapons when picked up and is deleted from weapons when the respective door is unlocked.

Solution: Learn to script something so basic.

haro41 10-10-2003 05:48 PM

Quote:

Originally posted by Lance


Solution: Learn to script something so basic.


Im not a NAT i am the GFX Admin. the rest are lazy asses. dont be an asshat, just help. nice ripoff sig of tseng

Server: Zenkou
Account: haro41
Postition: Admin
NPC Server? True
NPC:a script that basically makes these leaves blow around the level in the wind, doing loops and what not in a random fashion.

leaves pic \/
http://members.cox.net/haro_11/graal/fury/leaves.png

Lance 10-10-2003 07:52 PM

Quote:

Originally posted by haro41



dont be an asshat, just help.

The GST's job is to give scripting advice, not to do your work for you.

Quote:

nice ripoff sig of tseng
Maybe because Tseng is the name I used to go by here? -_-

haro41 10-10-2003 11:16 PM

im sorry i didnt mean to lash out that, i feel like a jerk. i know its simple to you, but i though you could just take a few minutes to help me out. im sorry again.:( :( :( :( :( :( :( really:( :( sorry

GoZelda 10-10-2003 11:48 PM

Quote:

Originally posted by haro41
Server: Zenkou
Account: haro41
Postition: Admin
NPC Server? True
NPC: A key that is added to the weapons when picked up and is deleted from weapons when the respective door is unlocked.

NPC Code:

//Key
if (playertouchsme){ // if the player touches the NPC
//add to weapons
}
if (weaponfired){ // if the player uses the weapon
say2 A key :O;
}
if (weapondelete){ // special flag to call
destroy;
}



NPC Code:

//Door
if (playertouchsme){
if (hasweapon(key)){ // if player has key
callweapon key,weapondelete; // call the weapon with flag "weapondelete"
}
}


Oh wait, this is non-npcserver...

Ah the heck. With a bit brains you could make this npc-server too,i think, cuz i'm not really familiar with NPCserver :(

Lance 10-11-2003 02:29 AM

Quote:

Originally posted by haro41
im sorry i didnt mean to lash out that, i feel like a jerk. i know its simple to you, but i though you could just take a few minutes to help me out. im sorry again.:( :( :( :( :( :( :( really:( :( sorry
That's fine, I just object to doing people's work for them. I'll gladly explain how to go about making something like this, but I won't make it for you.

Personally, I think this whole thread is a mistake, as we do not really make npcs "by request" as the thread's title would seem to convey. We're more of a consultatory group.

However, that's another debate for another day.

GoZelda 10-11-2003 01:37 PM

Ya know Lance, if you look at a certain angle at the title, you could also see it as if it were request for NPC information/help. Though you are right :/

haro41 10-17-2003 04:51 AM

aight this is what i've come up with. how can i make the leaf's movement smoother, but still keep the same speed?

NPC Code:

//#CLIENTSIDE

if ( playerenters || timeout ){
this.x=random(0,.5);
this.y=random(0,.5);
x += (random(.2,1));
y += (random(-.8,1));

showimg 1,leaves.png,x,y;
changeimgpart 1,16*abs(int(random(-1,1))),16*abs(int(random(-1,1))),16,16;
changeimgcolors 1,1,1,1,1;
timeout = .1;
}


Kaimetsu 10-17-2003 10:13 AM

Quote:

Originally posted by haro41
aight this is what i've come up with. how can i make the leaf's movement smoother, but still keep the same speed?
Halve the timeout, halve the speed.


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

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