Companion Lamp doesn't spawn until first activation.

Adjust date of Eviternity (shift to 2150, two days was too little).
Small additions to help screen text.
This commit is contained in:
Mari the Deer 2021-01-15 16:27:44 +01:00
commit 9a07cec4ad
6 changed files with 24 additions and 18 deletions

View file

@ -748,13 +748,13 @@ SWWM_HELP_STORYDOOM =
"\n"
"So go, \cfDemolitionist\c-, show them all what you're capable of.\n";
SWWM_HELP_STORYEVITERNITY =
"The year is uncertain. Sometime after the success of the \cfDemolitionist\c- in defeating the invading demonic forces on \cfEarth\c-, a new danger has arisen. Dreadful news come from mankind's only reliable contact in \cfHell\c-, \cfArchduke Cytho Valathor\c-:\n"
"We're in 2150. Two years after the success of the \cfDemolitionist\c- in defeating the invading demonic forces on \cfEarth\c-, a new danger has arisen. Dreadful news come from mankind's only reliable contact in \cfHell\c-, \cfArchduke Cytho Valathor\c-:\n"
"\n"
"\cf\"Through stolen UAC technology, the Demons have come into contact with the Xevetha race, and plan on forming an alliance, a union of hellish and celestial strength, to take the fight back to Earth once more.\"\c-\n"
"\n"
"The \cfXevetha\c-, self-proclaimed divine beings, a mockery of angels and gods that they are, they've been here before, their plans of conquest and destruction foiled before in 2097. It was clear that no good would come from the \cfUAC\c- tampering with their technology, and now once again someone has to clean up the mess they've made. That someone, as expected, is the \cfUAC\c-'s own prized errand boy.\n"
"The \cfXevetha\c-, self-proclaimed divine beings, a mockery of angels and gods that they are, they've been here before, their plans of conquest and destruction foiled before in 2097. It was clear that no good would come from the \cfUAC\c- tampering with their technology, and now once again someone has to clean up the mess they've made.\n"
"\n"
"\cfSaya\c- as usual is not too happy with this. It's time for you to win this race once again, and you will face angels, gods, or whatever to get the job done.";
"\cfSaya\c- as usual is not too happy with this. The \cfUAC\c- continues to cause more problems, and it's time for you to fix this one, and you will face angels, gods, or whatever to get the job done.";
SWWM_HELP_STORYHERETIC =
"It is the year 2171. It's been decades since the \cfHell\c- invasion had happened, and things have calmed down. However, something's brewing at \cfAkari Labs\c-.\n"
"\n"
@ -796,7 +796,9 @@ SWWM_HELP_ARSE1TXT =
"\n"
"The \cfDemolitionist\c- is well trained in each and every one of these guns, and they will be very efficiently operated, so you don't have to worry about long reload times, or pesky recoil climb making it hard to aim straight.\n"
"\n"
"Do note that all weapons have at least two fire modes, in some cases maybe three, too. Plus a quick melee, too! Always remember to keep all the important keys bound, there's a lot to use in here.";
"Do note that all weapons have at least two fire modes, in some cases maybe three. Plus a quick melee, too! Always remember to keep all the important keys bound, there's a lot to use in here."
"\n"
"One final note: In order for things to be somewhat balanced, you can only carry one weapon per slot (excluding your initial melee weapon). This note here might not make much sense right now, but you'll see why in a future update. Though if you feel like lugging it all around you can disable this feature anyway.";
SWWM_HELP_ARSE2 = "Demolitionist's Arsenal (Part 2: Items)";
SWWM_HELP_ARSE2TXT =
"In order to assist you in your journey, there is also the usual assortment of healing and armor items. The former are quite self-explanatory, but the latter need some special attention.\n"
@ -822,7 +824,7 @@ SWWM_HELP_TECH = "Movement Techniques";
SWWM_HELP_TECHTXT =
"Despite your massive weight (around 500 kilograms), you are quite mobile. The jets on your back allow you some extra height to your jumps, and when dashing, you can easily cover long distances. This saves quite a lot of time moving around huge maps, for sure.\n"
"\n"
"Apart from all that, the \cfDemolitionist\c- is also quite capable of performing wall jumps, or even climbing. Truly, nothing can stop you (unless the map author disabled jumping).\n"
"Apart from all that, the \cfDemolitionist\c- is also quite capable of performing wall jumps, or even climbing. Truly, nothing can stop you (unless the map author disabled jumping). Not even the steepest slope can stand a chance (as long as you don't let yourself fall).\n"
"\n"
"Oh, and don't forget that your weight is also a fairly good weapon, too. Not only can you easily ram through lesser enemies while dashing, but should you fall at a considerable speed, you may create a potent shockwave pushing enemies away and crushing anything under your feet.\n";
SWWM_HELP_TIPS = "Additional Tips";

