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
  #41  
Old 06-21-2003, 04:42 AM
TripleE TripleE is offline
Down with GK Corruption
Join Date: Jun 2003
Posts: 1,005
TripleE is on a distinguished road
Quote:
Originally posted by Angel



. I have Returned. Feel free to pm me more requests :o
lol i still didnt know what you did
Reply With Quote
  #42  
Old 06-24-2003, 05:32 PM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 has a spectacular aura about
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
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.
__________________
Reply With Quote
  #43  
Old 06-27-2003, 01:23 AM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to 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?
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #44  
Old 06-27-2003, 08:54 AM
ApeHex ApeHex is offline
Registered User
Join Date: Jun 2003
Location: USA
Posts: 72
ApeHex is on a distinguished road
Send a message via AIM to ApeHex
Ningnong should be a global scripter. ! Oh yeah, hi Angel. ;]

-JBot (Holy hell, I'm anonymous now. ;D)
__________________
Reply With Quote
  #45  
Old 06-27-2003, 03:11 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Nobody will answer me? ^_^
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #46  
Old 06-30-2003, 07:26 AM
James James is offline
LOCAL DOUCHEBAG
James's Avatar
Join Date: Aug 2001
Location: Oregon
Posts: 3,132
James is a splendid one to beholdJames is a splendid one to beholdJames is a splendid one to beholdJames is a splendid one to behold
Send a message via AIM to James
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.
__________________

JAMES BAY PACKERS
2011 FANTASY FOOTBALL CHAMPIONS
2012 FANTASY FOOTBALL CHAMPIONS


“If I can slow it down in my mind... things will be fine."

-Aaron Rodgers
2011's NFL Most Valuable Player




Reply With Quote
  #47  
Old 06-30-2003, 10:36 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
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.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #48  
Old 07-23-2003, 10:31 PM
TribulationStaff TribulationStaff is offline
Registered User
Join Date: Jul 2003
Location: Pennsylvania
Posts: 368
TribulationStaff is on a distinguished road
Send a message via AIM to TribulationStaff
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.
Reply With Quote
  #49  
Old 07-27-2003, 07:28 AM
zs0 zs0 is offline
pothed 5lyf
zs0's Avatar
Join Date: May 2002
Location: o_o
Posts: 1,008
zs0 is on a distinguished road
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
__________________




Quote:
Originally Posted by Scott
GREAT AND I THOUGHT IT WAS BLOODY SPECIAL, THANKS GUYS FOR REMOVING ANY INDIVIDUALITY I MIGHT OF ONCE HAD. GOD THE WORD REVOVLES AROUND YOU DOESN'T IT? SCOTT CAN'T HAVE ONE BIT OF FUN. ZEN THIS. MYKEL THAT. DEEK BLAH BLAH. OMFG. IM GOING TO SLIT MY WRISTS!!!
Reply With Quote
  #50  
Old 07-27-2003, 07:38 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
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
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #51  
Old 08-10-2003, 06:30 PM
Destorm Destorm is offline
Owner of Leviathan?
Destorm's Avatar
Join Date: Apr 2003
Location: England
Posts: 161
Destorm is on a distinguished road
Send a message via AIM to Destorm
So is there like tryouts or anything for GST ?
__________________

-Make sure you lock every thread you can Mods-
Reply With Quote
  #52  
Old 08-11-2003, 02:07 AM
wonderboysp2p wonderboysp2p is offline
Registered User
wonderboysp2p's Avatar
Join Date: Sep 2002
Location: -Wonderboy
Posts: 537
wonderboysp2p is on a distinguished road
Send a message via AIM to wonderboysp2p
angel's on gst? huh, never knew that ^_^
__________________

we are the llama FORUms!!!EWQ Ce13d5423f23!! 2e1 @$6tgv3uy65!
Reply With Quote
  #53  
Old 08-17-2003, 04:35 AM
Mykel Mykel is offline
:o
Mykel's Avatar
Join Date: May 2002
Location: Canton, Ohio.
Posts: 5,526
Mykel has a spectacular aura about
Send a message via AIM to Mykel Send a message via MSN to Mykel
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.
__________________
(Married to Skyld)
Reply With Quote
  #54  
Old 08-19-2003, 03:17 AM
HunterTerryon HunterTerryon is offline
Registered User
Join Date: Aug 2003
Posts: 168
HunterTerryon is on a distinguished road
Post 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
Reply With Quote
  #55  
Old 08-19-2003, 06:14 AM
Mykel Mykel is offline
:o
Mykel's Avatar
Join Date: May 2002
Location: Canton, Ohio.
Posts: 5,526
Mykel has a spectacular aura about
Send a message via AIM to Mykel Send a message via MSN to Mykel
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.
__________________
(Married to Skyld)
Reply With Quote
  #56  
Old 08-19-2003, 07:11 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
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...
Reply With Quote
  #57  
Old 08-19-2003, 09:12 AM
wonderboysp2p wonderboysp2p is offline
Registered User
wonderboysp2p's Avatar
Join Date: Sep 2002
Location: -Wonderboy
Posts: 537
wonderboysp2p is on a distinguished road
Send a message via AIM to wonderboysp2p
rofl amen to that jagen
__________________

we are the llama FORUms!!!EWQ Ce13d5423f23!! 2e1 @$6tgv3uy65!
Reply With Quote
  #58  
Old 08-19-2003, 08:24 PM
HunterTerryon HunterTerryon is offline
Registered User
Join Date: Aug 2003
Posts: 168
HunterTerryon is on a distinguished road
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...
Reply With Quote
  #59  
Old 09-07-2003, 07:38 AM
Gravis2k Gravis2k is offline
Registered User
Join Date: Jun 2003
Location: AR
Posts: 52
Gravis2k is on a distinguished road
Send a message via ICQ to Gravis2k Send a message via AIM to Gravis2k Send a message via Yahoo to Gravis2k
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,:escends 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;
}
}

