Torchmodders

Mod Projects => Kva3imoda's Playground => Topic started by: Kva3imoda on October 05, 2014, 11:37:04 pm


Title: Item of Resurrection
Post by: Kva3imoda on October 05, 2014, 11:37:04 pm
Is it possible to make an item that allows your character to be resurrected?
That is, I mean, like "Life" in arcade games. If you have this item "Life" - you can rise again, if not - the game is over.
Title: Re: Item of Resurrection
Post by: TwinkleToes on October 06, 2014, 12:25:54 am
try looking at the revive skills of some monsters

most of them use the HP MOD OVER TIME effect to resurrect dead allies.

maybe you could give the item a 100% chance to cast a skill on death with the hp mod over time effect to revive you.
ive never tested this so you should try
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 06, 2014, 01:02:29 am
maybe you could give the item a 100% chance to cast a skill on death with the hp mod over time effect to revive
Thanks TwinkleToes.
Well, I just had a thought about it, like "The Back-Up Plan".  :D But I want to realize it as the standard menu of resurrection - you lose the "Life" instead of gold, if the "Life" ended - your character is dead.
Title: Re: Item of Resurrection
Post by: gytfunke on October 06, 2014, 07:08:05 am
Hey Kva,

100% certain that this would work.  Here are several ways to do it:

1)You used the item before you died
2)Another player used the item on you

In the above cases, just have the item set a BOOL stat to 1.  In the resurrect UI use the Resurrect In Place option (which is available in Casual and Normal difficulties) and set it so it only becomes visible when the stat is 1, then have it decrement the stat when you use it.  Or you could use an INT stat and have the item add to it so you could have more than 1 life (arcade-style!) allowing you to resurrect if the INT>0.

3)You can use the Inventory Check logic to confirm the presence of a 'Life' in the player's inventory and then allow or disallow the resurrect UI based on its presence.



Anyways, yes.  Very possible.
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 06, 2014, 07:35:01 am
Here are several ways to do it:
Hey gytfunke,

Ok, I get it. It's possible!  :)
But now I'm not sure I can create it.  :D
Title: Re: Item of Resurrection
Post by: gytfunke on October 06, 2014, 07:41:03 am
Want me to do it?

If you give me the item's internal name (item_phoenix_down_resurrect or whatever) I can build it for you.

I'll just be adding a stat then changing your death/resurrect UI.  If you've already made changes to that UI piece, send that to me.
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 07, 2014, 02:29:28 am
Want me to do it?
::) Yup, that would be great. But I do not know which mode softcore or **** fits better for this?
My basic idea - Character is mortal, but has a couple lives. I call it mid-core mode. This mode has pluss - you are bound play carefully, but you're not afraid to take risks in some situations. Additional hidden/secret lives stimulates research and accumulation.
If you give me the item's internal name (item_phoenix_down_resurrect or whatever)
item_resurrect sounds fine.  :)
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 07, 2014, 02:42:48 am
You can share your ideas on how to name this item.  :)
This item is a kind of mechanical or mechano-magical device as "a time machine" or "a backup matrix". Maybe "Time Capsule", "Steam rescuer", "Embermatrix", "Duplicator", "Tech-memowriter", etc.  :)
Title: Re: Item of Resurrection
Post by: Phanjam on October 08, 2014, 05:19:19 am
Chronograde
Chronograder
Chronomancer

Just suggestions...
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 08, 2014, 06:43:37 pm
Chrono...
I like "Chrono".  :)
 
Chronocore
Chronoseed
Chronospeck
Chronochip
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 08, 2014, 06:45:09 pm
Chronocore "Phoenix"  :)
Title: Re: Item of Resurrection
Post by: gytfunke on October 08, 2014, 07:27:05 pm
Chronocyte
Chronostatic Capsule
Horcrux
Phylactery
Anabiotic (from anabios- to come back to life)
Aqua Vitae (water of life, also any distilled alcohol)
Regenerant
BIOS
Vita Brevis (life is short)
Title: Re: Item of Resurrection
Post by: gytfunke on October 08, 2014, 09:23:14 pm
So, Kva, I have a few questions:

