Sandstorm.ale
I am working on a Pygar planetscape, and I would like it to have a sandstorm. I have found two such files, and I shall now post what is in my Pad_Ambi_Day:
Under Entities:
{
entity_name="rtc_sandstorm_1",
type=PSYS,
template_name="rtc_sandstormsolid",
lt_grp=0,
srt_grp=2,
usr_flg=0,
flags=LIT_DYNAMIC + LIT_AMBIENT,
spatialprops={
pos={
34.035351,
120,
42.37141
},
orient={
{
0.994634,
-0.103453,
0
},
{
0.103453,
0.994634,
0
},
{
0,
0,
1
}
}
},
psysprops={
sparam=0
},
userprops={
Priority="Weather_FX_1"
}
},
{
entity_name="rtc_sandstorm_marker",
type=MARKER,
template_name="",
lt_grp=0,
srt_grp=0,
usr_flg=0,
spatialprops={
pos={
0,
422.260742,
-1157.379883
},
orient={
{
1,
0,
0
},
{
0,
1,
0
},
{
0,
0,
1
}
}
}
},
Under Events:
{
0,
START_PSYS,
{
"rtc_sandstorm_1"
},
{
duration=6000
}
},
{
0,
ATTACH_ENTITY,
{
"rtc_sandstorm_1",
"rtc_sandstorm_marker"
},
{
duration=6000,
offset={
0,
0,
0
},
up=Y_AXIS,
front=NEG_Z_AXIS,
target_part="",
target_type=ROOT,
flags=POSITION + ORIENTATION
}
},
And, just for effects, I have this in the Pad_Hardpoint:
{
entity_name="X/Marker_Weather",
type=MARKER,
template_name="",
lt_grp=0,
srt_grp=0,
usr_flg=0,
spatialprops={
pos={
4.805345,
37.609119,
237.962189
},
orient={
{
0.995289,
0,
0.096952
},
{
0.000169,
0.999999,
-0.001735
},
{
-0.096952,
0.001743,
0.995288
}
}
}
}
}
Now, when I open up on Pygar, I get the planetscape, but no sandstorm. What am I doing wrong?
MK
Under Entities:
{
entity_name="rtc_sandstorm_1",
type=PSYS,
template_name="rtc_sandstormsolid",
lt_grp=0,
srt_grp=2,
usr_flg=0,
flags=LIT_DYNAMIC + LIT_AMBIENT,
spatialprops={
pos={
34.035351,
120,
42.37141
},
orient={
{
0.994634,
-0.103453,
0
},
{
0.103453,
0.994634,
0
},
{
0,
0,
1
}
}
},
psysprops={
sparam=0
},
userprops={
Priority="Weather_FX_1"
}
},
{
entity_name="rtc_sandstorm_marker",
type=MARKER,
template_name="",
lt_grp=0,
srt_grp=0,
usr_flg=0,
spatialprops={
pos={
0,
422.260742,
-1157.379883
},
orient={
{
1,
0,
0
},
{
0,
1,
0
},
{
0,
0,
1
}
}
}
},
Under Events:
{
0,
START_PSYS,
{
"rtc_sandstorm_1"
},
{
duration=6000
}
},
{
0,
ATTACH_ENTITY,
{
"rtc_sandstorm_1",
"rtc_sandstorm_marker"
},
{
duration=6000,
offset={
0,
0,
0
},
up=Y_AXIS,
front=NEG_Z_AXIS,
target_part="",
target_type=ROOT,
flags=POSITION + ORIENTATION
}
},
And, just for effects, I have this in the Pad_Hardpoint:
{
entity_name="X/Marker_Weather",
type=MARKER,
template_name="",
lt_grp=0,
srt_grp=0,
usr_flg=0,
spatialprops={
pos={
4.805345,
37.609119,
237.962189
},
orient={
{
0.995289,
0,
0.096952
},
{
0.000169,
0.999999,
-0.001735
},
{
-0.096952,
0.001743,
0.995288
}
}
}
}
}
Now, when I open up on Pygar, I get the planetscape, but no sandstorm. What am I doing wrong?
MK