Moved beta UDamage to an add-on.
This commit is contained in:
parent
9fe1ce2413
commit
dd689c7962
10 changed files with 2 additions and 44 deletions
Binary file not shown.
|
Before Width: | Height: | Size: 1.1 KiB |
|
|
@ -1,6 +1,5 @@
|
||||||
user int flak_protomenu = 0;
|
user int flak_protomenu = 0;
|
||||||
user bool flak_showmenu = true;
|
user bool flak_showmenu = true;
|
||||||
server bool flak_betaudamage = false;
|
|
||||||
server bool flak_pulsereload = false;
|
server bool flak_pulsereload = false;
|
||||||
server bool flak_enforcerreload = false;
|
server bool flak_enforcerreload = false;
|
||||||
user bool flak_redeemerreadout = true;
|
user bool flak_redeemerreadout = true;
|
||||||
|
|
|
||||||
|
|
@ -254,14 +254,6 @@ HardwareShader Texture "models/jinvis.png"
|
||||||
{
|
{
|
||||||
Shader "shaders/glsl/AmbientGlow_Brightmapped.fp"
|
Shader "shaders/glsl/AmbientGlow_Brightmapped.fp"
|
||||||
}
|
}
|
||||||
/*Brightmap Texture "models/Judamage1.png"
|
|
||||||
{
|
|
||||||
Map "brightmaps/Judamage1.png"
|
|
||||||
}*/
|
|
||||||
HardwareShader Texture "models/Judamage1.png"
|
|
||||||
{
|
|
||||||
Shader "shaders/glsl/AmbientGlow_Brightmapped.fp"
|
|
||||||
}
|
|
||||||
/*Brightmap Texture "models/Jlboot2.png"
|
/*Brightmap Texture "models/Jlboot2.png"
|
||||||
{
|
{
|
||||||
Map "brightmaps/Jlboot2.png"
|
Map "brightmaps/Jlboot2.png"
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,3 @@
|
||||||
OptionValue "BetaToggle"
|
|
||||||
{
|
|
||||||
0, "Normal"
|
|
||||||
1, "Beta"
|
|
||||||
}
|
|
||||||
OptionValue "BetaToggleMenu"
|
OptionValue "BetaToggleMenu"
|
||||||
{
|
{
|
||||||
0, "Normal"
|
0, "Normal"
|
||||||
|
|
@ -24,9 +19,6 @@ OptionMenu "UTOptionMenu"
|
||||||
Option "Menu Type", "flak_protomenu", "BetaToggleMenu"
|
Option "Menu Type", "flak_protomenu", "BetaToggleMenu"
|
||||||
Command "Apply Changes", "event refreshmenu"
|
Command "Apply Changes", "event refreshmenu"
|
||||||
StaticText " "
|
StaticText " "
|
||||||
StaticText "Item Options", "Gold"
|
|
||||||
Option "UDamage Style", "flak_betaudamage", "BetaToggle"
|
|
||||||
StaticText " "
|
|
||||||
StaticText "Weapon Options", "Gold"
|
StaticText "Weapon Options", "Gold"
|
||||||
Option "Enforcer Reloading", "flak_enforcerreload", "YesNo"
|
Option "Enforcer Reloading", "flak_enforcerreload", "YesNo"
|
||||||
Option "Pulsegun Reloading", "flak_pulsereload", "YesNo"
|
Option "Pulsegun Reloading", "flak_pulsereload", "YesNo"
|
||||||
|
|
|
||||||
|
|
@ -155,17 +155,6 @@ Model "UDamage"
|
||||||
|
|
||||||
FrameIndex UDAM A 0 0
|
FrameIndex UDAM A 0 0
|
||||||
}
|
}
|
||||||
Model "UDamage"
|
|
||||||
{
|
|
||||||
Path "models"
|
|
||||||
Model 1 "UDamageB_d.3d"
|
|
||||||
Skin 1 "Judamage1.png"
|
|
||||||
Scale 0.16 0.16 0.192
|
|
||||||
ZOffset 24
|
|
||||||
ROTATING
|
|
||||||
|
|
||||||
FrameIndex UDAM B 1 0
|
|
||||||
}
|
|
||||||
|
|
||||||
Model "UTRedSkull"
|
Model "UTRedSkull"
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 68 KiB |
Binary file not shown.
Binary file not shown.
|
|
@ -135,7 +135,6 @@ Sprite "THIGA0",1,1{}
|
||||||
Sprite "UARMA0",1,1{}
|
Sprite "UARMA0",1,1{}
|
||||||
Sprite "BELTA0",1,1{}
|
Sprite "BELTA0",1,1{}
|
||||||
Sprite "UDAMA0",1,1{}
|
Sprite "UDAMA0",1,1{}
|
||||||
Sprite "UDAMB0",1,1{}
|
|
||||||
Sprite "BPAKA0",1,1{}
|
Sprite "BPAKA0",1,1{}
|
||||||
Sprite "INVSA0",1,1{}
|
Sprite "INVSA0",1,1{}
|
||||||
Sprite "TRNSA0",1,1{}
|
Sprite "TRNSA0",1,1{}
|
||||||
|
|
|
||||||
|
|
@ -13,24 +13,11 @@ Class UDamage : PowerupGiver replaces Berserk
|
||||||
Inventory.PickupSound "udamage/pickup";
|
Inventory.PickupSound "udamage/pickup";
|
||||||
Inventory.RespawnTics 4200;
|
Inventory.RespawnTics 4200;
|
||||||
}
|
}
|
||||||
override void PostBeginPlay()
|
|
||||||
{
|
|
||||||
Super.PostBeginPlay();
|
|
||||||
A_CheckSkin();
|
|
||||||
}
|
|
||||||
action void A_CheckSkin()
|
|
||||||
{
|
|
||||||
bool isbeta = CVar.GetCVar('flak_betaudamage').GetBool();
|
|
||||||
if ( isbeta && (CurState == ResolveState("Spawn")) ) SetState(ResolveState("Spawn")+1);
|
|
||||||
else if ( !isbeta && (CurState == ResolveState("Spawn")+1) ) SetState(ResolveState("Spawn"));
|
|
||||||
}
|
|
||||||
States
|
States
|
||||||
{
|
{
|
||||||
Spawn:
|
Spawn:
|
||||||
UDAM A 5 A_CheckSkin();
|
UDAM A -1;
|
||||||
Loop;
|
Stop;
|
||||||
UDAM B 5 A_CheckSkin();
|
|
||||||
Loop;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue