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.
|
|
| [LOCKED] caterpilar party | |
| 2009-05-20, 13:10 | [LOCKED] caterpilar party |
---|
agung Advance
Posts : 384 Thanked : 4 Engine : RMVX Skill : Intermediate Type : Artist
| hei hei aku nemuiin script buat caterpilar party tapi ga tau buatan siapa, he he tapi ga papa kan buat sharing ma temen-temen. nih scranshootnya: and ini scriptnya: - Code:
-
# MAX_SIZE is the max size of the followers. # CATERPILLAR is the switch to turn on or off followers. The default is 2 #-------------------------------------------------------------------------- # * Constants #-------------------------------------------------------------------------- MAX_SIZE = 8 CATERPILLAR = 55
class Game_Player #-------------------------------------------------------------------------- # * Move Down # turn_enabled : a flag permits direction change on that spot #-------------------------------------------------------------------------- def move_down(turn_enabled = true) super(turn_enabled) end #-------------------------------------------------------------------------- # * Move Left # turn_enabled : a flag permits direction change on that spot #-------------------------------------------------------------------------- def move_left(turn_enabled = true) super(turn_enabled) end #-------------------------------------------------------------------------- # * Move Right # turn_enabled : a flag permits direction change on that spot #-------------------------------------------------------------------------- def move_right(turn_enabled = true) super(turn_enabled) end #-------------------------------------------------------------------------- # * Move up # turn_enabled : a flag permits direction change on that spot #-------------------------------------------------------------------------- def move_up(turn_enabled = true) super(turn_enabled) end #-------------------------------------------------------------------------- # * Move Lower Left #-------------------------------------------------------------------------- def move_lower_left super end #-------------------------------------------------------------------------- # * Move Lower Right #-------------------------------------------------------------------------- def move_lower_right super end #-------------------------------------------------------------------------- # * Move Upper Left #-------------------------------------------------------------------------- def move_upper_left super end #-------------------------------------------------------------------------- # * Move Upper Right #-------------------------------------------------------------------------- def move_upper_right super end end
class Game_Follower < Game_Character #-------------------------------------------------------------------------- # * Public Instance Variables #-------------------------------------------------------------------------- attr_reader :actor attr_accessor :move_speed #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize(actor) super() @through = true @actor = actor end #-------------------------------------------------------------------------- # * Set Actor #-------------------------------------------------------------------------- def actor=(actor) @actor = actor setup end #-------------------------------------------------------------------------- # * Setup #-------------------------------------------------------------------------- def setup if @actor != nil @character_name = $game_actors[@actor].character_name @character_index = $game_actors[@actor].character_index else @character_name = "" @character_index = 0 end @opacity = 255 @blend_type = 0 @priority_type = 0 end #-------------------------------------------------------------------------- # * Screen Z #-------------------------------------------------------------------------- def screen_z if $game_player.x == @x and $game_player.y == @y return $game_player.screen_z - 1 end super end #-------------------------------------------------------------------------- # * Same Position Starting Determinant (Disabled) #-------------------------------------------------------------------------- def check_event_trigger_here(triggers) result = false return result end #-------------------------------------------------------------------------- # * Front Envent Starting Determinant (Disabled) #-------------------------------------------------------------------------- def check_event_trigger_there(triggers) result = false return result end #-------------------------------------------------------------------------- # * Touch Event Starting Determinant (Disabled) #-------------------------------------------------------------------------- def check_event_trigger_touch(x, y) result = false return result end end
class Spriteset_Map alias_method :spriteset_map_create_characters, :create_characters def create_characters spriteset_map_create_characters $game_party.followers.each do |char| @character_sprites << Sprite_Character.new(@viewport1, char) end end end
class Game_Party
#-------------------------------------------------------------------------- # * Public Instance Variables #-------------------------------------------------------------------------- attr_reader :followers #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- alias_method :trick_caterpillar_party_initialize, :initialize def initialize trick_caterpillar_party_initialize @followers = Array.new(MAX_SIZE - 1) {Game_Follower.new(nil)} @move_list = [] end #-------------------------------------------------------------------------- # * Update Followers #-------------------------------------------------------------------------- def update_followers flag = $game_player.transparent || $game_switches[CATERPILLAR] @followers.each_with_index do |char, i| char.actor = @actors[i + 1] char.move_speed = $game_player.move_speed if $game_player.dash? char.move_speed += 1 end char.update char.transparent = flag end end #-------------------------------------------------------------------------- # * Move To Party #-------------------------------------------------------------------------- def moveto_party(x, y) @followers.each {|char| char.moveto(x, y)} @move_list.clear end #-------------------------------------------------------------------------- # * Move Party #-------------------------------------------------------------------------- def move_party @move_list.each_index do |i| if @followers[i] == nil @move_list[i...@move_list.size] = nil next end case @move_list[i].type when 2 @followers[i].move_down(*@move_list[i].args) when 4 @followers[i].move_left(*@move_list[i].args) when 6 @followers[i].move_right(*@move_list[i].args) when 8 @followers[i].move_up(*@move_list[i].args) when 1 @followers[i].move_lower_left when 3 @followers[i].move_lower_right when 7 @followers[i].move_upper_left when 9 @followers[i].move_upper_right when 5 @followers[i].jump(*@move_list[i].args) end end end #-------------------------------------------------------------------------- # * Add Move List #-------------------------------------------------------------------------- def update_move(type, *args) move_party @move_list.unshift(Game_MoveListElement.new(type, args)) end end
class Game_MoveListElement #-------------------------------------------------------------------------- # * Object Initialization #-------------------------------------------------------------------------- def initialize(type, args) @type = type @args = args end #-------------------------------------------------------------------------- # * Type #-------------------------------------------------------------------------- def type return @type end #-------------------------------------------------------------------------- # * Args #-------------------------------------------------------------------------- def args return @args end end
class Game_Player #-------------------------------------------------------------------------- # * Public Instance Variables #-------------------------------------------------------------------------- attr_reader :move_speed #-------------------------------------------------------------------------- # * Update #-------------------------------------------------------------------------- alias_method :trick_caterpillar_player_update, :update def update $game_party.update_followers trick_caterpillar_player_update end #-------------------------------------------------------------------------- # * Moveto #-------------------------------------------------------------------------- alias_method :trick_caterpillar_player_moveto, :moveto def moveto(x, y) $game_party.moveto_party(x, y) trick_caterpillar_player_moveto(x, y) end #-------------------------------------------------------------------------- # * Move Down #-------------------------------------------------------------------------- alias_method :trick_caterpillar_player_move_down, :move_down def move_down(turn_enabled = true) if passable?(@x, @y+1) $game_party.update_move(2, turn_enabled) end trick_caterpillar_player_move_down(turn_enabled) end #-------------------------------------------------------------------------- # * Move Left #-------------------------------------------------------------------------- alias_method :trick_caterpillar_player_move_left, :move_left def move_left(turn_enabled = true) if passable?(@x-1, @y) $game_party.update_move(4, turn_enabled) end trick_caterpillar_player_move_left(turn_enabled) end #-------------------------------------------------------------------------- # * Move Right #-------------------------------------------------------------------------- alias_method :trick_caterpillar_player_move_right, :move_right def move_right(turn_enabled = true) if passable?(@x+1, @y) $game_party.update_move(6, turn_enabled) end trick_caterpillar_player_move_right(turn_enabled) end #-------------------------------------------------------------------------- # * Move Up #-------------------------------------------------------------------------- alias_method :trick_caterpillar_player_move_up, :move_up def move_up(turn_enabled = true) if passable?(@x, @y-1) $game_party.update_move(8, turn_enabled) end trick_caterpillar_player_move_up(turn_enabled) end #-------------------------------------------------------------------------- # * Move Lower Left #-------------------------------------------------------------------------- alias_method :trick_caterpillar_player_move_lower_left, :move_lower_left def move_lower_left if passable?(@x - 1, @y) and passable?(@x, @y + 1) $game_party.update_move(1) end trick_caterpillar_player_move_lower_left end #-------------------------------------------------------------------------- # * Move Lower Right #-------------------------------------------------------------------------- alias_method :trick_caterpillar_player_move_lower_right, :move_lower_right def move_lower_right if passable?(@x + 1, @y) and passable?(@x, @y + 1) $game_party.update_move(3) end trick_caterpillar_player_move_lower_right end #-------------------------------------------------------------------------- # * Move Upper Left #-------------------------------------------------------------------------- alias_method :trick_caterpillar_player_move_upper_left, :move_upper_left def move_upper_left if passable?(@x - 1, @y) and passable?(@x, @y - 1) $game_party.update_move(7) end trick_caterpillar_player_move_upper_left end #-------------------------------------------------------------------------- # * Move Upper Right #-------------------------------------------------------------------------- alias_method :trick_caterpillar_player_move_upper_right, :move_upper_right def move_upper_right if passable?(@x + 1, @y) and passable?(@x, @y - 1) $game_party.update_move(9) end trick_caterpillar_player_move_upper_right end #-------------------------------------------------------------------------- # * Jump #-------------------------------------------------------------------------- alias_method :trick_caterpillar_player_jump, :jump def jump(x_plus, y_plus) new_x = @x + x_plus new_y = @y + y_plus if (x_plus == 0 and y_plus == 0) or passable?(new_x, new_y) $game_party.update_move(5, x_plus, y_plus) end trick_caterpillar_player_jump(x_plus, y_plus) end end |
| | | 2009-05-20, 13:42 | Re: [LOCKED] caterpilar party |
---|
adolz Novice
Posts : 196 Thanked : 0 Engine : RMVX Ace Skill : Beginner Type : Jack of All Trades
| Sarannya sih kamu tulis nama link kamu dapet script ini. . . karena game gak isa diterbitkan jika ga ada Credit dari si pembuat. . (bisa sih, tapi kan gak enak, biarpun game kita sukses tapi maling gini) paling nggak tulis nama authorny deh ! Jika masih tidak mengerti mungkin bisa liat di :arrow: SINI |
| | | 2009-05-20, 14:00 | Re: [LOCKED] caterpilar party |
---|
Notorius Veteran
Posts : 1408 Thanked : 0 Engine : RMVX Skill : Intermediate Type : Event Designer
| Iyah membuat game dengan rasa 'maling' ga enak |
| | | 2009-05-20, 15:29 | Re: [LOCKED] caterpilar party |
---|
Daydreamer Newbie
Posts : 98 Thanked : 0 Engine : RMVX Skill : Very Beginner Type : Event Designer
| Lebih baik jadi maling tapi jujur daripada jujur tapi suka maling. (Kalau semua maling jujur ====> Penjara bakalan penuh...!!!) Wakakakakakakaa.... |
| | | 2009-05-20, 15:55 | Re: [LOCKED] caterpilar party |
---|
Masrinduz Pendekar Psycho
Posts : 1230 Thanked : 13 Engine : Multi-Engine User Skill : Skilled Type : Artist
Awards:
| Kalo maling jujur...penjara kosong donk??? Kan otomatis digebukkin massa trus CO.ID (baca:koit) |
| | | 2009-05-20, 16:44 | Re: [LOCKED] caterpilar party |
---|
dnasman
Admin Kodok Ganteng Indonesia™
Posts : 1361 Thanked : 21 Engine : RMXP Skill : Intermediate Type : Event Designer
Awards:
| bro agung, perlu ditegaskan lagi bahwa untuk share sesuatu itu harus disertai sumberny jika kamu ngambil dari luar, kecuali kamu buat sendiri... soalny nanti klo authorny yg asli ga sengaja dateng ke sini, bisa berabe bro! thnx! klo ada salah2 kata mohon dimaafkan |
| | | 2009-05-20, 16:47 | Re: [LOCKED] caterpilar party |
---|
Notorius Veteran
Posts : 1408 Thanked : 0 Engine : RMVX Skill : Intermediate Type : Event Designer
| ^ ^ Ga ada yg salah deh |
| | | 2009-05-20, 16:49 | Re: [LOCKED] caterpilar party |
---|
dnasman
Admin Kodok Ganteng Indonesia™
Posts : 1361 Thanked : 21 Engine : RMXP Skill : Intermediate Type : Event Designer
Awards:
| ^ ^ ya emg ga ada, karena rulesnya: 1. Admin tidak pernah bersalah 2. Jika admin bersalah, maka kembali ke nomor 1 3. Jika admin benar, maka nomor 1 dan nomor 2 adalah benar |
| | | 2009-05-20, 16:57 | Re: [LOCKED] caterpilar party |
---|
Notorius Veteran
Posts : 1408 Thanked : 0 Engine : RMVX Skill : Intermediate Type : Event Designer
| Eh, bukannya ada rules admin baru? LICIK |
| | | 2009-05-20, 16:59 | Re: [LOCKED] caterpilar party |
---|
fjakf
Banned by Admin
Posts : 217 Thanked : 1 Engine : Other Type : Developer
| - Notorius wrote:
- Eh, bukannya ada rules admin baru?
LICIK terus setelah itu diperbaharui lagi 1. Admin tidak pernah bersalah 2. Jika admin bersalah, maka kembali ke nomor 1 3. Jika admin benar, maka nomor 1 dan nomor 2 adalah benar 4. Jika ini tidak dipasang di signature, peraturan 1-3 adalah salah 5. Jika peraturan 1-3 adalah salah maka kembali ke peraturan nomor 1 dah ah jangan ngejunk lagi |
| | | 2009-05-20, 17:03 | Re: [LOCKED] caterpilar party |
---|
Notorius Veteran
Posts : 1408 Thanked : 0 Engine : RMVX Skill : Intermediate Type : Event Designer
| Eh, bukannya ada rules admin baru? LICIK UNTUK mengahiri Junk... :arrow: sini men... sepertinya yang buad tuh script Reone662... |
| | | 2009-05-24, 19:47 | Re: [LOCKED] caterpilar party |
---|
reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Awards:
| itu script buatan Trickster dari RMXP.org |
| | | 2009-05-24, 19:52 | Re: [LOCKED] caterpilar party |
---|
reijubv Kai Runes
Posts : 1476 Thanked : 33 Engine : RMVX
Awards:
| mav doble post, yang kk notorius bilang, itu buatan Fukuyama, bisa diliat dari core scriptnya, versi fukuyama menyebut caterpillarnya Game_Train kalau buatan Trickster nyebutnya Game_Follower |
| | | 2009-05-25, 17:00 | Re: [LOCKED] caterpilar party |
---|
ardo_96 Novice
Posts : 283 Thanked : 2 Engine : RMVX Ace Skill : Intermediate Type : Jack of All Trades
Awards:
| Nih authornya : Trickster Nemu di: http://www.rpgrevolution.com/forums/index.php?showtopic=8040 |
| | | 2009-05-25, 17:14 | Re: [LOCKED] caterpilar party |
---|
Masrinduz Pendekar Psycho
Posts : 1230 Thanked : 13 Engine : Multi-Engine User Skill : Skilled Type : Artist
Awards:
| :tammora: TAMMORAWah kalo tempatku fukuyama tuh.... |
| | | 2009-05-26, 22:03 | Re: [LOCKED] caterpilar party |
---|
Notorius Veteran
Posts : 1408 Thanked : 0 Engine : RMVX Skill : Intermediate Type : Event Designer
| Trickster ato Fukuyama? BOHONG! Yang benar itu Notorius Kalau bingung, kita credit ajah dua2nya |
| | | | Re: [LOCKED] caterpilar party |
---|
Sponsored content
| | | | | [LOCKED] caterpilar party | |
|
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 ]
|
|
|
|
|
|