RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
Composite Character Sets / Visual Equipment

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 83
Sorry... my limited knowledge tells me double posting is bad, but, could you make this compatible also with shopoholic v 2.0 by cmpsr2000 available exclusively at rpgrevolution.com/forums ??? it would be great if you could
Squirrel

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
I wouldn't have thought they were incompatible, but then I don't know anything about this Shopoholic script. I quickly did a check and found no problems right off the bat. Where is the error coming from, when you do what? What does it say? If you're getting an error, then either send me the project in which you get the error so that I can work from that or, if you are uncomfortable sharing your game project at this stage, recreate the error in a new project and send that to me. Either way is fine.
« Last Edit: May 30, 2009, 06:52:01 PM by modern algebra »

**
Rep: +0/-0Level 83
Okay, with the window_shop_details it puts up the character's sprite but not the composite sprite like to show details of defense changes and stuff.
Squirrel

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
At line 210 in Window_Shop_Details, replace:

Code: [Select]
   bitmap = Cache.character(actor.character_name)

with

Code: [Select]
   bitmap = Cache.composite_character(actor.composite_character)

**
Rep: +0/-0Level 83
It's beautiful. You're like... a super genius guy. This has changed my life. Forever. :) Thanks.
Squirrel

**
Rep: +0/-0Level 83
*feeling not smart*
I still don't get how to use the change hair sprites,
What do you mean by Index, and how come the example is different than the code?

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Well, examples are different because I use actual numbers and files rather than descriptions of what goes there. In any case, if you have 1.2, then that operation is built in as codes that you can write in directly to a script call:

Code: [Select]
#   remove_graphic_from_actor (actor_id, index)
#   remove_graphic_from_actor (actor_id, graphic_name, graphic_index, graphic_hue)
#   add_graphic_to_actor (actor_id, graphic_name, graphic_index, graphic_hue, index)

There are more details in the Instructions of the script, and an event in the demo does it so you can take a look at that.

And index is the index of the character in the character set. Note that there are eight in character sheets, index identifies which of those characters is to be used. It goes:

0 1 2 3
4 5 6 7

**
Rep: +0/-0Level 83
What if I made it so the spritesheet only has one index(using '$' at the beginning of the filename)?
Just leave it blank?
Cause that's what I've been doing and it's worked so far.

EDIT:
I got it to work. :)
I was going to post that I got an error, and then I realized I didn't put apostrophes around the file name.
Thanks, dood.
« Last Edit: June 04, 2009, 04:41:51 AM by Monkii »

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Yeah, graphic_index is 0 by default, which is what it is for ingle sprite sheets.

Also, I didn't mention this but I thought it might be what you wanted to know. index, in the

Code: [Select]
remove_graphic_from_actor (actor_id, index)

refers to the index of the graphic in the composite character array. Anyway, I'm glad you got things working.

*
Rep: +0/-0Level 84
i have a little question about this script, i'm trying to change actor graphic, but it'll look like this everytime i want to change the actor graphic:


I want to change actor graphic with boat one...but it always look like that...why?

screenshot taken from the demo

thnx!

**
Rep: +0/-0Level 83
Yay a new problem... this time it's about the side view battle system again. When I use the animated enemy battlers add on theres an error "undefined method 'composite character' for #Game_Enemy:(some stuff) It would be great if you could fix it or something but you don't have to I think I might be able to live without it
http://www.rpgrevolution.com/forums/index.php?s=&showtopic=18304&view=findpost&p=212499
Squirrel

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
I don't intend to make it compatible with animated battlers, sorry. If you wish, I could put in some code so that it doesn't call that error and you could use composite characters when not in battle, but I won't make it so that you can see what you equip on the animated battlers themselves.

**
Rep: +0/-0Level 83
Hmm I think I might have given you the wrong idea. I don't want them to see what you equipped. Theres just an error and I think since the enemy animated battlers are called from the battler folder and character folder your script tries to do something to it... that kind of made sense to me.
Squirrel

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
OK, well, I'm too lazy to get the sideview battle script again, but where this is in the code:

