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.
[REQUEST] Replace Faceset pictures with sprites

0 Members and 1 Guest are viewing this topic.

**
Rep: +0/-0Level 85
Jimmy Hendrix- True Guitar Hero
<Faceset Replacement>
<1/7/09>



Summary.
Replaces faceset images in messages, menu items, database, etc. with a sprite image

Features
  • The user being able to insert a tag into a message box when making a event so
    that for the image of the person talking it'll show a sprite instead.
    *EXAMPLE1*EXAMPLE2*
    <actor_id1> <actor1-1>
    <[when playable actor]>;<[the characterset filename],[if charaset which part numbered 1-8, left to right, top to bottom for each character in set]>
    also for it to be the top, middle sprite of the indivisual character.
  • If possible, in the database when selecting a face for the character, the user of this script is to select from the 'Characters' folder instead and select the exact sprite for usage and so that this feature is toggleable in script.
  • Also so that the sprite replacing the face in messages, menu, etc. is zoomed in 2x.
  • Lastly, a toggleable in script feature that makes it so the sprite will be turning(looking right,left,etc.)
Mockups
attached

Games its been in
  • none that I now of



Did you search?
kinda, stumbled upon the idea ;D

Where did you search?
  • rmrk.net

What did you search for?
nothing just found the idea of doing this when looking in the resource section
God blessed us with food:
We killed it with poverty:

God blessed us with light:
We murdered it with global warming:

God blessed us with land:
We raped it with America:

*
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
Instead of a script, why don't you just manually edit the sprites in a picture editor like Paint.NET (free!) or photoshop. THen you could save them in the Faces folder of your game and then you could avoid the nasty message codes, and it would also allow you to select the face in the database, which would be impossible with a script. It'd just be all around nicer really.

THe format of the picture would be like the attched.

**
Rep: +0/-0Level 85
Jimmy Hendrix- True Guitar Hero
I did think about that but I have alot of sprites being used and I thought this would good help to those who can't draw well for facesets. also would it be possible to make it so it would use the databases character graphic instead and just ignore the face graphic part?
God blessed us with food:
We killed it with poverty:

God blessed us with light:
We murdered it with global warming:

God blessed us with land:
We raped it with America:

*
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, that would be possible. All that would need to be done is changing the draw_face method of Window_Base.

However, it'd need to be done differently for messages. I would still recommend making them into facesets through a photo editor, as it only takes a fw seconds and is much more functional.

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
I also recommend what MA is saying. It's easier overall to just break a character sheet and either enlarge a single sprite, or use the same one and save that single sprite as a face image. or combine like 8 together, or 10 -- however many it is, and then select them from the database. It's really quite simple. And there's a super simple menu edit to make it so that your sprites appear instead of your face set, not that you'd even have to do that after you edited your character's faceset into a sprite anyways.

**
Rep: +0/-0Level 85
Jimmy Hendrix- True Guitar Hero
I also recommend what MA is saying. It's easier overall to just break a character sheet and either enlarge a single sprite, or use the same one and save that single sprite as a face image. or combine like 8 together, or 10 -- however many it is, and then select them from the database. It's really quite simple. And there's a super simple menu edit to make it so that your sprites appear instead of your face set, not that you'd even have to do that after you edited your character's faceset into a sprite anyways.

the zoom doesn't matter overall, but I was wondering one thing thou
if I just change where the script looks for the face graphic to the characters folder, how would I maybe change the script so when in game it shows the top left sprite. and sorry if im being a little difficult but i have between 150-190 sprites
God blessed us with food:
We killed it with poverty:

God blessed us with light:
We murdered it with global warming:

God blessed us with land:
We raped it with America:

*
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, just use the draw_character method instead of the draw_face method.

draw_character(character_name, character_index, x, y)

will draw the chrcter in any class that has Window_Base as its super class, so any window class.

But really:

10 seconds to edit a character set into a faceset. 15 seconds max

10*190 = 1900s = 31m 40s
15*190 = 2850s = 47m 30s

Half to three quarters of an hour and you're done. It's probably less time than its taken to post and check on this topic.

********
Resource Artist
Rep:
Level 94
\\\\\
Project of the Month winner for June 2009
Lol, math. You are modern algebra though. :)

**
Rep:
Level 88
Lol, math. You are modern algebra though. :)

Math is how you get stuff done, boy.