Page 1 of 1

Trees not functioning

Posted: Fri Dec 14, 2007 10:14 pm
by Grev
Hidden/Spoiler:
Image
This is the problem on a new mod of mine, and here is what I used.

I used yav_prop_leaftree.odf and used yav_prop_leafttreebranch.tga.option and yav_prop_leaftree1.msh.. whats wrong?

Re: Trees not functioning

Posted: Fri Dec 14, 2007 10:24 pm
by Caleb1117
Horribly mutated transparentcy.
did you alter the texture at all?

Re: Trees not functioning

Posted: Fri Dec 14, 2007 10:35 pm
by authraw
It looks to me like you're missing a texture... Make sure you also have yav_tree_bark01.tga and yav_prop_leaftree_branch.tga in the folder with your .msh.

Re: Trees not functioning

Posted: Fri Dec 14, 2007 10:35 pm
by Grev
I modified the troopers skins (i am gonna brag for a while) but I didnt touch the trees at all...

Re: Trees not functioning

Posted: Fri Dec 14, 2007 10:40 pm
by Silas
the same thing happend for me, but, i copied the entire yavin folder. so basicly i had all the textures, but when munged and played, the leaves were gray. what in the world is wrong?

Re: Trees not functioning

Posted: Sat Dec 15, 2007 10:03 am
by Silas
Sorry for the double post, but i copied the entire yavin folder.....yet the leaves on the trees are BLACK
What is wrong? :cpu:

Re: Trees not functioning

Posted: Sat Dec 15, 2007 12:19 pm
by Teancum
If you open the odf it tells you what texture the leaves need. For example, if we open:

yav_prop_leaftree.odf
Hidden/Spoiler:
[GameObjectClass]

ClassLabel = "prop"
GeometryName = "yav_prop_leaftree1.msh"


[Properties]

GeometryName = "yav_prop_leaftree1"

AttachOdf = "yav_prop_leafpatch"
AttachToHardPoint = "hp_branch_6"
AttachToHardPoint = "hp_branch_7"
AttachToHardPoint = "hp_branch_9"
AttachToHardPoint = "hp_branch_11"
AttachToHardPoint = "hp_branch_2"
AttachToHardPoint = "hp_branch_3"

AttachOdf = "yav_prop_leafpatch2"
AttachToHardPoint = "hp_branch_15"
AttachToHardPoint = "hp_branch_17"
AttachToHardPoint = "hp_branch_12"

AttachOdf = "yav_prop_godray"
AttachToHardPoint = "hp_branch_2"
AttachToHardPoint = "hp_branch_7"
AttachToHardPoint = "hp_branch_11"
It tells us other odfs are attached. We're concerned with the two yav_prop_leafpatch odfs
Hidden/Spoiler:
[GameObjectClass]

ClassLabel = "leafpatch"
GeometryName = "hoth_prop_grass.msh"


[Properties]

Offset = "0.0 0.0 0.0"
HeightScale = "0.5"
MinSize = "7.0"
MaxSize = "8.0"
Alpha = "1.0"
NumParticles = "30"
MaxDistance = "1000"
Texture = "yav_leaf"
Radius = "12"
Height = "1"
MaxFallingLeaves = "6"
MaxScatterBirds = "3"

DarknessMin = "0.5"
DarknessMax = "1.0"
It's looking for yav_leaf.tga. The other leafpatch is looking for yav_leaf2.tga. Anyways, that the gist of how it works. Ya'll probably knew that, but I figured I'd share for those who didn't.

Re: Trees not functioning

Posted: Sat Dec 15, 2007 7:54 pm
by Grev
so I need to add all of these?
AttachOdf = "yav_prop_leafpatch"
AttachToHardPoint = "hp_branch_6"
AttachToHardPoint = "hp_branch_7"
AttachToHardPoint = "hp_branch_9"
AttachToHardPoint = "hp_branch_11"
AttachToHardPoint = "hp_branch_2"
AttachToHardPoint = "hp_branch_3"

AttachOdf = "yav_prop_leafpatch2"
AttachToHardPoint = "hp_branch_15"
AttachToHardPoint = "hp_branch_17"
AttachToHardPoint = "hp_branch_12"

AttachOdf = "yav_prop_godray"
AttachToHardPoint = "hp_branch_2"
AttachToHardPoint = "hp_branch_7"
AttachToHardPoint = "hp_branch_11
and
hoth_prop_grass.msh"
yav_leaf"
Or which do I need?

Re: Trees not functioning

Posted: Sun Dec 16, 2007 10:22 am
by Teancum
No, just make sure you have the textures for the lines I have in bold in the odfs I posted.