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.
|
|
| cara utk menampilkan nama lokasi? [SOLVED] | |
| 2010-03-14, 11:30 | cara utk menampilkan nama lokasi? [SOLVED] |
---|
mocha.frappe Newbie
Posts : 52 Thanked : 0 Engine : RMVX
| Jadi seperti di Game Pokemon, kan kalau masuk ke lokasi tertentu seperti kota atau hutan akan muncul nama lokasinya di pojok kanan atas layar Jika di RMXP, membuatnya harus menggunakan script atau event juga bisa? Thx b4 ^^ |
| | | 2010-03-14, 11:39 | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
Shiro the Creator Novice
Posts : 121 Thanked : 0 Engine : RMVX Skill : Skilled Type : Writer
| Kalau RMVX, saya tahu ada script nya dari Reedo, tapi untuk RMXP saya tidak tahu.... Kan memang bisa pakai event, kan?? |
| | | 2010-03-14, 11:47 | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
mocha.frappe Newbie
Posts : 52 Thanked : 0 Engine : RMVX
| Ow... Tp event yg mn y...? =P Atau... Script yg VX-ny bisa di convert ke XP, ga? |
| | | 2010-03-14, 12:01 | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
Shiro the Creator Novice
Posts : 121 Thanked : 0 Engine : RMVX Skill : Skilled Type : Writer
| Kalau dari event, bisa buat autorun pada tiap map untuk show text, setelah itu di erase. Atau dengan memasukkan show text setelah event transfer.... Tapi memang lebih bagus pakai script, karena lebih animatif ..... |
| | | 2010-03-14, 12:04 | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
rusted_71 Scripter Karatan
Posts : 392 Thanked : 11 Engine : RMVX Skill : Beginner Type : Scripter
| nih pake scriptnya moghunter aja... - Spoiler:
- Code:
-
#_______________________________________________________________________________ # MOG_Location_Name V1.4 #_______________________________________________________________________________ # By Moghunter # http://www.atelier-rgss.com #_______________________________________________________________________________ module MOG #Font Name. MPFONT = "Georgia" #Fade ON/OFF(True - False). MPNMFD = true #Fade Time(in seconds). MPNMTM = 8 #Window Position. # 0 = Upper Left. # 1 = Lower Left. # 2 = Upper Right. # 3 = Lower Right. MPNMPS = 2 # Disable Window Switch(ID). WM_SWITCH_VIS_DISABLE = 8 end #_________________________________________________ $mogscript = {} if $mogscript == nil $mogscript["Location_Name"] = true ############### # Game_System # ############### class Game_System attr_accessor :fdtm attr_accessor :mpnm_x attr_accessor :mpnm_y alias mog24_initialize initialize def initialize mog24_initialize @fdtm = 255 + 40 * MOG::MPNMTM if MOG::MPNMPS == 0 @mpnm_x = -300 @mpnm_y = 0 elsif MOG::MPNMPS == 1 @mpnm_x = -300 @mpnm_y = 380 elsif MOG::MPNMPS == 2 @mpnm_x = 640 @mpnm_y = 0 else @mpnm_x = 640 @mpnm_y = 380 end end def mpnm_x return @mpnm_x end def mpnm_y return @mpnm_y end def fdtm if @fdtm <= 0 @fdtm = 0 end return @fdtm end end ############ # Game_Map # ############ class Game_Map attr_reader :map_id def mpname $mpname = load_data("Data/MapInfos.rxdata") $mpname[@map_id].name end end ############### # Window Base # ############### class Window_Base < Window def nd_mapic mapic = RPG::Cache.picture("") end def draw_mpname(x,y) self.contents.font.name = MOG::MPFONT self.contents.font.size = 22 self.contents.font.color = Color.new(0,0,0,255) self.contents.draw_text(x + 76, y + 27, 110, 32, $game_map.mpname.to_s,1) self.contents.font.color = Color.new(255,255,255,255) self.contents.draw_text(x + 75, y + 26, 110, 32, $game_map.mpname.to_s,1) end end ########## # Mpname # ########## class Mpname < Window_Base def initialize super($game_system.mpnm_x, $game_system.mpnm_y, 250, 100) self.contents = Bitmap.new(width - 32, height - 32) self.opacity = 0 refresh end def refresh self.contents.clear draw_mpname(10,0) end end ############# # Scene_Map # ############# class Scene_Map alias mog24_main main def main @mpnm = Mpname.new @mpnm.contents_opacity = $game_system.fdtm if $game_switches[MOG::WM_SWITCH_VIS_DISABLE] == false @mpnm.visible = true else @mpnm.visible = false end mog24_main @mpnm.dispose end alias mog24_update update def update mog24_update $game_system.mpnm_x = @mpnm.x $game_system.mpnm_y = @mpnm.y if $game_switches[MOG::WM_SWITCH_VIS_DISABLE] == true or $game_system.fdtm <= 0 @mpnm.visible = false else @mpnm.visible = true end if MOG::MPNMPS == 0 or MOG::MPNMPS == 1 if @mpnm.x < 0 @mpnm.x += 8 elsif @mpnm.x >= 0 @mpnm.x = 0 end else if @mpnm.x > 400 @mpnm.x -= 8 elsif @mpnm.x <= 400 @mpnm.x = 400 end end @mpnm.contents_opacity = $game_system.fdtm if MOG::MPNMFD == true $game_system.fdtm -= 3 end end alias mog24_transfer_player transfer_player def transfer_player mog24_transfer_player if MOG::MPNMPS == 0 $game_system.mpnm_x = -300 $game_system.mpnm_y = 0 elsif MOG::MPNMPS == 1 $game_system.mpnm_x = -300 $game_system.mpnm_y = 380 elsif MOG::MPNMPS == 2 $game_system.mpnm_x = 640 $game_system.mpnm_y = 0 else $game_system.mpnm_x = 640 $game_system.mpnm_y = 380 end @mpnm.y = $game_system.mpnm_y @mpnm.x = $game_system.mpnm_x $game_system.fdtm = 255 + 40 * MOG::MPNMTM @mpnm.refresh end end
kasih credit ke mog hunter ya klo kepake |
| | | 2010-03-14, 12:06 | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
mocha.frappe Newbie
Posts : 52 Thanked : 0 Engine : RMVX
| @kk shiro: Owh... aq juga pernah si, coba kyq gt, tapi kyq-ny lebih enak pake script, d... Thx 4 the answer anyway ^^ @kk rusted: Thx kk, saya coba pake dulu ^_^ |
| | | 2010-03-14, 12:07 | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
Atsavin Advance
Posts : 490 Thanked : 11 Engine : Multi-Engine User Skill : Beginner Type : Writer
| | | | 2010-03-14, 12:14 | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
mocha.frappe Newbie
Posts : 52 Thanked : 0 Engine : RMVX
| @kk Atsavin: Cara masukin gambarny gmn? =P Krn saat dicoba muncul tulisan: Unable to find file Graphics/Windowskin/Chip_Location. |
| | | 2010-03-14, 12:37 | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
Atsavin Advance
Posts : 490 Thanked : 11 Engine : Multi-Engine User Skill : Beginner Type : Writer
| loh gambar yg ini tinggal kopi ke folder windowskin |
| | | 2010-03-14, 12:56 | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
mocha.frappe Newbie
Posts : 52 Thanked : 0 Engine : RMVX
| Ud... Tapi kuq tetep kluar unable to find... ya? :/ |
| | | 2010-03-14, 13:05 | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
tazqi Novice
Posts : 122 Thanked : 0 Engine : Multi-Engine User Skill : Very Beginner Type : Writer
| coba di check namanya............. di RM kan nama penting........... senstive banget...... |
| | | 2010-03-14, 13:07 | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
Shiro the Creator Novice
Posts : 121 Thanked : 0 Engine : RMVX Skill : Skilled Type : Writer
| Tulis nama file nya dengan nama yang "unable to find" itu.... Unable to find file Graphics/Windowskin/Chip_Location. Jadi tulis nama file nya Chip_Location |
| | | 2010-03-14, 13:16 | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
mocha.frappe Newbie
Posts : 52 Thanked : 0 Engine : RMVX
| @kk Shiro & tazqi: U were right. Thanks, it worked now ^0^ |
| | | | Re: cara utk menampilkan nama lokasi? [SOLVED] |
---|
Sponsored content
| | | | | cara utk menampilkan nama lokasi? [SOLVED] | |
|
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 ]
|
|
|
|
|
|