|
| [SOLVED] Sistem Weapon Material | |
| | Pengirim | Message |
---|
HayzenTZ Novice
Posts : 131 Thanked : 4 Engine : RMVX
| Subyek: [SOLVED] Sistem Weapon Material 2009-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. 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. | |
| | | CrimsonSeas Novice
Posts : 106 Thanked : 9 Engine : RMVX
| Subyek: Re: [SOLVED] Sistem Weapon Material 2009-12-24, 13:00 | |
| Loh emangnya si Iron Ore ga bisa dibikin kyk drop item biasa aja ya? | |
| | | HayzenTZ Novice
Posts : 131 Thanked : 4 Engine : RMVX
| Subyek: Re: [SOLVED] Sistem Weapon Material 2009-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... | |
| | | Kuro Ethernite The Creator
Posts : 1631 Thanked : 24 Engine : RMVX Ace Skill : Masterful Type : Jack of All Trades
Trophies
Awards:
| Subyek: Re: [SOLVED] Sistem Weapon Material 2009-12-24, 13:15 | |
| Coba kamu pake script "KGC Compose Item", cocok tuh. | |
| | | rusted_71 Scripter Karatan
Posts : 392 Thanked : 11 Engine : RMVX Skill : Beginner Type : Scripter
| Subyek: Re: [SOLVED] Sistem Weapon Material 2009-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:
- Code:
-
Control Variables: [0001:Iron ore] = [Iron Ore] in Inventory #masukin iron ore di inventory ke var iron ore Conditional Branch: Variable [0001:Iron ore] > 4 @>Change Items: [Iron Ore] -4 @>Change Weapons: [Hunter Sword] +1 @>Change Gold: -99999999 #mahal banget yah? Branch End
dah gitu aja... klo mau yang versi script... coba googling aja, cari usulannya bang kuro tuh... KGC Compose Item thx... | |
| | | bradhawk Admin
Posts : 637 Thanked : 8 Skill : Beginner
| Subyek: Re: [SOLVED] Sistem Weapon Material 2009-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 | |
| | | HayzenTZ Novice
Posts : 131 Thanked : 4 Engine : RMVX
| Subyek: Re: [SOLVED] Sistem Weapon Material 2009-12-24, 18:33 | |
| Ok ok, gw coba2 metode lewat event sama scriptnya dulu. trims atas bantuannya semua. EDIT: btw kok siggy gw gak muncul yah? apa kurang post count? | |
| | | bradhawk Admin
Posts : 637 Thanked : 8 Skill : Beginner
| Subyek: Re: [SOLVED] Sistem Weapon Material 2009-12-24, 18:40 | |
| OOT : siggy ? Profile > Preferensi > Selalu lampirkan signature : Ya | |
| | | HayzenTZ Novice
Posts : 131 Thanked : 4 Engine : RMVX
| Subyek: Re: [SOLVED] Sistem Weapon Material 2009-12-24, 19:36 | |
| Oh ok ok. thanks,bro. Gw dah coba KGB_composeitem. ternyata gampangan + kerenan pake script ini ternyata. thanks bgt yah bwt yg rekomendasiin. ^^ | |
| | | Sponsored content
| Subyek: Re: [SOLVED] Sistem Weapon Material | |
| |
| | | | [SOLVED] Sistem Weapon Material | |
|
Similar topics | |
|
| Permissions in this forum: | Anda tidak dapat menjawab topik
| |
| |
| Latest topics | » [Web Novel] Gloria Infidelis by LightNightKnight 2016-11-17, 21:27
» [Announcement] Forum baru untuk RMID by TheoAllen 2016-08-25, 16:39
» Where I'm Wrong ? by ReydVires 2016-07-24, 16:10
» flakeheartnet's Resources part III by flakeheartnet 2016-07-08, 14:30
» Keira's Art Warehouse by KeiraBlaze 2016-06-28, 19:27
» Theo Core Time System + Bingung by Lockin 2016-06-27, 16:24
» Error Script, Maybe ? by Lockin 2016-06-27, 16:20
» Nusaimoe @ RMID Lounge by Jihad Bagas 2016-06-21, 05:02
» Call Random Battle by Lockin 2016-06-15, 17:04
» Flakeheartnet Resources Part II [come back gift] by flakeheartnet 2016-06-07, 15:51
|
Statistics
|
Members: [ 4947 ]
Topics: [ 8258 ]
Posts: [ 112606 ]
Newest member: [ https://rmid.forumotion.net/u4968 ]
|
|
|
|