Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-14-2005, 05:50 PM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
NPC backup feature for RC

While backing up levels, ganis and graphics on rc is easy
with the upload/download drag and drop window,
there is no easy way to back up your weapon npcs,
database npcs, or classes.
You have to go in and copy and paste all those snippets of code
into a text editor.

How about another RC button called "NPC Backup"
that does an sql retreival (if the npcs are stored in some kind of database on the server) and grabs the code of all your weapons, classes, and database npcs into three files in a folder that can be downloaded, as one would download a level.

For example, weapons.txt might look like this

HTML Code:
/////////////////////////////
//image : bomb.png
//name : Bomb

//#CLIENTSIDE
if actionOnWeaponfired()
  {
   //do bomb stuff with putnpc2 since putexplosion dosent work on a gmap;
  }

/////////////////////////////
//next npc here and so on
 
and you would have similar data in classes.txt and databasenpcs.txt

It would be a big time saver, especially on servers like mine where we have a ton of npcs.
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
 


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 04:39 PM.


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