|
|
|
Golden Sun Battle Mechanics Program
| Tichondrius |
|
I cast flare

Group: Cake
Posts: 295
Member No.: 16
Joined: 17-June 07

|
So hi ppls.
I'm going to revive the good old Golden Sun Adepts Battle Arena. The one from Formina Sage.
But in order to perform the necessary calculations, I'm going to automate it. But I can't miss anything. The program will be written in TMT pascal. The reason for this is that my knowledge of that language is more extensive and I have already figured out how to create and read files in that language.
Right now here is what I have:
| CODE | TYPE psypowers = RECORD name: STRING[20]; ppCost: INTEGER; range: ('1','3','5','7', 'all'); targetEnemy: BOOLEAN; baseDamage: INTEGER; inflictSatus: ('Damage', 'Haunt', 'Poison', 'Deadly Poison', 'Stun', 'Delusion', 'Psynergy Seal', 'Sleep', 'Downed'); inflictStatChange: RECORD
player = RECORD name: STRING[20]; element : ('Venus','Jupiter', 'Mars', 'Mercury'); class: STRING[30]; male: BOOLEAN; maxHP, maxMP, attack, defense, agility, luck: INTEGER; psynergy: ARRAY[1..100] OF psypowers; |
It's not finished like for insted inflictStatChange is still a question mark for me on how I will actually use that.
I've found two guides on battle damage calculation on GameFAQs, but I'm just sure I'm going to miss something.
For those non-programmers out there
RECORD basicly means that the variable of that entity contains fields of those values with the names beneath it. STRING means a word consisting of letters and numbers. ARRAY is a row of a certain amount of variables given with it's interval. BOOLEAN means it's a value either true or false.
What I need you to do is look at range, and InflictStatus and InflictStatsChange if you have ideas on what I can do for this. I'm planning on using a record with the names of the certain stat change. Attack, Defense, Agility and stuff like that.
I am only going to be adding equipment to the list. But that is still a unknown.
|
|
|
| Redliw_Ledah |
|

Owner of Noobs, Voice of Yahtzee, Master of Gaming

Group: Water Clan
Posts: 3,965
Member No.: 4
Joined: 16-June 07

|
I've never worked, or actually even seen Pascal before, but I can still take a look at it, and show it to a couple programing friends, see if we can help.
--------------------
If I don't clash, I don't change.
The world ends at my borders,
and the best moments slip away. The world ends with you. If you want to enjoy life, expand your world. You gotta push your horizons out as far as they'll go.[@RPG-Data- Begin[[HP:172][HPM:172][MP:62][MPM:136][STR:83][DEF:83][Money:1976][Name:Redliw][Avatar:][Spells:][C lass:0][Element:13][InBattle:2][BattleMusic:][BattleBackground:][Wins:15][Lose:1][EXP:36][Level:3][S killPoints:0][Items:0][Equip:][Healing:4][Cards:78|30|26|45|66|86|71|36|32|99|3|80|87|21|4|71|61|101 |82|91|35|65|60|36|14|46|75][InTTBattle:N][TTBCards:][TTCPUCards:][TTWins:0][TTLost:1][Upgrades:0_3] ]RPG-Data-End@]
|
|
|
| Tichondrius |
|
I cast flare

Group: Cake
Posts: 295
Member No.: 16
Joined: 17-June 07

|
Currently, all I have is the preamble, if I need debugging help, I'll look around for it, currently I need more Golden Sun specific help.
|
|
|
| Redliw_Ledah |
|

Owner of Noobs, Voice of Yahtzee, Master of Gaming

Group: Water Clan
Posts: 3,965
Member No.: 4
Joined: 16-June 07

|
Oh, you want the stuff like range and status from all the spells in the game? That shouldnt be too hard to get.
--------------------
If I don't clash, I don't change.
The world ends at my borders,
and the best moments slip away. The world ends with you. If you want to enjoy life, expand your world. You gotta push your horizons out as far as they'll go.[@RPG-Data- Begin[[HP:172][HPM:172][MP:62][MPM:136][STR:83][DEF:83][Money:1976][Name:Redliw][Avatar:][Spells:][C lass:0][Element:13][InBattle:2][BattleMusic:][BattleBackground:][Wins:15][Lose:1][EXP:36][Level:3][S killPoints:0][Items:0][Equip:][Healing:4][Cards:78|30|26|45|66|86|71|36|32|99|3|80|87|21|4|71|61|101 |82|91|35|65|60|36|14|46|75][InTTBattle:N][TTBCards:][TTCPUCards:][TTWins:0][TTLost:1][Upgrades:0_3] ]RPG-Data-End@]
|
|
|
| cipher |
|

Writer of Poetry, Winnar of Banner-Makers, Master of Photoshop

Group: Cake Chefs
Posts: 4,452
Member No.: 15
Joined: 17-June 07

|
The Golden Sun Wikia has pretty much all the battle info you need. Google it if you ever need a good resource.
--------------------
xd A - A b o u t - c o n t A c t x
 d o . A s . i n f i n i t y ~xVx~I want to take hold of my dreams and hopes But the more I chase after them, the more I feel the distance ~ Tangerine Dream by Do As Infinity [@RPG-Data- Begin[[HP:256][HPM:610][MP:100][MPM:100][STR:710][DEF:155][Money:1829][Name:Abaddon][Avatar:][Spells :ATBBoost_10][Class:0][Element:4][InBattle:][BattleMusic:0][BattleBackground:0][Wins:135][Lose:12][E XP:48][Level:18][SkillPoints:0][Healing:][Items:0][Equip:0][BankMoney:17715][BankTime:3,7,108,22,45] [Upgrades:0_3]]RPG-Data-End@]
|
|
|
Track this topic
Receive email notification when a reply has been made to this topic and you are not active on the board.
Subscribe to this forum
Receive email notification when a new topic is posted in this forum and you are not active on the board.
Download / Print this Topic
Download this topic in different formats or view a printer friendly version.
Fissure skin created by Black Widow of the IF Skin Zone with color modifications by Sagie.
Banner created by cipher
Golden Sun and all related characters and ideas (C) Nintendo/CAMELOT 2002. | |
|