Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Molaris on September 25, 2014, 02:30:15 pm
-
ok, so I'm getting sick of the 119 errors on my mod I threw together, and since "most" of them are LOD errors complaining about no 3rd/4th detail set, how do I fix that. I think I saw a file that set them up a while ago in a different mod, but I just am seeking clarification. Didn't see much on the wiki when I searched for "LOD" or "Level of Detail". What am I missing?
Molaris
-
-wxp.tbm
-
Option 1
1. Make a file named "UFOPorno-wxp" in your Tables folder.
2. Give it "tbm" extension.
3. Open it.
4. Write something like this:
#Start
$Name: ehit-orange
$LOD: 1
$Name: ParticleSmoke01
$LOD: 1
$Name: SubachHl9_hit
$LOD: 1
$Name: Dazzler_Impact
$LOD: 1
$Name: Kratos_Impact
$LOD: 1
$Name: Shrike_Impact
$LOD: 1
$Name: Incisor_Impact
$LOD: 1
$Name: exp_plasma
$LOD: 1
$Name: Shivan_Impact02
$LOD: 1
$Name: bexp04
$LOD: 1
$Name: exp04
$LOD: 1
$Name: ElecM-Impct-Js
$LOD: 1
$Name: YarFlak
$LOD: 1
#end
This table defines something in explosion of your weapons. I don't know how this work, but it's required if You have custom weapon explosions. If it's not obvious, you may set different name. "-wxp" entry and "tbm" extension are the most important.
Option 2
1. Open buggy model in PCS2
2. Check how many Level of Details it has.
3. Find it's entry in ships table.
4. Find $Detail distance.
5. Set proper LOD count. The numbers of this are distances that tells engine from what distance each LOD is displayed. If your models has four lods [it should], set four entries.
Keep in mind that this is altering, depending on size of the model. For example, this is for fighter:
$Detail distance: (0, 40, 80, 220)
And this is for 1km vessel:
$Detail distance: (0, 1500, 8000, 12000)
I hope that help.
-
That is PERFECT! I will give it a try and get back to you. Thank you Betrayal. Tired of the bugs crashing my game :-(
have you ever had the Subach HL-7 do a spray effect on hit? There is no flag for it in my table. There is just a big colorful spray when it impacts. I can't remember what I changed last that started it.
-
Spray effect U say... I haven't seen Subach for a long time, as it's not used in my mod, but as far as I know, hit animation of the Subach in MediaVPs looks like that. There is no flag required for such effect, just proper hit animation.