peterisgb Posted August 17, 2020 Posted August 17, 2020 (edited) This isn't a big mod if a mod at all. This mod/snippit allows you to replace your in game profile_pic with your Gravatar image. It will display a gravatar image if user doesn't have a profile pic. Place this Snippit into where you wish to display. Change $r to $ir where necessary. You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Upload images to images/ directory. The comments gave me the idea to make avataaars mod. Which is on the market place. Thanks. Edited September 7, 2020 by peterisgb Quote
ags_cs4 Posted August 17, 2020 Posted August 17, 2020 good but most games already have their default avatar wich come compatible with their color scheme Quote
Sim Posted August 17, 2020 Posted August 17, 2020 Does gravatar allow people to create there own avatars by adding different facial features? Quote
peterisgb Posted August 17, 2020 Author Posted August 17, 2020 (edited) 1 hour ago, Sim said: Does gravatar allow people to create there own avatars by adding different facial features? Should check out gravatar.com It is used alot on a few different sites so i though why not 😄 Edited August 17, 2020 by peterisgb Quote
Magictallguy Posted August 17, 2020 Posted August 17, 2020 1 hour ago, Sim said: But my sister is still unanswered. Ya know what could solve that? Visiting Gravatar Gravatar is not an image editing service. It's a "match avatar to email if we can" service. So no, you can't edit images on Gravatar. You can, however, upload them directly 1 Quote
Sim Posted August 17, 2020 Posted August 17, 2020 Wonder if there is an avatar creator API available? 🙂 Be nice to implement. Quote
ags_cs4 Posted August 17, 2020 Posted August 17, 2020 10 minutes ago, Sim said: Wonder if there is an avatar creator API available? 🙂 Be nice to implement. for games no, but its not hard u just need someone to make imgand u place them on top of each other i will make one in my game but i will only make the face the items in mt game right now ar at least 433 so it will be expensive to make equipment as a avatar but if i can get a good budjet by not 🙂 Quote
Sim Posted August 17, 2020 Posted August 17, 2020 (edited) 1 hour ago, ags_cs4 said: for games no, but its not hard u just need someone to make imgand u place them on top of each other i will make one in my game but i will only make the face the items in mt game right now ar at least 433 so it will be expensive to make equipment as a avatar but if i can get a good budjet by not 🙂 Full avatar be expensive, but face avatar could be manageable. An avatar creator website with API for game and website implementation could be a really good idea. Edit: Worst typing I've ever seen you do. Edited August 17, 2020 by Sim Quote
ags_cs4 Posted August 20, 2020 Posted August 20, 2020 On 8/17/2020 at 9:26 PM, Sim said: Worst typing I've ever seen you do. lets pretend we didn't see that 😄 was in the car so yea. but having avatar changer for example: Quote Skin color: 4 colors. Hair Color: 4 (black, brown, gray, white). Face Hair Color: 4 (black, brown, gray, white). Beard: 4 - 7 mustach: 2 - 4 eye shape: 2 - 4 eye color: 4 (green,blue,brown,black) mouth shape: 2 - 4 ears: 2 - 3 and all this will be twice for both genders so that why i said it will cost ((28*2)-8)=48, or the max ((38*2)-8)=68 it will be lot of images Quote
Sim Posted August 20, 2020 Posted August 20, 2020 What's that math supposed to be for? Lol.. I'm so lost. 🙂 Quote
ags_cs4 Posted August 20, 2020 Posted August 20, 2020 lol its the number of img u gona have ex: 4 mostaches + 4 Beard ... Quote
rockwood Posted August 22, 2020 Posted August 22, 2020 very horrible code needs to improve (means badly coded) else part is very strange thing in it Quote
Magictallguy Posted August 22, 2020 Posted August 22, 2020 17 hours ago, rockwood said: very horrible code needs to improve (means badly coded) else part is very strange thing in it Perhaps you have suggestions on how to improve it? 1 Quote
Djkanna Posted August 24, 2020 Posted August 24, 2020 On 8/17/2020 at 9:26 PM, Sim said: Full avatar be expensive, but face avatar could be manageable. An avatar creator website with API for game and website implementation could be a really good idea. Edit: Worst typing I've ever seen you do. Merry Christmas: https://getavataaars.com/ 🙂 2 Quote
Sim Posted August 24, 2020 Posted August 24, 2020 How can you add that to your site @Djkanna there's no API for that. Quote
Djkanna Posted August 24, 2020 Posted August 24, 2020 (edited) There is, eg: is equal to: https://avataaars.io/?avatarStyle=Circle&topType=LongHairStraight&accessoriesType=Blank&hairColor=BrownDark&facialHairType=Blank&clotheType=BlazerShirt&eyeType=Default&eyebrowType=Default&mouthType=Default&skinColor=Light Should be quite easy to implement into a display pic mod 🙂 There's also a React version: https://github.com/fangpenlin/avataaars or a VueJS version: https://github.com/orgordin/vuejs-avataaars Edited August 24, 2020 by Djkanna 1 Quote
Sim Posted August 24, 2020 Posted August 24, 2020 (edited) Not exactly what I was referring about. Even if an API was created, there have to be a script to incorporate it. Cause the API would most likely just pull the image data. Edited August 24, 2020 by Sim Quote
Djkanna Posted August 24, 2020 Posted August 24, 2020 1 minute ago, Sim said: Not exactly what I was referring about. Even if an API was created, there have to be a script to incorporate it. Cause the API would most likely just pull the images. You've confused me now. 🙂 It in itself is an API, you write the script to interact with the api and change the values for the linked image accordingly. Quote
Sim Posted August 25, 2020 Posted August 25, 2020 You are confusing me now. I see no API to interact with that link you posted Quote
Magictallguy Posted August 25, 2020 Posted August 25, 2020 That site is the API. Send a GET request to it in order to receive data. API, done. 1 Quote
Magictallguy Posted August 25, 2020 Posted August 25, 2020 4 hours ago, Sim said: What's the get request to fetch all hair? Their API doesn't support that. A quick scrape of their form, however, would suit your needs. Here, I'll even build the array for you All options that were available at the time of writing: You're unable to view this code. Viewing code within this forum requires registration, you can register here for free. Quote
Sim Posted August 26, 2020 Posted August 26, 2020 Scrapping is now considered a site having API. I'm loving it Quote
Magictallguy Posted August 26, 2020 Posted August 26, 2020 5 hours ago, Sim said: Scrapping is now considered a site having API. I'm loving it Uh, no. You're compounding it here. The site is the API. The API doesn't support what you're after. I scraped the form to make using the API easier for you. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.