Add Review
Subscribe
Nominate
Submit Media
RSS
The Compendium
WolfCoder- 08/04/2010 03:16 AM
- 182 views
Version 0003a; Update 1
I've gotten a basic compendium going. The model is simply creating entries and setting fields. In RPG Maker, you create a new anything and then click around, entering all the settings. Setting the fields is known as config in my engine. I'm using a script to do all of this, and unlike RPG Maker, I plan on adding inheritance.
What is "inheritance" in a compendium? Let's say I create a potion. Then I want a potion that is stronger and more expensive. I can inherit the potion and modify only the price and strength. This way, it's quicker to add different versions of the same general item AND to be able to change common properties that effect all the potions at once. There may or may not be problems with implementing this.
Anyway, here's an example of the OUTPUT of the compiler (not the script):
I love this. No need to make an overwhelmingly complicated spreadsheet of a GUI.
I've gotten a basic compendium going. The model is simply creating entries and setting fields. In RPG Maker, you create a new anything and then click around, entering all the settings. Setting the fields is known as config in my engine. I'm using a script to do all of this, and unlike RPG Maker, I plan on adding inheritance.
What is "inheritance" in a compendium? Let's say I create a potion. Then I want a potion that is stronger and more expensive. I can inherit the potion and modify only the price and strength. This way, it's quicker to add different versions of the same general item AND to be able to change common properties that effect all the potions at once. There may or may not be problems with implementing this.
Anyway, here's an example of the OUTPUT of the compiler (not the script):
Compiling compendium...
Can now set [level] for Players
Can now set [strength] for Players
Can now set [endurance] for Players
Can now set [power] for Players
Can now set [speed] for Players
Can now set [resistance] for Players
Can now set [skill] for Players
Opening data/players.wds...
ID: tetsumori Name: Tetsumori
Set level = 1
Set strength = 2
Set endurance = 4
Set power = 5
Set speed = 3
Set resistance = 4
Set skill = 3
ID: kitty Name: Kitty
Set level = 1
Set strength = 4
Set endurance = 2
Set power = 3
Set speed = 5
Set resistance = 3
Set skill = 4
Finished compiling.
Compendium Report: (1 sheets)
data/players.wds: 2
-- Players --
0000 tetsumori Tetsumori
0001 kitty Kitty
Binary file written.
I love this. No need to make an overwhelmingly complicated spreadsheet of a GUI.