View file

@ -746,13 +746,13 @@ SWWM_HELP_STORYDOOM =
"\n"
"Así que ve, \cfDemolicionista\c-, enséñales a todos lo que eres capaz de hacer.";
SWWM_HELP_STORYEVITERNITY =
"El año es incierto. Algún tiempo después del éxito de la \cfDemolicionista\c- al derrotar las fuerzas demoníacas invasoras en la \cfTierra\c-, un nuevo peligro ha surgido. Vienen noticias terribles del único contacto fiable que la humanidad tiene en el \cfInfierno\c-, el \cfArchiduque Cytho Valathor\c-:\n"
"Estamos en 2150. Dos años después del éxito de la \cfDemolicionista\c- al derrotar las fuerzas demoníacas invasoras en la \cfTierra\c-, un nuevo peligro ha surgido. Vienen noticias terribles del único contacto fiable que la humanidad tiene en el \cfInfierno\c-, el \cfArchiduque Cytho Valathor\c-:\n"
"\n"
"\cf\"Usando tecnología robada de la UAC, los Demonios han tomado contacto con la raza de los Xevetha, y planean formar una alianza, una unión de fuerza infernal y celestial, para traer de nuevo su batalla a la Tierra.\"\c-\n"
"\n"
"Los \cfXevetha\c-, autoproclamados entes divinos, una parodia de ángeles y dioses que son, han estado aquí antes, con sus planes de conquista y destrucción habiendo sido frustrados en 2097. Estaba claro que nada bueno vendría de que la \cfUAC\c- metiese las manos en su tecnología, y ahora una vez más alguien tiene que limpiar este desastre que han hecho. Ese alguien, como es de esperar, es el preciado recadero de la \cfUAC\c-.\n"
"Los \cfXevetha\c-, autoproclamados entes divinos, una parodia de ángeles y dioses que son, han estado aquí antes, con sus planes de conquista y destrucción habiendo sido frustrados en 2097. Estaba claro que nada bueno vendría de que la \cfUAC\c- metiese las manos en su tecnología, y ahora una vez más alguien tiene que limpiar este desastre que han hecho.\n"
"\n"
"A \cfSaya\c- como siempre no le gusta nada eso. Es hora de que vuelvas a ganar esta carrera, y te enfrentarás a ángeles, dioses, o lo que sea para terminar el trabajo.";
"A \cfSaya\c- como siempre no le gusta nada eso. La \cfUAC\c- continúa siendo una fuente de problemas, y es hora de que arregles este, y te enfrentarás a ángeles, dioses, o lo que sea para terminar el trabajo.";
SWWM_HELP_STORYHERETIC =
"Estamos en el año 2171. Han pasado décadas desde que ocurrió la invasión del \cfInfierno\c-, y las cosas se han calmado. Sin embargo, algo se cuece dentro de \cfAkari Labs\c-.\n"
"\n"
@ -794,7 +794,9 @@ SWWM_HELP_ARSE1TXT =
"\n"
"La \cfDemolicionista\c- está bien entrenada en el uso de todas y cada una de estas armas, y serán operadas con gran eficiencia, así que no tienes que preocuparte por largos tiempos de recarga, o molesto retroceso que cause problemas para apuntar.\n"
"\n"
"Ten en cuenta que todas las armas tienen al menos dos modos de disparo, en algunos casos puede que tres, también. ¡Y también un rápido ataque cuerpo a cuerpo! Recuerda siempre tener todas las teclas importantes asignadas, hay mucho que usar aquí.";
"Ten en cuenta que todas las armas tienen al menos dos modos de disparo, en algunos casos puede que tres. ¡Y también un rápido ataque cuerpo a cuerpo! Recuerda siempre tener todas las teclas importantes asignadas, hay mucho que usar aquí."
"\n"
"Una última nota: Para que las cosas sean más o menos balanceadas, solo puedes llevar un arma por ranura (excluyendo tu arma a melé inicial). Esta nota puede que no tenga mucho sentido ahora mismo, pero ya lo verás en una actualización futura. Aun así si prefieres cargar con todo puedes desactivar esto.";
SWWM_HELP_ARSE2 = "Arsenal de Demolicionista (Parte 2: Ítems)";
SWWM_HELP_ARSE2TXT =
"Para ayudarte en tu aventura, está también el típico surtido de ítems de salud y armadura. Los primeros ya se explican solos, pero los segundos necesitan atención especial.\n"
@ -820,7 +822,7 @@ SWWM_HELP_TECH = "Técnicas de Movimiento";
SWWM_HELP_TECHTXT =
"A pesar de tu peso descomunal (alrededor de 500 kilos), eres bastante ágil. Los jets en tu espalda te permiten ganar altura extra en tus saltos, y al impulsarte, puedes cubrir grandes distancias. Esto ahorra bastante tiempo moviéndose por mapas enormes, desde luego.\n"
"\n"
"Aparte de todo eso, la \cfDemolicionista\c- es también bastante habilidosa saltando por las paredes, o incluso escalándolas. Ciertamente, nada puede detenerte (a menos que el autor del mapa haya deshabilitado saltar).\n"
"Aparte de todo eso, la \cfDemolicionista\c- es también bastante habilidosa saltando por las paredes, o incluso escalándolas. Ciertamente, nada puede detenerte (a menos que el autor del mapa haya deshabilitado saltar). Ni siquiera la más inclinada de las cuestas podrá contigo (siempre y cuando no te dejes caer).\n"
"\n"
"Oh, y no olvides que tu peso es también una buena arma. No solo puedes embestir con facilidad enemigos menores al impulsarte, pero también si aterrizas con una velocidad considerable, puedes crear una onda expansiva que empuje a tus enemigos por los aires y aplaste todo bajo tus pies.\n";
SWWM_HELP_TIPS = "Consejos Adicionales";

