Jump to content
McKay Development

Recommended Posts

Posted

i am 

5 hours ago, AshIgorash said:

You can use node-globaloffensive.The most information about skin you can get from inspectItem method, but I am not sure how you can turn this into screenshot. I think there should be a way to make a skin image without running an inspect server.

i am willing to make an inspect server its no big issue but the main thing is the image creating i need the exact image like the cs.mony and such ss tools

  • 9 months later...
Posted

https://www.youtube.com/watch?v=HUIERG6r-t0
 

here is a video tutorial. but in summery, it will:

  1. boot up cs2 in windowed mode
  2. load each item through clicking on its inspect link
  3. rotate the screen to the way you want
  4. take an screenshot of the item (by hitting the Print Screen key on the keyboard)
  5. crop the image using a PNG mask (you need 30+ masks, one per type of skin there is in game + 20+ for knives)
  6. rotate the skin the other way
  7. take another screenshot
  8. crop the image using another PNG mask (you need the other side of all those masks as well)
  9. merge the screenshots together
  10. export a final PNG

it can do up to 6 images per minute. or 360 per hour. or 5-10k a day. (this is per instance. you can do as many instances as you need)

 

note: this is not the way big sites do it. they will extract the texture file from the game (the vpak files) and render the images in 3D using three.js.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...