Skip to content
Permalink
Browse files

Add all Zaal ground forces

  • Loading branch information...
ForbodingAngel committed Jun 9, 2019
1 parent f5947c7 commit 058de9947b4d668edf672f36cf97d222332af664
Showing with 3,164 additions and 0 deletions.
  1. BIN Objects3D/zaal/zarty.s3o
  2. BIN Objects3D/zaal/zassault.s3o
  3. BIN Objects3D/zaal/zkamikaze.s3o
  4. BIN Objects3D/zaal/zlightswarm.s3o
  5. BIN Objects3D/zaal/zmedswarm.s3o
  6. BIN Objects3D/zaal/zpyro.s3o
  7. BIN Objects3D/zaal/zqueen.s3o
  8. +235 −0 Scripts/zaal/zarty.bos
  9. BIN Scripts/zaal/zarty.cob
  10. +250 −0 Scripts/zaal/zassault.bos
  11. BIN Scripts/zaal/zassault.cob
  12. +238 −0 Scripts/zaal/zkamikaze.bos
  13. BIN Scripts/zaal/zkamikaze.cob
  14. +186 −0 Scripts/zaal/zlightswarm.bos
  15. BIN Scripts/zaal/zlightswarm.cob
  16. +182 −0 Scripts/zaal/zmedswarm.bos
  17. BIN Scripts/zaal/zmedswarm.cob
  18. +235 −0 Scripts/zaal/zpyro.bos
  19. BIN Scripts/zaal/zpyro.cob
  20. +417 −0 Scripts/zaal/zqueen.bos
  21. BIN Scripts/zaal/zqueen.cob
  22. BIN UnitTextures/zblack.dds
  23. BIN UnitTextures/zblue.dds
  24. BIN UnitTextures/zcrimson.dds
  25. BIN UnitTextures/zgreengray.dds
  26. BIN UnitTextures/zpurple.dds
  27. BIN UnitTextures/zred.dds
  28. BIN UnitTextures/zred2.dds
  29. +139 −0 Units-Configs-Basedefs/basedefs/zaal/zarty_basedef.lua
  30. +173 −0 Units-Configs-Basedefs/basedefs/zaal/zassault_basedef.lua
  31. +91 −0 Units-Configs-Basedefs/basedefs/zaal/zkamikaze_basedef.lua
  32. +173 −0 Units-Configs-Basedefs/basedefs/zaal/zlightswarm_basedef.lua
  33. +173 −0 Units-Configs-Basedefs/basedefs/zaal/zmedswarm_basedef.lua
  34. +173 −0 Units-Configs-Basedefs/basedefs/zaal/zpyro_basedef.lua
  35. +317 −0 Units-Configs-Basedefs/basedefs/zaal/zqueen_basedef.lua
  36. +26 −0 Units/zaal/zarty.lua
  37. +26 −0 Units/zaal/zassault.lua
  38. +26 −0 Units/zaal/zkamikaze.lua
  39. +26 −0 Units/zaal/zlightswarm.lua
  40. +26 −0 Units/zaal/zmedswarm.lua
  41. +26 −0 Units/zaal/zpyro.lua
  42. +26 −0 Units/zaal/zqueen.lua
  43. BIN unitpics/zaal_unitpics/{chicken1b.png → zlightswarm.png}
  44. BIN unitpics/zaal_unitpics/{chicken2b.png → zmedswarm.png}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,235 @@
piece body,head,tail,lthighf,lkneef,lshinf,lfootf,rthighf,rkneef,rshinf,rfootf,rblade,lblade,lthighb,lkneeb,lshinb,lfootb,rthighb,rkneeb,rshinb,rfootb;

static-var aMoving, bMoving;

// Signal definitions
#define SIG_AIM 2
#define SIG_AIM_2 4
#define SIG_MOVE 16

#include "sfxtype.h"
#include "exptype.h"