View file

@ -1,2 +1,2 @@
[default]
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r753 \cu(Fri 15 Jan 00:20:39 CET 2021)";
SWWM_MODVER="\chSWWM \czGZ\c- \cw0.9.11b-pre r754 \cu(Fri 15 Jan 16:27:44 CET 2021)";

View file

@ -1003,7 +1003,7 @@ Class SWWMStatusBar : BaseStatusBar
else if ( CPlayer.mo.InvSel && !isInventoryBarVisible() ) yy -= 34;
for ( Inventory i=CPlayer.mo.Inv; i; i=i.Inv )
{
if ( (i is 'SWWMLamp') )
if ( (i is 'SWWMLamp') && SWWMLamp(i).bActivated )
{
DrawInvIcon(i,xx,yy,aspowerup:true);
yy -= 34;

View file

@ -268,10 +268,10 @@ Class DemolitionistMenu : GenericMenu
}
else if ( SWWMUtility.IsEviternity() )
{
// June 10th 2148, 20:09 +09
// (June 10th 2148, 20:09 JST)
// Epoch: 5631073740
c_year = 2148;
// June 10th 2150, 20:09 +09
// (June 10th 2150, 20:09 JST)
// Epoch: 5694145740
c_year = 2150;
c_month = 5;
c_day = 9;
c_hour = 20;

View file

@ -1657,7 +1657,7 @@ Class SWWMLamp : Inventory
Mixin SWWMOverlapPickupSound;
Mixin SWWMUseToPickup;
bool bActive;
bool bActive, bActivated;
TextureID OnIcon;
Actor thelamp;
int charge;
@ -1711,6 +1711,7 @@ Class SWWMLamp : Inventory
override bool Use( bool pickup )
{
if ( pickup && !deathmatch ) return false;
bActivated = true;
bActive = !bActive;
if ( !OnIcon ) OnIcon = TexMan.CheckForTexture("graphics/HUD/Icons/I_Lamp.png",TexMan.Type_MiscPatch);
Icon = bActive?OnIcon:default.Icon;
@ -1721,7 +1722,7 @@ Class SWWMLamp : Inventory
override void DoEffect()
{
Super.DoEffect();
if ( !thelamp )
if ( !thelamp && bActivated )
{
thelamp = Spawn("CompanionLamp",Owner.Vec3Offset(cos(Owner.angle)*20,sin(Owner.angle)*20,24));
CompanionLamp(thelamp).parent = Owner;
@ -1748,6 +1749,7 @@ Class SWWMLamp : Inventory
}
Icon = default.Icon;
bActive = false;
bActivated = false;
}
clearscope bool isBlinking()
{