Author Topic: HandOb maker  (Read 29295 times)

Offline bohemond

  • Sergeant
  • **
  • Posts: 44
    • View Profile
HandOb maker
« on: May 02, 2020, 05:39:05 pm »
I recently made a tool for myself to make creating HandObs easier. It creates HandOb sprites and a FloorOb sprite based on a BigOb. It also positions the sprite correctly, which always takes me a long time. Well, that's why I made the tool. It exports in the single-file format, because that was just simpler to make.

A few pictures so you can see how it looks are included.

I tested it on a few random sprites I found on the forum and on a fire axe I made. That fire axe was actually what started it all. :)

As far as I can tell, it positions the HandObs correctly for both single-handed and two-handed weapons. There is a lot of options you can play around with to make it look reasonable.

It can export in 32bits, UFO palette and TFTD palette. The exported sprite will probably need some work.

It's VB.NET, and the code is a mess of course.

GitHub repository: https://github.com/bohemond-of-antioch/HandObMaker
Releases: https://github.com/bohemond-of-antioch/HandObMaker/releases
Documentation: https://github.com/bohemond-of-antioch/HandObMaker/wiki

It will probably require some .NET framework stuff to run. 4.5 or thereabouts, as far as installing that, you're on your own. If you encounter any other problems with running the program, I will try to help.


I'm releasing this under Creative Commons 0 license.
« Last Edit: March 12, 2022, 10:11:34 am by bohemond »

Offline efrenespartano

  • Commander
  • *****
  • Posts: 765
  • I know a lot about the law and other lawyerings.
    • View Profile
Re: HandOb maker
« Reply #1 on: May 03, 2020, 12:28:28 am »
Quote
This looks SO INTERESTING! I'm going to give it a try, will ease a lot the weapon sprite creation!

Thanks for making it and for sharing it.

Mate, your tool is freaking amazing. I'm (manly) crying of the joy. Works delightly. As you pointed, the sprite generated may need some love, but this ease many hours of work. Thanks a lot.

In words of my friend Hans Woofington "this is the best shit i have seen all year". Thanks for making our lives easier, you are a god among men.

https://tenor.com/view/blessing-from-the-lord-god-be-praised-monty-python-gif-13305700

I'm attaching a comparisation between a generated handOb and a handmade one of the same weapon.

Offline Anon011

  • Sergeant
  • **
  • Posts: 42
    • View Profile
Re: HandOb maker
« Reply #2 on: May 03, 2020, 12:57:21 am »
Wow great job!

Offline kevL

  • Colonel
  • ****
  • Posts: 482
  • pitchforks and torches
    • View Profile
Re: HandOb maker
« Reply #3 on: May 03, 2020, 01:13:11 am »
yeah wow. those transformations look superb! I tried doing some in Gimp a while back and it was a mess ...

Offline Hans Woofington

  • Squaddie
  • *
  • Posts: 5
    • View Profile
Re: HandOb maker
« Reply #4 on: May 03, 2020, 01:20:21 am »
oh my god! this is amazing!
thanks a ton for making this!

Offline bohemond

  • Sergeant
  • **
  • Posts: 44
    • View Profile
Re: HandOb maker
« Reply #5 on: May 04, 2020, 01:51:28 am »
Thank you, I'm glad that you like it.

Offline Dioxine

  • Commander
  • *****
  • Posts: 5458
  • punk not dead
    • View Profile
    • Nocturnal Productions
Re: HandOb maker
« Reply #6 on: May 04, 2020, 03:50:44 pm »
Great tool, 10/10. Cant eliminate some manual work on details, but gets rid of all the boring parts, and I guess it does it as good as it is possible for such software.

Offline robin

  • Commander
  • *****
  • Posts: 1224
  • ULTIMATE ROOKIE
    • View Profile
Re: HandOb maker
« Reply #7 on: May 04, 2020, 09:15:03 pm »
Really great tool!

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: HandOb maker
« Reply #8 on: May 04, 2020, 09:20:21 pm »
Now expand it to creating units :D

Offline osd_daedalus

  • Sergeant
  • **
  • Posts: 31
    • View Profile
Re: HandOb maker
« Reply #9 on: May 05, 2020, 12:44:03 am »
Give this guy a Uber-Ethereal shroud and stick this thread!
Bravo, well appreciated! :-D

Just for the chronicles... sources will compile and run on Linux with mono, as long as mono-vbnc is installed, but will crash as you try to export FloorOb/HandOb.

EDIT: giving it a try again, it crashed while using resources from old UFO2000 assets (many of them are oversized according to your tool). I tried again on XComFiles resources and it works like a charm :D
So... yes, it works on Linux :D
« Last Edit: May 09, 2020, 09:21:15 pm by osd_daedalus »

Offline Docent

  • Colonel
  • ****
  • Posts: 101
    • View Profile
Re: HandOb maker
« Reply #10 on: May 07, 2020, 02:45:56 pm »
Wooooooooooowwww!!!!!!! It`s, it`s, it`s... Amazing!!!

xcomfan

  • Guest
Re: HandOb maker
« Reply #11 on: May 07, 2020, 06:18:35 pm »
Now expand it to creating units :D

yes, might be like upgrandin in xpiratez from workshop--->factory  ;D ;D

Offline FilmFan84

  • Squaddie
  • *
  • Posts: 4
    • View Profile
Re: HandOb maker
« Reply #12 on: May 11, 2020, 12:43:58 am »
@bohemond Thank-you sir!

This is a wonderful tool; it's even useful for people like myself over at OpenApoc as we need similar Handobs, but at higher resolution for X-COM: Apocalypse

Looking forward to seeing how you develop this tool

Probably my only request, and with Apoc in mind, can it be made to support generation of higher-res sprites as i'm struuggling to get it to work with 80x40px EquiPics?
« Last Edit: May 11, 2020, 12:45:53 am by FilmFan84 »

Offline osd_daedalus

  • Sergeant
  • **
  • Posts: 31
    • View Profile
Re: HandOb maker
« Reply #13 on: May 11, 2020, 01:18:27 am »
Just to report some feedback...

I got some old sprite from Galactic weapon set from UFO2000, adjusted with Gimp, used HandObMaker to get HandOb and FloorOb by playing with options, lost my mind on palettes (btw thank you Meridian and ohartenstein23) and...
Not bad result, isn't it?  :)


Have you loaded your source into Github / other repository with versioning system? I'd be happy to attempt to contribute to the code, or at least to report bugs (I got various crashes for "out of index")

ADD: by request, here's the bigOb/FloorOb/HandOb of that weapon. I'm uploading also the original Floor/HandObs from UFO2000 for comparison.
Disclaimer: if you are going to use them for a project, being it a UFO2000 derivative, it's under GNU GPL v2. *
* to check if sprites are on same license.
« Last Edit: May 11, 2020, 08:37:41 pm by osd_daedalus »

Offline Bobit

  • Colonel
  • ****
  • Posts: 186
    • View Profile
Re: HandOb maker
« Reply #14 on: May 11, 2020, 03:04:38 am »
The fact that you can take a random sprite from a completely different game and make it work...

If this were to be expanded to units by someone else they would need to know Visual Basic.