Sauerworld Forum

Sauerbraten Content => Mods => Topic started by: radiatori on August 08, 2020, 05:09:57 PM

Title: Left-handed weapons
Post by: radiatori on August 08, 2020, 05:09:57 PM
Hello, I really really would like to have the weapons on the left hand in the game. Do you have any suggestions about how to achieve this ?

I'm a Backend Software Developer skilled in Python and Java ( also I know some C/C++) so I can work in the code.
If there's any developer I would love to have some suggestions so that I don't start from zero investigating the code.
Also if there's a need to do Models editing I'm into learning Blender ( There's a course on udemy that seems good ) but I have zero experience in graphics modelling and stuff like that.

Thanks guys!

PS: also I would like to have the old crossbow weapon which I like more.
Title: Re: Left-handed weapons
Post by: TЯISTAП on August 11, 2020, 12:25:01 PM
very interesting, i don't know how to create it but i hope you find someone to help. in case i would be the first to install it as i use the mouse on the left.
Title: Re: Left-handed weapons
Post by: Master on August 11, 2020, 04:11:16 PM
Hey, so about the left hand thing: Every weapon has a md5.cfg within their assigned folders. In those md5.cfg files you can find all sorts of stuff ^^ but there is one command called "mdltrans" that afaik has an impact on how the weapon model is rendered(how it gets translated to your hud) so try experimenting with that. Here is a download link for the old ctf hudguns: (https://www.sendspace.com/file/5uyaxf) Just place them in your models folder and when you want to use them you just type /hudgunsdir "hudguns_ctf"; If you want to reset to your standard hudguns just type /hudgunsdir "" which will always be the hudguns assigned to your current playermodel. Also you should join the Sauerworld Discord, there are a lot of people on there that are waaaaay more competent than me and the current game developer also appears from time to time ^^ (invite link: https://discord.gg/QTV7QE) and you can add me on Discord aswell if you have any further specific questions about the stuff I said: Jomra#4673