Jump to content


Photo

Exp Tables


  • Please log in to reply
2 replies to this topic

#1 Tsukihime

Tsukihime

    Advanced Member

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

Awards Bar:

Users Awards

Posted 11 November 2012 - 10:27 AM

Exp Tables
-Tsukihime

This script allows you to set up actor and class exp tables in an external file.
I am using csv files because spreadsheet programs can open them and allow you to edit it directly without having to worry about delimiters. But you can use any text editor.

Download

Script: http://db.tt/bR9XcpJN
Demo: http://db.tt/GZKlm2OZ

Usage

This script currently supports two types of exp tables.

class_exp.csv - class exp tables
actor_exp.csv - actor exp tables

You should store your data in the appropriate file and then place this in your Data folder. You can change where the folder is located in the configuration.

The default delimiter I use is ; (semi-colon) but you can change it as well.

CSV specs

The first line of the csv format is an empty cell, followed by each object name.

For example, suppose we are working with the class exp tables.
Assuming you only have two classes that will use exp tables, your first line should look like

;Soldier;Monk

For each row afterwards, you start with the level, followed by exp required
for each class

1;0;0
2;100;100
3;200;250

You should complete the table up to max level + 1 otherwise it will crash.
If your game crashes while comparing exp, it's because your exp tables
are not setup properly.

Edited by Tsukihime, 11 November 2012 - 11:03 AM.

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 estriole

estriole

    Advanced Member

  • Member
  • 1999 posts
  • LocationIndonesia
  • RM Skill - Coder

Posted 11 November 2012 - 10:53 AM

hmm csv, it's interesting.
i think we can create csv using excel and save as as csv files.
so basically if we only put soldier and monk. other class other than that will use default exp tables set in database?

how about extending this to base stat too.
ability to set up stats in excel is nice. since we can use the formula to calculate what we want then paste it as value after finish it. :D.

Edited by estriole, 11 November 2012 - 10:54 AM.


#3 Tsukihime

Tsukihime

    Advanced Member

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

Awards Bar:

Users Awards

Posted 11 November 2012 - 11:04 AM

Do you want to write that? lol I'm not sure how to organize the columns.

Edited by Tsukihime, 11 November 2012 - 11:05 AM.

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