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.

Share | 
 

 [SOLVED] Sistem Weapon Material

Topik sebelumnya Topik selanjutnya Go down 
[SOLVED] Sistem Weapon Material Empty2009-12-24, 12:37
Post[SOLVED] Sistem Weapon Material
#1
HayzenTZ 
Novice
Novice
HayzenTZ

Level 5
Posts : 131
Thanked : 4
Engine : RMVX

[SOLVED] Sistem Weapon Material Vide
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
[SOLVED] Sistem Weapon Material Empty2009-12-24, 13:00
PostRe: [SOLVED] Sistem Weapon Material
#2
CrimsonSeas 
Novice
Novice
CrimsonSeas

Level 5
Posts : 106
Thanked : 9
Engine : RMVX

[SOLVED] Sistem Weapon Material Vide
Loh emangnya si Iron Ore ga bisa dibikin kyk drop item biasa aja ya?
[SOLVED] Sistem Weapon Material Empty2009-12-24, 13:14
PostRe: [SOLVED] Sistem Weapon Material
#3
HayzenTZ 
Novice
Novice
HayzenTZ

Level 5
Posts : 131
Thanked : 4
Engine : RMVX

[SOLVED] Sistem Weapon Material Vide
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...
[SOLVED] Sistem Weapon Material Empty2009-12-24, 13:15
PostRe: [SOLVED] Sistem Weapon Material
#4
Kuro Ethernite 
The Creator
Kuro Ethernite

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

[SOLVED] Sistem Weapon Material Vide
Coba kamu pake script "KGC Compose Item", cocok tuh.
[SOLVED] Sistem Weapon Material Empty2009-12-24, 14:24
PostRe: [SOLVED] Sistem Weapon Material
#5
rusted_71 
Scripter Karatan
rusted_71

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

[SOLVED] Sistem Weapon Material Vide
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...
[SOLVED] Sistem Weapon Material Empty2009-12-24, 15:58
PostRe: [SOLVED] Sistem Weapon Material
#6
bradhawk 
Admin
Admin
bradhawk

Level 5
Posts : 637
Thanked : 8
Skill : Beginner

[SOLVED] Sistem Weapon Material Vide
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
[SOLVED] Sistem Weapon Material Empty2009-12-24, 18:33
PostRe: [SOLVED] Sistem Weapon Material
#7
HayzenTZ 
Novice
Novice
HayzenTZ

Level 5
Posts : 131
Thanked : 4
Engine : RMVX

[SOLVED] Sistem Weapon Material Vide
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?
[SOLVED] Sistem Weapon Material Empty2009-12-24, 18:40
PostRe: [SOLVED] Sistem Weapon Material
#8
bradhawk 
Admin
Admin
bradhawk

Level 5
Posts : 637
Thanked : 8
Skill : Beginner

[SOLVED] Sistem Weapon Material Vide
OOT : siggy ? Profile > Preferensi > Selalu lampirkan signature : Ya
[SOLVED] Sistem Weapon Material Empty2009-12-24, 19:36
PostRe: [SOLVED] Sistem Weapon Material
#9
HayzenTZ 
Novice
Novice
HayzenTZ

Level 5
Posts : 131
Thanked : 4
Engine : RMVX

[SOLVED] Sistem Weapon Material Vide
Oh ok ok. thanks,bro. :D

Gw dah coba KGB_composeitem. ternyata gampangan + kerenan pake script ini ternyata. thanks bgt yah bwt yg rekomendasiin. ^^
[SOLVED] Sistem Weapon Material Empty
PostRe: [SOLVED] Sistem Weapon Material
Sponsored content 




[SOLVED] Sistem Weapon Material Vide
 

[SOLVED] Sistem Weapon Material

Topik sebelumnya Topik selanjutnya Kembali Ke Atas 

Similar topics

+
Halaman 1 dari 1

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