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 customize nama lokasi gimana ya? | |
| 2012-02-16, 20:59 | Cara customize nama lokasi gimana ya? |
---|
Kuru Senior
Posts : 985 Thanked : 9 Engine : RMVX Skill : Beginner Type : Writer
Awards:
| Teman-teman aku mau tanya; Ada nggak cara/script buat mengganti nama lokasi/map(customize)? Kalau ganti nama karakter-kan bisa, kalau map? Ini ada hubungannya dengan proyekku yang ini dimana saya mau membuat nama kota dan berbagai wilayah kota didalamnya->playernya yang memberi nama sendiri(bisa diganti nama kota tempat tinggal dia) Aku pakai script MOG - Location Name dan Ccoa UMS Terimakasih atas jawabannya
Terakhir diubah oleh Kuru tanggal 2012-02-17, 06:35, total 1 kali diubah |
| | | 2012-02-16, 21:05 | Re: Cara customize nama lokasi gimana ya? |
---|
richter_h Salto Master Hancip RMID
Posts : 1705 Thanked : 30 Engine : Other Skill : Skilled Type : Developer
Awards:
| seinget ane ada yang buat nampilin nama object (karakter, map, atau apalah), tapi yang setau ane cuman ada yang buat map doang Cara paling gokil: tampung mana kota/tempat2 di Database>Actor nanti tinggal panggil tuh ID si aktor yang buat kota/tempat sekian solusi (gaje) dari ane |
| | | 2012-02-16, 21:12 | Re: Cara customize nama lokasi gimana ya? |
---|
Kuru Senior
Posts : 985 Thanked : 9 Engine : RMVX Skill : Beginner Type : Writer
Awards:
| Udah pernah nyoba tapi nggak bisa pakai gini-kan \n[x]->x adalah nama aktor. Aku pakai script MOG - Location Name sama Ccoa UMS. Ada cara lain nggak? Trims |
| | | 2012-02-16, 21:14 | Re: Cara customize nama lokasi gimana ya? |
---|
shikami Member 1000 Konsep
Posts : 3744 Thanked : 31 Engine : Multi-Engine User Skill : Beginner Type : Developer
Awards:
| entah pernah liat snippet bikinan siapa gtu ( snippet itu script yang pendek2 ) coba ke rpgmakervx.net terus nyari di bagian eventer tool atau scripter tool biasane sih ada gitu,kalo ga ada berarti anda kurang beruntung |
| | | 2012-02-16, 21:35 | Re: Cara customize nama lokasi gimana ya? |
---|
TegarDarmawan Novice
Posts : 115 Thanked : 1 Engine : RMVX Skill : Beginner Type : Developer
| buat 2 map yg event.nya sama nama.nya beda size = XXXXL |
| | | 2012-02-16, 21:40 | Re: Cara customize nama lokasi gimana ya? |
---|
Kuru Senior
Posts : 985 Thanked : 9 Engine : RMVX Skill : Beginner Type : Writer
Awards:
| @Tegar ; bisa lebih jelas, contohnya gimana? Trims |
| | | 2012-02-16, 21:52 | Re: Cara customize nama lokasi gimana ya? |
---|
andry5ury4 Novice
Posts : 124 Thanked : 0 Engine : Multi-Engine User Skill : Intermediate Type : Jack of All Trades
| kayaknya aku pernah dapet tuh caranya biar player kita sediri yang ngedit mapnya sesuka hatinya... ntar yaaahhhh ku cariin dulu scriptnya.. soalnya aku dulu ada naruh scriptnya di gameku... |
| | | 2012-02-16, 21:58 | Re: Cara customize nama lokasi gimana ya? |
---|
andry5ury4 Novice
Posts : 124 Thanked : 0 Engine : Multi-Engine User Skill : Intermediate Type : Jack of All Trades
| dapet... nih dia scriptnya: - dari rmrk:
- Code:
-
#============================================================================== # Player-Named Maps # Version: 1.0 # Author: modern algebra (rmrk.net) # Date: December 8, 2009 #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Description: # This script allows you to call a scene that lets the player change the # name of the maps. It only really makes sense if you have another script # that shows the names of the maps. #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Instructions: # Place this script in your editor, above Main and below the default scripts # # To call the map naming scene, use this code in a call script: # call_map_name (map_id, max_chars) # map_id : the ID of the map you want the player to name # max_chars : the maximum number of characters for the name. This # defaults to 10 if not set by you. # # This script requires you to have a dummy actor who never appears in the # game and ought not be setup - it is his face graphic that will show up in # the map naming screen, so if you wanted to have the map represented by a # 96x96 graphic you could import it as a face graphic and set it on the dummy # actor immediately prior to calling the map naming screen. Otherwise leave # it blank. To set the ID for that actor, go to line 45 and change the number # to the ID of that dummy actor. You may also determine whether you want the # database name of the map to initially show up while setting the name or # whether you just want it to be blank at line 48 #==============================================================================
#============================================================================== # ** RPG::MapInfo #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Summary of Changes: # new constant - MAMN_DUMMY_ACTOR # aliased method - name #==============================================================================
class RPG::MapInfo #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # * CONSTANT #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Set this value to the ID of an actor to use as a dummy while naming maps MAMN_DUMMY_ACTOR = 9 # The following determines whether the naming scene starts by showing the # database name or whether it starts blank MAMN_SHOW_CURRENT_NAME = true #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # * Get Name #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias malg_jtswyr_namemps_7yu2 name def name (*args) real_name = malg_jtswyr_namemps_7yu2 (*args) return $game_system.ma_map_names[real_name] unless $game_system.nil? || $game_system.ma_map_names[real_name].nil? return real_name end end
#============================================================================== # ** Game_System #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Summary of Changes: # new public instance variable - ma_map_names, ma_map_name_id # aliased method - initialize #==============================================================================
class Game_System #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # * Public Instance Variables #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ attr_reader :ma_map_names attr_accessor :ma_map_name_id #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # * Object Initialize #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ alias ma_jsswyr_intlz_mpnmes_9kb3 initialize def initialize (*args) @ma_map_names = {} # Initialize Map name hash @ma_map_name_id = 1 ma_jsswyr_intlz_mpnmes_9kb3 (*args) # Run Original Method end end
#============================================================================== # ** Game_Interpreter #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Summary of Changes: # new method - call_map_name #==============================================================================
class Game_Interpreter #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # * Call Map Name # map_id : ID of map to name #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ def call_map_name (map_id, max_chars = 10) $game_system.ma_map_name_id = map_id $game_temp.name_max_char = max_chars $scene = Scene_MapName.new end end
#============================================================================== # ** Scene_MapName #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # Subclass of Scene_Name # altered methods - start, return_scene #==============================================================================
class Scene_MapName < Scene_Name #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # * Start Processing #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ def start (*args) @map_id = $game_system.ma_map_name_id $game_temp.name_actor_id = RPG::MapInfo::MAMN_DUMMY_ACTOR $game_actors[$game_temp.name_actor_id].name = "" if RPG::MapInfo::MAMN_SHOW_CURRENT_NAME db_name = load_data ("Data/MapInfos.rvdata")[@map_id].name cnt_name = $game_system.ma_map_names[db_name] $game_actors[$game_temp.name_actor_id].name = cnt_name.nil? ? db_name : cnt_name end super (*args) end #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # * Return Scene #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ def return_scene (*args) map_name = load_data ("Data/MapInfos.rvdata")[@map_id].name $game_system.ma_map_names[map_name] = @actor.name super (*args) end end taruh kode di atas di antara material dan main tepatnya di atas <insert here> kalau mau pakai nih script harus taruh nih kode: - Code:
-
call_map_name (map_id, max_chars) map_id : the ID of the map you want the player to name max_chars : the maximum number of characters for the name. This defaults to 10 if not set by you.
keterangan: map_id: id map contoh 1 max_chars: maksimum karakter taruh kode di atas di event baru
|
| | | 2012-02-16, 22:02 | Re: Cara customize nama lokasi gimana ya? |
---|
TegarDarmawan Novice
Posts : 115 Thanked : 1 Engine : RMVX Skill : Beginner Type : Developer
| maksud ane tuhh,,,buat 2 map yg sama + event.nya sama juga,,tp nama.nya beda nanti ganti2 map dengan event... |
| | | 2012-02-16, 22:17 | Re: Cara customize nama lokasi gimana ya? |
---|
Kuru Senior
Posts : 985 Thanked : 9 Engine : RMVX Skill : Beginner Type : Writer
Awards:
| @andry5ury4 ; Punyaku kok error ya? apa nggak cocok atau ada yang kurang? Ada demonya nggak. Trims @TegarDarmawan; makin nggak mudeng, ada demonya nggak? biar lebih mudah ketangkap... Maksudku nama mapnya bisa muncul sesuai dengan nama yang kita kehendaki(ngisi nama sendiri). |
| | | 2012-02-16, 22:22 | Re: Cara customize nama lokasi gimana ya? |
---|
andry5ury4 Novice
Posts : 124 Thanked : 0 Engine : Multi-Engine User Skill : Intermediate Type : Jack of All Trades
| @Kuru error yahhh.... hmm... ntar yah ku bikin demonya ^^ |
| | | 2012-02-16, 22:26 | Re: Cara customize nama lokasi gimana ya? |
---|
Garry Laly Senior
Posts : 651 Thanked : 3 Engine : Multi-Engine User Skill : Beginner
| Maksudnya om tegar tuh bikin map yang eventnya sama persis Tapi nama mapnya beda Gantinya pakek map, mungkin choice Seperti itu Resiko ukuran size dikit naik |
| | | 2012-02-17, 06:29 | Re: Cara customize nama lokasi gimana ya? |
---|
Kuru Senior
Posts : 985 Thanked : 9 Engine : RMVX Skill : Beginner Type : Writer
Awards:
| @andry5ury4 : Dtunggu demonya, aku pakai script MOG - Location Name sama Ccoa UMS. @Garry &Tegar: Maksud kalian bikin multiple choise sendiri ya? pakai show choises nama 1,nama 2,nama 3,nama 4,dst terus conditional branch transfer map (itu sih yang bikin nama->orang yang bikin gamenya , bukan playernya). Tapi trims sarannya->tapi bukan itu yang aku maksud Naiknya nggak cuma sedikit lagi tuh, kota di Indonesia-kan ada banyak bukan cuma 12345678910 hehehe |
| | | 2012-02-18, 13:43 | Re: Cara customize nama lokasi gimana ya? |
---|
LiTTleDRAgo Senior
Posts : 712 Thanked : 27 Engine : RMXP Skill : Skilled Type : Scripter
Awards:
| susah2 amat ----dihapus---- terus pasang \n[1] sebagai nama map, selesai
Terakhir diubah oleh LiTTleDRAgo tanggal 2012-02-19, 09:35, total 1 kali diubah |
| | | 2012-02-18, 17:18 | Re: Cara customize nama lokasi gimana ya? |
---|
andry5ury4 Novice
Posts : 124 Thanked : 0 Engine : Multi-Engine User Skill : Intermediate Type : Jack of All Trades
| ^^ demonya ntar ku - Spoiler:
buat
|
| | | 2012-02-19, 06:58 | Re: Cara customize nama lokasi gimana ya? |
---|
Kuru Senior
Posts : 985 Thanked : 9 Engine : RMVX Skill : Beginner Type : Writer
Awards:
| | | | | Re: Cara customize nama lokasi gimana ya? |
---|
Sponsored content
| | | | | Cara customize nama lokasi gimana ya? | |
|
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 ]
|
|
|
|
|
|