MT-CTF / capturetheflag

Capture the Flag game using the Minetest Voxel Engine
https://ctf.rubenwardy.com
83 stars 89 forks source link

Hobbit #1331

Closed pl608 closed 2 months ago

pl608 commented 2 months ago

Allows external mods to make changes to the player model don't know if this will work on more advanced models also don't know if this was necessary however it works and that is all I was shooting for :)

LoneWolfHT commented 2 months ago

Just have your mod edit the animations in player_api.registered_models["character.b3d"] after depending on the ctf_player mod, no need for a setting or completely replacing the CTF model.

Also: All decimal numbers should have at least a 0 in the one's place. e.g 0.1 instead of .1

pl608 commented 2 months ago

ok. Though the classes update that I added will be needed since otherwise it will be a normal sized player anytime someone is a knight or scout (and potentially medic too)

LoneWolfHT commented 2 months ago

You can just commit all those suggestions, I put them there so you can see how I prefer code style

LoneWolfHT commented 2 months ago

@pl608 Instant crash on server start, I thought you tested this locally? It needs to be tested with and without your custom mod

pl608 commented 2 months ago

what was the error? I never had an issue with and without my mod (from what I remeber)