Myths Reimagined - Real-Time Game Character: Final Submissions

Ares, greek God of War

Paul Piper

WIP-Thread: Link

His lungs still hurt with every breath, even after all this time. Athena had tricked him, taking over the Undercity by releasing a gas that contaminated every room in the vault where Ares and his men were staying. Right before the attack, every one of his men died.
A day Ares will always remember… a day Ares will take revenge for, whatever the cost.

148k Tris:

Skript i build for faster lookdev. Nothing fancy but maybe interesting.

#Run in one single cell

import os
from pathlib import Path
from PIL import Image


firstVar = r"" #Pathvariable
secondVar = r""

first_path = Path(firstVar)
second_path = Path(secondVar)

images1 = list(first_path.glob("*"))
images2 = list(second_path.glob("*"))
extensions = {".png", ".jpg", ".jpeg"}
varList=[]


def checkFileType(dir):
    for element in Path(dir).iterdir():
        if element.suffix.lower() in extensions:
            varList.append(element)
            print(element.name)
            
checkFileType(first_path)
checkFileType(second_path)




def resize(index):
    testImage = Image.open(varList[index])
    w, h = testImage.size
    w = w // 2
    h = h // 2
    testImage = testImage.resize((w, h))
    return testImage

ResizePathOneString = r"" #dirtoSave
ResizePathTwoString = r""

ResizePathOne = Path(ResizePathOneString)
ResizePathTwo = Path(ResizePathTwoString)

counter = 0

for image in varList:
    currentImage = resize(counter)

    filename = Path(varList[counter]).name

    if counter <= 2:
     save_path = ResizePathOne / filename 
    elif counter>=3:
         save_path = ResizePathTwo / filename 
    
    counter += 1
    currentImage.save(save_path)

Decals:

Arstation

8 Likes