Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat Apr 20, 2024 10:00 am
All times are UTC + 0
Voxels and Turrets Offsets: The Research.
Moderators: Community Tools Developpers
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Wed Sep 13, 2006 2:59 am    Post subject:  Voxels and Turrets Offsets: The Research.
Subject description: For those wondering why OS:VV 1.75 is delaying...
Reply with quote  Mark this post and the followings unread

I'm starting to implement Turret Offsets here. Hopefully, by the next versions, we'll have turret offsets and barrel offsets for both axis x and y (maybe the game accepts z, but I haven't seen any example yet).

The problem is that the scale (leptons???) is not very clear for me.

For westwood voxels, the vast majority worked well when the values of the turret offset were divided by 10.

The only voxel exported with ViPr's 3ds2vxl, from TAKTICS kindly provided by Icyson55, worked well with its original value.



I'm attaching some pictures of voxels showing the results.



art2_000.jpg
 Description:
Nod Advanced Artillery. Art.ini Turret Offset: -56. Working Turret Offset from the screenie: -5,6
 Filesize:  54.93 KB
 Viewed:  4450 Time(s)

art2_000.jpg



ttnk_000.jpg
 Description:
Nod Tick Tank. Art.ini Turret Offset: 64. Working Turret Offset from the screenie: 6,4
 Filesize:  57.91 KB
 Viewed:  4450 Time(s)

ttnk_000.jpg



mab_000.jpg
 Description:
TAKTICS Medium Autobomb generated by 3ds2vxl. Art.ini and screenshot turret offset: -19 or -19.475904. Both worked perfectly.
 Filesize:  63.33 KB
 Viewed:  4450 Time(s)

mab_000.jpg



htk_000.jpg
 Description:
Soviet Half Track. Art.ini Turret Offset: -80. Working Turret Offset from the screenie: -16
 Filesize:  75.83 KB
 Viewed:  4450 Time(s)

htk_000.jpg



harv_000.jpg
 Description:
Soviet Ore Miner.Art.ini Turret Offset: 50. Working Turret Offset from the screenie: 5
 Filesize:  63.5 KB
 Viewed:  4450 Time(s)

harv_000.jpg



Back to top
View user's profile Send private message Visit poster's website Skype Account
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Wed Sep 13, 2006 8:02 am    Post subject: Reply with quote  Mark this post and the followings unread

This is interesting. I've used turretoffset=X sometimes for some of my voxels.
So, this option gives the right offset value that can be used in art.ini, right?

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Wed Sep 13, 2006 10:59 am    Post subject: Reply with quote  Mark this post and the followings unread

If I make it work correctly... however, I need to know all factors that affect it and there is one that most of WW voxels work well when I divided the value by 10, which is not in the HVA transformation matrix, neither in the voxel bounds thing.

Back to top
View user's profile Send private message Visit poster's website Skype Account
ViPr
Gauss Rifle Trooper


Joined: 30 Dec 2004

PostPosted: Wed Sep 13, 2006 2:30 pm    Post subject: Reply with quote  Mark this post and the followings unread

actually i think the number is 12 not 10. i have done something in my code that uses the number 12 somehow and in the VXL or HVA documentation the number 1/12 is stored in the files in a variable called det for some reason. i can't remember what is going on there, i will have to study that section of the code again to refresh my memory. and btw do not base your research on my program because it may not be right.

was it that the HVA positions have to be multiplied by 12 to make them match the voxel bounds and turret offsets?

Back to top
View user's profile Send private message
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Wed Sep 13, 2006 5:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thank you very much! It works perfectly! Or almost... I just need a screenshot to confirm the real position from the Magnetron turret.


Edit: I've multiplied the Det with the Offset. Add this result with the min bounds value for your axis.

Back to top
View user's profile Send private message Visit poster's website Skype Account
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Sun Sep 17, 2006 1:46 pm    Post subject: Reply with quote  Mark this post and the followings unread

It is odd since u wouldn't expect a 2d system to want a float number. In models u normaly have to divide the number so that u get a float from a shortint (that way it is a lower filesize), but thats with 3d models.

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1634s ][ Queries: 18 (0.0127s) ][ Debug on ]