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.
|
|
| [SOLVED] ngelarang lepas senjata | |
| 2009-11-01, 14:04 | [SOLVED] ngelarang lepas senjata |
---|
richter_h Salto Master Hancip RMID
Posts : 1705 Thanked : 30 Engine : Other Skill : Skilled Type : Developer
Awards:
| gini maksudnya... di rmxp bawaannya, kita bsa lepas senjata n jadi barehanded... gmana biar enggak bisa dikosongin si slot senajata di equipment? kali aja ma equipment lain jg bsa.... plis kk-kk rmid, kasi tau gmana via skripna.... da kasep |
| | | 2009-11-01, 14:12 | Re: [SOLVED] ngelarang lepas senjata |
---|
bradhawk Admin
Posts : 637 Thanked : 8 Skill : Beginner
| - Quote :
- gmana biar enggak bisa dikosongin si slot senajata di equipment?
ini ga ngerti maksudny . . . bisa di jelasin ? apa ini termasuk settingan fixed di bagian equipment actor ya ? |
| | | 2009-11-01, 14:42 | Re: [SOLVED] ngelarang lepas senjata |
---|
richter_h Salto Master Hancip RMID
Posts : 1705 Thanked : 30 Engine : Other Skill : Skilled Type : Developer
Awards:
| maksudnya gimana cara buat ngilangin pilihan Unequip (yang di defaultnya ada item [kosong] buat ngelepas equipment/senjata, di Window_EquipItem kalo enggak salah)?? sory bahasana rancu.... lagi pusing ma yang satu ini |
| | | 2009-11-01, 15:15 | Re: [SOLVED] ngelarang lepas senjata |
---|
CrimsonSeas Novice
Posts : 106 Thanked : 9 Engine : RMVX
| Wadu buat XP ya, blom nginstall XP jd ga bisa ngecek scriptnya, tp klo VX sih bisa2 aja gw bantu. |
| | | 2009-11-01, 15:43 | Re: [SOLVED] ngelarang lepas senjata |
---|
zzxzz Novice
Posts : 156 Thanked : 12 Engine : RMVX
| masuk ke database > actors > di kolom kanan bawah centang fixed di starting equipmentnya buat weapon.. konsekuensinya weaponnya gak bisa diganti selama permainan... buat fixed item lain jg bisa kok disitu macam armor, accessory, dst.. |
| | | 2009-11-01, 17:59 | Re: [SOLVED] ngelarang lepas senjata |
---|
shikami Member 1000 Konsep
Posts : 3744 Thanked : 31 Engine : Multi-Engine User Skill : Beginner Type : Developer
Awards:
| Oh tw mksd prtnyaany,dy pgn ngilangin tgn kosongny,jd mwny equip fix tp bsa dgnti2 (stau saia fix g bsa dgnti2 dh).. Knp g dakalin pake eventing aja? |
| | | 2009-11-01, 18:06 | Re: [SOLVED] ngelarang lepas senjata |
---|
yerry_great @> Moderator
Posts : 1251 Thanked : 15 Engine : Multi-Engine User Skill : Very Beginner Type : Jack of All Trades
| Kalo kata shikami bisa... Pake UNARMED System... Trus tambahin CANT UNARMED... Branch if Hero Equip UNARMED maka bla''''' |
| | | 2009-11-01, 18:08 | Re: [SOLVED] ngelarang lepas senjata |
---|
CrimsonSeas Novice
Posts : 106 Thanked : 9 Engine : RMVX
| Baru install XP, baca2 dikit default scriptnya, dan inilah hasil dr coba2 berhadiah gw Script kecil ini fungsinya buat disabling unequip buat equip2 tertentu, bisa diset mana aja yg bisa unequip mana aja yg ga bisa - Spoiler:
- Code:
-
#=============================================================================== #DISABLING UNEQUIP FOR XP #Made by CrimsonSeas #=============================================================================== #A simple snippet I made by request at RMID, this script disables unequipping #equipment, so a character must have an equipment at a defined slot. #You can set which type of equipment can be unequipped or not at the coniguration #below.
#============================================================================== #Configuration #============================================================================== module CRMSS #set to true for enabling, false to disable unequip for that particular type # weapon shield helmet body accessory UNEQUIP_ENABLE = [ false, true, true, true, true] end
class Scene_Equip def update_right # If B button was pressed if Input.trigger?(Input::B) # Play cancel SE $game_system.se_play($data_system.cancel_se) # Switch to menu screen $scene = Scene_Menu.new(2) return end # If C button was pressed if Input.trigger?(Input::C) # If equipment is fixed if @actor.equip_fix?(@right_window.index) # Play buzzer SE $game_system.se_play($data_system.buzzer_se) return end # Play decision SE if @item_window.data.size == 0 # Play buzzer SE $game_system.se_play($data_system.buzzer_se) return end $game_system.se_play($data_system.decision_se) # Activate item window @right_window.active = false @item_window.active = true @item_window.index = 0 return end # If R button was pressed if Input.trigger?(Input::R) # Play cursor SE $game_system.se_play($data_system.cursor_se) # To next actor @actor_index += 1 @actor_index %= $game_party.actors.size # Switch to different equipment screen $scene = Scene_Equip.new(@actor_index, @right_window.index) return end # If L button was pressed if Input.trigger?(Input::L) # Play cursor SE $game_system.se_play($data_system.cursor_se) # To previous actor @actor_index += $game_party.actors.size - 1 @actor_index %= $game_party.actors.size # Switch to different equipment screen $scene = Scene_Equip.new(@actor_index, @right_window.index) return end end end
class Window_EquipItem attr_reader :data def refresh if self.contents != nil self.contents.dispose self.contents = nil end @data = [] # Add equippable weapons if @equip_type == 0 weapon_set = $data_classes[@actor.class_id].weapon_set for i in 1...$data_weapons.size if $game_party.weapon_number(i) > 0 and weapon_set.include?(i) @data.push($data_weapons[i]) end end end # Add equippable armor if @equip_type != 0 armor_set = $data_classes[@actor.class_id].armor_set for i in 1...$data_armors.size if $game_party.armor_number(i) > 0 and armor_set.include?(i) if $data_armors[i].kind == @equip_type-1 @data.push($data_armors[i]) end end end end # Add blank page @data.push(nil) if CRMSS::UNEQUIP_ENABLE[@equip_type] # Make a bit map and draw all items @item_max = @data.size return if @data.size == 0 self.contents = Bitmap.new(width - 32, row_max * 32) for i in 0...@item_max draw_item(i) unless @data[i] == nil end end end
|
| | | 2009-11-01, 18:12 | Re: [SOLVED] ngelarang lepas senjata |
---|
yerry_great @> Moderator
Posts : 1251 Thanked : 15 Engine : Multi-Engine User Skill : Very Beginner Type : Jack of All Trades
| Btw... knapa si richter ga bikin ndiri ya? dia kan bisa nyekrip juga... |
| | | 2009-11-02, 20:50 | Re: [SOLVED] ngelarang lepas senjata |
---|
richter_h Salto Master Hancip RMID
Posts : 1705 Thanked : 30 Engine : Other Skill : Skilled Type : Developer
Awards:
| @crimsonseas: wow thx bgt kang.... @yerry: iya sih tp lagi bnyk kerjaan, jdinya rada bingung mo nyentuh lg skrip jd rada pusing..... jg ane lbih suka ada bntuan dripada pusing ndiri |
| | | | Re: [SOLVED] ngelarang lepas senjata |
---|
Sponsored content
| | | | | [SOLVED] ngelarang lepas senjata | |
|
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 ]
|
|
|
|
|
|