1) What does the player need to do with the item?
  a)Keep it in their inventory?
  b)Use it
     i)Only on themselves?
     ii)Also on allies?
     iii)Only on allies?

2)Where should the player resurrect?
  a)Where they died
  b)Back in town
  c)At the entrance of the dungeon

3)What if the player doesn't have a resurrect item?
  a)****!  GAME OVER
  b)Respawn in town
     i)If so, is there a penalty?  How much?
  c)Respawn elsewhere
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 08, 2014, 09:34:35 pm
So, Kva, I have a few questions:

1) What does the player need to do with the item?
  a)Keep it in their inventory.
This item should be a consumable.
 
2)Where should the player resurrect?
  a)Where they died
mb + Invincibility 5 sec

3)What if the player doesn't have a resurrect item?
 
 a)ONLY ****!  GAME OVER  8)
Title: Re: Item of Resurrection
Post by: gytfunke on October 08, 2014, 11:17:45 pm
Another item name idea:

Memento vitae ('remember life'.  a play on the latin phrase 'memento mori', or 'remember death'.  Memento mori was used by the stoic philosophers to summarize the idea of contemplating mortality to live a better life... and so on that note...)
Memento mori
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 08, 2014, 11:42:06 pm
How about "Vitalyser"? Vita + analyser
or
Synchrovitalyser  :D
or
Synchrovitatron
Title: Re: Item of Resurrection
Post by: Phanjam on October 09, 2014, 03:15:50 am
Maybe the name can be guided by how the item looks... is it a gem, a scroll, a box, some big apparatus...?
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 09, 2014, 04:12:31 am
Maybe the name can be guided by how the item looks... is it a gem, a scroll, a box, some big apparatus...?
It is a small thing, the size of an mechanical alarm clock.  :)

Spoiler (hover to show)

Vitalyser - I like this name, it is simple and logical.
Title: Re: Item of Resurrection
Post by: gytfunke on October 09, 2014, 05:43:02 pm
Hey, Kva3i,

This is not the quick setup I thought it would be.  I'll get it done, but don't expect it too soon  ;D

And... Vitalyser it is.
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 09, 2014, 06:28:50 pm
This is not the quick setup I thought it would be.  I'll get it done, but don't expect it too soon  ;D
Do not worry about it.  I am willing to wait as long as necessary. :)
Most important thing for me that this item is possible to do. New mechanics are always difficult to implement.
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 10, 2014, 05:15:51 am
Icon WIP
(http://i.imgur.com/GyBPLTg.png)
Title: Re: Item of Resurrection
Post by: Phanjam on October 10, 2014, 06:08:24 am
This is a single-use item right? So you get it as a quest reward? Very rare drop?

What if it was not single-use, like if you can "recharge" it somehow?
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 10, 2014, 06:22:51 am
This is a single-use item right? So you get it as a quest reward? Very rare drop?
Yup, it is a rare item. Also it can be crafted.
What if it was not single-use, like if you can "recharge" it somehow?
I do not know how to realize this.  :) As I remember, "rechargeable items" can not be created. The only possibility - to do it as part of the inventory/UI, like spells/Charge Bar.
If I learn how to generate items directly into the inventory, I add "Discharged Vitalayser".
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 10, 2014, 07:55:06 am
(http://i.imgur.com/mlCXyG5.png)
Ready/Empty/Broken
Title: Re: Item of Resurrection
Post by: gytfunke on October 10, 2014, 08:22:12 am
I know I can remove an item from your pack, but changing its state... well, it might be possible but I don't know yet.
Title: Re: Item of Resurrection
Post by: gytfunke on October 10, 2014, 09:09:13 am
So, Kva3i...

I have the UI working as intended except there are some issues that seem to be hardcoded.

1) **** and Normal modes seem to be hardcoded in that...
  a) Resurrect options are not available in **** mode.
  b) **** death is not available to players in Normal mode.


I can't do anything about **** characters.  The Vitalyser won't work for them unless someone can find a flag to make the resurrect options available in **** mode (this would be GREAT).

