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-08-04, 17:37 | [XP] Rei Emoticon |
---|
reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Awards:
| Rei Emoticon Versi: 1.0 Tipe: Graphics Add-on PengenalanIni adalah script emoticon lain buat XP yang sebenarnya sama persis dengan di VX, (dengan ditambahin fitur2 dari script Rei New Balloon Command). Fitur
- Mudah pakai emoticon di XP
- Bisa pake gambar emoticon sebanyak apapun
- Bisa pakai sound effect
ScreenshotsKetik seperti ini di eventmu itu akan membuat player (-1) memiliki emoticon dengan Id (1) dan dari file bernama (Emoticon1) di folder Pictures. hasilnya begini : DemoGa ada Scripts- Spoiler:
- Code:
-
#=============================================================================== # ● [XP] ◦ Show Emoticon ◦ □ # * Munculkan emoticon pada karakter * #------------------------------------------------------------------------------- # ◦ by reijubv [aruyasoft@comic.com] # ◦ Rpgmakerid # ◦ Released on: 04/08/2009 # ◦ Version: 1.0 #------------------------------------------------------------------------------- # ◦ Feature: # Seperti script Rei New Balloon Command di VX, ini adalah versi XP nya. # # Cara pakai : # Di Event Command "Script", ketik salah 1 baris dibawah : # 1. Kalau kamu mau munculin balloon dengan file default (yang namanya di set # di Rei Module dibawah). # # emot(who,id) # # who : -1 = player, 0 = 'this event', > 0 event dg Id tersebut # id : balloon index, dari 1 ke 10 # # 2. Kalau kamu mau munculin balloon dengan file yang berbeda dari default. # # emot(who,id,name) # # who : -1 = player, 0 = 'this event', > 0 event dg Id tersebut # id : balloon index, dari 1 ke 10 # name : nama file balloon, ex: "balloon01", harus di Pictures folder! # # contoh : # @>Script: emot(-1,1,"balloon01") # # akan munculin balloon dg index 1 dari file "balloon01" pada player # #------------------------------------------------------------------------------- # Credit reijubv #------------------------------------------------------------------------------- # ◦ Installation: # Taroh diatas Main dibawah Scene_Debug, setup di Rei module #=============================================================================== $imported = {} if $imported == nil $imported["Rei_"+"Emoticon"] = true #------------------------------------------------------------------------------- # Rei Module #------------------------------------------------------------------------------- module Rei module Emoticon DEFAULT_BALLOON_FILE = "Balloon" # Nama file defaultnya SE_OK = true # Bunyikan Sound Effect saat emot keluar? SE = "001-System01" # Nama sound effectnya VOL = 100 # Volume ( 0 - 100 ) PIT = 100 # Pitch ( 50 - 150 ) end end #------------------------------------------------------------------------------ # JANGAN SENTUH DIBAWAH INI KECUALI KAMU TAU APA YANG AKAN KAMU LAKUKAN #------------------------------------------------------------------------------ #=============================================================================== # ** Game_Character #=============================================================================== class Game_Character;attr_accessor :balloon_id;alias rei_gc_initialize initialize def initialize;rei_gc_initialize;@balloon_id = 0;end;end #=============================================================================== # ** Sprite_Character #=============================================================================== class Sprite_Character < RPG::Sprite include Rei::Emoticon BALLOON_WAIT = 12 def initialize(viewport, character = nil) super(viewport) @character = character @balloon_duration = 0 update end alias rei_spc_update update def update rei_spc_update update_balloon if @character.balloon_id != 0 @balloon_id = @character.balloon_id start_balloon @character.balloon_id = 0 end end def start_balloon dispose_balloon Audio.se_play("Audio/SE/#{SE}",VOL,PIT) if SE_OK @balloon_duration = 8 * 8 + BALLOON_WAIT @balloon_sprite = Sprite.new(viewport) @balloon_sprite.bitmap = RPG::Cache.picture($game_system.balloon_file) @balloon_sprite.ox = 16 @balloon_sprite.oy = 32 update_balloon end def update_balloon if @balloon_duration > 0 @balloon_duration -= 1 if @balloon_duration == 0 @balloon_id = 0 dispose_balloon else @balloon_sprite.x = x if @tile_id >= 384 he = 32 else he = self.bitmap.height/4 end @balloon_sprite.y = y - he @balloon_sprite.z = z + 200 if @balloon_duration < BALLOON_WAIT sx = 7 * 32 else sx = (7 - (@balloon_duration - BALLOON_WAIT) / 8) * 32 end sy = (@balloon_id - 1) * 32 @balloon_sprite.src_rect.set(sx, sy, 32, 32) end end end def dispose_balloon if @balloon_sprite != nil @balloon_sprite.dispose @balloon_sprite = nil end end end #============================================================================== # ** Game_System #============================================================================== class Game_System;attr_accessor :balloon_file;end #============================================================================== # ** Interpreter #============================================================================== class Interpreter def emot(who,id,file=Rei::Emoticon::DEFAULT_BALLOON_FILE) character = get_character(who) $game_system.balloon_file = file if character != nil character.balloon_id = id end end end #============================================================================== # END OF SCRIPT #==============================================================================
Credits
Terakhir diubah oleh reijubv tanggal 2010-12-07, 16:21, total 2 kali diubah |
| | | 2009-08-04, 18:33 | Re: [XP] Rei Emoticon |
---|
maximus_prime Newbie
Posts : 28 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| wiw!! hebat om reijubv ^^ *comot... btw,, ada resource yang perlu di donlot nga om?? *ato emotion dah built-in di RMXP ??? baru pake RMXP & RMVX ^^ |
| | | 2009-08-04, 18:35 | Re: [XP] Rei Emoticon |
---|
reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Awards:
| @maximus ada buatanku, ntar dicari dulu... ... ... cari aja di sini ^^ ni semua data gambarku... kalo ada yang dipake, credit ya! https://s251.photobucket.com/albums/gg293/reijubv/ klik tuh |
| | | 2009-08-04, 18:58 | Re: [XP] Rei Emoticon |
---|
maximus_prime Newbie
Posts : 28 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| @reijubv: wiw, hehehe ^^ thanks kk |
| | | 2009-08-04, 19:07 | Re: [XP] Rei Emoticon |
---|
FAJAR Newbie
Posts : 98 Thanked : 0 Engine : RMVX
| Emo nyah Keren sekali kk reijubbvv.... ....muga2 ad Emo yang lainn |
| | | 2009-08-04, 23:13 | Re: [XP] Rei Emoticon |
---|
mbahnoname Senior
Posts : 670 Thanked : 0 Engine : RMVX Skill : Very Beginner Type : Mapper
Awards:
| Wah Script Keren lagi nieh.... bisa gak kalo ballon iconya bikin sendiri :?: Kan jadi lebih kreatif Gitu |
| | | 2009-08-05, 06:22 | Re: [XP] Rei Emoticon |
---|
solsepatu Advance
Posts : 422 Thanked : 3 Engine : RMVX
| Rupanya kk rei bkan cuma rgss2 aja yang mastered rgss juga mastered |
| | | 2009-10-23, 18:23 | Re: [XP] Rei Emoticon |
---|
Narigane Newbie
Posts : 87 Thanked : 0 Engine : RMVX
| ini scriptnya ditaro dmn? contohin dong bagian "emot(who,id,name)" itu uda pernah liat script yg buat battlenya jadi kayak chrono trigger? |
| | | 2009-10-23, 18:43 | Re: [XP] Rei Emoticon |
---|
reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Awards:
| ^ ^ ^ ditaroh di script editor, caranya : pencet F11 di XP, trus scroll kebawah sampe ada tulisan Main, nah klik kanan diatasnya dan bikin slot buat script baru, copy script yang saya buat di kotak gde di kanan, trus OK atau Apply, selesai. nah utk makainya, klik 2x event yang mau dimunculin emot, trus ke page 4 di daftar commandnya event, disitu ada "Script" klik itu, di kotak yg bru muncul, ketik emot(who,id,name) nah, A. ganti who dengan : -1, untuk munculin emot diatas player 0, utk munculin emot diatas event yang sedang anda buat sekarang diatas 0, utk event dengan id itu di map yg sama. B. ganti id dengan : 1-10 (Baris emot yang mau kamu tampilin di file emoticonnya) C.ganti name dengan : nama file emoticonnya yang ditaroh di folder Graphics/Pictures/ (tanpa extensinya) dan file gbrnya harus berformat mirip emot yang ada di vx. . maaf kalo saya tidak pernah memberi info ttg cara memakai script saya >.< |
| | | | Re: [XP] Rei Emoticon |
---|
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 ]
|
|
|
|
|
|