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.
|
|
| Bantuin untuk script atau dll | |
| 2012-03-26, 17:07 | Bantuin untuk script atau dll |
---|
Ameron ♚ Leader of Ameron™ ♚
Posts : 440 Thanked : 3 Engine : RMVX Skill : Intermediate Type : Developer
Awards:
| saya mau tanya script yang bisa mengnonaktifkan perlengkapan senjata gak bisa di remove ada gak ya? kalau ada please di share! I need your help ! |
| | | 2012-03-26, 17:19 | Re: Bantuin untuk script atau dll |
---|
LowlingLife Administrator
Posts : 2000 Thanked : 25 Engine : Multi-Engine User
Awards:
| Maksudnya om? Jadi gak bisa nge-akses fitur equipment dari Menu? |
| | | 2012-03-26, 18:44 | Re: Bantuin untuk script atau dll |
---|
Nefusa 7 Senior
Posts : 954 Thanked : 6 Engine : RMXP Skill : Intermediate Type : Scripter
| mungkin maksudnya tidak bisa di ganti weaponnya (Fixed) kalo aku benar, itu kan udah ada di databasenya |
| | | 2012-03-26, 19:01 | Re: Bantuin untuk script atau dll |
---|
LowlingLife Administrator
Posts : 2000 Thanked : 25 Engine : Multi-Engine User
Awards:
| Oh, kayaknya saya ngerti.. Om rekz itu maunya kayak om nefusa bilang. Jadi tuh kayaknya dia gak sengaja ngeset equipmentnya ke fix. Maka dari itu dia pengen tahu cara menon-aktifkannya. Tinggal di untick Fix Equipment kok.. |
| | | 2012-03-26, 22:05 | Re: Bantuin untuk script atau dll |
---|
ashm Veteran
Posts : 1131 Thanked : 8 Engine : RMVX Ace Skill : Intermediate Type : Event Designer
Awards:
| Kalo vx ada Yez equipment overhaul. Itu dalemnya banyak customisasi nya, termasuk lock2 equip. |
| | | 2012-03-28, 16:05 | Re: Bantuin untuk script atau dll |
---|
Ameron ♚ Leader of Ameron™ ♚
Posts : 440 Thanked : 3 Engine : RMVX Skill : Intermediate Type : Developer
Awards:
| Maksudnya gini lo om : tau gak game breath of fire 4 yang gak bisa menghilangkan weaponnya tetapi bisa menggantinya? tapi kalau armor, shield dsbnya bisa diremove dan diganti nah itu gimana tuh pake script? Kalu fix equipment itu gak bisa ganti apapun atau remove apapun equipnya itu. @ashm kalau yez itu compatibility gak dengan KGC Equipment? |
| | | 2012-03-28, 17:08 | Re: Bantuin untuk script atau dll |
---|
shikami Member 1000 Konsep
Posts : 3744 Thanked : 31 Engine : Multi-Engine User Skill : Beginner Type : Developer
Awards:
| search wltr individual equipment script ato whatever,gw lupa judulnya yg penting bkinan wltr3565 |
| | | 2012-03-28, 17:44 | Re: Bantuin untuk script atau dll |
---|
Ameron ♚ Leader of Ameron™ ♚
Posts : 440 Thanked : 3 Engine : RMVX Skill : Intermediate Type : Developer
Awards:
| scripnya kok gak bisa remove equip dan gak bisa add equip? - Code:
-
=begin ================================================================================ Equip Locker v1.0 by wltr3565 ================================================================================ A friend of mine requested something to lock an equipment for actors. Making this kind of thing won't hurt much, I think. ================================================================================ Features: - Largely configureable, even in midgame - High compatibility, maybe. - Can lock more than 1 equip slots. - Simple. ================================================================================ How it will work: The listed slots to lock will make adjusting the equipment of an actor in the told slot impossible until the lock is removed. ================================================================================ How to Use: Configure the starting lock below. There's some script commands that let you to readjust the locks in mid game:
- add_lock(actor_id, slot) This will add a new slot to lock. actor_id is the actor's id for the locking. slot is the slot you wish to lock. - remove_lock(actor_id, slot) This will remove the assigned slot from locking. actor_id is the actor's id to remove the lock for. slot is the slot you wish to unlock. - clear_lock(actor_id) This will make the assigned actor to have his/her locks removed completely. To put simply, he/she can adjust anything again, like this script never exists. ================================================================================ Install: Insert this above main and below any equip scene-related scripts. ================================================================================ Terms of Use: Credit me, wltr3565, or not is up to you. Just don't claim that this is made by you, and crediting me will be nice. Giving me a free copy of your game will be very nice too. ================================================================================ Thanks: NightRider: Requested this kind of thing. ================================================================================ =end #=============================================================================== # COMMENCING COMPATIBILITY FLAG #=============================================================================== $imported = {} if $imported == nil $imported["wltr3565's_Equip_Locker"] = true #=============================================================================== # END COMPATIBILITY FLAG #=============================================================================== module WLTR module WEAPON_LOCK_SETUP "==============================================================================" " DO NOT TOUCH BELOW!!!!" "==============================================================================" LOCK_SLOT = [] "==============================================================================" #=============================================================================== # This will adjust the locks for each actors in the start of the game. The # format of making one is like this: # # LOCK_SLOT[id] = [slots in array] # # That will adjust the locks for actor with the assigned id. Example: # # LOCK_SLOT[5] = [1, 2] # # That will make actor id 5 unable to change his/her second weapon/shield and # body armor (by default equipment) #=============================================================================== end end
"==============================================================================" " BELOW IS TOO DANGEROUS TO READ WITHOUT PROPER SCRIPTING SKILLS. THEREFOR, " " EDIT AT YOUR OWN RISK! " "=============================================================================="
class Game_Actor < Game_Battler attr_accessor :equip_lock_list alias lock_initialize initialize def initialize(actor_id) lock_initialize(actor_id) @equip_lock_list = WLTR::WEAPON_LOCK_SETUP::LOCK_SLOT[self.id] @equip_lock_list = [] if @equip_lock_list == nil end end
class Game_Interpreter def add_lock(actor_id, slot) $game_actors[actor_id].equip_lock_list.push(slot) $game_actors[actor_id].equip_lock_list.uniq! end def remove_lock(actor_id, slot) $game_actors[actor_id].equip_lock_list.delete(slot) $game_actors[actor_id].equip_lock_list.uniq! end def clear_lock(actor_id) $game_actors[actor_id].equip_lock_list.clear end end
class Scene_Equip < Scene_Base alias block_equip_selection update_equip_selection def update_equip_selection if Input.trigger?(Input::C) index = @equip_window.index if @actor.equip_lock_list.include?(index) Sound.play_buzzer return end end block_equip_selection end end #=============================================================================== # # END OF SCRIPT # #===============================================================================
saya buat ini pada call script paralel "remove_lock(1, 1)" gak bisa diotak atik lagi slot weaponnya, maksudnya ga bisa remove dan add weapon lagi. |
| | | | Re: Bantuin untuk script atau dll |
---|
Sponsored content
| | | | | Bantuin untuk script atau dll | |
|
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 ]
|
|
|
|
|
|