Beruflich Dokumente
Kultur Dokumente
By Khas Arcthunder
http://arcthunder.site40.net/
1. Installing SAS IV
Copy the SAS IV script under the additional scripts part. You may copy some SAS IV
add-ons if you want. Read carefully all the instructions to configure the scripts correctly.
2. Enemies
The enemies configuration is done at the RPG Maker database. Open it and go to the
enemies part. Set the following values, because they will be used by the system: maximum
HP, attack, defense, intelligence, resistance and experience. After that, you may put one or
more commands from the following list on the enemys note.
3. Spawning Enemies
Enemies are always created on an event, theres two ways of spawning them. The first
is by putting a comment on the events page. You may put extra comments with extra
commands.
The second one is a bit advanced, processed by the Call Script command. Put the
code event.spawn_enemy(id), where event must be a object of the Game_Event class.
4. Deaths
In order to improve customizations, the SAS IV does not have automatic deaths. You
must set at the script the switch ID that will be activated when the player dies. The suggestion
is to create a common event that will process the players death. Also, you have to configure
the enemies death. Check the section 3 for the SAS IV commands on an enemy death and
check the demo for complete examples.
5. Weapons
Just configure the weapons normally. You may set the recover time by adding an
Attack Speed command, setting the value to the desired recover (in frames). Again, check
the demo.
6. Skills
The skills configuration is very similar to the enemies configuration. The player and
the enemies can use the same skills, but there are some differences. The recovery time is used
only by the player, and the MP cost too (enemies does not have MP limit). For each skill,
configure the following: name, icon, MP cost and animation. After that, you may put one or
more commands from the following list on the skills note.
7. Damage Formulas
In order to comprehend the formulas, consider the following situation:
A: Player
B: Enemy
The inverse is also valid:
A: Enemy
B: Player
Attack damage:
As attack + random Bs defense
Attack random:
Random value from 0 to (As attack x Damage_Random)
Skill damage:
As intelligence + Skill Power + random Bs resistance
Skill random:
Random value from 0 to (As intelligence x Damage_Random)
8. Damage by Command
You may use SAS IV commands to cause damage to characters. Considering a char
object from Game_Event ($game_map.events[x] or self_event), you can use the command
char.damage_enemy(value); Considering a char object from Game_Player ($game_player),
you can use the command char.damage_hero(value), where value is the amount of damage.
9. Removed Features
In order to improve the SAS IV performance, some features of the RPG Maker VX Ace
were removed: followers, vehicles, map loop and damage by terrain. These functions wont be
restored.
class Sapphire_Hud
def refresh_bars(hp=$game_party.members[0].hp)
end
def refresh_base
end
def hide(lock=false)
end
def show(unlock=false)
end
end
refresh_bars called when the HP, MP or EXP bars need to be refreshed. The players HP
may be passed as a parameter.
refresh_base called when the players information need to be refreshed (name, skill or
level).
hide called to hide the HUD, must dispose all Bitmap and/or Sprite classes. A true parameter
may be passed to lock the HUD hidden.
show called to show the HUD, must recreate all Bitmap and/or Sprite classes. A true
parameter may be passed to unlock the hidden HUD.
11. In-Game Commands
The Sapphire Action System IV will run with active Pixel Movement in all your games
maps. The player is controlled by the default direction keys, A to attack, S to cast a skill and D
to change the equipped skill. You can only attack, cast skills, or be attacked, if the SAS IV is
enabled. Use $game_map.start_sas to enable SAS IV, and $game_map.pause_sas to disable
SAS IV.
You must use commands to show or hide the HUD. If you want to show the HUD, use
$game_map.sas_hud.show, and if you want to hide the HUD, use $game_map.sas_hud.hide. If
you want to hide and lock the HUD hidden, use $game_map.sas_hud.hide(true). If the HUD is
hidden, you can only show it again with $game_map.sas_hud.show(true).