Archiv verlassen und diese Seite im Standarddesign anzeigen : Stehanimation
Gorden89
13.03.2006, 15:33
Guden Tach!
Ich bastel momentan an nem AKS und hab folgendes Prob, der Held von SoM hat ein paar Lauf Animationen mehr als der XP haben kann, also hab ich die steh aniationen Rausgenommen und als Extra CharSet gespeichert. Jet weiß ich nur net wie es anstellen soll, wenn der Held steht sich die Grafik ändert und wenn er wieder läuft sich zurück ändert!
Wenns sowas für 2k/3 gibt dann sacht mir bitte das Spiel/Demo/Script und ich werds mir anschauen!
CromosVallterra
13.03.2006, 18:06
Schau mal auf rpgxp.net .
Ich glaube ich habe dort einmal ein Script für den XP gefunden, mit dem man die maximalanzahl der Bewegungsanimationen ändern kann.
mfG,
Cromos
Gorden89
13.03.2006, 18:14
rpgxp.net gibts net ausser du meinst rpg-xp.net und die haben da auch keinen Script. Zumindestens hab ich bei Downloads->Scripte nix gefunden!
Der Drake
14.03.2006, 14:23
rpgxp.net gibts net ausser du meinst rpg-xp.net und die haben da auch keinen Script. Zumindestens hab ich bei Downloads->Scripte nix gefunden!
er meint wohl rmxp.net ^^"
Und so ein Skript hatte ich auch irgendwann mal hingeschmiert, ist wirklich nicht schwer. (es sei denn man will es elegant machen)
Hab jedenfalls mal ein Skript auf rmxp.net rausgesucht:
http://www.rmxp.net/forums/index.php?showtopic=5842&hl=cha
Gorden89
14.03.2006, 14:36
Es gibt ein Prob der lässt mich net rein!;_;
Heißt das jetz ich muss mich dort anmelden oder kann mir den einer so schicken.
Der Drake
15.03.2006, 15:19
An für sich müsstest du dich anmelden, aber so wichtig ist das auch nicht... ich zitiere es mal einfach rein:
Read documentation below
New section: About: CRS::CharFrameCountSet
USES_CRS_CHARFRAMECOUNTSET = "1.0"
#================================================= =============================
# ■ CRS::CharFrameCountSet (CRS:.Character movement FrameCount Setting)
#------------------------------------------------------------------------------
# ● Version 1.0 - Reference of perception
# Script level: ~16k
# Implention level: 23k-25k
# Lines of codes to be edited: 6
# Required edits: 6
# Edited DRGSS sections: 5
# New sections: 1
# Total lines of code: 14
#---------------------------------------------------------
# ● Features
# Allows loading of characters being of any column width.
# Such as that of 8-frame movement characters.
#---------------------------------------------------------
# ● Installation
# Add the edits found in the 5 edited sections (total 6)
# as well as add the one (two) new sections.
#---------------------------------------------------------
# ● Usage
# If you do not wish to use the common 4 frames movement,
# place w_x somewhere inside the filename of the character.
# x determines the column width, such as "hero2 w_8.png" would
# make that character use 8 frames movement.
#================================================= =============================
(update) Game_Actor
40 #------------------ Edit --------------------
#@character_name = actor.character_name
#--------------------------------------------
set_charset(actor.character_name)
#------------------ /edit ------------------
556 #------------------ Edit --------------------
#@character_name = actor.character_name
#--------------------------------------------
set_charset(actor.character_name)
#------------------ /edit ------------------
(update) New section: Game_Actor CRS_CharFrameCountSet
class Game_Actor
#--------------------------------------------------------------------------
# ● set_charset
# charname The name of the charset (character image) being used.
# Reads the name of the charset to determine the tile width of the
# character.
#--------------------------------------------------------------------------
def set_charset(charname)
@character_name=charname
# Default tile width.
@charset_tile_width = 4
charname.gsub(/w\_(\d+)/) {@charset_tile_width = $1.to_i}
end
end
Game_Character 1
28 #-------------Edit----------------
# Amount of frames, i.e. columns of characters in the charset.
attr_accessor :charset_tile_width
#/-------------Edit----------------
Game_Character 2
31 #----------------------Edit---------------------
# Pattern is the current movement frame (i.e. column) the character is currently on.
@pattern = (@pattern + 1) % @charset_tile_width
#/----------------------Edit---------------------
323 #---------------Edit--------------
#Def: @character_name = command.parameters[0]
set_charset command.parameters[0]
#/---------------Edit--------------
(update) New section: Game_Character CRS_CharFrameCountSet
class Game_Character
#--------------------------------------------------------------------------
# ● set_charset
# charname The name of the charset (character image) being used.
# Reads the name of the charset to determine the tile width of the
# character.
#--------------------------------------------------------------------------
def set_charset(charname)
@character_name=charname
# Default tile width.
@charset_tile_width = 4
charname.gsub(/w\_(\d+)/) {@charset_tile_width = $1.to_i}
end
end
Game_Event
139#-------------Edit-------------
#def: @character_name = @page.graphic.character_name
set_charset @page.graphic.character_name
#/-------------Edit-------------
Game_PLayer
104 #------------Edit---------------
#Def: @character_name = actor.character_name
# Update character name, auto sets tile width.
set_charset actor.character_name
#/------------Edit---------------
Sprite_Character
47 #--------------------Edit-----------------
# def: @cw = bitmap.width / 4
@cw = bitmap.width / @character.charset_tile_width
#/--------------------Edit----------------
Applied to DRGSS: http://sabakigo.com/crsf/index.php?act=Att...ype=post&id=292 (http://sabakigo.com/crsf/index.php?act=Attach&type=post&id=292)
Gorden89
15.03.2006, 15:36
Hehe OK thx hat mich vor 20mins angemeldet und es ausprobiert und ich muss sagen der Script is echt der Hammer!
Aufjedenfall nochmals Danke Drake das du es extra kopiert hast!
Kann geclosed werden!
vBulletin® v3.7.1, Copyright ©2000-2008, Jelsoft Enterprises Ltd.