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] Sistem Weapon Material

Go down 
5 posters
PengirimMessage
HayzenTZ
Novice
Novice
HayzenTZ


Level 5
Posts : 131
Thanked : 4
Engine : RMVX

[SOLVED] Sistem Weapon Material Empty
PostSubyek: [SOLVED] Sistem Weapon Material   [SOLVED] Sistem Weapon Material Empty2009-12-24, 12:37

Buat para expert eventer ato scripter, gw mau tanya nih. :)

Gw pengen coba menerapkan sistem pembikinan weapon yg gak cuman beli pake Gold doang tapi melalui material yg udah kita kumpulin dari encounter2 battle biasa (bukan event battle) tp bingung gimana.

Contoh kasus:
=======================================================

gw bikin satu Weapon namanya 'Hunter Sword'. nah untuk ngedapetin ni Hunter Sword, player hrs punya minimal 4 Iron Ore sama 300 Gold and ditukerin di NPC Blacksmith.
kalo bahan/uang gak mencukupi, player cuman dapet pesen dr Blacksmith : 'Kamu tdk memiliki Iron ore yg cukup'.
kalo mencukupi, bahan Iron ore tadi di subtract -4 dari inventory plus goldnya. lalu kita dapetin tu Hunter Sword.

======================================================

Nah,gw udah mikirin berberapa metode buat itu tp kebanyakan gak berhasi/kurang sempurna. gw mikirnya sih pake Variable Switch.

misal: enemy troops slime dikasi battle event. trus gw pasang Variable Switch :
Code:

Condition: Enemy [1. slime]'s HP 0% or below
@>control variables:  [0001:Iron ore] += random no.(0...1)
 [[^ apa bakal nambah variabel Iron Ore secara random?]]
change item : [Iron ore], +1
@>Text: -,-, Normal,Bottom
:            : Obtained Iron Ore!
tp biarpun kalo nambah secara random, message 'Obtained Iron ore!' nya sama itemnya tetep dapet terus dong pas akhir battle. :doh:

kalo pake conditional branch, variablenya gak bisa di atur random..

kalo soal pengurangan variable + item di Blacksmith sih gw tau caranya.


Nah,minta solusi dong. apa bisa lewat cara non-heavy scripting? ato musti scripting secara langsung?. thanks. :D
Kembali Ke Atas Go down
CrimsonSeas
Novice
Novice
CrimsonSeas


Level 5
Posts : 106
Thanked : 9
Engine : RMVX

[SOLVED] Sistem Weapon Material Empty
PostSubyek: Re: [SOLVED] Sistem Weapon Material   [SOLVED] Sistem Weapon Material Empty2009-12-24, 13:00

Loh emangnya si Iron Ore ga bisa dibikin kyk drop item biasa aja ya?
Kembali Ke Atas Go down
HayzenTZ
Novice
Novice
HayzenTZ


Level 5
Posts : 131
Thanked : 4
Engine : RMVX

[SOLVED] Sistem Weapon Material Empty
PostSubyek: Re: [SOLVED] Sistem Weapon Material   [SOLVED] Sistem Weapon Material Empty2009-12-24, 13:14

Nah,itu dia. kalo gw pasang jd drop biasa gw gak ngerti cara ngatur ke Variable switchnya.

kalo gw bikin sistem trading di Blacksmithnya yg bermasalah. variable switch di Conditional branch Blacksmithnya gak bisa diatur Condition: Item Iron Ore > 4. bisanya cuman condition cukup 1 item doang di inventori (biasanya buat key item di story).
kalo gw cuma sekedar pasang @>Item Change: Iron Ore -4 , ntar kita gak punya itemnya pun tetep dapet weaponnya. (Iron ore berkurang (syarat terpenuhi) biarpun kita gak punya Iron Orenya sama sekali).

nah,bagian ni yg gw buntu...
Kembali Ke Atas Go down
Kuro Ethernite
The Creator
Kuro Ethernite


Level 5
Posts : 1631
Thanked : 24
Engine : RMVX Ace
Skill : Masterful
Type : Jack of All Trades

Trophies
Awards:

[SOLVED] Sistem Weapon Material Empty
PostSubyek: Re: [SOLVED] Sistem Weapon Material   [SOLVED] Sistem Weapon Material Empty2009-12-24, 13:15

Coba kamu pake script "KGC Compose Item", cocok tuh.
Kembali Ke Atas Go down
rusted_71
Scripter Karatan
rusted_71


Level 5
Posts : 392
Thanked : 11
Engine : RMVX
Skill : Beginner
Type : Scripter

[SOLVED] Sistem Weapon Material Empty
PostSubyek: Re: [SOLVED] Sistem Weapon Material   [SOLVED] Sistem Weapon Material Empty2009-12-24, 14:24

yang mau saya sorotin pertama...