For Normal characters we could concoct some really severe punishments, but I'm not sure how to make them perma-dead, or if we even can.  Again, if someone could figure out how to make **** death work for Normal characters, this would be GREAT.

[EDIT AGAIN]

Still nothing for **** characters, but...

I could set a stat on a 'dead' (no Vitalyser) character that would trigger a passive skill that would kill the character every time they started the game.  Then they'd get the 'you are dead' screen that only allows them to exit to the main menu.  Dead enough?
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 10, 2014, 09:53:03 am
1) **** and Normal modes seem to be hardcoded in that...
  a) Resurrect options are not available in **** mode.
  b) **** death is not available to players in Normal mode.
Well, our journey has never been easy.  :)

I could set a stat on a 'dead' (no Vitalyser) character that would trigger a passive skill that would kill the character every time they started the game.  Then they'd get the 'you are dead' screen that only allows them to exit to the main menu.  Dead enough?
Sounds great. I even had the idea to do something like "Purgatory" or "Valhalla" - a place where characters respawns after death.  :D
Title: Re: Item of Resurrection
Post by: gytfunke on October 10, 2014, 08:45:37 pm
Give me a warp name for Purgatory or Valhalla and I'll send them your dead people.
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 10, 2014, 09:28:26 pm
Give me a warp name for Purgatory or Valhalla and I'll send them your dead people.
No, do something simple like your suggestion above.  :) "Purgatory" - it's just an idea that occurred to me after your posts. I do not have a full concept of what it is and how it works. This idea has great potential - it can be as "Hall of fallen heroes" or a new dungeon with quests (for example: "Find a way to go back"), storyline and other stuff. Someday I'll think about it.  :)
Title: Re: Item of Resurrection
Post by: gytfunke on October 12, 2014, 08:54:55 am
My 'simple' solution is turning out to be incredibly frustrating.

I have no idea why but the DEAD stat is mysteriously applying to characters.

First, I thought it was the UI.  I thought the Stat Operator was operating even when it shouldn't.

Second, I tried making it apply via a triggerable that only fires when the character dies.  Level 1 characters were spawning into game dead.

I'm boggled as to why the stat is getting set when it isn't called for.  Anyone have any idea why this is?
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 12, 2014, 04:45:12 pm
My 'simple' solution is turning out to be incredibly frustrating.

I have no idea why but the DEAD stat is mysteriously applying to characters.
I do not have any idea about this.  :(

But I have an idea how to do it without the mark "Dead".
Maybe we should realize a system "Purgatory"? After the death a character is transferred to some location. Character is automatically started trigger on this location. This trigger opens a menu that blocks any control + our character use a dead- animation? What do you think?
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 12, 2014, 04:52:36 pm
Developing this idea we can make a menu that intercepts the camera and shows a grave, or monument, or may be a skeleton. Or just a big inscription "You defeated"
Yes, by using the console, you can return the character, but it's a cheat, and, in principle, that's fine.
Title: Re: Item of Resurrection
Post by: gytfunke on October 12, 2014, 06:47:24 pm
I have this setup working.  It's very minimal and basic right now so I'm going to polish it up a bit before I send it your way.

Basically, what it does right now is one of two things:

1) If the player has a Vitalyser it respawns them at the beginning of the dungeon.  I scrapped the Vanilla UI entirely and don't know how to respawn in place without it.  But the Vanilla UI was causing problems I didn't understand.

2) If the player has no Vitalysers, they respawn in the QA Test room.  We can always change the location later.
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 12, 2014, 06:56:15 pm
I have this setup working.
Hooray!  :) Thanks gytfunke. I think everything will be great.
Title: Re: Item of Resurrection
Post by: gytfunke on October 12, 2014, 07:56:19 pm
https://drive.google.com/file/d/0B5_51x6ALcyzTDZQT2VGNjNFaWc/view?usp=sharing


