Jump to content
Rpg²S Forum
  • 0

Animazione del char


Squall_Leonheart
 Share

Question

Salve gente,ritorno a seccareXD

 

Dunque ho trovato all'interno della demo Xas Hero uno script che permette al chara un animazione da fermo...L'autore sta scritto all'interno dello script...Il punto è che quando lo passo su un nuovo progetto mi dà un errore alla tredicisima riga( new_name = filename + SUFFIX

filename = new_name if RPG_FileTest.character_exist?(new_name))...Vedete se ci capite voi perchè non ne vengo a capo.

 

#===============================================================================# By Xiderowg / 桜雅 在土 # [url="http://xms.rdy.jp/"]http://xms.rdy.jp/[/url]# [url="http://scriptshelf.jpn.org/x/"]http://scriptshelf.jpn.org/x/[/url]#===============================================================================module XRXS_BreakActs  SUFFIX = "_ANI"  WCOUNT = 0  def character_name	filename = super	if @breakacting	  new_name = filename + SUFFIX	  filename = new_name if RPG_FileTest.character_exist?(new_name)	end	return filename  end  def breakact=(b)	@breakacting = b	@step_anime  = b  end  def update	super	if controllable?	  if @breakact_count.to_i > 0		@breakact_count -= 1	  else		self.breakact = true	  end	else	  @breakact_count = WCOUNT	  unless self.action != nil  or $game_map.starting? or			 self.knockbacking?	  self.breakact = false	  end	end  endendclass Game_Player < Game_Character  include XRXS_BreakActsendclass Game_Player < Game_Character  def controllable?  	return !(moving? or $game_system.map_interpreter.running? or			@move_route_forcing or $game_temp.message_window_showing or 			Input.trigger?(Input::C) or Input.press?(Input::C) or			Input.trigger?(Input::Y) or Input.press?(Input::Y) or 			Input.trigger?(Input::Z) or Input.press?(Input::Z) or			Input.trigger?(Input::A) or Input.press?(Input::A) or			Input.trigger?(Input::LEFT) or Input.trigger?(Input::RIGHT) or			Input.trigger?(Input::UP) or Input.trigger?(Input::DOWN) or 			Input.press?(Input::LEFT) or Input.press?(Input::RIGHT) or 			Input.press?(Input::UP) or Input.press?(Input::DOWN)) endend

Iscriviti sul mio canale youtube -

https://www.youtube.com/channel/UCYOxXExvlXiOFfYD1fTFpww?view_as=subscriber

Seguimi su Instagram -

https://www.instagram.com/ancestralguitarist/

---------------------------------------------------------------------------------------------------------------------------------------
Contest vinti
---------------------------------------------------------------------------------------------------------------------------------------

FACE CONTEST # 3
BANNER CONTEST #69

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
Si ho provato su un nuovo progetto senza nessuno script e mi dà l'errore

Iscriviti sul mio canale youtube -

https://www.youtube.com/channel/UCYOxXExvlXiOFfYD1fTFpww?view_as=subscriber

Seguimi su Instagram -

https://www.instagram.com/ancestralguitarist/

---------------------------------------------------------------------------------------------------------------------------------------
Contest vinti
---------------------------------------------------------------------------------------------------------------------------------------

FACE CONTEST # 3
BANNER CONTEST #69

Link to comment
Share on other sites

  • 0
Ti dà errore perchè manca il module RPG_FileTest, che probabilmente si trova altrove nella Demo dello XAS . . .

 


SCRIPT RGSS (RPG Maker XP) VINTAGE LIBRARY [2018+]


Breaking (in ogni senso) News: "Treno deraglia per via del seno di Sakurai Aoi . . ." - Info nello spoiler !!

 


http://afantasymachine.altervista.org/_altervista_ht/NOOOOOOOOOilMIOtreninooooo_500.gif


Non riesco a smettere di essere affascinato da immagini come questa . . .

http://anime.vl-vostok.ru/art/photos2011/17/78049800/wall_VladAnime_WWA_1885-1680x1050.jpg


Alcuni wallpapers che faccio ruotare sul mio vecchio PC . . .


http://afantasymachine.altervista.org/_altervista_ht/gits_window.jpg

http://afantasymachine.altervista.org/_altervista_ht/madoka_group01.jpg
http://afantasymachine.altervista.org/_altervista_ht/arisu_picipici_01.jpg
http://afantasymachine.altervista.org/_altervista_ht/phantom_wp01_einzwei.jpg


La parte più spassosa della mia vita è quando gli altri cercano di spiegarmi i miei pensieri . . .


BBCode Testing


Typeface & Size



Link to comment
Share on other sites

  • 0
Grazie Giver...Il modulo detto da Giver si trova nello Xas Sistem...Io ho copiato in un altra classe solo quello insieme alla classe di sopra...Ora funge.

Iscriviti sul mio canale youtube -

https://www.youtube.com/channel/UCYOxXExvlXiOFfYD1fTFpww?view_as=subscriber

Seguimi su Instagram -

https://www.instagram.com/ancestralguitarist/

---------------------------------------------------------------------------------------------------------------------------------------
Contest vinti
---------------------------------------------------------------------------------------------------------------------------------------

FACE CONTEST # 3
BANNER CONTEST #69

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...