How to offset voxels ?

Discuss all aspects of editing for ZDoom.
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

How to offset voxels ?

Postby Kappes Buur » Fri Mar 21, 2014 6:29 pm

While it is easy to apply an offset to a sprite

Image

is there a way to apply an offset to a voxel ?

Image
Last edited by Kappes Buur on Sat Mar 22, 2014 9:39 pm, edited 2 times in total.
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada

Re: How to offset voxels ?

Postby The Zombie Killer » Sat Mar 22, 2014 1:47 am

You would probably need to edit the voxel itself, as there doesn't appear to be any form of "ZOffset" setting in VOXELDEF.
User avatar
The Zombie Killer
King of the Kangaroos
 
Joined: 14 Jul 2011
Location: Gold Coast, Queensland, Australia
Discord: Zombie#1795

Re: How to offset voxels ?

Postby Kappes Buur » Sat Mar 22, 2014 1:05 pm

The Zombie Killer wrote:..... as there doesn't appear to be any form of "ZOffset" setting in VOXELDEF.


Yup, I noticed that, hence I am asking. But thanks anyway.

I downloaded an app named kvxoffset. However, it is to be run from the command line and there is no help attached to it,
or any kind of documentation.

Does anyone have some experience with this app ?
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada

Re: How to offset voxels ?

Postby The Zombie Killer » Sat Mar 22, 2014 8:09 pm

kvxoffset is for auto-offsetting a voxel to be on the floor, as far as I know it doesn't allow custom offsetting.
User avatar
The Zombie Killer
King of the Kangaroos
 
Joined: 14 Jul 2011
Location: Gold Coast, Queensland, Australia
Discord: Zombie#1795

Re: How to offset voxels ?

Postby Kappes Buur » Sat Mar 22, 2014 8:37 pm

So, exactly the opposite to what I would like to achieve.

Thanks, again.
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada

Re: How to offset voxels ?

Postby Nash » Sat Mar 22, 2014 9:43 pm

I think it should be a feature suggestion!
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: How to offset voxels ?

Postby Scientist » Fri Mar 28, 2014 12:12 am

You can change the z-offset of a voxel object in 2 steps:
1. In Doombuilder set the Z-Offset of the thing (voxel).
2. In your decorate entry you need the add the "+NOGRAVITY" tag to the object.
User avatar
Scientist
space is green
 
Joined: 05 Jul 2005
Location: the Netherlands

Re: How to offset voxels ?

Postby Kappes Buur » Fri Mar 28, 2014 12:21 am

Scientist wrote:You can change the z-offset of a voxel object in 2 steps:
1. In Doombuilder set the Z-Offset of the thing (voxel).
2. In your decorate entry you need the add the "+NOGRAVITY" tag to the object.


1. right, you can give the voxel a z-offset, but as soon as the level starts the voxel falls to the floor.
2. since the voxel just replaces the sprite, there should be no DECORATE involved.
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada

Re: How to offset voxels ?

Postby randi » Sat Mar 29, 2014 5:01 pm

Open it in slab6 and move the origin down?
User avatar
randi
Site Admin
 
Joined: 10 Jul 2003

Re: How to offset voxels ?

Postby Kappes Buur » Sun Mar 30, 2014 12:58 am

randi wrote:Open it in slab6 and move the origin down?


That was my very first thought. However, Slab6 does not work on my system. The mouse is going crazy.
While MagicaVoxel works very well, I doesn't let me save anything.

Since you are suggesting Slab6, I take it, that something within VOXELDEF is not possible. :-(
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada

Re: How to offset voxels ?

Postby randi » Sun Mar 30, 2014 4:31 pm

You can't even run it in DOSBox?
User avatar
randi
Site Admin
 
Joined: 10 Jul 2003

Re: How to offset voxels ?

Postby amv2k9 » Wed Apr 02, 2014 3:36 pm

If you manage to get SLAB6 working, you can check out this tutorial I made that shows how to offset voxels in SLAB6.
User avatar
amv2k9
That Strife Guy
 
Joined: 10 Jan 2010
Location: Southern California

Re: How to offset voxels ?

Postby Kappes Buur » Tue Apr 08, 2014 10:08 am

I finally have Slab6 running in a state where I can do something with the voxels.

Spoiler:

For those interested in knowing how I did the z-offset, you can read this.
User avatar
Kappes Buur
 
 
 
Joined: 17 Jul 2003
Location: British Columbia, Canada


Return to Editing (Archive)

Who is online

Users browsing this forum: No registered users and 1 guest