Important Message

You are browsing the archived Lancers Reactor forums. You cannot register or login.
The content may be outdated and links may not be functional.


To get the latest in Freelancer news, mods, modding and downloads, go to
The-Starport

.thn-File + moving object

The general place to discuss MOD''ing Freelancer!

Post Mon Feb 13, 2006 1:21 pm

.thn-File + moving object

My entries:

<pre><font size=1 face=Courier>{
entity_name="Ships_pallas",
type=COMPOUND,
template_name="pallas",
lt_grp=4,
srt_grp=0,
usr_flg=0,
flags=LIT_DYNAMIC,
spatialprops={
pos={
-4000.0,
-500.0,
-500.0
},
orient={
{
-1,
0,
0
},
{
0,
1,
0
},
{
-0,
0,
-1
}
},
},
userprops={
category="Spaceship"
},
},
{
entity_name="Path_1",
type=MOTION_PATH,
template_name="",
lt_grp=0,
srt_grp=0,
usr_flg=0,
spatialprops={
pos={
-4000,
0,
-500
},
orient={
{
-1,
0,
0
},
{
0,
1,
0
},
{
-0,
0,
-1
}
}
},
pathprops={
path_type="CV_CROrientationSplinePath",
path_data="OPEN, {-4000.0,0.0,-500}, {1.000000,0.000000,0.000000,0.000000}, {-4000.0,0.0,15000.0}, {1.000000,0.000000,0.000000,0.000000}, "
}
},

and

{
2,
START_PATH_ANIMATION,
{
"Ships_pallas",
"Path_1"
},
{
duration=60,
start_percent=0,
stop_percent=1,
offset={
0,
0,
0
},
up=Y_AXIS,
front=NEG_Z_AXIS,
flags=POSITION + ORIENTATION + LOOK_AT
}
} </font></pre>

Simply question: What's wrong with this that the ship which should move along the path isn't showing up?

There should the ship move along:
[IMGhttp://img112.imageshack.us/img112/5/koords6hs.th.jpg[/IMG
and it should appear from behind the camera (at -4000,0:0:0)



Edited by - burzelmann on 2/13/2006 1:31:12 PM

Post Tue Feb 14, 2006 5:39 am

Where are all the high skilled .thn-modder Come on .. help a new to get experienced with this. Please, please...

Edited by - burzelmann on 2/14/2006 5:41:01 AM

Post Tue Feb 14, 2006 7:31 am

Ok. I solved the problem. I didn't set the pos for the path to 0. Now the ship is moving along the path, but it appears to be black. What could be responsible for this and are there any solutions? Plz help

Post Tue Feb 14, 2006 12:45 pm

Maybe you should move your lighting back. Becuase it could be to close to the planets.

QuEsTiOn AsKeR
Last Hope MOD

Post Tue Feb 14, 2006 1:06 pm


Where are all the high skilled .thn-modder

There aren't many of them, most people freak out when they see whats inside a THN.
If I remember right each item type has it's own light group, either you're using the default setting (black) because you haven't created it or left the one your using at 0,0,0 RGB for Black.

**shuffles of with a new headache**

Post Tue Feb 14, 2006 10:03 pm

there seem to be some hardcoded light groups.
i didnt check them all, but i used lt_grp=0 on the ship and lt_grp=3 for the light itself.
maybe try some different light groups or use the same as i did, they work for me.

Return to Freelancer General Editing Forum