Object base 0m in O2,  - 9m in WRPTool?

WrpTool island creator utility

Moderators: Lone Wolf, Snake Man

Post Reply
scousejedi
Newbie
Posts: 3
Joined: 2006-09-23 01:53:21

Object base 0m in O2,  - 9m in WRPTool?

Post by scousejedi » 2006-09-22 22:13:38

Firstly, thanks Snakeman for the registration :)

I posted this in the main BIS forums but I have not found a really satisfactory answer.

Now, a little background......

Google Earth latest beta has a scale function which lets you see how big the area you are viewing is. While checking out Al Kut in Iraq (32.5N 45.83E if anyone is that sad) i noticed that the densely packed urban structures are almost in tiles 50 x 50m.

I lept like a gazelle into O2 and knocked up a 48 x 48m tile and buggered about for a few hours until the AI would walk through it.

Now I have only 1 problem with the model

If I place it normally within WRPTool it drops about 9m below the surface.

Now, from this very forum I learnt that OFP cannot place items above the ground so I have used the model inpector to manually set the height of each individual tile well above the ground and this seems to work but its a kludge and I want to know if there is something I should have done better in O2


Model Details:

In all LODs: the base if the model is 0 on z-axis
In Geo LOD:

Code: Select all

class house
map house
dammage house
Also I have set the mass so the marked centre of gravity in O2 is below the ground

OK heres a pic of the original intent - 6 models on show on the ground:

Image

And, after some advice from Chris Death who advised splitting the model up into 4 parts to aid the AI heres another WIP

Image
[hr]

So just to reiterate....

is there something I should do in WRPTool so that my model is placed at the right height or is there something in O2 I need to do?


Thanks,
Matt

klavan
Recruit
Posts: 38
Joined: 2005-12-03 16:41:34

Re: Object base 0m in O2,  - 9m in WRPTool?

Post by klavan » 2006-09-22 23:56:13

Try to move the objects/buildings above 0 on the z axis (in O2) untill you will reach the needed height above the surface once the objects/buildings are placed in WRPTool.
Klavan

scousejedi
Newbie
Posts: 3
Joined: 2006-09-23 01:53:21

Re: Object base 0m in O2,  - 9m in WRPTool?

Post by scousejedi » 2006-09-23 01:19:38

OMG Thanks,

Its such an obvious thing to do and it never occured to me!

Thanks - it means I can set the z-axis above the ground in one go with O2 rather than correcting every object in WRPTool

Nice one Klavan :)

Matt

Snake_Man

Re: Object base 0m in O2,  - 9m in WRPTool?

Post by Snake_Man » 2006-09-23 07:16:25

Could this perhaps be the same problem as with Agent Smith objects in the released WrpTool v0.950, hmm I haven't used the old public WrpTool in such long time that cant remember clearly, but I think so?

In that case its plain and simple WrpTool bug and would be fixed if you use the latest unreleased WrpTool v1.0. I dont suggest you modify the models in O2 to compensate this bug (if thats the case heh, check if AGS industrial objects cause the same problem).

scousejedi
Newbie
Posts: 3
Joined: 2006-09-23 01:53:21

Re: Object base 0m in O2,  - 9m in WRPTool?

Post by scousejedi » 2006-09-23 19:19:28

Well, Actually FAB has come up with something on the main forums

Ill quote it here for future reference...

FABs post on the BIS Modelling forums...

1st make sure your ground level in o2 is at z=0
then add a named property called "autocenter" and set it to 0 (i think it works in any lods but i usually put it in all lods just to make sure).

this will ensure the engine is not using the calculated center of the model to use as ground level... it will use z=0 instead

/end FAB

Seems straightforward.

As regards the unreleased WRPTool 1.0 Im an addon maker not an island maker so as long as I can chuck my models into a test_island.wrp I'm not bothered. I have no interest in refining an island to release so I'm probably the only person here to say: Release WRPTool 1.0 when its done - I want to use it not beta test it.
Last edited by scousejedi on 1970-01-01 00:00:00, edited 1 time in total.

klavan
Recruit
Posts: 38
Joined: 2005-12-03 16:41:34

Re: Object base 0m in O2,  - 9m in WRPTool?

Post by klavan » 2006-09-24 00:14:27

Very very interesting. Never eard of that property before, and i'm not the only one apparently, thinking how many hours i spent fixing such issues with objects and buildings created by people far more skilled than me lol.
Klavan
Last edited by klavan on 1970-01-01 00:00:00, edited 1 time in total.

ebud
VTE Dev
Posts: 386
Joined: 2003-10-27 03:22:20

Re: Object base 0m in O2,  - 9m in WRPTool?

Post by ebud » 2006-09-24 06:22:41

haha, same here. If I ever need to raise something I always just raised all the lods, added a box, merged the points and set it to 0,0,0. SOooooooo many O2 features as well I still have no clue as to what they do.

User avatar
Gnat
1st Lt
Posts: 120
Joined: 2004-01-07 08:46:56

Re: Object base 0m in O2,  - 9m in WRPTool?

Post by Gnat » 2006-09-24 14:43:53

so I'm probably the only person here to say: Release WRPTool 1.0 when its done - I want to use it not beta test it.
Actually, you might be ! :P

Nice info, thanks to FAB

Interesting when I was fooling around with building types yesterday (making my Letters) I accidently came across one "version" that I noticed the AI in my group "Scanned" (looked at each building for a second, rotated to the next) them 1 at a time, over and over ..... weird, I had never noticed that behaviour before ...... anyone ?

klavan
Recruit
Posts: 38
Joined: 2005-12-03 16:41:34

Re: Object base 0m in O2,  - 9m in WRPTool?

Post by klavan » 2006-09-24 23:21:38

Interesting when I was fooling around with building types yesterday (making my Letters) I accidently came across one "version" that I noticed the AI in my group "Scanned" (looked at each building for a second, rotated to the next) them 1 at a time, over and over ..... weird, I had never noticed that behaviour before ...... anyone ?
Hehe, probably they was simply surprised to see such weird things. ;D ;)
Klavan
Last edited by klavan on 1970-01-01 00:00:00, edited 1 time in total.

User avatar
Gnat
1st Lt
Posts: 120
Joined: 2004-01-07 08:46:56

Re: Object base 0m in O2,  - 9m in WRPTool?

Post by Gnat » 2006-09-26 12:47:30

Hehe, probably they was simply surprised to see such weird things.  ;D ;)
Klavan
LOL ... well ... could be.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest