It is a crude hitbox editor. Actually more of a helper than an editor.TL;DR
press buttons, hitbox changes, copy numbers to unitdef.
How to use:
copy tp_buttonsender.lua into your widget folder
copy tp_boxxy.lua into the luarules\gadgets folder of your mod
type /cheat in chat.
press alt + d to enable debug mode.
the black circles & boxes are the hitboxes.
type /give unitname in chat
you can only edit one hitbox at a time: the one of the last spawned unit.
a marker will be placed on the unit "blabla you can now edit this units hitbox"
Mash buttons until you like boxxy.
Write down the numbers from chat or copy them from infolog.txt
Put them in your unitdef file.
The keys are:
Moving hitbox around:
Scaling hitbox:on the numpad
Changing from moving in 1 steps to 10 and back:on the numpad
Look at the keyboard how the keys are layed out, it makes sense if you ever had to play Descent with keyboard
I tested editing of boxes and spheres/ellipsioisediedetes or how you spell that.
You can not (yet) change from box to sphere etc.
I made this mainly for myself but if someone finds this helpful, nice.
So I do not mind that during typing the console will spam some crap, just ignore it.
inb4 "ololol make a real interface and more options"
I dont need that and unless there is interesst that anybody actually needs this, I will not spend time on this.
This is version 1 and I only ever tested it on two units. There might be bugs like axes flipped, I hope not.This does not change anything in your mod on its own.