Per 2016, RMID pindah ke RMID Discord (Invite link dihapus untuk mencegah spambot -Theo @ 2019). Posting sudah tidak bisa dilakukan lagi.
Mohon maaf atas ketidaknyamanannya dan mohon kerjasamanya.
|
|
| Vampyr SBABS HUD Selection v.1.0 | |
| 2010-09-06, 22:08 | Vampyr SBABS HUD Selection v.1.0 |
---|
DrDhoom Doomed Zombie
Posts : 629 Thanked : 22 Engine : Multi-Engine User Skill : Intermediate Type : Scripter
| HUD Selection fo Vampyr SBABS Versi: v.1.0 Tipe: Menu PengenalanAwalnya sih cuman iseng sambil belajar script... Bosen juga ngeliatin HUD nya itu-itu az... ya jadinya dibikin deh ni script... Fitur
- Mengganti Ammo Base, Skill Base, dan Item Base
- Terdapat 5 option yang dapat dipilih
- Mudah dipasang (Mungkin)
ScreenshotsGa ada... DemoGa ada... Kegedean klo dibuat... Scripts- 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 bisa mengganti HUD lewat event dengan call script seperti ini: # $HUD_Selection_Ammo = HUD_Ammo1 #ganti jadi HUD_Ammo1, HUD_Ammo2, ...5 # $HUD_Selection_Skill = HUD_Skill1 #ganti jadi HUD_Skill1, HUD_Skill2, ...5 # $HUD_Selection_Item = HUD_Item1 #ganti jadi HUD_Item1, HUD_Item2, ...5 #------------------------------------------------------------------------------ #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
Credits
Terakhir diubah oleh DrDhoom tanggal 2010-09-06, 22:28, total 1 kali diubah |
| | | 2010-09-06, 22:19 | Re: Vampyr SBABS HUD Selection v.1.0 |
---|
shikami Member 1000 Konsep
Posts : 3744 Thanked : 31 Engine : Multi-Engine User Skill : Beginner Type : Developer
Awards:
| wah...doom menjajah area script manteb2 ini mengganti hud di menu ya ? coba dikembangkan dengan mengganti HUD lewat call script a.k.a event .. (lum apa-apa udah nglunjak ) |
| | | 2010-09-06, 22:30 | Re: Vampyr SBABS HUD Selection v.1.0 |
---|
DrDhoom Doomed Zombie
Posts : 629 Thanked : 22 Engine : Multi-Engine User Skill : Intermediate Type : Scripter
| Yup... itu bisa lewat call script kok... Udah di edit di script nya... Thanks... |
| | | 2010-09-19, 13:02 | Re: Vampyr SBABS HUD Selection v.1.0 |
---|
agus007 Newbie
Posts : 38 Thanked : 0 Engine : RMVX Skill : Beginner Type : Mapper
| tolong donk kasih demonya, aku g ngerti nihh, namanya jg orang copo |
| | | 2010-09-19, 13:29 | Re: Vampyr SBABS HUD Selection v.1.0 |
---|
Atsavin Advance
Posts : 490 Thanked : 11 Engine : Multi-Engine User Skill : Beginner Type : Writer
| mohon maaf kk jangan post oneliner nanti dikiranya junk, spam dll lihat kembali peraturan https://rmid.forumotion.net/boardrules-h1.htmuntuk yg ini kami masih memaafkaannya karena sesuai topic koq jangan diulangi lagi yah karena staff akan bertindak tegas klo mo minta demo kita tunggu aja TSnya |
| | | 2010-10-03, 14:59 | Re: Vampyr SBABS HUD Selection v.1.0 |
---|
DrDhoom Doomed Zombie
Posts : 629 Thanked : 22 Engine : Multi-Engine User Skill : Intermediate Type : Scripter
| | | | 2010-10-03, 15:45 | Re: Vampyr SBABS HUD Selection v.1.0 |
---|
Kuro Ethernite The Creator
Posts : 1631 Thanked : 24 Engine : RMVX Ace Skill : Masterful Type : Jack of All Trades
Awards:
| Seorang Dhoom menjajah area script ??? Kapan ke sambar petirnya ??? Kay, that was GOOD I'll use this of course.... Anyway, just for 5 option ??? |
| | | | Re: Vampyr SBABS HUD Selection v.1.0 |
---|
Sponsored content
| | | | | Vampyr SBABS HUD Selection v.1.0 | |
|
Similar topics | |
|
Similar topics | |
| |
Halaman 1 dari 1 | |
| Permissions in this forum: | Anda tidak dapat menjawab topik
| |
| |
Latest 10 Topics | [Web Novel] Gloria Infidelis 2016-11-17, 21:27 by LightNightKnight
[Announcement] Forum baru untuk RMID 2016-08-25, 16:39 by TheoAllen
Where I'm Wrong ? 2016-07-24, 16:10 by ReydVires
flakeheartnet's Resources part III 2016-07-08, 14:30 by flakeheartnet
Keira's Art Warehouse 2016-06-28, 19:27 by KeiraBlaze
Theo Core Time System + Bingung 2016-06-27, 16:24 by Lockin
Error Script, Maybe ? 2016-06-27, 16:20 by Lockin
Nusaimoe @ RMID Lounge 2016-06-21, 05:02 by Jihad Bagas
Call Random Battle 2016-06-15, 17:04 by Lockin
Flakeheartnet Resources Part II [come back gift] 2016-06-07, 15:51 by flakeheartnet
|
Statistics
|
Members: [ 4947 ]
Topics: [ 8258 ]
Posts: [ 112606 ]
Newest member: [ https://rmid.forumotion.net/u4968 ]
|
|
|
|
|
|