Code: [Select]

    # ????????????????
    return unless @anime_flug
    if @battler.actor?
      self.bitmap = Cache.composite_character(@battler.composite_character)
    else
      self.bitmap = Cache.composite_character (@battler.composite_character)
    end

Change it to:

Code: [Select]
    if @battler.actor?
      self.bitmap = Cache.composite_character(@battler.composite_character)
    else
      self.bitmap = Cache.character(file_name)
    end

and see if that works
« Last Edit: June 19, 2009, 12:22:18 AM by modern algebra »

**
Rep: +0/-0Level 83
Hmmm... it was a little hard to figure out but I got it to work. Thanks again Modern! This has also changed my life forever... and my game. :)
Squirrel

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
i have a little question about this script, i'm trying to change actor graphic, but it'll look like this everytime i want to change the actor graphic:


I want to change actor graphic with boat one...but it always look like that...why?

screenshot taken from the demo

thnx!

Sorry, I didn't see this post before. That's because of a patch someone had requsted that changes the "Change Actor Graphic" command to one that adds files to the character, rather than resets it. If you want to change the graphic completely, just put a Script command before it that has:

Code: [Select]
clear_character_graphic (actor_id)

So

Code: [Select]
clear_character_graphic (1)
would change Ralph

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
Added a compatibility patch for the Grid Inventory under Known Compatibility Problems. Before, it would not refresh upon equipping new items - using this patch, it will.

*
Rep: +0/-0Level 83
Hello everyone *>*
Ive got a question: Ìs there any oppertunity to show the armor etc. with this script and the Sideview Battle system?

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
http://rmrk.net/index.php/topic,28124.msg403285.html#msg403285

But it won't work if you're using animated spritesheets, only if you are using the regular sprites.

Also: http://rmrk.net/index.php/topic,28124.msg405118.html#msg405118

There was a little problem with the edits I provided of the Sideview system
« Last Edit: August 05, 2009, 05:19:43 PM by modern algebra »

**
Rep: +0/-0Level 83
Great script! I'll definitely be using it.

Has anyone already made any sprite sheets for this and is willing to give them to me? Of course I'd be willing to give credit where it's due. If not, that's cool.

Thanks a lot for the script!


**
Rep: +0/-0Level 83
can i ask somethin'?

i am using some sprites for wing but the prob is, when the wings is added, it goes above the character not below 'em. which it looks like this . i want it ti look just like this ... see the first pic has a wings in front and the second one is in the back. how can i or can you fix it? thanks :D

*
Rep:
Level 97
2014 Most Unsung Member2014 Best RPG Maker User - Engine2013 Best RPG Maker User (Scripting)2012 Most Mature Member2012 Favorite Staff Member2012 Best RPG Maker User (Scripting)2012 Best MemberSecret Santa 2012 ParticipantProject of the Month winner for July 20092011 Best Use of Avatar and Signature Space2011 Best RPG Maker User (Scripting)2011 Most Mature Member2011 Favourite Staff Member2011 Best Veteran2010 Most Mature Member2010 Favourite Staff Member
I haven't looked at this script for a long time, but if I remember correctly, you can set the graphic up as:


#    \CG[filename, index, hue, priority] # Character Set = Actor2 : index = 3 : hue = 50 : z = 2


If you set the priority to less than 0 it will show up behind the character. Alternatively you could edit the file itself, which you might have to do anyway since you need the priority of the wings to be greater when walking up, so you might have to split the graphic into two files.

**
Rep:
Level 82
once the script was in RMXP, and now this? :tv^:

*
Rep: +0/-0Level 82
Is there a way to have helmets replace the hair graphic? The hair sticks out the sides of all my helmets. I have tried many different ways but I can't figure it out.

Ps: I know you have no plans to make this compatible with Minkoff animated battlers but I'm wondering if it is at least possible that it could work.