Jump to content


Photo

Import Parameters


  • Please log in to reply
5 replies to this topic

#1 Tsukihime

Tsukihime

    Advanced Member

  • Member
  • 7120 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 04 February 2013 - 01:03 PM

Import Parameters
-Tsukihime

This script allows you to maintain your class parameters in spreadsheet software such as Microsoft Excel, and then import them into the database editor.

It should be somewhat easier to fine-tune your parameters.

Download

Script: http://db.tt/lcT1R4Fh
Import Template: http://db.tt/UOhKJsaM (fill this out)

Usage

1. Download the import template: http://db.tt/UOhKJsaM

2. Create a backup of your classes.rvdata2 file.

3. Each file contains data for a single class, so if you have multiple classes, then you will have multiple copies of this template.

4. The first number in the top-left corner (cell A1) is the class ID. The rows represent the parameters for that level (given in column 1), and the columns along the top are the parameters: you simply need to fill out each cell in the table. Only up to level 99 is supported.

importParams1.gif

5. Place your csv files inside your project folder the same place where game.exe is)

importParams2.gif

6. In the configuration, enter the list of csv files to load data from, and optionally specify the delimiter if you are not using a comma.

importParams3.gif

7. Run script. If successful, a success message should appear

8. Close testplay, close project without saving, and re-open project

9. The new data should appear in your database editor

Edited by Tsukihime, 04 February 2013 - 01:50 PM.

All of my work can be found on my website:

banner200x40.png

You can follow me on any of these platforms:

logo_facebook40x40.pnglogo_twitter40x40.pnglogo_youtube40x40.pnglogo_patreon40x40.pnglogo_instagram40x40.png

Go here for Bugs and Requests.
 
Want to become a beta tester for my plugins before they are released to the public?

#2 Sievnn

Sievnn

    Advanced Member

  • Guests
  • PipPipPip
  • 186 posts
  • RM Skill - Jack of All Trades

Posted 04 February 2013 - 01:20 PM

nice that all I could say :)


I Like Constructive Criticism but I don't like Negative Criticism of people who just say some thing is bad without saying why.
Giving up the battle doesn't mean its over.
Favorite games to come : The Adventure of High School Student/Catharis.

#3 Ocedic

Ocedic

    Dog

  • Member
  • 600 posts
  • LocationBay Area, California
  • RM Skill - Designer

Posted 04 February 2013 - 01:33 PM

This is awesome, Tsuki. Being able to import external files for data could change the way large games handle their data.


Follow my latest project at: https://twitter.com/RareLootStudios


#4 Wren

Wren

    Paragon/Renegade

  • Member
  • 1128 posts
  • RM Skill - Jack of All Trades

Posted 04 February 2013 - 11:11 PM

It would certainly help teams who want to split up work on the database, instead of having to keep sharing the game file they could just coordinate excel spreadsheets.  Can something like this be used to also handle skills, weapons, armor, enemy, troop, animations, or other database tabs?


Super Awesome People Shoutout

Spoiler

#5 g_melodyta

g_melodyta

    Newbie

  • Member
  • 4 posts

Posted 05 February 2013 - 10:08 AM

can you make script to export from database editor to spreadsheet software? (opposite from this script)

thanx

 

*sorry for my bad english



#6 Tsukihime

Tsukihime

    Advanced Member

  • Member
  • 7120 posts
  • LocationToronto
  • RM Skill - Coder

Awards Bar:

Users Awards

Posted 05 February 2013 - 10:28 AM

CSV files are very limited when it comes to working with data.
You can only realistically work with simple values like numbers or strings. It would be unfeasible to try to manage things like features.
All of my work can be found on my website:

banner200x40.png

You can follow me on any of these platforms:

logo_facebook40x40.pnglogo_twitter40x40.pnglogo_youtube40x40.pnglogo_patreon40x40.pnglogo_instagram40x40.png

Go here for Bugs and Requests.
 
Want to become a beta tester for my plugins before they are released to the public?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users