Hi all,
i am trying to get a part of an intro to play through a dragunov scope i used this line in my intro.sqs
cutrsc ["Dragunov","PLAIN",1000]
and here is the part of my description.ext
class RscObject
{
type = CT_OBJECT;
scale = 1.0;
direction[] = {0, 0, 1};
up[] = {0, 1, 0};
};
class RscTitles
{
titles[] =
{
Dragunov
};
class Dragunov
{
idd=-1; // ID ... always -1
movingEnable = false; // always false
duration=100; // time of the effect (in seconds)
name = "Dragunov";
// max. three arrays - controls, controlsBackground (optional), objects (optional)
// for now - we will only use "controls"
objects[]= {Dragunov};
class Dragunov : RscObject
{
model= "\O\Guns\opt_snip_noflash.p3d";
idc=-1;
position[] = {0,0,0.063};
direction[] = {sin 0, sin 180 * cos 0, cos 180 * cos 0};
up[] = {0, cos 180, -sin 180};
};
};
Before i added the rsc object the game would ctd and give me an error message that i have since sorted out. but, when the script gets to the part thats supposed to show the scope view it stays at normal view.
any ideas whats wrong?