I tried to made a heavy-armored bomber, and I do that :
In Rhino :

After texturing :

It is not finished, because I'vo got problems with the turrets : I cant make them usable...I check my script, my weapon tdf...They just dont't fire.
Moderators: MR.D, Moderators
Code: Select all
Fire2()
{
fire1 = !fire1;
if (fire1==0)
{
show flare11;
sleep 150;
hide flare11;
return( 0 );
}
if (fire1==1)
{
show flare12;
sleep 150;
hide flare12;
return( 0 );
}
}
Aim2(heading,pitch)
{
signal SIG_NUM1;
set-signal-mask SIG_NUM1;
turn turret1 to y-axis heading speed <400>;
turn turret1 to x-axis (0-pitch) speed <400>;
wait-for-turn turret1 around y-axis;
wait-for-turn turret1 around x-axis;
START-SCRIPT RestoreAfterDelay();
RETURN ( TRUE );
}
Query2(piecenum)
{
if (fire1==0)
{
piecenum=flare11;
}
if (fire1==1)
{
piecenum=flare12;
}
}
AimFrom2(piecenum)
{
piecenum=turret1;
}
Are you sure it's Aim2 and not AimWeapon2? And the same for Query2, AimFrom2 and Fire2. At least the Spring changelog entry says so:Crampman wrote:Code: Select all
Aim2(heading,pitch) { signal SIG_NUM1; set-signal-mask SIG_NUM1; turn turret1 to y-axis heading speed <400>; turn turret1 to x-axis (0-pitch) speed <400>; wait-for-turn turret1 around y-axis; wait-for-turn turret1 around x-axis; START-SCRIPT RestoreAfterDelay(); RETURN ( TRUE ); }
Spring changelog.txt wrote:-Spring can now use up to 16 weapons, use Weapon<1-16> and BadTargetCategory<1-16> in fbi file and QueryWeapon<1-16> AimWeapon<1-16> AimFromWeapon<1-16> FireWeapon<1-16> functions in scripts. Primary,secondary etc is aliased to weapon 1-3 but try not to mix old and new names in the same unit.