-
Notifications
You must be signed in to change notification settings - Fork 321
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Legion FUS Remodel * Slight Col and Footprint Adjustments * adjust lighting, increase colvol * remove legafus from buildlists since this doesn't add the legafus it might break buildlists when both this and #4155 are merged separately Co-Authored-By: Protar <[email protected]> * add to armordef, icon, name+desc, evocom, legacykeys Co-Authored-By: Protar <[email protected]> * fix 2 Co-Authored-By: Protar <[email protected]> * Update buildmenu_sorting.lua --------- Co-authored-by: Zephyr Skies <[email protected]> Co-authored-by: Protar <[email protected]> Co-authored-by: Zecrus2 <[email protected]>
- Loading branch information
1 parent
8e012b2
commit e1fdb6a
Showing
24 changed files
with
282 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -428,6 +428,7 @@ local armorDefs = { | |
"legrl", | ||
"legrhapsis", | ||
"legsilo", | ||
"legfus", | ||
|
||
"coruwgeo", | ||
"coruwageo", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,123 @@ | ||
#define TA // This is a TA script | ||
|
||
#include "sfxtype.h" | ||
#include "exptype.h" | ||
|
||
piece base, emit; | ||
|
||
static-var statechg_DesiredState, statechg_StateChanging; | ||
static-var Stunned; | ||
|
||
InitState() | ||
{ | ||
statechg_DesiredState = TRUE; | ||
statechg_StateChanging = FALSE; | ||
return (0); | ||
} | ||
|
||
#define SMOKEPIECE base | ||
#include "smokeunit_thread_nohit.h" | ||
|
||
Go() | ||
{ | ||
set ARMORED to 1; | ||
show emit; | ||
} | ||
Stop() | ||
{ | ||
set ARMORED to 0; | ||
hide emit; | ||
|
||
} | ||
Create() | ||
{ | ||
hide emit; | ||
call-script InitState(); | ||
while( get BUILD_PERCENT_LEFT ) | ||
{ | ||
sleep 1000; | ||
} | ||
call-script Go(); | ||
return (0); | ||
} | ||
|
||
SetStunned(State) | ||
{ | ||
Stunned = State; | ||
if (Stunned) { | ||
call-script Stop(); | ||
} else { | ||
call-script Go(); | ||
} | ||
} | ||
|
||
|
||
RequestState(requestedstate, currentstate) | ||
{ | ||
if( statechg_StateChanging ) | ||
{ | ||
statechg_DesiredState = requestedstate; | ||
return (0); | ||
} | ||
statechg_StateChanging = TRUE; | ||
currentstate = statechg_DesiredState; | ||
statechg_DesiredState = requestedstate; | ||
while( statechg_DesiredState != currentstate ) | ||
{ | ||
if( statechg_DesiredState == 0 ) | ||
{ | ||
call-script Go(); | ||
currentstate = 0; | ||
} | ||
if( statechg_DesiredState == 1 ) | ||
{ | ||
call-script Stop(); | ||
currentstate = 1; | ||
} | ||
} | ||
statechg_StateChanging = FALSE; | ||
return (0); | ||
} | ||
|
||
Activate() | ||
{ | ||
start-script RequestState(0); | ||
return (0); | ||
} | ||
|
||
Deactivate() | ||
{ | ||
start-script RequestState(1); | ||
return (0); | ||
} | ||
|
||
SweetSpot(piecenum) | ||
{ | ||
piecenum = base; | ||
return (0); | ||
} | ||
|
||
Killed(severity, corpsetype) | ||
{ | ||
if( severity <= 25 ) | ||
{ | ||
corpsetype = 1 ; | ||
explode base type BITMAPONLY | NOHEATCLOUD; | ||
return(corpsetype); | ||
} | ||
if( severity <= 50 ) | ||
{ | ||
corpsetype = 2 ; | ||
explode base type BITMAPONLY | NOHEATCLOUD; | ||
return(corpsetype); | ||
} | ||
if( severity <= 99 ) | ||
{ | ||
corpsetype = 3 ; | ||
explode base type BITMAPONLY | NOHEATCLOUD; | ||
return(corpsetype); | ||
} | ||
corpsetype = 3 ; | ||
explode base type BITMAPONLY | NOHEATCLOUD; | ||
return corpsetype; | ||
} |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.