It's simple, but it works.  If there's anything more you'd like me to do to it, lemme know.  I'll get to it later on.  Right now I'm very frustrated with the thing.
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 12, 2014, 09:06:09 pm
An ominously ticking gadget.  :D
Title: Re: Item of Resurrection
Post by: gytfunke on October 12, 2014, 09:10:08 pm
 ;)
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 12, 2014, 09:13:20 pm
gytfunke you rock!
Title: Re: Item of Resurrection
Post by: gytfunke on October 12, 2014, 09:26:48 pm
Does that mean it works?
Title: Re: Item of Resurrection
Post by: Kva3imoda on October 17, 2014, 06:53:27 am
Does that mean it works?
Yup, it works! Need some work on UI and accelerate the resurrection, but overall everything great.  :)
Title: Re: Item of Resurrection
Post by: gorogorosama on November 09, 2014, 01:54:32 am
This is a cool mod. I've always been on the lookout for something in-between normal mode and hard-core. Having a few lives is a great option. Also brings up the opportunity for some cool risk / reward scenarios.
Title: Re: Item of Resurrection
Post by: Kva3imoda on April 10, 2015, 05:37:18 am
I think it may be easier to permanently transform the character into the grave after death? I can create some unit - the Grave which can`t move.
Title: Re: Item of Resurrection
Post by: Kva3imoda on April 10, 2015, 06:43:20 am
Oh, gytfunke, is there a way to only 1 items are removed from the inventory? Now, after the resurrection removes all resurrect items.  :(
Title: Re: Item of Resurrection
Post by: Kva3imoda on April 10, 2015, 08:57:01 am
And how it works: http://www.youtube.com/watch?v=am0OMssrWJQ&feature=youtu.be
Really cool, but I should make "The Valhalla".  :)
Title: Re: Item of Resurrection
Post by: Kva3imoda on April 10, 2015, 09:23:41 am
I think maybe add a function - "Run Vitalizer". Then you get the quest item - "Working Vitalizer", which will be removed from the inventory.
Title: Re: Item of Resurrection
Post by: Kva3imoda on April 10, 2015, 12:25:06 pm
New Icons

(http://i.imgur.com/fPRyl2Q.png)
Title: Re: Item of Resurrection
Post by: gytfunke on April 10, 2015, 01:45:35 pm
Oh, gytfunke, is there a way to only 1 items are removed from the inventory? Now, after the resurrection removes all resurrect items.  :(

That's odd.  Do your resurrect items stack?  Making them not stack might be an easy fix.
Title: Re: Item of Resurrection
Post by: Kva3imoda on April 11, 2015, 08:02:16 am
Do your resurrect items stack?  Making them not stack might be an easy fix.
Yup. ::)

Making them not stack might be an easy fix.
You're a genius!  ??? Now it works perfectly as I like! Hooray!  :D

I think if I do "Valhalla" + Added a convenient craft this item. I could do a little mod.  :)
Title: Re: Item of Resurrection
Post by: Kva3imoda on April 11, 2015, 08:26:39 am
I have an idea how to realize a simple craft this item.  :) I have an idea how to realize a simple craft that item. The game has a lot of useless items (weapons, armor), all of this can be turned into material - "Metal scrap". "Metal scrap"+ Vitalizer = 2*Vitalizer(a kind of duplication).
Title: Re: Item of Resurrection
Post by: Kva3imoda on April 12, 2015, 02:21:27 am
It seems that I will be doing only one version of my mod - ****.
The reason is that these modes(Softcore & ****) operate slightly differently. At the moment of death,  in **** mode, you can open other menus(Console or Settings) but it does not help to save your character, in Softcore - you can save your character. During the test, I realized that it the potential for unfair play. :)
Well, at least now I do not need to do "Valhalla" - the Vitalizer works perfectly on ****. And death is works perfectly too.  :D
In addition, it allows me to create Game Characters that can not use the Vitalizer - Real **** Characters! Say, for example, is a "Technophobe Fanatic".  :D
Title: Re: Item of Resurrection
Post by: Kva3imoda on April 12, 2015, 05:32:08 am
I can add a randomly rare option.

Error 700365
Vitalyser cannot complete check numbering
Abnormal termination
Sorry, please try again later

 :D