Problem with new animation sequence
I am well and truly stumped! I've created a new animation sequence in the .thn format, it's in DATA\SCRIPTS\INTRO and is called intro_jupiter.thn. I basically nicked one from the TNG MOD and edited it! Here's what I've got:
This is a new intro sequence called Jupiter, and has the planet Jupiter (planet_storm_5000) and two moons (planet_icemoon_800 and (planet_crater_800). Later on I'm gonna add some sleeper ships whizzing past.
Then in the DATA\UNIVERSE\INTRO folder i've created the necessary files.
DATA\UNIVERSE\SYSTEMS\INTRO\BASES\Intro4_base.ini:
DATA\UNIVERSE\SYSTEMS\INTRO\BASES\ROOMS\intro4_jupiter.ini:
The music will be changed in this file, and the other Intro ones, at a later date, once i can get round this problem .
The game CTD when I load up, but only every now and then. When the other three load up (intro1_planetscape, intro2_planetchunks, and intro3_volcano) there are no problems, just this doesn't work, grr...
I suspect its something to do with DATA\UNIVERSE\SYSTEMS\INTRO\Intro.ini, but then again it could be anything!
Any help would be greatly appreciated,
Cheers,
Dale
There you have it!
Any help would be greatly appreciated!
-/-/-/-/-/-/-/-
http://www.cardamine.net/ - New and improved, with downloads, and a forum!
duration=2400
entities={
{
entity_name="Scene_jupiter",
type=SCENE,
template_name="",
lt_grp=0,
srt_grp=0,
usr_flg=0,
spatialprops={
pos={
0,
0,
0
},
orient={
{
1,
0,
0
},
{
0,
1,
0
},
{
0,
0,
1
}
}
},
up=Y_AXIS,
front=Z_AXIS,
ambient={
128,
128,
128
}
},
{
entity_name="Jupiter",
type=COMPOUND,
template_name="planet_storm_5000",
lt_grp=9,
srt_grp=0,
usr_flg=0,
flags=LIT_DYNAMIC,
spatialprops={
pos={
-1200,
0,
2500
},
orient={
{
0.854599,
0.467249,
-0.226583
},
{
0.485062,
-0.874061,
0.027052
},
{
-0.185407,
-0.133025,
-0.973616
}
}
},
userprops={
category="Solar"
}
},
{
entity_name="Light_2group9",
type=LIGHT,
template_name="",
lt_grp=9,
srt_grp=0,
usr_flg=0,
spatialprops={
pos={
-500,
20,
2000
},
orient={
{
-0.1,
-0.1,
-0.1
},
{
-0.1,
-0.1,
-0.1
},
{
-0.8,
-0.4,
0.4
}
}
},
lightprops={
on=Y,
color={
255,
255,
255
},
diffuse={
0.976471,
0.905882,
0.835294
},
specular={
0,
0,
0
},
ambient={
0,
0,
0
},
direction={
0,
0,
1
},
range=2000,
cutoff=98.999977,
type=L_DIRECT,
theta=90,
atten={
1,
0,
4e-006
}
}
},
{
entity_name="Jupiter_Moon_1",
type=COMPOUND,
template_name="planet_crater_800",
lt_grp=2,
srt_grp=0,
usr_flg=0,
flags=LIT_DYNAMIC,
spatialprops={
pos={
1525.922852,
-261.090546,
5317.884766
},
orient={
{
0.854599,
0.467249,
-0.226583
},
{
0.485062,
-0.874061,
0.027052
},
{
-0.185407,
-0.133025,
-0.973616
}
}
},
userprops={
category="Solar"
}
},
{
entity_name="Light_planetsorange_group2",
type=LIGHT,
template_name="",
lt_grp=2,
srt_grp=0,
usr_flg=0,
spatialprops={
pos={
-474.296448,
0,
4799.318359
},
orient={
{
0.766427,
0,
-0.642331
},
{
0,
1,
0
},
{
0.642331,
0,
0.766427
}
}
},
lightprops={
on=Y,
color={
255,
255,
255
},
diffuse={
0.976471,
0.905882,
0.835294
},
specular={
0,
0,
0
},
ambient={
0,
0,
0
},
direction={
0,
0,
1
},
range=2000,
cutoff=98.999977,
type=L_DIRECT,
theta=90,
atten={
1,
0,
4e-006
}
}
},
{
entity_name="Light_2group1",
type=LIGHT,
template_name="",
lt_grp=1,
srt_grp=0,
usr_flg=0,
spatialprops={
pos={
-289.660126,
0,
5627.14209
},
orient={
{
-0.98378,
0,
-0.179381
},
{
0,
1,
0
},
{
0.179381,
0,
-0.98378
}
}
},
lightprops={
on=Y,
color={
255,
255,
255
},
diffuse={
0.066667,
0.090196,
0.223529
},
specular={
0,
0,
0
},
ambient={
0.070588,
0.070588,
0.070588
},
direction={
0,
0,
1
},
range=2000,
cutoff=98.999977,
type=L_DIRECT,
theta=90,
atten={
1,
0,
4e-006
}
}
},
{
entity_name="Jupiter_Moon_2",
type=COMPOUND,
template_name="planet_icemoon_800",
lt_grp=2,
srt_grp=0,
usr_flg=0,
flags=LIT_DYNAMIC,
spatialprops={
pos={
825.072083,
0,
3386.557373
},
orient={
{
1,
0,
0
},
{
0,
1,
0
},
{
0,
0,
1
}
}
},
userprops={
category="Solar"
}
},
{
0,
SET_CAMERA,
{
"Monitor_1",
"Camera_1"
}
}
}
This is a new intro sequence called Jupiter, and has the planet Jupiter (planet_storm_5000) and two moons (planet_icemoon_800 and (planet_crater_800). Later on I'm gonna add some sleeper ships whizzing past.
Then in the DATA\UNIVERSE\INTRO folder i've created the necessary files.
DATA\UNIVERSE\SYSTEMS\INTRO\BASES\Intro4_base.ini:
[BaseInfo
nickname = intro4_base
start_room = Cityscape
[Room
nickname = Cityscape
file = Universe\Systems\Intro\Bases\Rooms\intro4_jupiter.ini
DATA\UNIVERSE\SYSTEMS\INTRO\BASES\ROOMS\intro4_jupiter.ini:
[Room_Info
scene = ambient, Scripts\Intro\Intro_jupiter.thn
[Room_Sound
music = music_failure
The music will be changed in this file, and the other Intro ones, at a later date, once i can get round this problem .
The game CTD when I load up, but only every now and then. When the other three load up (intro1_planetscape, intro2_planetchunks, and intro3_volcano) there are no problems, just this doesn't work, grr...
I suspect its something to do with DATA\UNIVERSE\SYSTEMS\INTRO\Intro.ini, but then again it could be anything!
Any help would be greatly appreciated,
Cheers,
Dale
There you have it!
Any help would be greatly appreciated!
-/-/-/-/-/-/-/-
http://www.cardamine.net/ - New and improved, with downloads, and a forum!