Tak, dobrze czytacie. UdaĹo mi siÄ jakoĹ odpaliÄ Ace'a i teraz chciaĹbym skrypt na to aby postaÄ byĹa przykrywana przez cienie. Nie chcÄ peĹnoprawnego skryptu na ĹwiatĹa, jak tutaj: http://www.ultimateam.pl/viewtopic.php?t=9144, tylko chcÄ aby gracz byĹ przykrywany przez zwykĹe, vx-owe cienie.
________________________ Nie ma rzeczy niemoĹźliwych, jest tylko brak umiejÄtnoĹci.
UĹźywasz Windowsa 8? JesteĹ Ĺosiem.
Gość is the most intelligent person in the world.
ZnalazĹem coĹ takiego nie wiem czy dokĹadnie o to ci chodziĹo ale jak znajdÄ coĹ lepszego to wrzucÄ Aha tu dam ci jeszcze link do stronki z skryptami do ace moĹźe coĹ tam znajdziesz? http://rpgmaker.net/scripts/rmvxace/
$imported = {} if $imported.nil?
$imported["PRX-CharacterShadow"] = true
#==============================================================================
# ▼ Updates
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# 2012.04.05 - Fixed an issue with shadow sprites not disposing properly.
# 2012.04.03 - Added Default values for Player, Followers, and Events.
# Also added some logic for hiding shadows when characters aren't
# visible.
# 2012.04.02 - First Draft Complete
#
#==============================================================================
# ▼ Introduction
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This script will allow you to add a Shadow graphic underneath the player,
# followers, and any event you feel should have a shadow graphic.
#
#==============================================================================
# ▼ Instructions
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# To install this script, open up your script editor and copy/paste this script
# to an open spot above Main.
#
# Each Game_CharacterBase and any object whose parent is Game_CharacterBase can
# have a shadow added under it's sprite by setting the shadow value to true.
#
# eg: To show the shadow graphic for the player, a Call Script such as
# $game_player.shadow = true
# will add the shadow. Conversely,
# $game_player.shadow = false
# will turn the shadow off.
#
# This will also work for Followers (the 'Caterpillar' characters) and any
# map event.
#
#==============================================================================
# ▼ Compatibility
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This script is made for RPG Maker VX Ace and designed to be as modular as
# possible to avoid script conflicts. It is however possible that conflicts may
# occur with other scripts that make changes/use of the Game_CharacterBase or
# Sprite_Character.
#
#==============================================================================
module PRX
module SHADOW
#==========================================================================
# ▼ Settings
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
#
# To use a shadow graphic other than the Shadow.png found in the System
# cache, change the following:
#==========================================================================
SHADOW_GRAPHIC = "Shadow" # The name of the Shadow file
#==========================================================================
# Change the following to have players, followers, or events use shadows
# by default
#==========================================================================
DEFAULT_ON_PLAYER = true # Set to 'true' for default shadows
DEFAULT_ON_FOLLOWER = true # Set to 'true' for default shadows
DEFAULT_ON_EVENT = false # Set to 'true' for default shadows
end # SHADOW
end # PRX
class Sprite_Character < Sprite_Base
#--------------------------------------------------------------------------
# * alias method update
#--------------------------------------------------------------------------
alias :prx_shadow_sprite_character_update :update
def update
prx_shadow_sprite_character_update
update_shadow
end
#--------------------------------------------------------------------------
# * alias method dispose
#--------------------------------------------------------------------------
alias :prx_shadow_sprite_character_dispose :dispose
def dispose
dispose_shadow
prx_shadow_sprite_character_dispose
end
#--------------------------------------------------------------------------
# * update_shadow : validate, draw if necessary, adjust position, destroy
#--------------------------------------------------------------------------
def update_shadow
if @character.shadow and !@character.transparent
if @character.is_a?(Game_Follower) and !@character.visible?
dispose_shadow if @shadow_sprite
return
end
start_shadow unless @shadow_sprite
@shadow_sprite.x = x
@shadow_sprite.y = y - @shadow_sprite.height
@shadow_sprite.z = z - 1
else
dispose_shadow if @shadow_sprite
end
end
#--------------------------------------------------------------------------
# * dispose_shadow : destroy
#--------------------------------------------------------------------------
def dispose_shadow
if @shadow_sprite
@shadow_sprite.dispose
@shadow_sprite = nil
end
end
end # < Sprite_Character
class Game_CharacterBase
#--------------------------------------------------------------------------
# * Public Instance Variables
#--------------------------------------------------------------------------
attr_accessor :shadow # Character Shadow
#--------------------------------------------------------------------------
# * Initialize Public Member Variables
#--------------------------------------------------------------------------
alias :prx_shadow_game_characterbase_init_public_members :init_public_members
def init_public_members
prx_shadow_game_characterbase_init_public_members
@shadow = PRX::SHADOW::DEFAULT_ON_PLAYER if self.is_a?(Game_Player)
@shadow = PRX::SHADOW::DEFAULT_ON_FOLLOWER if self.is_a?(Game_Follower)
@shadow = PRX::SHADOW::DEFAULT_ON_EVENT if self.is_a?(Game_Event)
@shadow = false if @shadow.nil?
end
Squall, nie to skrypt na cienie pod graczami/eventami. Mi chodzi o te cienie co zostaĹy wprowadzone w VX/VX Ace aby byĹy rysowane ponad mapÄ , ale pod obrazkami, menu, itp.
________________________ Nie ma rzeczy niemoĹźliwych, jest tylko brak umiejÄtnoĹci.
UĹźywasz Windowsa 8? JesteĹ Ĺosiem.
Gość is the most intelligent person in the world.
To moĹźe ja wytĹumaczÄ na obrazkach.
Po lewej, tak jak jest obecnie, po prawej, tak jak chcÄ Ĺźeby byĹo (przerĂłbka w GIMP-ie):
________________________ Nie ma rzeczy niemoĹźliwych, jest tylko brak umiejÄtnoĹci.
UĹźywasz Windowsa 8? JesteĹ Ĺosiem.
Gość is the most intelligent person in the world.
Pomogła: 232 razy Dołączyła: 18 Wrz 2007 Posty: 2424
Wysłany: Pon 25 Cze, 2012 17:54
Skryptem tego nie zrobisz. ProponowaĹabym Tobie usunÄ Ä cienie caĹkowicie, zrobiÄ je w obrazku png i naĹoĹźyÄ na caĹÄ mapÄ, tak jak to siÄ robi chociaĹźby z promieniami sĹoĹca.
Nie możesz pisać nowych tematów Nie możesz odpowiadać w tematach Nie możesz zmieniać swoich postów Nie możesz usuwać swoich postów Nie możesz głosować w ankietach Nie możesz załączać plików na tym forum Możesz ściągać załączniki na tym forum