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.
|
|
| 2009-10-03, 15:42 | [XP]Rei Footstep Script |
---|
reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Awards:
| Rei Footstep Script Versi: 1.0 Tipe: Misc PengenalanRikues dari drone7, fungsinya utk munculin suara langkah kaki dari event atau player. . . Maaf, tidak ada demo . . . Fitur
- Suara langkah kaki
- Suara bisa tidak terbatas jumlahnya
ScreenshotsScreenshot dari sebuah suara? Hmmm. . . . DemoTidak ada demo . . . Scripts- Spoiler:
- Code:
-
#=============================================================================== # ● [XP] ◦ Rei Footstep Script ◦ □ # * Event dan player bakal punya suara langkah kaki . . . * #------------------------------------------------------------------------------- # ◦ by reijubv [aruyasoft@comic.com] # ◦ Rpgmakerid # ◦ Dipublikasikan pada: 02/10/2009 # ◦ Versi: 1.0 (2 Oktober 2009) #------------------------------------------------------------------------------- # Untuk membuat sebuah event memiliki suara footsptep, di nama event itu, tambah # kan kata <ftsp>. # Jangan lupa untuk mengeset terrain tag di tile editor! #=============================================================================== # Credit to reijubv #------------------------------------------------------------------------------- # ◦ Installation: # Taroh diatas Main dibawah Scene_Debug, edit dibawah #=============================================================================== $imported = {} if $imported == nil $imported["Rei_"+"Footstep"] = true #------------------------------------------------------------------------------- # Rei Module #------------------------------------------------------------------------------- module Rei module Footstep TAG = [] #------------------------------------------------------------------------ # Edit di dalam array yang ada dibawah, tambahkan sebanyak mungkin sound # effect dalam 1 array sesuai yang kamu mau # Semua sound effect harus ada di folder Audio/SE/ #------------------------------------------------------------------------ # Sound effects yang akan muncul saat player/event berjalan di tile dengan # Terran tag 0 TAG[0] = ["sound1", "sound2"] # Sound effects yang akan muncul saat player/event berjalan di tile dengan # Terran tag 1 TAG[1] = ["sound1", "sound2", "sound3", "sound4", "sound5"] # Sound effects yang akan muncul saat player/event berjalan di tile dengan # Terran tag 2 TAG[2] = ["sound1", "sound2", "sound3", "sound4", "sound5", "sound6"] # Sound effects yang akan muncul saat player/event berjalan di tile dengan # Terran tag 3 TAG[3] = ["sound1", "sound2", "sound3", "sound4", "sound5", "sound6", "sound7", "sound8"] # Sound effects yang akan muncul saat player/event berjalan di tile dengan # Terran tag 4 TAG[4] = ["sound1", "sound2", "sound3", "sound4", "sound5", "sound6", "sound7", "sound8"] # Sound effects yang akan muncul saat player/event berjalan di tile dengan # Terran tag 5 TAG[5] = ["sound1", "sound2", "sound3", "sound4", "sound5", "sound6", "sound7", "sound8"] # Sound effects yang akan muncul saat player/event berjalan di tile dengan # Terran tag 6 TAG[6] = ["sound1", "sound2", "sound3", "sound4", "sound5", "sound6", "sound7", "sound8"] # Sound effects yang akan muncul saat player/event berjalan di tile dengan # Terran tag 7 TAG[7] = ["sound1", "sound2", "sound3", "sound4", "sound5", "sound6", "sound7", "sound8"] # Apakah secara default, event memiliki suara footstep juga ? EVENT_FOOTSTEP = false # Switch Id untuk menyalakan/mematikan efek footstepnya player PS = 1 # Switch Id untuk menyalakan/mematikan efek footstepnya event ES = 2 end end #============================================================================== # ** Game_Character #============================================================================== class Game_Character include Rei::Footstep attr_accessor :footstep_se def play_se vol = rand(30) + 70 pitch = rand(30) + 70 case $game_map.terrain_tag(@x, @y) when 0 Audio.se_play(TAG[rand(TAG[0].size-1)], vol, pitch) when 1 Audio.se_play(TAG[rand(TAG[1].size-1)], vol, pitch) when 2 Audio.se_play(TAG[rand(TAG[2].size-1)], vol, pitch) when 3 Audio.se_play(TAG[rand(TAG[3].size-1)], vol, pitch) when 4 Audio.se_play(TAG[rand(TAG[4].size-1)], vol, pitch) when 5 Audio.se_play(TAG[rand(TAG[5].size-1)], vol, pitch) when 6 Audio.se_play(TAG[rand(TAG[6].size-1)], vol, pitch) when 7 Audio.se_play(TAG[rand(TAG[7].size-1)], vol, pitch) end end end #============================================================================== # ** Game_Player #============================================================================== class Game_Player < Game_Character alias rei_ftstp_initialize_gp initialize def initialize;@footstep_se = true;rei_ftstp_initialize_gp end alias rei_gp_ftstp_increase_steps increase_steps def increase_steps;rei_gp_ftstp_increase_steps play_se if @footstep_se == true and $game_switches[Rei::Footstep::PS] end end #============================================================================== # ** Game_Event #============================================================================== class Game_Event < Game_Character alias rei_ftstp_initialize_ge initialize def initialize(map_id, event) rei_ftstp_initialize_ge(map_id, event) @footstep_se = false if @event.name.upcase.include?('<ftsp>') or Rei::Footstep::EVENT_FOOTSTEP @footstep_se = true end end alias rei_ge_ftstp_increase_steps increase_steps def increase_steps;rei_ge_ftstp_increase_steps play_se if @footstep_se == true and $game_switches[Rei::Footstep::ES] end end #============================================================================== # ** End of Script #==============================================================================
Credits
Terakhir diubah oleh reijubv tanggal 2010-07-24, 10:43, total 3 kali diubah |
| | | 2009-10-03, 15:53 | Re: [XP]Rei Footstep Script |
---|
bradhawk Admin
Posts : 637 Thanked : 8 Skill : Beginner
| jiah, rekues drone di selsein dolo, mana rekues script ku ? |
| | | 2009-10-03, 15:57 | Re: [XP]Rei Footstep Script |
---|
reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Awards:
| @brad urutannya tuh, gampang pertama, susah belakangan >.< rikuesnyah si jeepunk yg abis ini . . . baru yg anda. . . baru yg kk Jasprelao . . . whew . . . |
| | | 2009-10-03, 18:53 | Re: [XP]Rei Footstep Script |
---|
idlewalker Advance
Posts : 326 Thanked : 0 Engine : RMVX Skill : Intermediate Type : Writer
| @kk rei KK EMANG BAIK!!! THANKS BUAT SCRIPTNYA! @kk brad sorry ya btw, ini RMID Interactive Game udah mau jadi, kk brad jadi server host kedua ya! |
| | | 2009-10-03, 18:58 | Re: [XP]Rei Footstep Script |
---|
reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Awards:
| @drone siph . . . Sekarang tinggal bikin script buat jeepunk . . . ( kasian udah dari dlu ) |
| | | 2011-11-30, 22:20 | Re: [XP]Rei Footstep Script |
---|
sick666 Newbie
Posts : 3 Thanked : 0 Engine : Multi-Engine User Skill : Beginner Type : Artist
| Maaf sebelumnya kalau Necro bingung mau nanya gimana selain reply disini... @kk rei ada yg error nie kk scriptnya di aq... mungkin aq nya yg nda ngerti.. maklum bener2 newbie nie nie SSnya - Spoiler:
|
| | | 2011-11-30, 22:31 | Re: [XP]Rei Footstep Script |
---|
LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Awards:
| coba Audio.se_play(TAG[rand(TAG[0].size-1)], vol, pitch) diganti jadi Audio.se_play(TAG[0][rand(TAG[0].size-1)], vol, pitch) Note : Untested |
| | | | Re: [XP]Rei Footstep Script |
---|
Sponsored content
| | | | 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 ]
|
|
|
|
|
|