| | HUD Selection for Vampyr SBABS | |
| Author | Message |
---|
DrDhoom New Citizen D
Jumlah Post : 14 Voucher : 220 Reppo : 0 Join Date : 2010-08-24
| Subject: HUD Selection for Vampyr SBABS Thu 09 Sep 2010, 03:58 | |
| HUD Selection v.1.0 for Vampyr SBABS PengenalanIni adalah script menu untuk mengganti Vampyr HUD di game. Kamu dapat mengganti Ammos Base, Skills Base, dan Items Base. Dalam script ini terdapat 5 opsi yang dapat dipilih untuk mengganti HUD. Kamu dapat menambah atau mengurangi opsi nya jika kamu mengerti script (gampang az kok ) Script- Spoiler:
- Code:
-
#============================================================================== # HUD Selection v.1.0 for Vampyr SBABS by DrDhoom #------------------------------------------------------------------------------ # Script untuk menambah menu option untuk mengganti HUD. #------------------------------------------------------------------------------ # Untuk menjalankan script ini membutuhkan Vampyr HUD v1.1 #------------------------------------------------------------------------------ #Pemasangan: # Taruh di atas Main dan dibawah script Vampyr. # Edit Scene_Menu untuk memasukkan script ini ke menu # Pada def create_command_window #def create_command_window # s1 = Vocab::item # s2 = Vocab::skill # s3 = Vocab::equip # s4 = Vocab::status # s5 = Vocab::save # s6 = "HUD Selection" # s7 = Vocab::game_end # @command_window = Window_Command.new(160, [s1, s2, s3, s4, s5, s6, s7]) # # Lalu pada def update_command_selection edit jadi seperti ini # when 0 # Item # $scene = Scene_Item.new # when 1,2,3 # Skill, equipment, status # start_actor_selection # when 4 # Save # $scene = Scene_File.new(true, false, false) # when 5 #HUD Selection # $scene = Scene_HUD_Select.new # when 6 # End Game # $scene = Scene_End.new # #Kamu dapat mengganti HUD via event dengan call script seperti ini: # $HUD_Selection_Item = HUD_Item1 # $HUD_Selection_Skill = HUD_Skill1 # $HUD_Selection_Ammo = HUD_Ammo1 #------------------------------------------------------------------------------ #Credit to DrDhoom #------------------------------------------------------------------------------ #==============================================================================
module Dhoom_HUD_Selection #Semua file graphic HUD taruh di "Graphics\System" #Nama Opsi HUD_Option1 = "Default" HUD_Option2 = "Green" HUD_Option3 = "Black" HUD_Option4 = "Red" HUD_Option5 = "Purple" #Nama File untuk Ammo HUD_Ammo1 = "Ammos Base1" HUD_Ammo2 = "Ammos Base2" HUD_Ammo3 = "Ammos Base3" HUD_Ammo4 = "Ammos Base4" HUD_Ammo5 = "Ammos Base5" #Nama File untuk Skill HUD_Skill1 = "Skills Base1" HUD_Skill2 = "Skills Base2" HUD_Skill3 = "Skills Base3" HUD_Skill4 = "Skills Base4" HUD_Skill5 = "Skills Base5" #Nama File untuk Item HUD_Item1 = "Items Base1" HUD_Item2 = "Items Base2" HUD_Item3 = "Items Base3" HUD_Item4 = "Items Base4" HUD_Item5 = "Items Base5" end #============================================================================== #End Configurations #==============================================================================
class Scene_HUD_Select < Scene_Base include Dhoom_HUD_Selection def start super create_menu_background create_command_window end
def post_start super open_command_window end
def pre_terminate super close_command_window end
def terminate super dispose_command_window dispose_menu_background end
def return_scene $scene = Scene_Menu.new(6) end
def update super update_menu_background @command_window.update if Input.trigger?(Input::B) Sound.play_cancel return_scene elsif Input.trigger?(Input::C) case @command_window.index when 0 command_first_hud when 1 command_second_hud when 2 command_third_hud when 3 command_fourth_hud when 4 command_fifth_hud end end end
def update_menu_background super @menuback_sprite.tone.set(0, 0, 0, 128) end
def create_command_window s1 = HUD_Option1 s2 = HUD_Option2 s3 = HUD_Option3 s4 = HUD_Option4 s5 = HUD_Option5 @command_window = Window_Command.new(172, [s1, s2, s3, s4, s5]) @command_window.x = (544 - @command_window.width) / 2 @command_window.y = (416 - @command_window.height) / 2 @command_window.openness = 0 end
def dispose_command_window @command_window.dispose end
def open_command_window @command_window.open begin @command_window.update Graphics.update end until @command_window.openness == 255 end
def close_command_window @command_window.close begin @command_window.update Graphics.update end until @command_window.openness == 0 end
def command_first_hud Sound.play_decision $HUD_Selection_Ammo = HUD_Ammo1 $HUD_Selection_Skill = HUD_Skill1 $HUD_Selection_Item = HUD_Item1 return_scene end
def command_second_hud Sound.play_decision $HUD_Selection_Ammo = HUD_Ammo2 $HUD_Selection_Skill = HUD_Skill2 $HUD_Selection_Item = HUD_Item2 return_scene end
def command_third_hud Sound.play_decision $HUD_Selection_Ammo = HUD_Ammo3 $HUD_Selection_Skill = HUD_Skill3 $HUD_Selection_Item = HUD_Item3 return_scene end def command_fourth_hud Sound.play_decision $HUD_Selection_Ammo = HUD_Ammo4 $HUD_Selection_Skill = HUD_Skill4 $HUD_Selection_Item = HUD_Item4 return_scene end def command_fifth_hud Sound.play_decision $HUD_Selection_Ammo = HUD_Ammo5 $HUD_Selection_Skill = HUD_Skill5 $HUD_Selection_Item = HUD_Item5 return_scene end end
class Vampyr_HUD2 < Sprite def initialize(viewport) super(viewport) @bg = Cache.system($HUD_Selection_Ammo) self.y = Graphics.height-@bg.height-(Font_Size/2)-1 self.bitmap = Bitmap.new(@bg.width, @bg.height+(Font_Size/2)) self.bitmap.font.name = Font_Name self.bitmap.font.size = Font_Size refresh end end
class Vampyr_HUD3 < Sprite def initialize(viewport) super(viewport) @bg = Cache.system($HUD_Selection_Skill) self.x = Graphics.width-@bg.width self.y = Graphics.height-@bg.height-(Font_Size/2)-1 self.bitmap = Bitmap.new(@bg.width, @bg.height+(Font_Size/2)) self.bitmap.font.name = Font_Name self.bitmap.font.size = Font_Size refresh end end
class Vampyr_HUD4 < Sprite def initialize(viewport) super(viewport) @bg = Cache.system($HUD_Selection_Item) self.x, self.y = Graphics.width-@bg.width, 1 self.bitmap = Bitmap.new(@bg.width, @bg.height+(Font_Size/2)) self.bitmap.font.name = Font_Name self.bitmap.font.size = Font_Size refresh end end
class Scene_Title < Scene_Base include Dhoom_HUD_Selection def start super load_database create_game_objects check_continue create_title_graphic create_command_window play_title_music $HUD_Selection_Ammo = HUD_Ammo1 $HUD_Selection_Skill = HUD_Skill1 $HUD_Selection_Item = HUD_Item1 end end
Jika dipakai mohon credit nya ya... |
| | | Accel P One Eyed Miharu
Lokasi : China Status : 我们的游戏会比你更好 !!! Jumlah Post : 1549 Voucher : 18075 Reppo : 25 Join Date : 2010-04-20
| Subject: Re: HUD Selection for Vampyr SBABS Thu 09 Sep 2010, 04:00 | |
| wah bagus tp saya gag make Vampir bisa gag bikin HUD changer biasa |
| | | markubon Senior E
Lokasi : Phantomhive Mansion Status : Sibuk Jumlah Post : 459 Voucher : 4941 Reppo : 10 Join Date : 2010-08-12
| Subject: Re: HUD Selection for Vampyr SBABS Thu 09 Sep 2010, 04:52 | |
| @om doom bisa change nya lewat event gak mas? anyway thanks /me Vampyr SBABS user |
| | | DrDhoom New Citizen D
Jumlah Post : 14 Voucher : 220 Reppo : 0 Join Date : 2010-08-24
| Subject: Re: HUD Selection for Vampyr SBABS Sat 11 Sep 2010, 11:15 | |
| @decla: mksudnya gmna? kgak ngrti wa @ninyem: ada pnjlsannya di scriptnya... coba liat dulu... |
| | | Accel P One Eyed Miharu
Lokasi : China Status : 我们的游戏会比你更好 !!! Jumlah Post : 1549 Voucher : 18075 Reppo : 25 Join Date : 2010-04-20
| Subject: Re: HUD Selection for Vampyr SBABS Sat 11 Sep 2010, 11:22 | |
| skrip yang bisa merubah HUD
wa pake skrip HUD ( bikinan ibegu yang gag di publish ) tp pada intinya dia bakal nge load gambar HUD di system
bisa gag bikin tool yang bisa ngeload gambar lain untuk HUD |
| | | DrDhoom New Citizen D
Jumlah Post : 14 Voucher : 220 Reppo : 0 Join Date : 2010-08-24
| Subject: Re: HUD Selection for Vampyr SBABS Sat 11 Sep 2010, 11:27 | |
| @decla: pke menu jg? klo g tau script nya g bsa bkinnya... ntar beda variable nya... |
| | | Accel P One Eyed Miharu
Lokasi : China Status : 我们的游戏会比你更好 !!! Jumlah Post : 1549 Voucher : 18075 Reppo : 25 Join Date : 2010-04-20
| Subject: Re: HUD Selection for Vampyr SBABS Sat 11 Sep 2010, 11:48 | |
| hmm, aku usaha sendiri dulu kalau nyerah baru ku minta kau |
| | | DrDhoom New Citizen D
Jumlah Post : 14 Voucher : 220 Reppo : 0 Join Date : 2010-08-24
| Subject: Re: HUD Selection for Vampyr SBABS Sat 11 Sep 2010, 12:13 | |
| woke lah... tpi cpet" ya... mmpung wa lg g bnyk krjaan |
| | | Sponsored content
| Subject: Re: HUD Selection for Vampyr SBABS | |
| |
| | | | HUD Selection for Vampyr SBABS | |
|
Page 1 of 1 | |
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| Latest topics | » Perkenalkan by Eruku Tue 24 Nov 2015, 20:25
» Ragnarok: Believe Visual Novel by Eruku Tue 24 Nov 2015, 20:20
» In Reality Visual Novel by Eruku Tue 24 Nov 2015, 20:15
» Adakan "Home Builder Event" Buat Papan kami. by Win_Amp Tue 25 Mar 2014, 10:06
» [Game]Sambung Kata by Win_Amp Mon 24 Mar 2014, 22:59
» [GAME]Menjawab pertanyaan dengan pertanyaan. by Win_Amp Mon 24 Mar 2014, 22:59
» [Game] salah kata by Win_Amp Mon 24 Mar 2014, 22:59
» [Roleplay] Family of Vixep Citizens by SkyChampion Mon 28 Oct 2013, 18:41
» Games Keren Terbaru~!! by SkyChampion Mon 28 Oct 2013, 18:40
» " Clocksberry " by Mbah Moeng Mon 28 Oct 2013, 18:39
» [Demo included] Unwalkable: Forbidden Destiny by Mbah Moeng Mon 28 Oct 2013, 18:39
» [team recruitment] Strug Team by Mbah Moeng Mon 28 Oct 2013, 18:39
» [Manga] Tale Before Sleep 3 - God Crisis by Mbah Moeng Mon 28 Oct 2013, 18:39
» [ASK][HELP!!]Algorithma Shell Sort by Mbah Moeng Mon 28 Oct 2013, 18:38
» Rama's Sprite Galery by Mbah Moeng Mon 28 Oct 2013, 18:38
|
Poll | | Siapakah mimin ter-mimin? | Yaden | | 0% | [ 0 ] | Mbah Moeng | | 100% | [ 4 ] | Win_Amp | | 0% | [ 0 ] |
| Total Votes : 4 |
|
Top posting users this week | |
Statistics | Citizens : 2403
Topics : 1224
Posts : 23288
_______________
Welcome to VIXEP's
newest Citizen,
https://vixep.forumotion.com/u2415
|
Who is online? | In total there are 2 users online :: 0 Registered, 0 Hidden and 2 Guests None Most users ever online was 80 on Tue 17 Apr 2012, 11:03 |
|