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.
|
|
| Men-Delete beberapa Block Menu | |
| 2012-05-30, 11:15 | Men-Delete beberapa Block Menu |
---|
ReydVires The First ThV©
Posts : 538 Thanked : 5 Engine : RMVX Skill : Skilled Type : Event Designer
| Sebelumnya perasaan saya kok pernah buat nih thread tp pas dicari kok ga nemu yah Ya udahlah... dulu ya dulu, sekarang beda lagi
HELP !! Ok... ane minta tolong pada om om Scripter Gara2 Amnesia sama RGSS2... jadi bingung mau otak-atik yang mana... to the poin~ Biar Screenshot yang menerangkan : - Spoiler:
Ket: Lingkar Hijau: Karena judulnya mendelete block, nah saya minta bantuan buat mendelete Window yang lingkari hijau... Lingkar Kuning: Lha sama mas... biar yg dilingkari Kuning itu ngilang... jd hanya ada ATTACK, DEFEND, SENJATA, HAND, BAJU
Au ah.. gelap.. males nulis... segitu aja thx~ Ini bukan bermaksud mengecewakan Menu lho... blm jadi aja |
| | | 2012-05-31, 09:24 | Re: Men-Delete beberapa Block Menu |
---|
ReydVires The First ThV©
Posts : 538 Thanked : 5 Engine : RMVX Skill : Skilled Type : Event Designer
| Waa masa gak ada yang Response
Sekalian sundul |
| | | 2012-05-31, 10:41 | Re: Men-Delete beberapa Block Menu |
---|
LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Awards:
| kasih lihat Scene_Equip yang ada di projectmu |
| | | 2012-05-31, 11:22 | Re: Men-Delete beberapa Block Menu |
---|
ReydVires The First ThV©
Posts : 538 Thanked : 5 Engine : RMVX Skill : Skilled Type : Event Designer
| - LiTTleDRAgo wrote:
- kasih lihat Scene_Equip yang ada di projectmu
Woke2... Tp kayanya saya ga ngoprek2 yg ini deh... this~ - Code:
-
#============================================================================== # ** Scene_Equip #------------------------------------------------------------------------------ # This class performs the equipment screen processing. #==============================================================================
class Scene_Equip < Scene_Base #-------------------------------------------------------------------------- # * Constants #-------------------------------------------------------------------------- EQUIP_TYPE_MAX = 5 # Number of equip region #-------------------------------------------------------------------------- # * Object Initialization # actor_index : actor index # equip_index : equipment index #-------------------------------------------------------------------------- def initialize(actor_index = 0, equip_index = 0) @actor_index = actor_index @equip_index = equip_index end #-------------------------------------------------------------------------- # * Start processing #-------------------------------------------------------------------------- def start super create_menu_background @actor = $game_party.members[@actor_index] @help_window = Window_Help.new create_item_windows @equip_window = Window_Equip.new(208, 56, @actor) @equip_window.help_window = @help_window @equip_window.index = @equip_index @status_window = Window_EquipStatus.new(0, 56, @actor) end #-------------------------------------------------------------------------- # * Termination Processing #-------------------------------------------------------------------------- def terminate super dispose_menu_background @help_window.dispose @equip_window.dispose @status_window.dispose dispose_item_windows end #-------------------------------------------------------------------------- # * Return to Original Screen #-------------------------------------------------------------------------- def return_scene $scene = Scene_Menu.new(2) end #-------------------------------------------------------------------------- # * Switch to Next Actor Screen #-------------------------------------------------------------------------- def next_actor @actor_index += 1 @actor_index %= $game_party.members.size $scene = Scene_Equip.new(@actor_index, @equip_window.index) end #-------------------------------------------------------------------------- # * Switch to Previous Actor Screen #-------------------------------------------------------------------------- def prev_actor @actor_index += $game_party.members.size - 1 @actor_index %= $game_party.members.size $scene = Scene_Equip.new(@actor_index, @equip_window.index) end #-------------------------------------------------------------------------- # * Update Frame #-------------------------------------------------------------------------- def update super update_menu_background @help_window.update update_equip_window update_status_window update_item_windows if @equip_window.active update_equip_selection elsif @item_window.active update_item_selection end end #-------------------------------------------------------------------------- # * Create Item Window #-------------------------------------------------------------------------- def create_item_windows @item_windows = [] for i in 0...EQUIP_TYPE_MAX @item_windows[i] = Window_EquipItem.new(0, 208, 544, 208, @actor, i) @item_windows[i].help_window = @help_window @item_windows[i].visible = (@equip_index == i) @item_windows[i].y = 208 @item_windows[i].height = 208 @item_windows[i].active = false @item_windows[i].index = -1 end end #-------------------------------------------------------------------------- # * Dispose of Item Window #-------------------------------------------------------------------------- def dispose_item_windows for window in @item_windows window.dispose end end #-------------------------------------------------------------------------- # * Update Item Window #-------------------------------------------------------------------------- def update_item_windows for i in 0...EQUIP_TYPE_MAX @item_windows[i].visible = (@equip_window.index == i) @item_windows[i].update end @item_window = @item_windows[@equip_window.index] end #-------------------------------------------------------------------------- # * Update Equipment Window #-------------------------------------------------------------------------- def update_equip_window @equip_window.update end #-------------------------------------------------------------------------- # * Update Status Window #-------------------------------------------------------------------------- def update_status_window if @equip_window.active @status_window.set_new_parameters(nil, nil, nil, nil) elsif @item_window.active temp_actor = @actor.clone temp_actor.change_equip(@equip_window.index, @item_window.item, true) new_atk = temp_actor.atk new_def = temp_actor.def new_spi = temp_actor.spi new_agi = temp_actor.agi @status_window.set_new_parameters(new_atk, new_def, new_spi, new_agi)#(new_atk, new_def, new_spi, new_agi) end @status_window.update end #-------------------------------------------------------------------------- # * Update Equip Region Selection #-------------------------------------------------------------------------- def update_equip_selection if Input.trigger?(Input::B) Sound.play_cancel return_scene elsif Input.trigger?(Input::R) Sound.play_cursor next_actor elsif Input.trigger?(Input::L) Sound.play_cursor prev_actor elsif Input.trigger?(Input::C) if @actor.fix_equipment Sound.play_buzzer else Sound.play_decision @equip_window.active = false @item_window.active = true @item_window.index = 0 end end end #-------------------------------------------------------------------------- # * Update Item Selection #-------------------------------------------------------------------------- def update_item_selection if Input.trigger?(Input::B) Sound.play_cancel @equip_window.active = true @item_window.active = false @item_window.index = -1 elsif Input.trigger?(Input::C) Sound.play_equip @actor.change_equip(@equip_window.index, @item_window.item) @equip_window.active = true @item_window.active = false @item_window.index = -1 @equip_window.refresh for item_window in @item_windows item_window.refresh end end end end |
| | | 2012-05-31, 14:16 | Re: Men-Delete beberapa Block Menu |
---|
DrDhoom Doomed Zombie
Posts : 629 Thanked : 22 Engine : Multi-Engine User Skill : Intermediate Type : Scripter
| itu yang ijo maksudnya window nya kah yang dikecilin? dan yang kuning itu nampilin apa aja? weapon, shiled, dan armor kah? gw yg pasti tau mau di ilangin cuman aksesoris doang... |
| | | 2012-05-31, 14:25 | Re: Men-Delete beberapa Block Menu |
---|
Kuro Ethernite The Creator
Posts : 1631 Thanked : 24 Engine : RMVX Ace Skill : Masterful Type : Jack of All Trades
Awards:
| Bagian.... - Update Status Window:
def update_status_window if @equip_window.active @status_window.set_new_parameters(nil, nil, nil, nil) elsif @item_window.active temp_actor = @actor.clone temp_actor.change_equip(@equip_window.index, @item_window.item, true) new_atk = temp_actor.atk new_def = temp_actor.def new_spi = temp_actor.spi new_agi = temp_actor.agi @status_window.set_new_parameters(new_atk, new_def, new_spi, new_agi)#(new_atk, new_def, new_spi, new_agi) end @status_window.update end
Yang merah.... HAPUS !!!!! Soal yang equipment aq ga nemu2 mungkin d karenakan aq kurang jeli? Tapi nemu EQUIP_TYPE_MAX = 5 q yakin klo ntar d ganti 3, maka 2 equip slot yg d bawah yg ilang Gimana kalo stelah d ganti 3 slot, kmudian d akalin tulisanny d database? sesat way.... |
| | | 2012-05-31, 15:48 | Re: Men-Delete beberapa Block Menu |
---|
ReydVires The First ThV©
Posts : 538 Thanked : 5 Engine : RMVX Skill : Skilled Type : Event Designer
| - WhiteHopper wrote:
- itu yang ijo maksudnya window nya kah yang dikecilin? dan yang kuning itu nampilin apa aja?
weapon, shiled, dan armor kah? gw yg pasti tau mau di ilangin cuman aksesoris doang... Iyoo dihilangkan Bar Windownyanya maksud saya... Kelebihan soalnya Kalo itu sih gak harus... - Kuro Creator wrote:
- Bagian....
- Update Status Window:
def update_status_window if @equip_window.active @status_window.set_new_parameters(nil, nil, nil, nil) elsif @item_window.active temp_actor = @actor.clone temp_actor.change_equip(@equip_window.index, @item_window.item, true) new_atk = temp_actor.atk new_def = temp_actor.def new_spi = temp_actor.spi new_agi = temp_actor.agi @status_window.set_new_parameters(new_atk, new_def, new_spi, new_agi)#(new_atk, new_def, new_spi, new_agi) end @status_window.update end
Yang merah.... HAPUS !!!!!
Soal yang equipment aq ga nemu2 mungkin d karenakan aq kurang jeli? Tapi nemu EQUIP_TYPE_MAX = 5 q yakin klo ntar d ganti 3, maka 2 equip slot yg d bawah yg ilang Gimana kalo stelah d ganti 3 slot, kmudian d akalin tulisanny d database? sesat way.... Epic banget mass sayangnya Fail... eh.. gak deng... Cuma kalo script yg bang kuro buat itu udah ane Edit Cobalah teliti karena saya Amnesia aa |
| | | 2012-05-31, 16:05 | Re: Men-Delete beberapa Block Menu |
---|
Kuro Ethernite The Creator
Posts : 1631 Thanked : 24 Engine : RMVX Ace Skill : Masterful Type : Jack of All Trades
Awards:
| da truth is itu cuma persepsi belaka.... Sdari awal q emang ga tau klo kamsud anda ngurangin ukuran window ny.... |
| | | 2012-06-01, 02:19 | Re: Men-Delete beberapa Block Menu |
---|
ReydVires The First ThV©
Posts : 538 Thanked : 5 Engine : RMVX Skill : Skilled Type : Event Designer
| | | | 2012-06-01, 14:11 | Re: Men-Delete beberapa Block Menu |
---|
baszto Advance
Posts : 317 Thanked : 2
| blom kelar ye gan? coba yg di window_equipstatus def initializenya ganti jadi ini - Code:
-
def initialize(x, y, actor) super(x, y, 208, WLH * [b][color=green]3[/color][/b] + 32) @actor = actor refresh end itu cuma ngubah dair 5 jadi 3 lakukan hal yg sma pada window equip, ubah 5 jadi 3 tapi yg ini equip kyaknya salah deh |
| | | 2012-06-01, 14:24 | Re: Men-Delete beberapa Block Menu |
---|
ReydVires The First ThV©
Posts : 538 Thanked : 5 Engine : RMVX Skill : Skilled Type : Event Designer
| - baszto wrote:
- blom kelar ye gan?
coba yg di window_equipstatus def initializenya ganti jadi ini - Code:
-
def initialize(x, y, actor) super(x, y, 208, WLH * [b][color=green]3[/color][/b] + 32) @actor = actor refresh end itu cuma ngubah dair 5 jadi 3 lakukan hal yg sma pada window equip, ubah 5 jadi 3 tapi yg ini equip kyaknya salah deh Yah... udahlah... ini udah keburu Solve sama bang Lukas Skylka thx udah coba bantu sblmnya @Admin/Mod Solved aja... |
| | | 2012-06-01, 14:30 | Re: Men-Delete beberapa Block Menu |
---|
Lukas Senior
Posts : 618 Thanked : 22
| kayanya udah solved deh,
wowowo , eh udah ada post baru. kok ga da peringatannya yasudahlah |
| | | | Re: Men-Delete beberapa Block Menu |
---|
Sponsored content
| | | | | Men-Delete beberapa Block Menu | |
|
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 ]
|
|
|
|
|
|