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
  #1  
Old 11-27-2001, 11:31 PM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
Looking for some help..

I need someone to help me script something for the 2001 server. You will get credit on the scripting, and also a reward on 2k1 for the work you do.

However, I need someone that really knows their stuff, not someone that edits other scripts and puts them together to make something...

I need someone that can do the following:
-make good menu systems using showimg
-script multiplayer things that involves sending and recieving information to certain players on a level
-play 2k1 (has an upgraded account they can use)
-use functions
-small bit of npc server scripting

and most importantly, can get things done quick, and make the code small and efficient

This is a lot to ask but it will be a fun project and you will be rewarded.

If you're up to it just contact me on aim or icq
aim: konidias
icq: 45848630

Yeah, and you need one of those messengers
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #2  
Old 11-28-2001, 12:09 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
I wanna help

I dont't have aim here so i will just say i can do all of those things IM me, my sn is PastAustin i will im you if u don't im me! :-) bai
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #3  
Old 11-28-2001, 03:17 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Re: Looking for some help..

Quote:
Originally posted by konidias
-script multiplayer things that involves sending and recieving information to certain players on a level
Easy... i know the scritp I just cant post it right now cuse I dont have my computer with graal to make sure it works
Reply With Quote
  #4  
Old 11-28-2001, 03:19 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
if you just want to trade info w/o npc server and w/o using getplayer stuff you could just do something like
NPC Code:

for (this.i=1;this.i<playerscount;this.i++) {
triggeraction players[this.i].x,players[this.i].y,whatever,#a;
}


just an idea.
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #5  
Old 11-28-2001, 04:22 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
humm I beleve I can help but you never respond to my aim im's
__________________
Thanks,
-KJL
Reply With Quote
  #6  
Old 11-28-2001, 04:28 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
...

Im pretty good at those things (except NPC server, which i only know the basics)
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
Reply With Quote
  #7  
Old 11-28-2001, 05:20 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
Quote:
Originally posted by LiquidIce00
if you just want to trade info w/o npc server and w/o using getplayer stuff you could just do something like
NPC Code:

for (this.i=1;this.i<playerscount;this.i++) {
triggeraction players[this.i].x,players[this.i].y,whatever,#a;
}


just an idea.
you would have to use
triggeration players[this.i].x+1.5,players[this.i].y+2,whatever,#a;

if u do not add the small values to x and y triggeraction won't work right...
__________________
No Webhost at the moment
Reply With Quote
  #8  
Old 11-28-2001, 05:27 AM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
Wouldn't that track only the first player it gets? Or more then one player?

I need it to check two seperate players only.. like for example with the traders in the trading house, if one player is on the buyer and one on the seller square, the npc will walk to them and ask the buyer for the item.. then when the buyer only says the item name it will get this info.. I can't have it getting info from anyone else or anything like that.. wouldn't the best way be to use getplayer?
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #9  
Old 11-28-2001, 05:33 AM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
because triggeraction doesn't always work (and the trader is made with getplayer) it should be the best possible way...
__________________
No Webhost at the moment
Reply With Quote
  #10  
Old 11-28-2001, 08:15 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
with(getplayer(theaccount here)){

}

then you can edit the other persons flags and stuff also...

thats how the trading script does it I beleve
__________________
Thanks,
-KJL
Reply With Quote
  #11  
Old 11-28-2001, 12:53 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Wait sooooo.....

so if i wanted to trigger servergetchat, and the npc saying:
NPC Code:

if (actionservergetchat) {
actions...
}


thanthe npc would call:
NPC Code:

if (playerchats) triggeraction playerx+1.5,playery+2,servergetchat,#a;


?!?!?!?!
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #12  
Old 11-28-2001, 02:39 PM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
The thing I am stuck on actually.. is how on earth to do my menu's for this.. Okay, here is what I have:

A menu where the player can select from several options
An npc that checks for a player in an area

Now I need to be able to have the menu pop up when the player is in the area.. but the npc is not a weapon the player has or anything, the npc is just on the level.. how on earth would this be accomplished? I mean it's silly to put all the menu coding into the npc that checks the players postion.. plus the menu has lots of stuff like functions and timeout which would really screw up the npc that checks your position...

How would I call the menu script from the npc, and only load the menu for that one player?

triggeractions?
__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #13  
Old 11-28-2001, 02:59 PM
Slaktmaster Slaktmaster is offline
man with the mastahplan
Slaktmaster's Avatar
Join Date: Apr 2001
Location: Half-way over the river styx
Posts: 4,422
Slaktmaster is an unknown quantity at this point
Send a message via ICQ to Slaktmaster Send a message via AIM to Slaktmaster
I think I know how to do most of it.
Reply With Quote
  #14  
Old 11-28-2001, 07:58 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Quote:
Originally posted by konidias
The thing I am stuck on actually.. is how on earth to do my menu's for this.. Okay, here is what I have:

A menu where the player can select from several options
An npc that checks for a player in an area

Now I need to be able to have the menu pop up when the player is in the area.. but the npc is not a weapon the player has or anything, the npc is just on the level.. how on earth would this be accomplished? I mean it's silly to put all the menu coding into the npc that checks the players postion.. plus the menu has lots of stuff like functions and timeout which would really screw up the npc that checks your position...

How would I call the menu script from the npc, and only load the menu for that one player?

triggeractions?
well if you want this menu to show up in certain areas I would recomment it being a weapon because that would be easier to do...

but I know you cant always do it that way. Triggeraction would be kind of hard unless you have it
//#CLINETSIDE
because then you can check the players x and y values.

but if you dont have it clientside then you could do it by just putting a npc in every level you need it in with the npcs coding for hte menu (I would probably not do this way)
__________________
Thanks,
-KJL
Reply With Quote
  #15  
Old 11-28-2001, 09:40 PM
TDO2000 TDO2000 is offline
Registered User
TDO2000's Avatar
Join Date: Jul 2001
Location: Germany
Posts: 655
TDO2000 is on a distinguished road
I would do it like the bank-card on classic

thw whole menu and stuff inside a weapon.. so if u enter the level and use it in front of the trader (or whatever) this trader only gets the values for the player and the item to trade...
__________________
No Webhost at the moment
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 09:08 PM.


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