walk()
{
while (aMoving)
{
bMoving = TRUE;
if (aMoving) {
move body to y-axis [100.000000] speed [60.000000];
turn lthighf to x-axis <70> speed<115>;
turn lkneef to x-axis <-40> speed<145>;
turn lshinf to x-axis <20> speed<145>;
turn lfootf to x-axis <-50> speed<310>;

turn rthighf to x-axis <-20> speed<310>;
turn rkneef to x-axis <-60> speed<310>;
turn rshinf to x-axis <50> speed<310>;
turn rfootf to x-axis <30> speed<310>;

turn lthighb to x-axis <70> speed<115>;
turn lkneeb to x-axis <-40> speed<145>;
turn lshinb to x-axis <20> speed<145>;
turn lfootb to x-axis <-50> speed<310>;

turn rthighb to x-axis <-20> speed<310>;
turn rkneeb to x-axis <-60> speed<310>;
turn rshinb to x-axis <50> speed<310>;
turn rfootb to x-axis <30> speed<310>;

turn body to z-axis <5> speed <20>;
turn lthighf to z-axis <-5> speed <20>;
turn rthighf to z-axis <-5> speed <20>;
turn lthighb to z-axis <-5> speed <20>;
turn rthighb to z-axis <-5> speed <20>;
move body to y-axis [0.7] speed <4000>;
turn tail to y-axis <10> speed <40>;
turn head to x-axis <-10> speed <20>;
turn tail to x-axis <10> speed <20>;
wait-for-turn lthighf around x-axis;}
if (aMoving) {
move body to y-axis [0.000000] speed [120.000000];
turn lthighf to x-axis <-10> speed<160>;
turn lkneef to x-axis <15> speed<145>;
turn lshinf to x-axis <-60> speed<250>;
turn lfootf to x-axis <30> speed<145>;

turn rthighf to x-axis <40> speed<145>;
turn rkneef to x-axis <-35> speed<145>;
turn rshinf to x-axis <-40> speed<145>;
turn rfootf to x-axis <35> speed<145>;

turn lthighb to x-axis <-10> speed<160>;
turn lkneeb to x-axis <15> speed<145>;
turn lshinb to x-axis <-60> speed<250>;
turn lfootb to x-axis <30> speed<145>;

turn rthighb to x-axis <40> speed<145>;
turn rkneeb to x-axis <-35> speed<145>;
turn rshinb to x-axis <-40> speed<145>;
turn rfootb to x-axis <35> speed<145>;

move body to y-axis [0] speed <4000>;
turn head to x-axis <10> speed <20>;
turn tail to x-axis <-10> speed <20>;
wait-for-turn lshinf around x-axis;}
if (aMoving) {
move body to y-axis [100.000000] speed [60.000000];
turn rthighf to x-axis <70> speed<115>;
turn rkneef to x-axis <-40> speed<145>;
turn rshinf to x-axis <20> speed<145>;
turn rfootf to x-axis <-50> speed<310>;

turn lthighf to x-axis <-20> speed<310>;
turn lkneef to x-axis <-60> speed<310>;
turn lshinf to x-axis <50> speed<310>;
turn lfootf to x-axis <30> speed<310>;

turn rthighb to x-axis <70> speed<115>;
turn rkneeb to x-axis <-40> speed<145>;
turn rshinb to x-axis <20> speed<145>;
turn rfootb to x-axis <-50> speed<310>;

turn lthighb to x-axis <-20> speed<310>;
turn lkneeb to x-axis <-60> speed<310>;
turn lshinb to x-axis <50> speed<310>;
turn lfootb to x-axis <30> speed<310>;

turn tail to y-axis <-10> speed <40>;
turn body to z-axis <-5> speed <20>;
turn lthighf to z-axis <5> speed <20>;
turn rthighf to z-axis <5> speed <20>;
turn lthighb to z-axis <5> speed <20>;
turn rthighb to z-axis <5> speed <20>;
move body to y-axis [0.7] speed <4000>;
turn head to x-axis <-10> speed <20>;
turn tail to x-axis <10> speed <20>;
wait-for-turn rthighf around x-axis;}
if (aMoving) {
move body to y-axis [0.000000] speed [120.000000];
turn rthighf to x-axis <-10> speed<160>;
turn rkneef to x-axis <15> speed<145>;
turn rshinf to x-axis <-60> speed<250>;
turn rfootf to x-axis <30> speed<145>;

turn lthighf to x-axis <40> speed<145>;
turn lkneef to x-axis <-35> speed<145>;
turn lshinf to x-axis <-40> speed<145>;
turn lfootf to x-axis <35> speed<145>;

turn rthighb to x-axis <-10> speed<160>;
turn rkneeb to x-axis <15> speed<145>;
turn rshinb to x-axis <-60> speed<250>;
turn rfootb to x-axis <30> speed<145>;

turn lthighb to x-axis <40> speed<145>;
turn lkneeb to x-axis <-35> speed<145>;
turn lshinb to x-axis <-40> speed<145>;
turn lfootb to x-axis <35> speed<145>;

move body to y-axis [0] speed <4000>;
turn head to x-axis <10> speed <20>;
turn tail to x-axis <-10> speed <20>;
wait-for-turn rshinf around x-axis;

}

}
return 0;
}

Halt()
{
sleep 150;
if(!aMoving)
{
bMoving = FALSE;
move body to y-axis [0.000000] speed [200.000000];
turn lfootf to x-axis <0> speed <200>;
turn rfootf to x-axis <0> speed <200>;
turn rthighf to x-axis <0> speed <200>;
turn lthighf to x-axis <0> speed <200>;
turn lshinf to x-axis <0> speed <200>;
turn rshinf to x-axis <0> speed <200>;
turn lkneef to x-axis <0> speed <200>;
turn rkneef to x-axis <0> speed <200>;
turn lfootb to x-axis <0> speed <200>;
turn rfootb to x-axis <0> speed <200>;
turn rthighb to x-axis <0> speed <200>;
turn lthighb to x-axis <0> speed <200>;
turn lshinb to x-axis <0> speed <200>;
turn rshinb to x-axis <0> speed <200>;
turn lkneeb to x-axis <0> speed <200>;
turn rkneeb to x-axis <0> speed <200>;
}
}

StartMoving()
{
aMoving = TRUE;
if (!bMoving)
{
start-script Walk();
}
}

StopMoving()
{
aMoving = FALSE;
start-script Halt();
}

Create()
{
emit-sfx 1024+2 from body;
}

SweetSpot(piecenum)
{ piecenum=body; }

AimFromPrimary(piecenum)
{ piecenum=head; }

QueryPrimary(piecenum)
{ piecenum=head; }

RestoreAfterDelay()
{
sleep 1000;
}

AimPrimary(heading,pitch)
{
signal SIG_AIM;
set-signal-mask SIG_AIM;
turn head to y-axis heading speed <250>;
turn head to x-axis 0 -pitch speed <200>;

wait-for-turn head around y-axis;
start-script RestoreAfterDelay();

return(TRUE);
}

Shot1()
{
turn lblade to y-axis <40> speed [1];
turn rblade to y-axis <-40> speed [1];
wait-for-turn lblade around y-axis;
turn lblade to y-axis <0> speed [0.3];
turn rblade to y-axis <0> speed [0.3];
}


HitByWeaponId()
{
emit-sfx 1024 from body;
return 100;
}

Killed( severity, corpsetype )
{
corpsetype = 1;
emit-sfx 1025 from body;
return( 0 );
}
Binary file not shown.

0 comments on commit 058de99

Please sign in to comment.
You can’t perform that action at this time.