Quote :
Code:
Condition: Enemy [1. slime]'s HP 0% or below
@>control variables:  [0001:Iron ore] += random no.(0...1)
 [[^ apa bakal nambah variabel Iron Ore secara random?]]
change item : [Iron ore], +1
@>Text: -,-, Normal,Bottom
:            : Obtained Iron Ore!

tuh iron ore pasti cuma nambah 1... bisa di liat dari...
Code:
Change Item : [Iron ore], +1
bukan variable yang di random itu... klo mau line yang itu di ganti jadi
Code:
Change Item : [Iron ore], + variable  [0001:Iron ore]
@>Text: -,-, Normal,Bottom
:            : Obtained \v[1] Iron Ore!

trus yang kedua
Code:
Condition: Item Iron Ore > 4
emang ga ada...
klo mau tulis gini di evennya...
Spoiler:

dah gitu aja... klo mau yang versi script... coba googling aja, cari usulannya bang kuro tuh... KGC Compose Item

thx...
Kembali Ke Atas Go down
bradhawk
Admin
Admin
bradhawk


Level 5
Posts : 637
Thanked : 8
Skill : Beginner

[SOLVED] Sistem Weapon Material Empty
PostSubyek: Re: [SOLVED] Sistem Weapon Material   [SOLVED] Sistem Weapon Material Empty2009-12-24, 15:58

bukanny lebih enak pake drop item di setiap momon ?
btw2, kalo pengen pake variable hmm . . . gw liad dari event mu.
Code:
Condition: Enemy [1. slime]'s HP 0% or below
@>control variables:  [0001:Iron ore] += random no.(0...1)
 [[^ apa bakal nambah variabel Iron Ore secara random?]]
change item : [Iron ore], +1
@>Text: -,-, Normal,Bottom
:            : Obtained Iron Ore!

bukanny begini yah ?
Code:
Condition: Enemy [1. slime]'s HP 0% or below
@>control variables:  [0001:Iron ore] += random no.(0...1) # inikan ngerandom variable 1 antara 0~1
@>Cond branch [001:Iron ore] = 0  # ini ngecek apakah variable 1 berisi angka 0 ?
change item : [Iron ore], +1  # truz dilanjutkan event ini
@>Text: -,-, Normal,Bottom # dst.
:            : Obtained Iron Ore!
@>Else
@> #kosongin karena ini aksi yang dilakukan kalau variable 1 bukan berisi angka 0

moga2 ngga ngerti deh :D
Kembali Ke Atas Go down
http://bradhawk.byethost3.com
HayzenTZ
Novice
Novice
HayzenTZ


Level 5
Posts : 131
Thanked : 4
Engine : RMVX

[SOLVED] Sistem Weapon Material Empty
PostSubyek: Re: [SOLVED] Sistem Weapon Material   [SOLVED] Sistem Weapon Material Empty2009-12-24, 18:33

Ok ok, gw coba2 metode lewat event sama scriptnya dulu.

trims atas bantuannya semua. :D

EDIT: btw kok siggy gw gak muncul yah? apa kurang post count?
Kembali Ke Atas Go down
bradhawk
Admin
Admin
bradhawk


Level 5
Posts : 637
Thanked : 8
Skill : Beginner

[SOLVED] Sistem Weapon Material Empty
PostSubyek: Re: [SOLVED] Sistem Weapon Material   [SOLVED] Sistem Weapon Material Empty2009-12-24, 18:40

OOT : siggy ? Profile > Preferensi > Selalu lampirkan signature : Ya
Kembali Ke Atas Go down
http://bradhawk.byethost3.com
HayzenTZ
Novice
Novice
HayzenTZ


Level 5
Posts : 131
Thanked : 4
Engine : RMVX

[SOLVED] Sistem Weapon Material Empty
PostSubyek: Re: [SOLVED] Sistem Weapon Material   [SOLVED] Sistem Weapon Material Empty2009-12-24, 19:36

Oh ok ok. thanks,bro. :D

Gw dah coba KGB_composeitem. ternyata gampangan + kerenan pake script ini ternyata. thanks bgt yah bwt yg rekomendasiin. ^^
Kembali Ke Atas Go down
Sponsored content





[SOLVED] Sistem Weapon Material Empty
PostSubyek: Re: [SOLVED] Sistem Weapon Material   [SOLVED] Sistem Weapon Material Empty

Kembali Ke Atas Go down
 
[SOLVED] Sistem Weapon Material
Kembali Ke Atas 
Halaman 1 dari 1
 Similar topics
-
» [SOLVED] Show only Weapon in Equip
» [SOLVED] item/weapon/armor need lvl
» [solved][Help] Suikoden weapon system
» [SOLVED] Resource Weapon & Character
» [SOLVED] caranya ganti battle sistem rmvx?

Permissions in this forum:Anda tidak dapat menjawab topik
RPGMakerID :: Engines :: RMVX :: RMVX Archive-
Navigasi: