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.
|
|
| [ASK] Nambahin Mini Game di Title | |
| 2011-04-30, 20:29 | [ASK] Nambahin Mini Game di Title |
---|
fachiru Sherlockian
Posts : 634 Thanked : 6 Engine : RMXP Skill : Beginner Type : Writer
| ehm ehm... pertama tama saya kangen bikin trit nanya lol lanjut deh, kan kalo kita mau nambahin mini game di title gitu pake script ya? ada ga yg buat XP? aku sih dulu dapet yg buat vx, ilang pula terus how to use nya juga Extra Question: kalo mau nambahin jumlah party lebih dari 4 gimana? kalo pake script, scriptnya apa? kasih link kalo baik gajadi solved solved-in aja, udah dapet sorry makasih
Terakhir diubah oleh fachiru tanggal 2011-04-30, 21:16, total 3 kali diubah |
| | | 2011-04-30, 20:34 | Re: [ASK] Nambahin Mini Game di Title |
---|
assassin nyemplung Advance
Posts : 363 Thanked : 8 Engine : Multi-Engine User Skill : Intermediate Type : Jack of All Trades
| aku pernah bikin yang kayak gini pertama, aku make AKUADES (custom title menggunakan event buatan kuro creator) terus di situ tinggal edit edit deh |
| | | 2011-04-30, 20:37 | Re: [ASK] Nambahin Mini Game di Title |
---|
pram12345 Newbie
Posts : 59 Thanked : 1 Engine : RMVX Skill : Very Beginner Type : Databaser
| @kak fachiru_ kalau aku pakek script ini.. lupa namanya script pertama (kasih nama "large party" - Spoiler:
#============================================================================== # ** Large Party #------------------------------------------------------------------------------ # © Dargor, 2008 # 04/07/08 # Version 1.7 #------------------------------------------------------------------------------ # VERSION HISTORY: # - 1.0 (08/03/08), Initial release # - 1.1 (15/03/08), Added party arrange support # - 1.2 (15/03/08), Battle Status bug fixed with Party Changer # - 1.3 (11/05/08), Bug fixed with the add_actor method # - 1.4 (13/06/08), Configuration Module added # - 1.5 (13/06/08), Support added for extra battle text members # - 1.6 (04/07/08), Improved compatibility with Multiple Parties #------------------------------------------------------------------------------ # INSTRUCTIONS: # 1) To change the maximum # of actors allowed in the party, use: # - $game_party.max_members = x #==============================================================================
#============================================================================== # ** Large Party Customization Module #==============================================================================
module Large_Party # Maximum number of party members Max_Members = 6 # Extra actors (ID) for Battle Test BTEST_Extra_Actors = [] end
#============================================================================== # ** Game_Party #------------------------------------------------------------------------------ # This class handles the party. It includes information on amount of gold # and items. The instance of this class is referenced by $game_party. #==============================================================================
class Game_Party < Game_Unit MAX_MEMBERS = Large_Party::Max_Members #-------------------------------------------------------------------------- # * Public Instance Variables #-------------------------------------------------------------------------- attr_accessor :max_members # Maximum number of party members #-------------------------------------------------------------------------- # * Alias Listing #-------------------------------------------------------------------------- alias dargor_vx_large_party_initialize initialize alias dargor_vx_large_party_add_actor add_actor #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize dargor_vx_large_party_initialize @max_members = Large_Party::Max_Members # Maximum number of party members end #-------------------------------------------------------------------------- # * Add an Actor # actor_id : actor ID #-------------------------------------------------------------------------- def add_actor(actor_id) if self.methods.include?('add_reserve_actor') add_reserve_actor(actor_id) end if $game_parties != nil $game_parties.add_actor(actor_id) $game_parties.add_reserve_actor(actor_id) end if @actors.size < @max_members dargor_vx_large_party_add_actor(actor_id) end end #-------------------------------------------------------------------------- # * Battle Test Party Setup #-------------------------------------------------------------------------- def setup_battle_test_members @actors = [] for actor_id in Large_Party::BTEST_Extra_Actors battler = RPG::System::TestBattler.new battler.actor_id = actor_id $data_system.test_battlers << battler end for battler in $data_system.test_battlers actor = $game_actors[battler.actor_id] actor.change_level(battler.level, false) actor.change_equip_by_id(0, battler.weapon_id, true) actor.change_equip_by_id(1, battler.armor1_id, true) actor.change_equip_by_id(2, battler.armor2_id, true) actor.change_equip_by_id(3, battler.armor3_id, true) actor.change_equip_by_id(4, battler.armor4_id, true) actor.recover_all @actors.push(actor.id) end @items = {} for i in 1...$data_items.size if $data_items[i].battle_ok? @items[i] = 99 unless $data_items[i].name.empty? end end end end
#============================================================================== # ** Window_MenuStatus #------------------------------------------------------------------------------ # This window displays party member status on the menu screen. #==============================================================================
class Window_MenuStatus < Window_Selectable #-------------------------------------------------------------------------- # * Alias Listings #-------------------------------------------------------------------------- alias dargor_large_party_initialize initialize #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize(x, y) @selection_rect = false @selection_y = 0 dargor_large_party_initialize(x, y) height = 416 extra_height = (96 * ($game_party.members.size-4)) if $game_party.members.size > 0 height += extra_height end self.contents = Bitmap.new(width - 32, height - 32) self.height = 416 refresh end #-------------------------------------------------------------------------- # * Refresh #-------------------------------------------------------------------------- def refresh self.contents.clear if @selection_rect color = Color.new(0,0,0,160) self.contents.fill_rect(2, @selection_y, contents.width-4, 92, color) end @item_max = $game_party.members.size for actor in $game_party.members draw_actor_face(actor, 2, actor.index * 96 + 2, 92) x = 104 y = actor.index * 96 + WLH / 2 draw_actor_name(actor, x, y) draw_actor_class(actor, x + 120, y) draw_actor_level(actor, x, y + WLH * 1) draw_actor_state(actor, x, y + WLH * 2) draw_actor_hp(actor, x + 120, y + WLH * 1) draw_actor_mp(actor, x + 120, y + WLH * 2) end end #-------------------------------------------------------------------------- # * Set Selection Rect #-------------------------------------------------------------------------- def set_selection_rect(index) @selection_rect = true @selection_y = index * 96 - WLH / 2 + 14 refresh end #-------------------------------------------------------------------------- # * Clear Selection Rect #-------------------------------------------------------------------------- def clear_selection_rect @selection_rect = false refresh end #-------------------------------------------------------------------------- # * Update cursor #-------------------------------------------------------------------------- alias dargor_large_party_update_cursor update_cursor def update_cursor #dargor_large_party_update_cursor if @index < 0 self.cursor_rect.empty return end # Get top row row = @index / @column_max if row < self.top_row self.top_row = row end # Reset Top Row if at bottom of list if row > self.top_row + (self.page_row_max - 1) self.top_row = row - (self.page_row_max - 1) end y = @index / @column_max * 96 - self.oy # Draw the cursor self.cursor_rect.set(0, y, contents.width, 96) end #-------------------------------------------------------------------------- # * Get Top Row #-------------------------------------------------------------------------- def top_row return self.oy / 96 end #-------------------------------------------------------------------------- # * Set Top Row # row : row shown on top #-------------------------------------------------------------------------- def top_row=(row) if row < 0 row = 0 end if row > row_max - 1 row = row_max - 1 end self.oy = row * 96 end #-------------------------------------------------------------------------- # * Get Number of Rows Displayable on 1 Page #-------------------------------------------------------------------------- def page_row_max return 4 end end
#============================================================================== # ** Window_BattleStatus #------------------------------------------------------------------------------ # This window displays the status of all party members on the battle screen. #==============================================================================
class Window_BattleStatus < Window_Selectable #-------------------------------------------------------------------------- # * Alias Listings #-------------------------------------------------------------------------- alias dargor_large_party_initialize initialize #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize dargor_large_party_initialize height = 128 + (24 * ($game_party.members.size-4)) self.contents = Bitmap.new(width - 32, height - 32) self.height = 128 refresh end #-------------------------------------------------------------------------- # * Update cursor #-------------------------------------------------------------------------- def update_cursor if @index < 0 self.cursor_rect.empty return end # Get top row row = @index / @column_max if row < self.top_row self.top_row = row end # Reset Top Row if at bottom of list if row > self.top_row + (self.page_row_max - 1) self.top_row = row - (self.page_row_max - 1) end y = @index / @column_max * 24 - self.oy # Draw the cursor self.cursor_rect.set(0, y, contents.width, 24) end #-------------------------------------------------------------------------- # * Get Top Row #-------------------------------------------------------------------------- def top_row return self.oy / 24 end #-------------------------------------------------------------------------- # * Set Top Row # row : row shown on top #-------------------------------------------------------------------------- def top_row=(row) if row < 0 row = 0 end if row > row_max - 1 row = row_max - 1 end self.oy = row * 24 end #-------------------------------------------------------------------------- # * Get Number of Rows Displayable on 1 Page #-------------------------------------------------------------------------- def page_row_max return 4 end end
#============================================================================== # ** Scene_Battle #------------------------------------------------------------------------------ # This class performs battle screen processing. #==============================================================================
class Scene_Battle #-------------------------------------------------------------------------- # * Update Party Command Selection #-------------------------------------------------------------------------- alias dargor_large_party_update_party_command_selection update_party_command_selection def update_party_command_selection if Input.trigger?(Input::L) @status_window.oy = [@status_window.oy -= 24, 0].max end if Input.trigger?(Input::R) @status_window.oy = [@status_window.oy += 24, ($game_party.members.size-4) * 24].min end dargor_large_party_update_party_command_selection end end
Script tersebut ditaruh di antara "scene_gameover" dan "main" NB: script tsb udah sy setting jd 6 anggota aktif |
| | | 2011-04-30, 20:40 | Re: [ASK] Nambahin Mini Game di Title |
---|
fachiru Sherlockian
Posts : 634 Thanked : 6 Engine : RMXP Skill : Beginner Type : Writer
| @ass akuades ya eh wait, cara nambahin minigame ke dalemnya gimana? @pram makasiih btw credit ke siapa ini? kalo mau jadi 8 bisa kan? |
| | | 2011-04-30, 20:44 | Re: [ASK] Nambahin Mini Game di Title |
---|
pram12345 Newbie
Posts : 59 Thanked : 1 Engine : RMVX Skill : Very Beginner Type : Databaser
| @Fachiru_ tunggu2 .... scriptnya mw dipake ke XP apa VX...? masalahnya... hehehee... ntu script buat VX ^^ .... |
| | | 2011-04-30, 20:46 | Re: [ASK] Nambahin Mini Game di Title |
---|
fachiru Sherlockian
Posts : 634 Thanked : 6 Engine : RMXP Skill : Beginner Type : Writer
| gyaaa buat XP makasih yaw |
| | | 2011-04-30, 21:30 | Re: [ASK] Nambahin Mini Game di Title |
---|
nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Awards:
| Hmm.... Nambahin mini game ke title ya, ide yang menarik Tapi apa ga ganggu pas mo milih Command New Game Load dll ya? Kalo minigame pas lagi "Now Loading" sih sering, terutama game2 Dragon Ball Kurang tau script, palingan mah pake event aja Mo bikin minigame yang kek gimana dulu? |
| | | 2011-04-30, 21:41 | Re: [ASK] Nambahin Mini Game di Title |
---|
fachiru Sherlockian
Posts : 634 Thanked : 6 Engine : RMXP Skill : Beginner Type : Writer
| ya maksud wa nambahin di bawah LOAD itu minigame dragon ball yg pencet x sama analog doang ya kalo pake event gimana? ajarin banyak misal balapan, button smasher(liat di latest topic beberapa waktu lalu), atau yg sejenis gitu deh |
| | | 2011-04-30, 21:56 | Re: [ASK] Nambahin Mini Game di Title |
---|
nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Awards:
| Pas waktu Load Game ato Now Loading screen neh? Beda lo Kalo pake event ya tinggal bikin aja kan? Kan beda2 per minigame Coba lu liat minigame yang gwa post di sini, gwa cuma post yang "SLASH!!", dan palingan yang Platformer evented sih Terus lu pelajari trid2 eventingnya Kuro Creator, soalnya ada beberapa sistem yang cocok tu dari bikinan dia, gwa juga dulu belajar dari situ kok |
| | | 2011-04-30, 22:06 | Re: [ASK] Nambahin Mini Game di Title |
---|
fachiru Sherlockian
Posts : 634 Thanked : 6 Engine : RMXP Skill : Beginner Type : Writer
| wait2, sid ngira kayak gimana? pas kita nunggu loading di loading screen gitu? bukan maksud aku, dibawah load ditambah menu lagi, "Minigame" gitu, terus kalo udah di ok atau di klik atau di enter atau dipencet keluar daftar mini game ' kira2 bisa kah? |
| | | 2011-04-30, 22:13 | Re: [ASK] Nambahin Mini Game di Title |
---|
nisamerica Living Skeleton
Posts : 1668 Thanked : 25 Engine : RMVX Skill : Very Beginner Type : Artist
Awards:
| | | | 2011-04-30, 22:43 | Re: [ASK] Nambahin Mini Game di Title |
---|
fachiru Sherlockian
Posts : 634 Thanked : 6 Engine : RMXP Skill : Beginner Type : Writer
| @sid ok deh makasih yow tapi belum solve, harus bisa dulu |
| | | 2011-05-01, 14:56 | Re: [ASK] Nambahin Mini Game di Title |
---|
TheoAllen ♫ RMID Rebel ♫
Posts : 4935 Thanked : 63
Awards:
| | | | | Re: [ASK] Nambahin Mini Game di Title |
---|
Sponsored content
| | | | | [ASK] Nambahin Mini Game di Title | |
|
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 ]
|
|
|
|
|
|