OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: IGWedge on 20 Oct 2005, 11:38:07
-
Hi guys
Im really sorry to bother you with this one, and i have read all the topics i can on this.
I have also worked throuh BRSSEB's Tuts as well.....to no avail.
I am making a very simple sign wich i have created and textured.
I have created the Geom Lod (no sides touching the original) and set mass.
I then saved the selection as component01 as suggested. I save then PBO then load it up.
First off i managed to get some kind of Geom working as i could shoot the sign and blow it up but could still walk through it.After reading some posts on similar topics i tried the whole process again IE. deleting the components, re-setting the mass creating new components etc
Now nothing is working :(
Any help would be greatly appreciated
Many thanks
Wedge
(ps.do your geom LODs have to be connected in any way?? i dont think they do i was just checking)
-
The geo lod has to be thick, even though the original isn't. I think it had to be at least 1/4 of one of the squares in O2. For example, if the original is like:
||
then the geo lod part has to be
| |
if you want it to stop soldier from walking through. And then of course you need to apply mass to it but you probably already know that. ;D
-
Looking at a BIS roadsign, they seem to have 1 Resolution lod, a Geometry lod and a View Geometry lod.
The Geometry LOD is made up of 1 selection.
This selection is only 8 points, 6 faces and is basically a rectangular slab which covers the area around the model.
Mass for the sign I was looking at was 100.000
There were no named properties.
Also the roadsigns have no entries in the game config, so the model properties are taken from the p3d file.
Planck
-
Thanks for the responses guys
Let me get this straight .... the Geom LOD can be bigger than the object??
I thought it was not able to break outside of the original ??
OK .... lol..... now thats left me a little confused.
I made a slab approx lets say 2 x 2 and then added the post which was about 0.1 x0.1
my geom lods were a fraction smaller than these originals.
I will mess with it until one of u guys can respond.
Many thanks once again
Wedge
-
Attached below is the 4-view from Oxygen for the sign I was looking at.
It shows the Geometry LOD, with the resolution LOD in the background (yellow).
Planck
-
So the Geom LOD is bigger than the original Object
-
Just slightly. ;D
Planck
-
ok thanks planck gonna give it another go
edit: just tried it....nothing
any chance i can send it to you to look at , maybe then you can tell me whats wrong with it!
-
Send it along............I will certainly look at it.........no promises though. ::)
Planck
-
ok thanks here is the link
http://ftp.internationalgamer.com/~wedge/Flashpoint/shad_sign.rar
-
Just for clarification:
BRSSEB wrote in his tut' that the geo lod shouldn't break
through the res-lod
This is totally wrong
Bear in mind that BRSSEB for sure didn't mean it technically
but practically. I reckon' having read a statement of himself
somewhere that he's aware about his confusing statement.
Fact is:
Resolution LOD(s) and collision LOD(s) (geo/fire geo/etc.)
do not depend on eachother in any way apart of that they require
eachother to make an addon work propperly.
The res-LOD does tell OFP how the object is looking like,
while the collision LOD is telling the engine - well how to calculate
collision.
If you create a 30x30x30 meter building in the res-lod,
and you create a 1x1x1 meter cube in geo lod, then
you will see a 30x30x30 meter building ingame, but
the only thing where you cannot walk through will be the
1x1x1 meter cube from the geo-lod.
hope this clears up some confusion now :)
~S~ CD
-
thanks chris i do understand a little better.
Actually Planck has just helped me fix my problem
so thanks to Planck for that and thanks to chris death for your input
Many thanks
Wedge
-
The fog lifts, the sky is finally clear :D
-
well nearly
ihave a new issue same as above except one thing!
its the opposite way round.I cant walk through things but my bullets go straight through!!
It seems that when i create a Geom LOD as an 8 cornered box its fine it only seems to happen with LODs that have more that 8 vertices.......any ideas ???
Many thanks
wedge
-
the geo lod is responsible for collision, the fire geo lod for bullets passing though or not. the easiest way is to copy the geo lod into the fire geo lod, but actually i don't recommend that unless the structure is very simple. normally the fire geo lod is more detailed than the geo lod.
the reason for the separation of geo and fire geo lod is that there are objects that you cannot pass through as person, but a bullet would easily penetrate, like a window, a thin wooden panel, etc.
to make it even more sophisticated (and to anticipate your likely next question ;) ) there's the view geo lod by which the rendering of all objects behind an object is handled and thus if AI would see you if you hid behind that object. (however, rendering of units behind an object can be forced by adding canocclude = 0 as named property, like it's done for bushes, etc.)
-
Thanks alot for that remcen
edit: Right i tried doing what you said withthe fire Geom but that didnt seem to work either...
i tried copying and pasting like you said nothing either. What do you class as complex. It seems that as long as i use a standard box with no other verticies i have no problems, the second i try and create geometry with more segments nothing works.when i create lots of basic geoms then it seems to work ok but you can imagine having a relatively complex object making 30 different small geoms is hardly practicle....im sure there is an easier way to do this.
???
-
The geometry lod and indeed the fire geometry lod must be made up of simple geometry elements.......like rectangular boxes or prisms.
You place them close together to represent the object.
You should try looking at some of BIS's models in Oxygen to see how they did it, that is a lot easier than trying to explain it in here. ;D
Planck
-
Yep, Planck is right.
Think about it like you would build up a LEGO house,
just that you can have the pieces in that size that you need
right now ;)
P.S: just not too small pieces (0.25 meter thinest)
~S~ CD
-
ok guys i will stick with it.
Jus tell me...
Is there a limit on the amount of components you can have??
Wedge
-
128 components, not more.
-
ok many thanks guys
once again im sorry if im a pain or you are repeating yourself.
Wedge