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
  #31  
Old 09-14-2005, 04:24 PM
Nabru Nabru is offline
100 IFP and runnin'
Nabru's Avatar
Join Date: Aug 2005
Location: Wisconsin
Posts: 440
Nabru will become famous soon enough
Send a message via ICQ to Nabru
Quote:
Originally Posted by petro1212
mmm.... this is more of a "fashionality" question?
Why doesn't anyone bother to make a "rc" thats processed within the game screen? (This is more about looks.. but you get the point, this could be a steps towards it finaly) With that I mean totaly processed and not the normal in-game rc

Anyhow tought about being able to edit (not only add) npcs to a level (putnpc2)? If not making a seperate tab for them would be nice. Just so you know that their there (wouldn't be to hard)
....An in-game RC already exists
Reply With Quote
  #32  
Old 09-14-2005, 08:34 PM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Quote:
Originally Posted by petro1212
Anyhow tought about being able to edit (not only add) npcs to a level (putnpc2)? If not making a seperate tab for them would be nice. Just so you know that their there (wouldn't be to hard)
I started scripting an Online NPC Editor where you pressed a button and then it showed some image thing around all the NPCs in the level. You could click each and it brought up a GUI Window with all the vars of that NPC. You could then edit those vars and there was also a button to edit the script and the classes joined to that NPC.
__________________
Liek omigosh.

Reply With Quote
  #33  
Old 09-14-2005, 09:59 PM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Ajira
I started scripting an Online NPC Editor where you pressed a button and then it showed some image thing around all the NPCs in the level. You could click each and it brought up a GUI Window with all the vars of that NPC. You could then edit those vars and there was also a button to edit the script and the classes joined to that NPC.
Is there a way to get the vars of an NPC with requesttext? Or, did you just use getDynamicSomethingIForget()?
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #34  
Old 09-14-2005, 11:56 PM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Quote:
Originally Posted by napo_p2p
Is there a way to get the vars of an NPC with requesttext? Or, did you just use getDynamicSomethingIForget()?
You have to use the getvarnames() function.
__________________
Liek omigosh.

Reply With Quote
  #35  
Old 09-15-2005, 08:57 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by Ajira
You have to use the getvarnames() function.
So currently there is not a clientside command to get the flags of a putnpc2 NPC?
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #36  
Old 09-15-2005, 11:59 PM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
Quote:
Originally Posted by napo_p2p
So currently there is not a clientside command to get the flags of a putnpc2 NPC?
Quote:
Originally Posted by scriptfunctions_client.txt
TGraalVar:
getdatablockvars() - returns object
getdynamicvarnames() - returns object
geteditvarnames() - returns object
getfunctions() - returns object
getstaticvarnames() - returns object
getvarnames() - returns object
o_O Looks like it /is/ clientside.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #37  
Old 09-16-2005, 12:02 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by ForgottenLegacy
o_O Looks like it /is/ clientside.
But that only will work for NPCs in the level (and maybe also only for NPCs that are clientsided?).

You need to use the serverside commands to get the info from putnpc2 NPCs.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
Reply With Quote
  #38  
Old 09-16-2005, 01:24 AM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
Quote:
Originally Posted by napo_p2p
But that only will work for NPCs in the level (and maybe also only for NPCs that are clientsided?).

You need to use the serverside commands to get the info from putnpc2 NPCs.
If there is clientside data contained in the NPC, then it will work correctly clientside. Otherwise you need to use it serverside.
__________________
Liek omigosh.

Reply With Quote
  #39  
Old 09-24-2005, 07:20 PM
DarkFireXZ3 DarkFireXZ3 is offline
Owner - Kudosai
Join Date: May 2005
Location: Texas
Posts: 84
DarkFireXZ3 is on a distinguished road
Send a message via ICQ to DarkFireXZ3 Send a message via AIM to DarkFireXZ3 Send a message via MSN to DarkFireXZ3 Send a message via Yahoo to DarkFireXZ3
Quote:
Originally Posted by Nabru
....An in-game RC already exists
About that i am tring to search for the original scripts where i can add it to my server, could someone direct me toward the scripts.
__________________
Email: [email protected]
Yahoo: [email protected]
Aim: DarkFireXZ3







Reply With Quote
  #40  
Old 09-24-2005, 07:32 PM
Riot Riot is offline
Delteria Management
Join Date: Nov 2003
Location: Seminole County, Florida
Posts: 280
Riot is on a distinguished road
http://forums.graalonline.com/forums...ad.php?t=57428

It's slightly old and outdated, read through the thread to find out how to fix it.
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 08:39 AM.


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