RPGMakerID
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Komunitas RPG Maker Indonesia
 
IndeksIndeks  Latest imagesLatest images  PencarianPencarian  PendaftaranPendaftaran  Login  
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.

 

 [Solved] Maksa save

Go down 
4 posters
PengirimMessage
ashm
Veteran
Veteran
ashm


Level 5
Posts : 1131
Thanked : 8
Engine : RMVX Ace
Skill : Intermediate
Type : Event Designer

Trophies
Awards:

[Solved] Maksa save Empty
PostSubyek: [Solved] Maksa save   [Solved] Maksa save Empty2012-06-29, 14:26

Ada yg punya ide maksa player buat saving gak.

Jadi kalo misal udah chapter 4 gak bisa balik ke chapter 3.
Walau save-an sebelum nya sebelum end chapter 3.

Kayak invisible force save. Pakek script snippet, tapi ane gak tau script na.
Kembali Ke Atas Go down
LiTTleDRAgo
Senior
Senior
LiTTleDRAgo


Level 5
Posts : 712
Thanked : 27
Engine : RMXP
Skill : Skilled
Type : Scripter

Trophies
Awards:
[Solved] Maksa save Empty
PostSubyek: Re: [Solved] Maksa save   [Solved] Maksa save Empty2012-06-29, 14:37

Code:

save = Scene_Save.new
file = File.open(NAMA_FILE, 'wb')
save.write_save_data(file)
file.close
Kembali Ke Atas Go down
ashm
Veteran
Veteran
ashm


Level 5
Posts : 1131
Thanked : 8
Engine : RMVX Ace
Skill : Intermediate
Type : Event Designer

Trophies
Awards:

[Solved] Maksa save Empty
PostSubyek: Re: [Solved] Maksa save   [Solved] Maksa save Empty2012-06-29, 15:05

Itu ada yang perlu di edit lagi gak ?

Misal kalo slot save-an default (gak pake custom save script bla...bla...)
jadi maksa nomer satu di overwrite/
Kembali Ke Atas Go down
LiTTleDRAgo
Senior
Senior
LiTTleDRAgo


Level 5
Posts : 712
Thanked : 27
Engine : RMXP
Skill : Skilled
Type : Scripter

Trophies
Awards:
[Solved] Maksa save Empty
PostSubyek: Re: [Solved] Maksa save   [Solved] Maksa save Empty2012-06-29, 15:21

ya NAMA_FILE nya ganti aja jadi nama saveannya

contohnya :
file = File.open('Save001.rxdata', 'wb')
Kembali Ke Atas Go down
ashm
Veteran
Veteran
ashm


Level 5
Posts : 1131
Thanked : 8
Engine : RMVX Ace
Skill : Intermediate
Type : Event Designer

Trophies
Awards:

[Solved] Maksa save Empty
PostSubyek: Re: [Solved] Maksa save   [Solved] Maksa save Empty2012-06-29, 19:55

Gan, itu taro di script editor ato event?
Ane taro event muncul error
"name error...
Uninitialized constant game interpreter:Scene_Save"
Kembali Ke Atas Go down
Lukas
Senior
Senior
avatar


Level 5
Posts : 618
Thanked : 22

[Solved] Maksa save Empty
PostSubyek: Re: [Solved] Maksa save   [Solved] Maksa save Empty2012-06-29, 20:26

ashm wrote:
Gan, itu taro di script editor ato event?
Ane taro event muncul error
"name error...
Uninitialized constant game interpreter:Scene_Save"
di Vx kan ga ada scene save kak,

save = Scene_File.new(true,false,true)
file = File.open('Save1.rvdata', 'wb')
save.write_save_data(file)
file.close
Kembali Ke Atas Go down
ashm
Veteran
Veteran
ashm


Level 5
Posts : 1131
Thanked : 8
Engine : RMVX Ace
Skill : Intermediate
Type : Event Designer

Trophies
Awards:

[Solved] Maksa save Empty
PostSubyek: Re: [Solved] Maksa save   [Solved] Maksa save Empty2012-06-29, 21:18

Mantab.
Btw (true,false,true) itu boolean dari apa ya?

Trus dari Lil' Drago juga ada 'wb' itu apa ya?
Kembali Ke Atas Go down
LowlingLife
Administrator
Administrator
LowlingLife


Kosong
Posts : 2000
Thanked : 25
Engine : Multi-Engine User

Trophies
Awards:

[Solved] Maksa save Empty
PostSubyek: Re: [Solved] Maksa save   [Solved] Maksa save Empty2012-06-29, 21:23

(saving, from title, from event)
saving = kalo false load screen.
from title = set ke true kalo dipanggil lewat pilihan continue di Title.
form event = set ke true kalo dipanggil lewat event

rb sama wb kayaknya ruby punya function. RB artinya Read jadi Load. WB artinya Write jadi Save.
Kembali Ke Atas Go down
LiTTleDRAgo
Senior
Senior
LiTTleDRAgo


Level 5
Posts : 712
Thanked : 27
Engine : RMXP
Skill : Skilled
Type : Scripter

Trophies
Awards:
[Solved] Maksa save Empty
PostSubyek: Re: [Solved] Maksa save   [Solved] Maksa save Empty2012-06-29, 21:45

ah, I forgot :doh:
gw lupa kk ashm pakenya VX :oops:
Kembali Ke Atas Go down
ashm
Veteran
Veteran
ashm


Level 5
Posts : 1131
Thanked : 8
Engine : RMVX Ace
Skill : Intermediate
Type : Event Designer

Trophies
Awards:

[Solved] Maksa save Empty
PostSubyek: Re: [Solved] Maksa save   [Solved] Maksa save Empty2012-06-29, 21:50

Ow, sip2.
Solved.
Kembali Ke Atas Go down
LowlingLife
Administrator
Administrator
LowlingLife


Kosong
Posts : 2000
Thanked : 25
Engine : Multi-Engine User

Trophies
Awards:

[Solved] Maksa save Empty
PostSubyek: Re: [Solved] Maksa save   [Solved] Maksa save Empty2012-06-29, 22:02

Thread Solved & Locked
Kembali Ke Atas Go down
Sponsored content





[Solved] Maksa save Empty
PostSubyek: Re: [Solved] Maksa save   [Solved] Maksa save Empty

Kembali Ke Atas Go down
 
[Solved] Maksa save
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» [SOLVED] Soal Battle System, Save System dan Key Items
» [LOCKED][VXA] Suikoden Save Scene & Advanced Load/Save Bar
» [Help] 15 save file ?
» save point
» Cannot Save Video In WMM

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Scripts & Event Systems :: RMVX Scripts :: RGSS2 Support :: RGSS2 Support Archive-
Navigasi: