Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Hero graphical change
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP!
View previous topic :: View next topic  
Author Message
Chaotix
Has a fan!




Joined: 03 Oct 2006
Posts: 205
Location: That one place

PostPosted: Mon Jan 15, 2007 10:39 am    Post subject: Hero graphical change Reply with quote

I am trying to figure this out. I am making a game to where the hero starts off young, but gets older,(look changes) and still keeps his old level and stat.

Any Idea?
_________________
I drew my Icon!

My forums:

http://www.freeforum101.com/*coming soon*
Back to top
View user's profile Send private message Visit poster's website AIM Address
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Mon Jan 15, 2007 11:19 am    Post subject: Reply with quote

'Plot:Set hero picture'
Back to top
View user's profile Send private message Send e-mail AIM Address
Chaotix
Has a fan!




Joined: 03 Oct 2006
Posts: 205
Location: That one place

PostPosted: Mon Jan 15, 2007 11:31 am    Post subject: Reply with quote

I'm not sure I get it...
_________________
I drew my Icon!

My forums:

http://www.freeforum101.com/*coming soon*
Back to top
View user's profile Send private message Visit poster's website AIM Address
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Mon Jan 15, 2007 11:37 am    Post subject: Reply with quote

Okay..When you go into the walkabout and hero picture editors, you can see their set numbers, right? Those are the IDs of the sprite sets.

So let's say you want your hero, named 'Hero Dude', to change his walkabout sprite to set 4.

You would simply use the command;

Code:
set hero picture (hero:Hero Dude, 4, outside battle)

And to change his battle pictures, just replace 'outside battle' with 'inside battle'.
Back to top
View user's profile Send private message Send e-mail AIM Address
Chaotix
Has a fan!




Joined: 03 Oct 2006
Posts: 205
Location: That one place

PostPosted: Mon Jan 15, 2007 11:45 am    Post subject: Reply with quote

I think I get it. He will stay that way for good right?
_________________
I drew my Icon!

My forums:

http://www.freeforum101.com/*coming soon*
Back to top
View user's profile Send private message Visit poster's website AIM Address
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Mon Jan 15, 2007 11:58 am    Post subject: Reply with quote

That is correct. Unlike the maptile-altering command, this one is permanant (Until you change it again).
Back to top
View user's profile Send private message Send e-mail AIM Address
TMC
On the Verge of Insanity




Joined: 05 Apr 2003
Posts: 3240
Location: Matakana

PostPosted: Mon Jan 15, 2007 4:31 pm    Post subject: Reply with quote

You need to use 'plot:find hero' to get the position of the hero in the party : most hero commands operate on this because you might have several copies of a hero in the party (even though findhero only lets you look for the first copy, yeah, confusing).

Code:
set hero picture (find hero(hero:Hero Dude), 4, outside battle)


Also, use 'plot:set hero palette' if required.
_________________
"It is so great it is insanely great."
Back to top
View user's profile Send private message Send e-mail
Chaotix
Has a fan!




Joined: 03 Oct 2006
Posts: 205
Location: That one place

PostPosted: Mon Jan 15, 2007 4:36 pm    Post subject: Reply with quote

Thank you all very much. I really think I get it now!

Thanks!
_________________
I drew my Icon!

My forums:

http://www.freeforum101.com/*coming soon*
Back to top
View user's profile Send private message Visit poster's website AIM Address
Chaotix
Has a fan!




Joined: 03 Oct 2006
Posts: 205
Location: That one place

PostPosted: Sat Jan 20, 2007 1:49 pm    Post subject: Reply with quote

Uhh, what about changeing the color also, even though his sprit changes, I need his color to change also.
_________________
I drew my Icon!

My forums:

http://www.freeforum101.com/*coming soon*
Back to top
View user's profile Send private message Visit poster's website AIM Address
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Sat Jan 20, 2007 1:58 pm    Post subject: Reply with quote

The Cacti gave you a link to the command that changes the hero's palette.
Back to top
View user's profile Send private message Send e-mail AIM Address
Chaotix
Has a fan!




Joined: 03 Oct 2006
Posts: 205
Location: That one place

PostPosted: Sat Jan 20, 2007 2:28 pm    Post subject: Reply with quote

Okay. To give me an idea, to change Hero "Indego," from walkabout 0 to walkabout 2, and change pallet from pallet 1 to 2, what would it look like in all.

(If i can get a glimps, I can figure the rest on my own I am sure...)
_________________
I drew my Icon!

My forums:

http://www.freeforum101.com/*coming soon*
Back to top
View user's profile Send private message Visit poster's website AIM Address
Chaotix
Has a fan!




Joined: 03 Oct 2006
Posts: 205
Location: That one place

PostPosted: Sat Jan 20, 2007 7:58 pm    Post subject: Reply with quote

I tryed and I still can not get it to work...

Please help...
_________________
I drew my Icon!

My forums:

http://www.freeforum101.com/*coming soon*
Back to top
View user's profile Send private message Visit poster's website AIM Address
TwinHamster
♫ Furious souls, burn eternally! ♫




Joined: 07 Mar 2004
Posts: 1352

PostPosted: Sat Jan 20, 2007 8:02 pm    Post subject: Reply with quote

Chaotix wrote:
Okay. To give me an idea, to change Hero "Indego," from walkabout 0 to walkabout 2, and change pallet from pallet 1 to 2, what would it look like in all.

(If i can get a glimps, I can figure the rest on my own I am sure...)

Code:

set hero picture (find hero (hero:Indego), 2, outside battle)
set hero palette (find hero (hero:Indego), 2, outside battle)

Both commands assume that you are changing the image and palette of the walkabout sprites, so you don't even have to write the 'outside battle' part. However, it's necessary to specify 'inside battle' if you want to change the battle sprite.
Back to top
View user's profile Send private message Send e-mail AIM Address
Chaotix
Has a fan!




Joined: 03 Oct 2006
Posts: 205
Location: That one place

PostPosted: Sat Jan 20, 2007 8:12 pm    Post subject: Reply with quote

That is it? I do not have to put any other stuff before or after it?[/code]
_________________
I drew my Icon!

My forums:

http://www.freeforum101.com/*coming soon*
Back to top
View user's profile Send private message Visit poster's website AIM Address
msw188




Joined: 02 Jul 2003
Posts: 1041

PostPosted: Sat Jan 20, 2007 11:24 pm    Post subject: Reply with quote

Is this your first ever script? There are several things that need to go into a script file in order for it to be recognized correctly, and to recognize the commands you're throwing at it, before you even start telling it what you want it to do. If you are unaware of these things (include statements, script definitions, etc), you really should go and look at the tutorial first.

If you are asking about your specific script needing more commands to accomplish your desired effect, well, those two lines will change the hero's appearance. Now if you want this to only happen at certain times, or after a certain time, etc, then you will need more. Furthermore, if you want it to happen, the script must be called (activated) by something in the game. Can you give us a little more detail on what you have tried, and how it has failed?
_________________
My first completed OHR game, Tales of the New World:
http://castleparadox.com/gamelist-display.php?game=161

This website link is for my funk/rock band, Euphonic Brew:
www.euphonicbrew.com
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> HELP! All times are GMT - 8 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group