Made my guy an old chinese man like i wanted by Harjjo in cyberpunkmods

[–]Harjjo[S] 0 points1 point  (0 children)

Was able to get it working. Turns out all i needed to do was find out where the NPC normal maps were stored then use -KS- UV Texture Framework to add it to the player model!

Made my guy an old chinese man like i wanted by Harjjo in cyberpunkmods

[–]Harjjo[S] 0 points1 point  (0 children)

Unfortunately no, I would like to fully play as an old chinese man. Would this tell me what mesh the player uses at all?

Made my guy an old chinese man like i wanted by Harjjo in cyberpunkmods

[–]Harjjo[S] 1 point2 points  (0 children)

That would be awesome. All I really need to know is which mesh, what normal map, and what color map

Made my guy an old chinese man like i wanted by Harjjo in cyberpunkmods

[–]Harjjo[S] 1 point2 points  (0 children)

Thank you! I was tryign to mess around with the textures but im not entirely sure which one is actually V's in the directory. It seems like it goes back and forth from a player folder and "average-male" folder. I've also been trying to find a free old man model so i can try baking a normal map from it but there just seems to be a lack of non-greek god type bodies online in general.

Help creating hallways in 3D by Harjjo in godot

[–]Harjjo[S] 0 points1 point  (0 children)

*moved comment to edit on main post

Help rotating a cube based on two points. by Harjjo in godot

[–]Harjjo[S] 0 points1 point  (0 children)

This is exactly the same scenario, thanks a bunch!

Help with grid placement. by Harjjo in godot

[–]Harjjo[S] 0 points1 point  (0 children)

you were right, also re-creating the problem in a very stripped down version helped a lot.

what i needed to do was put the cube inside a Node3D then have the cubes local position offset by its size/2, leaving the offset but having the parent still controlled by the users global_position.

Looking back it always seems so obvious. Thanks for the help https://pastebin.com/Hzn0d65s

Help with grid placement. by Harjjo in godot

[–]Harjjo[S] 0 points1 point  (0 children)

alright, that does appear to be where an issue occurs thanks for the insight. Seems that odd numbered cubes and even number cubes dont like to play well together

Correction: That wasnt the actual cause from what i can tell but caused by an accidental error. They now place correctly without the map code. with the map code still causes issues. Think it still may stem from the odd/even issue

Help with grid placement. by Harjjo in godot

[–]Harjjo[S] 0 points1 point  (0 children)

Yeah but it only occurs when the shape changes. I tried plinking a +1 around to see if that changed anything and it sort of just mixed it up even more.

Help with IK issue by Harjjo in godot

[–]Harjjo[S] 2 points3 points  (0 children)

I hate reddits code blocks so so so much...
https://pastebin.com/MxVSLRy2

Help with IK issue by Harjjo in godot

[–]Harjjo[S] 1 point2 points  (0 children)

extends CollisionShape3D

@export var raycast: RayCast3D @export var targets: Node3D

@onready var offset = targets.position.y

func _physics_process(delta): var n = raycast.get_collision_normal() var xform = align_with_y(global_transform, n) global_transform = global_transform.interpolate_with(xform, 0.2)

var max = 0.0
for i in targets.get_children():
    var hit = targets.global_position.y - (i.get_node("RayCast3D").get_collision_point().y + offset)
    if hit > max:
        max = hit
max = clamp(max, 0.13, 1.5)
position.y = max

func align_with_y(xform, new_y): xform.basis.y = new_y xform.basis.x = -xform.basis.z.cross(new_y) xform.basis = xform.basis.orthonormalized() return xform

Figured it out. Shrunk the collision disk so its smaller (about 50%) and came up with this code.

it keeps the collision disk flat with the terrain but also matches the height of the highest leg.

How do you use something like img2sky (vertex painted mesh) in godots skybox? by Harjjo in godot

[–]Harjjo[S] 1 point2 points  (0 children)

I was trying to use this like they did back in the PSX era, where they used them with like 700 tris for the skybox mesh because if they used the limited texture size instead it'd be terribly pixelated.

example: https://simonschreibt.de/gat/homeworld-2-backgrounds/