|
| [XP] Rei Emoticon | |
| | Pengirim | Message |
---|
reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Trophies
Awards:
| Subyek: [XP] Rei Emoticon 2009-08-04, 17:37 | |
| 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 | |
| | | maximus_prime Newbie
Posts : 28 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [XP] Rei Emoticon 2009-08-04, 18:33 | |
| 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 ^^ | |
| | | reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Trophies
Awards:
| Subyek: Re: [XP] Rei Emoticon 2009-08-04, 18:35 | |
| @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 | |
| | | maximus_prime Newbie
Posts : 28 Thanked : 0 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [XP] Rei Emoticon 2009-08-04, 18:58 | |
| @reijubv: wiw, hehehe ^^ thanks kk | |
| | | FAJAR Newbie
Posts : 98 Thanked : 0 Engine : RMVX
| Subyek: Re: [XP] Rei Emoticon 2009-08-04, 19:07 | |
| Emo nyah Keren sekali kk reijubbvv.... ....muga2 ad Emo yang lainn | |
| | | mbahnoname Senior
Posts : 670 Thanked : 0 Engine : RMVX Skill : Very Beginner Type : Mapper
Trophies
Awards:
| Subyek: Re: [XP] Rei Emoticon 2009-08-04, 23:13 | |
| Wah Script Keren lagi nieh.... bisa gak kalo ballon iconya bikin sendiri :?: Kan jadi lebih kreatif Gitu | |
| | | solsepatu Advance
Posts : 422 Thanked : 3 Engine : RMVX
| Subyek: Re: [XP] Rei Emoticon 2009-08-05, 06:22 | |
| Rupanya kk rei bkan cuma rgss2 aja yang mastered rgss juga mastered | |
| | | Narigane Newbie
Posts : 87 Thanked : 0 Engine : RMVX
| Subyek: Re: [XP] Rei Emoticon 2009-10-23, 18:23 | |
| ini scriptnya ditaro dmn? contohin dong bagian "emot(who,id,name)" itu uda pernah liat script yg buat battlenya jadi kayak chrono trigger? | |
| | | reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Trophies
Awards:
| Subyek: Re: [XP] Rei Emoticon 2009-10-23, 18:43 | |
| ^ ^ ^ 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 >.< | |
| | | Sponsored content
| Subyek: Re: [XP] Rei Emoticon | |
| |
| | | | [XP] Rei Emoticon | |
|
Similar topics | |
|
| Permissions in this forum: | Anda tidak dapat menjawab topik
| |
| |
| Latest topics | » [Web Novel] Gloria Infidelis by LightNightKnight 2016-11-17, 21:27
» [Announcement] Forum baru untuk RMID by TheoAllen 2016-08-25, 16:39
» Where I'm Wrong ? by ReydVires 2016-07-24, 16:10
» flakeheartnet's Resources part III by flakeheartnet 2016-07-08, 14:30
» Keira's Art Warehouse by KeiraBlaze 2016-06-28, 19:27
» Theo Core Time System + Bingung by Lockin 2016-06-27, 16:24
» Error Script, Maybe ? by Lockin 2016-06-27, 16:20
» Nusaimoe @ RMID Lounge by Jihad Bagas 2016-06-21, 05:02
» Call Random Battle by Lockin 2016-06-15, 17:04
» Flakeheartnet Resources Part II [come back gift] by flakeheartnet 2016-06-07, 15:51
|
Statistics
|
Members: [ 4947 ]
Topics: [ 8258 ]
Posts: [ 112606 ]
Newest member: [ https://rmid.forumotion.net/u4968 ]
|
|
|
|