View topic - Its Boxxy!


All times are UTC + 1 hour


Post new topic Reply to topic  [ 19 posts ] 
Author Message
 Post subject: Its Boxxy!
PostPosted: 23 Dec 2010, 04:47 
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
u mad?
Image

It is a crude hitbox editor. Actually more of a helper than an editor.

Image
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:
q/e
a/d
w/s
Scaling hitbox:
on the numpad
7/9
4/6
2/8
7/9
Changing from moving in 1 steps to 10 and back:
on the numpad
5

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.


Attachments:
File comment: jajaja
boxxyR1.zip [2.39 KiB]
Downloaded 116 times
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 23 Dec 2010, 05:05 
Modeler
User avatar

Joined: 15 Dec 2008, 15:53
Location: at front, llt pushing
can i post jaxxy pic plz ? :(

and good stuff, go make newb friendly upspring plox
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 23 Dec 2010, 05:15 
Blood & Steel Developer
User avatar

Joined: 25 Aug 2004, 12:31
Location: Has not played *a in years.
very nice knorke
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 23 Dec 2010, 05:19 
Content Developer
User avatar

Joined: 13 Jan 2005, 00:46
fuck yes, behe, knorke myself, who else has end o the year goodies?!?!
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 23 Dec 2010, 10:11 
Moderator

Joined: 12 Oct 2007, 08:24
Nice!

I was going to complain that you cannot change the volume type of the unit but instead I just added that functionality.

Numpad 1 and 3 to cycle volume types ellipsoid, cylinder X,Y and Z and box. For some reason you cannot change the hitvolume type if the unit does not have hitvolume type entered into it's unitdef, ie if it uses the default hitvolume you cannot change volume type. If someone wanted to fix all their hitvolumes they would need to add the type in unitdefs_posts.

Also I added collision volume test toggle with numpad 0, just for completeness.


Attachments:
boxxyR1 with volume type.zip [2.79 KiB]
Downloaded 89 times
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 23 Dec 2010, 10:48 
User avatar

Joined: 01 Apr 2010, 20:05
How about if you try that it outpots the info somewhere in spring folder as hitbox.txt?
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 23 Dec 2010, 12:41 
Tournaments Moderator
User avatar

Joined: 08 Dec 2007, 17:39
Location: UK - England
Wombat wrote:
can i post jaxxy pic plz ? :(


DO EEEEET
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 08 Nov 2011, 07:34 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
Updated boxxy with chili UI in toolbox mod.

Widget: https://code.google.com/p/springtutoria ... _boxxy.lua

Gadget: https://code.google.com/p/springtutoria ... _boxxy.lua
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 08 Nov 2011, 07:47 
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
knorke wrote:
inb4 "ololol make a real interface and more options"
who would have thought!

I think it would it be possible to make something that automagically creates unitdefs for all files in "object3d" folder? So one does not have to modify files and can just copy in 3d files.
The unitname would be like "boxxy_nameOf3dObject"
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 08 Nov 2011, 08:17 
MC: Legacy & Spring 1944 Developer
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
knorke wrote:
knorke wrote:
inb4 "ololol make a real interface and more options"
who would have thought!

I think it would it be possible to make something that automagically creates unitdefs for all files in "object3d" folder? So one does not have to modify files and can just copy in 3d files.
The unitname would be like "boxxy_nameOf3dObject"


Toolbox is supposed to sit 'on top' of a real game, no copy pasting other than the name of the mod into the dependency list. :P
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 01 Apr 2012, 03:13 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
I've finally used boxxy, and I can attest that it is the single greatest thing to ever grace mankind.

Nice work!
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 01 Apr 2012, 04:46 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
You're not using toolbox?
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 01 Apr 2012, 10:13 
User avatar

Joined: 22 Feb 2006, 01:02
Location: cheap kitchen
trollbox \o/
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 11 Jul 2012, 14:34 

Joined: 14 Jun 2012, 14:33
I'm trying to use boxxy, but the spheres/boxes won't show up in game. I see output from the text telling me what size the volume is and where it is placed, but no visuals. Also, my numpad doesn't seem to register in boxxy even though I can type with it.
All I see are some random arrow thingies on the ground away from the unit I am trying to measure (they stay stationary). Any suggestions? Am I missing some other widgets/gadgets that are needed to run this?
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 11 Jul 2012, 15:28 
MC: Legacy & Spring 1944 Developer
User avatar

Joined: 29 Apr 2005, 00:14
Location: #moddev - join it!
alt+v?
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 11 Jul 2012, 16:53 

Joined: 14 Jun 2012, 14:33
Well yeah alt + v shows the hitboxes on everything, but it doesn't show anything from boxxy besides the text.

Edit: The collision volumes are shown moving on some units, but not on others. Buildings don't seem to be showing any movement, even if they are the only thing spawned.
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 12 Jul 2012, 09:43 
Evolution RTS Developer
User avatar

Joined: 17 Nov 2005, 02:43
They changed it to some other command or some crap. The command to show spheres is different form the command to show boxes, because that totally makes the most sense.
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 12 Jul 2012, 13:24 
Journeywar Developer & Mapper
User avatar

Joined: 24 Jan 2006, 21:12
Location: Never go full Retro-ard! You just don't do it.
got the toolbox to work.. woohoooo
Top
 Offline Profile  
 
 Post subject: Re: Its Boxxy!
PostPosted: 12 Jul 2012, 13:42 
Moderator

Joined: 05 Aug 2009, 19:42
PicassoCT wrote:
got the toolbox to work.. woohoooo

as a part of journeywar? if it was a toolbox problem (or generally related to the gadgethandler), i'd be grateful if you posted the howto here: viewtopic.php?f=14&t=27268&start=20
Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Site layout created by Roflcopter et al.