Object always at groundlevel

WrpTool island creator utility

Moderators: Lone Wolf, Snake Man

Post Reply
rvirding
Recruit
Posts: 34
Joined: 2004-10-06 03:43:35
Contact:

Object always at groundlevel

Post by rvirding » 2005-01-21 02:13:06

I am making a model of a (real) town with a canal and harbour. The terriain shore line is too boviously rectangular so I need a model to place along the shore to mark it out and "hide" the terrain. The Resstance harbour models are too elaborate so I have made my own.

The model is a grey box 50x25x10m which I can place out like a road. It has a LOD, Geo, View Geo, Fire Geo, a Roadway on top so I can move on it, class house and dammage building. Absolutely very basic and nothing strange.

I am using WrpTool. WrpTool sees them as houses. When I place it out using 3D-view for height everything looks absolutley normal. It maybe appears a little too high but nothing dramatic. However in the game they follow the ground and change Y pos with it. No matter what I do in WrpTool. Defining them as houses in config.cpp does not help. In the game I see them as houses.

What is happening? Where is there position being changed so they follow the ground? Is it WrpTool that is trying to help me or is it OFP which is doing it? This is very annoying as it looks like my idea will work.

An extra question.
One problem is that I can not put trees or roads on them which I would like to do. Is it possible to make an "ground" object which behaves as if it were part of the ground?

Thanks for any help.
Last edited by rvirding on 1970-01-01 00:00:00, edited 1 time in total.

rvirding
Recruit
Posts: 34
Joined: 2004-10-06 03:43:35
Contact:

Re: Object always at groundlevel

Post by rvirding » 2005-01-21 10:54:37

Looking over my query in the cold light of dawn it seems a little muddled.

I set the elevation (to absolute value) in WrpTool and it seems happy with it, but when I run OFP the models now follow the elevation of the ground underneath them.

Setting the elevation relative the ground make no difference.

Having an object which you can place other ground hugging objects on, like roads and trees, would be an Enormous Win.

Recon
Recruit
Posts: 39
Joined: 2004-08-18 16:15:21

Re: Object always at groundlevel

Post by Recon » 2005-01-21 11:53:23

hmm,

sounds familiar. Try to binarize your addon. Putting objects on other objects is very hard.

rvirding
Recruit
Posts: 34
Joined: 2004-10-06 03:43:35
Contact:

Re: Object always at groundlevel

Post by rvirding » 2005-01-22 15:17:33

The problem has now been solved. They were binarized.

The solution was simple. To make it easier to place the harbour objects I put the origin of the model on the top surface. Simply by moving the origin somewhere else, in this case the center, everything now works and they remain at the elevation at which I put them. Why it does this at all is another question. And who does it. :-)

Of course the problem of the objects not being like the ground still remains. I can't lay roads or put trees on them which is a pain. Also while you can drive on them you have to be very careful at the intersection of road/ground and the harbour object. If you don't drive very slowly the vehicle is damaged. Same problem with bridges.

Sanyixus
Newbie
Posts: 7
Joined: 2005-02-14 01:03:49

Re: Object always at groundlevel

Post by Sanyixus » 2005-02-13 21:16:56

I've got same problem. In game the bridge sections are on ground level, but in wrptool higher. Is this problem caused by 4WVR wrp format? So i should to binarize my wrp? ??? But i cant understand why i need to place in the binarize directory, all of textures and models what i using in the wrp. Because i want to binarize ONLY the wrp. >:(

Recon
Recruit
Posts: 39
Joined: 2004-08-18 16:15:21

Re: Object always at groundlevel

Post by Recon » 2005-02-14 08:30:19

Wrptool only works with binariazed versions of objects, otherwise you get some strange errors, like objects being burried or floating. Another thing is the ground detail setting ingame, on 'normal' ofp generates small crests etc. Objects placed on the terrain will follow these.

Indeed the answer lies in binarizing your objects and putting the origin at the right place, just experiment and see what happens.

Sanyixus
Newbie
Posts: 7
Joined: 2005-02-14 01:03:49

Re: Object always at groundlevel

Post by Sanyixus » 2005-02-14 14:04:09

But my objects are binarized, most of them are original object from resistance. ONLY my wrp didn't binarized.
Now I see I need to use the binarize tool, but that isn't look like a professional tool :)
Last edited by Sanyixus on 1970-01-01 00:00:00, edited 1 time in total.

Sanyixus
Newbie
Posts: 7
Joined: 2005-02-14 01:03:49

Re: Object always at groundlevel

Post by Sanyixus » 2005-02-14 18:08:38

AAArrgghhh >:( I can't use this binarize tool!!! I tried with a tutorial, but it didn't work. :-[ I tried everythink but this shit doesn't works. I placed every addons what i use in the wrp to the binarize directory.
Here is the whole binarize directory
Image
..and the errors
Image
Image
And why binarize don't find the textures in data? All of them placed in data directory!

What is the problem????

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

Re: Object always at groundlevel

Post by Gnat » 2005-02-15 09:31:40

U run XP ?
Could be a problem with Bin and XP ..... I saw a thread in the OFPEC Forums ....... sorry, dont have the link, but try searching under "XP"

Sanyixus
Newbie
Posts: 7
Joined: 2005-02-14 01:03:49

Re: Object always at groundlevel

Post by Sanyixus » 2005-02-15 14:02:21

Yes I run Windows XP sp2. :)

Sanyixus
Newbie
Posts: 7
Joined: 2005-02-14 01:03:49

Re: Object always at groundlevel

Post by Sanyixus » 2005-02-16 15:29:30

OOhh i fixed some problems with the binarize , and this is the last error, but i don't know what is this: Image

What is this??? Plz help me!!
Last edited by Sanyixus 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 always at groundlevel

Post by Gnat » 2005-02-17 11:34:08

no picture ...............

Sanyixus
Newbie
Posts: 7
Joined: 2005-02-14 01:03:49

Re: Object always at groundlevel

Post by Sanyixus » 2005-02-17 14:01:08

no picture ...............
Sorry, but that error have been fixed, but left 1 error. "binarize.exe has encountered a problem, and needs to close, send error report, dont send....

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests