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.

Share | 
 

 Bantuin untuk script atau dll

Topik sebelumnya Topik selanjutnya Go down 
Bantuin untuk script atau dll Empty2012-03-26, 17:07
PostBantuin untuk script atau dll
#1
Ameron 
♚ Leader of Ameron™ ♚
Ameron

Level 5
Posts : 440
Thanked : 3
Engine : RMVX
Skill : Intermediate
Type : Developer
Awards:
Bantuin untuk script atau dll Vide
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 !
Bantuin untuk script atau dll Empty2012-03-26, 17:19
PostRe: Bantuin untuk script atau dll
#2
LowlingLife 
Administrator
Administrator
LowlingLife

Kosong
Posts : 2000
Thanked : 25
Engine : Multi-Engine User
Awards:

Bantuin untuk script atau dll Vide
Maksudnya om? Jadi gak bisa nge-akses fitur equipment dari Menu?
Bantuin untuk script atau dll Empty2012-03-26, 18:44
PostRe: Bantuin untuk script atau dll
#3
Nefusa 7 
Senior
Senior
Nefusa 7

Level 5
Posts : 954
Thanked : 6
Engine : RMXP
Skill : Intermediate
Type : Scripter

Bantuin untuk script atau dll Vide
mungkin maksudnya tidak bisa di ganti weaponnya (Fixed) :hmm:
kalo aku benar, itu kan udah ada di databasenya :v
Bantuin untuk script atau dll Empty2012-03-26, 19:01
PostRe: Bantuin untuk script atau dll
#4
LowlingLife 
Administrator
Administrator
LowlingLife

Kosong
Posts : 2000
Thanked : 25
Engine : Multi-Engine User
Awards:

Bantuin untuk script atau dll Vide
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..
Bantuin untuk script atau dll Empty2012-03-26, 22:05
PostRe: Bantuin untuk script atau dll
#5
ashm 
Veteran
Veteran
ashm

Level 5
Posts : 1131
Thanked : 8
Engine : RMVX Ace
Skill : Intermediate
Type : Event Designer
Awards:

Bantuin untuk script atau dll Vide
Kalo vx ada Yez equipment overhaul.
Itu dalemnya banyak customisasi nya, termasuk lock2 equip.
Bantuin untuk script atau dll Empty2012-03-28, 16:05
PostRe: Bantuin untuk script atau dll
#6
Ameron 
♚ Leader of Ameron™ ♚
Ameron

Level 5
Posts : 440
Thanked : 3
Engine : RMVX
Skill : Intermediate
Type : Developer
Awards:
Bantuin untuk script atau dll Vide
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?
Bantuin untuk script atau dll Empty2012-03-28, 17:08
PostRe: Bantuin untuk script atau dll
#7
shikami 
Member 1000 Konsep
avatar

Level 5
Posts : 3744
Thanked : 31
Engine : Multi-Engine User
Skill : Beginner
Type : Developer
Awards:


Bantuin untuk script atau dll Vide
search wltr individual equipment script ato whatever,gw lupa judulnya yg penting bkinan wltr3565
Bantuin untuk script atau dll Empty2012-03-28, 17:44
PostRe: Bantuin untuk script atau dll
#8
Ameron 
♚ Leader of Ameron™ ♚
Ameron

Level 5
Posts : 440
Thanked : 3
Engine : RMVX
Skill : Intermediate
Type : Developer
Awards:
Bantuin untuk script atau dll Vide
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.
Bantuin untuk script atau dll Empty
PostRe: Bantuin untuk script atau dll
#9
Sponsored content 




Bantuin untuk script atau dll Vide
 

Bantuin untuk script atau dll

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 1 dari 1

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Engines :: RMVX-