Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-02-2002, 12:17 PM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
NPC Editor Feature...

Find & Replace. Basicly, there is an option on the side which says "target string". Then below that it says "Replacement String". You then click "go" or whatever, and it will auto change all the values.

This would be good for something like the following (and in my case). Lets say you have old NPCs, using disabledefmovement;. The problem is, you use disabledefmovement constantly in your movement script. With this in mind, you need to make a second disabledefmovement thing, only a variable. So you need to replace disabledefmovement; with disabledefmovement = 1;.

Stefan, you say you are enhancing the NPC scripting stuff a great deal, well there is another great enhancement to it..
Reply With Quote
  #2  
Old 02-02-2002, 12:58 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Agreed. This'll be easy stuff for Stefan to add, I think, and it'll be very useful. Personally, I don't usually script with this.vars when I'm cooking up the initial prototypes for my stuff, so I always have to export to notepad to find & replace the variable names with this. prefixed versions. To be able to do it in the editor would be fabtastic.
__________________
Reply With Quote
  #3  
Old 02-02-2002, 01:18 PM
Frolic_RC2 Frolic_RC2 is offline
Banned
Join Date: Jan 2002
Posts: 960
Frolic_RC2 is on a distinguished road
Quote:
Originally posted by Kaimetsu
Agreed. This'll be easy stuff for Stefan to add, I think, and it'll be very useful. Personally, I don't usually script with this.vars when I'm cooking up the initial prototypes for my stuff, so I always have to export to notepad to find & replace the variable names with this. prefixed versions. To be able to do it in the editor would be fabtastic.
Yeah that would be one great use. He could also add other options, to make what you just said easier. For instance, adding a prefix to all the strings, or removing a prefix. Same for variables. Can't think about the params it would follow, but, thats Stefans job .

Also, a checkpoint thing. Basicly, you have a button on the side which says "Place Checkpoint" and it does something like
//#Checkpoint_1
Then at the top it has a dropdown list with all the checkpoints...this would be very good for when you have a rather long script, and you need to navigate it quickly (for testing or debugging).

Oh andin case no one could tell, the find/replace thing would also be a simple find thing like in notepad. It would be where you could leave the bottom box blank, and it would locate that word whenever you pressed it (order from top to bottom of course).

Heh, and the last idea I have is like the checkpoint, only its auto. It would read all the locations of variables (when you set them, alter them, such things like that) and at the top it would have a drop down list title Variables. You then can easily navigate through by selecting the variable from list (only 1 instance of each) then clicking the find button, in which it will take you to that variable (once again, top to bottom) and maybe even highlight its value for easy altering. Same thing for strings.

Heh, if anyone else got anymore ideas for it, please post it. I don't think the ones I just posted should be very hard to add, so Stefan, if it isn't hard to add, please do so =).
Reply With Quote
  #4  
Old 02-02-2002, 09:23 PM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
that would rock, i hate copying my script into wordpad and fixing then copying it back
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #5  
Old 02-02-2002, 09:26 PM
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
have like a thing on the top that recognizes each if statement or functions

so at the top you would have like

draw()
playerenters&&isweapon
timeout
and so on..
__________________
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
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 01:38 PM.


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