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.
|
|
| Ask : Cut-In Screen In Battle | |
| 2012-04-04, 23:18 | Ask : Cut-In Screen In Battle |
---|
AgielSora Newbie
Posts : 29 Thanked : 0 Engine : RMVX Ace Skill : Intermediate Type : Developer
| Ada yg tau gak scriptnya buat cut-in dalam battle system??? khususnya buat RGSS3 |
| | | 2012-04-05, 04:36 | Re: Ask : Cut-In Screen In Battle |
---|
marjoni01 Senior
Posts : 971 Thanked : 5 Engine : RMVX Ace Skill : Intermediate Type : Developer
| Bukannya bisa langsung pake' common event ya? Jadi pertama set skillnya namanya dll... Terus ke common event show picture terus kasih 360 Frame or something terus clear picture... blm ditest, tapi ktnya sih work... Jadi monggo dites Anyway, nanti saya kasih tahu kalau ketemu script atau caranya... |
| | | 2012-04-05, 11:28 | Re: Ask : Cut-In Screen In Battle |
---|
AgielSora Newbie
Posts : 29 Thanked : 0 Engine : RMVX Ace Skill : Intermediate Type : Developer
| ia jg sih. bisa tp kykna game2 di RMRK banyakan pake scriptnya |
| | | 2012-04-12, 18:35 | Re: Ask : Cut-In Screen In Battle |
---|
yade26 Novice
Posts : 132 Thanked : 0 Engine : RMVX Ace Skill : Skilled Type : Scripter
| @marjoni01 : Cut in screen tuh apaan??? kyaknya baru denger... bisa diperjelas lagi gk ?? pke screenshot mungkin... EDIT : setelah googling ane dapet ini script : - Cut In Screen:
#============================================================ # Jens009's Cut-In Animation # Version 1.1 # - base from Tanketai SBS http://rpgex.sakura.ne.jp/home/ # Log: # Verison 1.1 # - Removed Wait Frames. # Changed Waiting command to a loop that waits for a cut_in flag # # Special Credits to: Kylock and Mbub # 1.0 Release Date: August 7, 2008 # 1.1 Release Date: August 8, 2008 # # Description: Shows a Battle Cut-In when certain skills are activated # Features: # Set Starting Point(x,y) and Ending point (x,y) # Enable Sound Effects # # How to use: # Step 1: # # First, go to module JENS009_ANIMATION # You have to define your animation here and add the necessary information in # each definition. # The template for the list is: # ANIMATION_NAME = [Start x, Start y, End x, End y, Time, Priority, # File name, Sound, Sound file name] # Start x - Starting X of Picture When Shown # Start y - Starting Y of picture when Shown # Ending x - Ending X of Picture when Shown # Ending x - Ending Y of Picture when Shown # Time- # of Frames before Picture is removed # Priority- true/false, True is above everything, false is below windows # File Name- Picture File Name found in Graphics/Pictures # Sound- true/false, When true, play sound file name. When false, don't play # anything. # Sound File Name- File Name of Sound effect. Only place something here if s # sound is true # Step 2: # # Press Ctrl F and find SkillCheck # 1. Copy and paste these lines: # when 1 # return @spriteset.call_picture(JENS009_ANIMATION::TEST) # 2.Change the 1 to the skill id of your choice # 3.and Change TEST to the name of the animation you want to play from # JENS009_ANIMATION module # # You're all set #=========================================================================
module JENS009_ANIMATION # Template #NAME = [Start x, Start y, End x, End y, Time, High Priority, File Name, #Play sound, Sound File name] TEST = [0, -15, 0, -100, 80, false, "sky-cut", true, "Absorb1"] TEST_TWO= [0, -15, 0, -100, 50, false, "rutee-cutin", false] end
#======================================== # Game_Temp Edit # Add attr_accessor :cut_in # Cut In flag. #========================================= class Game_Temp attr_accessor :cut_in alias jens009_initialize_cut_in initialize def initialize @cut_in = false jens009_initialize_cut_in end end
class Scene_Battle < Scene_Base #===================================== # Scene_Battle Edit #==================================== #==================================== # Define cutin_skill_check # Description: Checks the skill id of activated skill # if the skill id is present, play the cut in #------------------------------------ # SKILL CHECK #==================================== def cutin_skill_check(skill_id) case skill_id when 1 return @spriteset.call_picture(JENS009_ANIMATION::TEST) when 2 return @spriteset.call_picture(JENS009_ANIMATION::TEST_TWO) end end #==================================== # Define cutin_wait(skill_id) # Description: waits for x amount of frames depending on the value #------------------------------------- # CUTIN_WAIT #=====================================
#================================================= #================================================= # Define Wait For Picture Animation # Continuous loop until cut in flag is false #================================================== def wait_pic while $game_temp.cut_in == true update_basic break if $game_temp.cut_in == false end end
# Start Scene_Battle Method Edits alias jens009_add_cutin_execute_action_skill execute_action_skill #================================================ # define execute_action_skill #========================================== def execute_action_skill skill = @active_battler.action.skill # Call Skill @help_window = Window_Help.new @help_window.set_text(skill.name) text = "Special!" @message_window.add_instant_text(text) cutin_skill_check(skill.id) #Find Skill id #wait_pic(cutin_wait(skill.id)) # Wait Until Cut in is finished. if $game_temp.cut_in == true wait_pic end jens009_add_cutin_execute_action_skill # Call Original Method @help_window.dispose end # End of Method Edit #================================================
end
#================================================= # Spriteset_Battle edit #================================================ class Spriteset_Battle #================================================= # Start method Edit #================================================= alias jens009_create_pictures create_pictures #================================================== # Initialize Values #=================================================== def create_pictures @picture_time = 0 jens009_create_pictures end
#================================================= # Start Adding new methods #================================================== def call_picture(cutin) @picture = Sprite.new # Picture Starting X and Y pic_x = cutin[0] pic_y = cutin[1] # Picture Ending X and Y pic_end_x = cutin[2] pic_end_y = cutin[3] @picture_time = cutin[4] # Picture Moving Rate by Time @moving_pic_x = (pic_end_x - pic_x)/ @picture_time @moving_pic_y = (pic_end_y - pic_y)/ @picture_time # Picture x and y increase by time plus_x = (pic_end_x - pic_x)% @picture_time plus_y = (pic_end_y - pic_y)% @picture_time # Get Picture @picture.bitmap = Cache.picture(cutin[6]) @picture.x = pic_x + plus_x @picture.y = pic_y + plus_y # Picture's z (priority) @picture.z = 1 # If High Priority, Show picture above everything else @picture.z = 1000 if cutin[5] @picture.visible = true # If Sound is true if cutin[7] == true # Play Sound Effect Audio.se_play("Audio/SE/" + cutin[8]) $game_temp.cut_in = true end end #========================== # update Method edit #========================= alias jens009_update_picture update def update jens009_update_picture update_cut_in if @picture_time > 0 end #======================== # Add new update method #====================== def update_cut_in # Decrease Time @picture_time -= 1 # Move Picture @picture.x += @moving_pic_x @picture.y += @moving_pic_y # If time = 0, dispose of picture if @picture_time == 0 @picture.dispose $game_temp.cut_in = false end end #===================== # End Method Edits #==================== end #=================== # End Class Edit #================
Trus Gmana cara ngeditnya....???? |
| | | 2012-04-12, 19:01 | Re: Ask : Cut-In Screen In Battle |
---|
marjoni01 Senior
Posts : 971 Thanked : 5 Engine : RMVX Ace Skill : Intermediate Type : Developer
| @Yade gk begitu bagus sih... Cuman munculin sebuah gambar sebelum skill itu keplay agar lebih mendramatisir.. untuk script itu saya akan lihat2 dulu bagaimana aturannya nanti saya jelasin kalau tau (Lagi males) EDIT: Ok setelah saya membacanya sepertinya kamu bisa memulai scriptnya dari bagian sini : - Code:
-
TEST = [0, -15, 0, -100, 80, false, "sky-cut", true, "Absorb1"] TEST_TWO= [0, -15, 0, -100, 50, false, "rutee-cutin", false]
Ini juga membutuhkan Takentai <--Maybe? Untuk yang diatas saya akan jelaskan cara pemakaiannya... Seperti ini: - Code:
-
NAME = [Start x, Start y, End x, End y, Time, High Priority, File Name,Play sound, Sound File name] Untuk menjelaskannya bisa seperti ini : NAME: Nama Cut-In ini...Bisa dibuat apa saja... Start x: Koordinat mulainya Cut-In screen ini mengatur kanan dan kiri(Ini butuh test sendiri) Start y: Koordinat Mulainya Cut-In screen ini mengatur atas dan bawah (Ini butuh test sendiri) End x: Koordinat selesainya Cut-In screen seperti yang diatas (Seperti yang diatas) End y: Koordinat selesainya Cut-In screen seperti yang diatas (Seperti Yang Diatas) Time: Ini untuk mengatur berapa lama Cut-Innya muncul (Dalam Satuan "Frame") High Priority: Hanya bisa diatur "true/false" Jika true maka ini akan berada di atas semua window dan jika false maka akan dibawahnya (Well, Try for yourselves) File Name: Nama file cut-Innya... Contoh Gambar Cut-In : >>>Disini!<<< Play sound: Hanya bisa diatur "true/false" jika true maka cut-in akan ngeplay suara jika tidak ya maka tidak... Sound File Name: Nama file soundmu jika play sound tadi "true"...Itu tadi step pertama (Kok banyak banget!?) Untuk step kedua kamu harus mencari tulisan "SKILL CHECK" yang berada dalam script itu dan kemudian anda akan melihat - Code:
-
when 1 return @spriteset.call_picture(JENS009_ANIMATION::TEST) when 2 return @spriteset.call_picture(JENS009_ANIMATION::TEST_TWO)
Ubahlah tulisan TEST atau TEST_TWO dengan nama yang anda set tadi... (Jika belum maka lihat lagi) Dan pasti anda berpikir "Terus? Bagaimana dong masukin ke skillnya" well, it's easy... Lihat tulisan "when 1"? Angka "1" disini adalah skill IDnya...Jadi kamu bisa menggantinya dengan skill ID yang anda mauAnd that's all folks! Try for yourselves Semoga ini membantu |
| | | 2012-04-13, 17:41 | Re: Ask : Cut-In Screen In Battle |
---|
AgielSora Newbie
Posts : 29 Thanked : 0 Engine : RMVX Ace Skill : Intermediate Type : Developer
| nah ini script yg gue cri2, tp tgg dulu. Ini RGSS2 apa 3? soalnya engine yg gue pake RGSS3 |
| | | 2012-04-13, 17:49 | Re: Ask : Cut-In Screen In Battle |
---|
marjoni01 Senior
Posts : 971 Thanked : 5 Engine : RMVX Ace Skill : Intermediate Type : Developer
| @Agiel Ini RGSS2 mas... Kalau RGSS3nya gue masih blm ketemu |
| | | 2012-04-13, 18:02 | Re: Ask : Cut-In Screen In Battle |
---|
AgielSora Newbie
Posts : 29 Thanked : 0 Engine : RMVX Ace Skill : Intermediate Type : Developer
| @marjoni01 : sebenernya udah ada sih di Demonya tankentai tapi pake bhs jepun. jadi gak tau yang mana scriptnya |
| | | 2012-04-13, 18:10 | Re: Ask : Cut-In Screen In Battle |
---|
marjoni01 Senior
Posts : 971 Thanked : 5 Engine : RMVX Ace Skill : Intermediate Type : Developer
| @Agiel Kalau itu sih gue udh tahu... Tapi gue lebih enak ke Victor nih sekarang Tapi kalau ada takentai versi english bilang2 yo |
| | | 2012-04-15, 21:58 | Re: Ask : Cut-In Screen In Battle |
---|
yade26 Novice
Posts : 132 Thanked : 0 Engine : RMVX Ace Skill : Skilled Type : Scripter
| maaf marjoni01, ane msih belum ngerti,, bsa minta demonya gak? |
| | | | Re: Ask : Cut-In Screen In Battle |
---|
Sponsored content
| | | | | Ask : Cut-In Screen In Battle | |
|
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 ]
|
|
|
|
|
|