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 08-06-2005, 01:00 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
New NPC Control

I have been working on a new NC Control concept and script (in-game editing for weapons/classes/database NPCs). So far the features include the following:
  • Tree-View control for listing NPCs
  • Tabbed Scripts for easier editing
  • Syntax Highlighting

Some planned features (will be editted when new ideas are thought of):
  • Other functions to make the script more list the current NC Control (image editting for weapons,x/y/level/flag editting for classes, delete buttons, adding entries to NC, etc)
  • Adding local-npcs in the level the player is in to the tree-view
  • Find/Replace
  • Scroll-to-function (drop down list, when a function is selected, the script window will scroll to the function)
  • Reload Button (added 08/05/05, picture updated) (suggested by Calani)
  • Customization(custom syntax colors, window/background colors, possibly hotkeys, etc) (suggested by Calani)

I attatched a screenshot of what I have done so far... comments and criticisms would both be appreciated. Also, suggestions for improvements and functions that could be added would also be appreciated!
Attached Thumbnails
Click image for larger version

Name:	nccontrol.png
Views:	513
Size:	28.8 KB
ID:	32975  

Last edited by Python523; 08-06-2005 at 01:24 AM..
Reply With Quote
  #2  
Old 08-06-2005, 01:02 AM
Benm00t Benm00t is offline
I made a tree!
Benm00t's Avatar
Join Date: Jul 2003
Location: The Intarwebbernetwork!
Posts: 987
Benm00t is on a distinguished road
I think it looks sexy.

. ' . I think you are sexy as well!
__________________
Lag is a good thing. Only those without it complain.

~ Ben
Reply With Quote
  #3  
Old 08-06-2005, 01:03 AM
nullify nullify is offline
Registerd Abuser
nullify's Avatar
Join Date: May 2004
Location: The cheese state.
Posts: 851
nullify has a spectacular aura about
The regualr NC shall pale in comparison to this work of pure genius.
Reply With Quote
  #4  
Old 08-06-2005, 01:10 AM
calani calani is offline
Scriptess
calani's Avatar
Join Date: Aug 2003
Location: asmgarden.gmap
Posts: 606
calani is on a distinguished road
Send a message via AIM to calani
Seckay plz

anyways, further ideas:
* (correct) error highlighting (missing semicolon on line 53... line 53 is blank)
* command to relaod a script without saving changes
* lengthy undo stack (not like winblow's notepad's one undo >.>)
* inline popups/autocomplete for commands/functions (and vars too?)
such as "trig" would give a popup list with triggeraction and triggerserver
very handy for forgetting functions (ex: was hit -.-)
* customizability (custom syntax colors, window/background colors, etc)
* hotkeys? (popup, hide, switch, add level npc, save, close, reload)
__________________
Reply With Quote
  #5  
Old 08-06-2005, 01:34 AM
Blitz_Hunter Blitz_Hunter is offline
dot dot dot
Blitz_Hunter's Avatar
Join Date: Oct 2002
Location: Missouri
Posts: 601
Blitz_Hunter is on a distinguished road
Send a message via AIM to Blitz_Hunter
Thats hot. <3
__________________
-em3ricR-
Reply With Quote
  #6  
Old 08-06-2005, 01:37 AM
calani calani is offline
Scriptess
calani's Avatar
Join Date: Aug 2003
Location: asmgarden.gmap
Posts: 606
calani is on a distinguished road
Send a message via AIM to calani
sexay reload button



Postcount++;
__________________
Reply With Quote
  #7  
Old 08-06-2005, 05:56 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Awesome
__________________
Reply With Quote
  #8  
Old 08-06-2005, 09:58 PM
Luigi1 Luigi1 is offline
The OtherOther Shaded Leg
Join Date: Jul 2003
Location: In front of a monitor
Posts: 333
Luigi1 is on a distinguished road
Hurry up and finish it.
__________________
Quote:
Originally Posted by mystic2k
that post did really makes me think how much braincells you have.
*waits for nifty Graal admin person to tell me what happened to vip.graal.net*
Reply With Quote
  #9  
Old 08-06-2005, 10:42 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Looks impressive.
__________________
Skyld
Reply With Quote
  #10  
Old 08-07-2005, 01:41 AM
xXDuMajuXx xXDuMajuXx is offline
Corsein
Join Date: Mar 2005
Location: Home
Posts: 278
xXDuMajuXx is on a distinguished road
Send a message via AIM to xXDuMajuXx Send a message via MSN to xXDuMajuXx
Very good, indeed.

However, I'm not keen on in-game editting. It might be good for the quick 1-2-BAM-Finished edit but I prefer to keep everything nice, simple and seperate.
Reply With Quote
  #11  
Old 08-08-2005, 03:18 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Quote:
Originally Posted by xXDuMajuXx
Very good, indeed.

However, I'm not keen on in-game editting. It might be good for the quick 1-2-BAM-Finished edit but I prefer to keep everything nice, simple and seperate.
Yea, I hate ingame rc too :[..
Reply With Quote
  #12  
Old 08-07-2005, 02:56 AM
ChibiChibiLuc ChibiChibiLuc is offline
Cookie Monster. :3
Join Date: Jan 2005
Location: Nova Scotia, Canada
Posts: 111
ChibiChibiLuc is on a distinguished road
Send a message via AIM to ChibiChibiLuc Send a message via MSN to ChibiChibiLuc
... You don't even script. Go away.

Jagen keeps getting sexier by the day. <3
Reply With Quote
  #13  
Old 08-07-2005, 12:59 PM
xXDuMajuXx xXDuMajuXx is offline
Corsein
Join Date: Mar 2005
Location: Home
Posts: 278
xXDuMajuXx is on a distinguished road
Send a message via AIM to xXDuMajuXx Send a message via MSN to xXDuMajuXx
Yes I do too! Just not as often as I used to do.
Reply With Quote
  #14  
Old 08-07-2005, 09:03 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Would like the ability to make the weapon hidden without needing to begin the weapon name with a minus, it cramps my system style, not joking.
Also would like to be able to set custom weapon attributes than can be accessed clientside or serverside (weapons[index].attr[index]). EX:
NPC Code:
//#ATTR2 false
//#ATTR3 10
//#ATTR4 "Incomplete"
[script]
//#CLIENTSIDE
[morescript]



And maybe a list of serverside variables/strings/arrays/objects in the weapon.

Oh and, LINE NUMBERS D@MNIT >:O
__________________
Reply With Quote
  #15  
Old 08-16-2005, 02:32 AM
calani calani is offline
Scriptess
calani's Avatar
Join Date: Aug 2003
Location: asmgarden.gmap
Posts: 606
calani is on a distinguished road
Send a message via AIM to calani
The only reason I use NC to script at this point is because its like notepad, but has a better font. v3 textboxes suck. >.> no ctrl+left/right, no useful undo feature, etc.
But if I could get a decent textbox with color AND the right font...... good-bye NC ^_^;
__________________
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 10:38 AM.


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