__________________
My first roll on Kingdoms
Reply With Quote
  #60  
Old 09-08-2003, 05:14 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Quote:
Originally posted by Spark910


Should be +Ningnong too!
And me!
Oh wait no. I'm not good enough, lol.
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #61  
Old 10-10-2003, 12:24 AM
haro41 haro41 is offline
zenkou
haro41's Avatar
Join Date: Jul 2003
Location: Sol Grotto
Posts: 689
haro41 will become famous soon enough
Send a message via AIM to 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.
__________________

Zenkou for life
Reply With Quote
  #62  
Old 10-10-2003, 12:26 AM
Neoreno Neoreno is offline
Cerebrate
Neoreno's Avatar
Join Date: Aug 2001
Location: England
Posts: 1,663
Neoreno is on a distinguished road
Send a message via AIM to Neoreno
Y'know. I don't think this offer still stands.
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
  #63  
Old 10-10-2003, 06:07 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
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.
Reply With Quote
  #64  
Old 10-10-2003, 05:48 PM
haro41 haro41 is offline
zenkou
haro41's Avatar
Join Date: Jul 2003
Location: Sol Grotto
Posts: 689
haro41 will become famous soon enough
Send a message via AIM to haro41
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
__________________

Zenkou for life
Reply With Quote
  #65  
Old 10-10-2003, 07:52 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
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? -_-

Last edited by Lance; 10-11-2003 at 02:25 AM..
Reply With Quote
  #66  
Old 10-10-2003, 11:16 PM
haro41 haro41 is offline
zenkou
haro41's Avatar
Join Date: Jul 2003
Location: Sol Grotto
Posts: 689
haro41 will become famous soon enough
Send a message via AIM to 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
__________________

Zenkou for life
Reply With Quote
  #67  
Old 10-10-2003, 11:48 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
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
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #68  
Old 10-11-2003, 02:29 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
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.
Reply With Quote
  #69  
Old 10-11-2003, 01:37 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
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 :/
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #70  
Old 10-17-2003, 04:51 AM
haro41 haro41 is offline
zenkou
haro41's Avatar
Join Date: Jul 2003
Location: Sol Grotto
Posts: 689
haro41 will become famous soon enough
Send a message via AIM to 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?

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;
}

__________________

Zenkou for life
Reply With Quote
  #71  
Old 10-17-2003, 10: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 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.
__________________
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 12:07 AM.


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