Sunrider Academy

Sunrider Academy

57 valoraciones
Modding Character Class Base Stats (Hardcod/harder to use)
Por BITE ME UNIVERSE
This mod's purpose is to make the story go faster,
without having to manage your life.

I recommend you check out the Dev Console guide first. That might be easier for you.
   
Premiar
Favoritos
Favorito
Quitar
Helpful Guides/Updated Versions
This guide is a bit outdated and harder for others to use, so I recommend you use this guide from now on. It's much easier to code 1 item instead of multiple.

http://steamproxy.net/sharedfiles/filedetails/?id=460602989
Preview


This is what you will see when you choose a class.

There is a video at the end.
Instructions
1. Locate the Sunrider Academy Files. Should be somewhere around here:

C:\Program Files (x86)\Steam\steamapps\common\Sunrider Academy\game

2. Open "Script.rpy" using a text editor. You can right click on the file and hit "open with".

3. Type in "stat_class == [#]", where the # sign is the class number.
So, if you wanted to change the Charismatic class, you would put, "stat_class == 3".
Athletic = 1
Intellectual = 2
Charismatic = 3
Good Karma = 4
Well Rounded = 5
Wealthy Heir = 6

5. Follow the lines of text after until you hit a "$" icon and replace
the NUMBERS ONLY.

6 Replace any numbers you see with any other numbers
you want. I prefer to use round numbers, but it's
up to you if you want 999999999999999999 in all
stats.

7. Save the file as "script.rpy" in a Unicode text format. YOU MUST TYPE THE
".rpy" PART OR IT WILL BE SAVED AS A TEXT FILE AND
BREAK!
Notes
Changing the HWK value in this section will not do
anything to how much homework you have.

This mod will not rig the affection chart either.

Your stress resets at the end of the day to 0 if it's
below 0. You have to go to a different section of code
to prevent this from happening. If you cannot find that,
just go to the arcade a bunch to keep your stress low.

Charisma will be reset at the start of next month as well,
you have to find that in the other part of code as well.

ONLY replace the numbers after "$".

Do not touch any code in:
if stat_class == 0 or disp_class == 0:

I will link to changing those stats later...or place it all in one guide. I can't do this all today.
Code
label stat_calc:

if stat_class == 0 or disp_class == 0:
$ stat_fitness = " "
$ stat_intelligence = " "
$ stat_charisma = " "
$ stat_stress = " "
$ stat_money = " "
$ stat_luck = " "
$ stat_grade = " "
$ stat_prestige = " "
$ stat_homework = " "

if stat_class == 1 or disp_class == 1:
$ stat_fitness = 500
$ stat_intelligence = 500
$ stat_charisma = 5010
$ stat_stress = -500
$ stat_money = 5000
$ stat_luck = 500
$ stat_grade = 500
$ stat_prestige = 500
$ stat_homework = 0

if stat_class == 2 or disp_class == 2:
$ stat_fitness = 500
$ stat_intelligence = 500
$ stat_charisma = 5010
$ stat_stress = -500
$ stat_money = 5000
$ stat_luck = 500
$ stat_grade = 500
$ stat_prestige = 500
$ stat_homework = "{size=25}-1 per week{/size}"

if stat_class == 3 or disp_class == 3:
$ stat_fitness = 500
$ stat_intelligence = 500
$ stat_charisma = 5010
$ stat_stress = -500
$ stat_money = 5000
$ stat_luck = 500
$ stat_grade = 500
$ stat_prestige = 500
$ stat_homework = 0

if stat_class == 4 or disp_class == 4:
$ stat_fitness = 500
$ stat_intelligence = 500
$ stat_charisma = 5010
$ stat_stress = -500
$ stat_money = 5000
$ stat_luck = 500
$ stat_grade = 500
$ stat_prestige = 500
$ stat_homework = 0

if stat_class == 5 or disp_class == 5:
$ stat_fitness = 500
$ stat_intelligence = 500
$ stat_charisma = 5010
$ stat_stress = -500
$ stat_money = 5000
$ stat_luck = 500
$ stat_grade = 500
$ stat_prestige = 500
$ stat_homework = 0

if stat_class == 6 or disp_class == 6:
$ stat_fitness = 500
$ stat_intelligence = 500
$ stat_charisma = 5010
$ stat_stress = -500
$ stat_money = 5000
$ stat_luck = 500
$ stat_grade = 500
$ stat_prestige = "{size=25}+10 per month{/size}"
$ stat_homework = 0
Video
49 comentarios
BITE ME UNIVERSE  [autor] 10 JUL 2015 a las 10:06 
Good News Everyone! I made one for the Dev Cosole. This way, you don't have to hardcode too many lines. This one is easier to use. I recommend you check it out!
BITE ME UNIVERSE  [autor] 8 JUL 2015 a las 14:30 
Everyone has a text editor...
BITE ME UNIVERSE  [autor] 28 JUN 2015 a las 20:17 
THANK YOU FOR DOING IT SUCCESSFULLY AFTER TRYING IT AGAIN!

Glad it could be helpful. (^_^)

Also, I am almost done making the one for command console so that people don't have to hard-code their games for this mod to work.
Hanayo 28 JUN 2015 a las 11:52 
Messed up my game the first time around but finally figured out how to do it xD Thank you so much! Makes the game sooooooo much faster!
BITE ME UNIVERSE  [autor] 14 JUN 2015 a las 21:58 
Sorry, I was at work.

If you follow the instructions step by step, you should have no trouble modifying this code.

If you are asking for further instructions, there isn't anything else I can say that would clarify things.

Don't worry though, I'm going to make a guide soon for the dev cosole, so you won't have to modify this manually.
Bun 14 JUN 2015 a las 15:08 
I obviously did something wrong. Which particular things am I supposed to edit? The video isnt loading for me
Courage 1 MAY 2015 a las 14:44 
Crap, i SHOULDVE saved them... gg, life
BITE ME UNIVERSE  [autor] 1 MAY 2015 a las 14:27 
1) Delete that comment. LOL!
2) You didn't save the original files you had?
3) Save the script in a separate folder, so when it does break, you can just copy that file and replace it
BITE ME UNIVERSE  [autor] 1 MAY 2015 a las 13:24 
It looks like the code that broke was the line before. You might have deleted an extra space. Just Verify Game Cashe, and try it agian.
Courage 1 MAY 2015 a las 12:52 
It happend on LAUNCH, the second its launcnched, it turns off (And the video says error loading, maybe its me)