Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to create a Energie Bar ?
narutohokager Offline
Member

Posts: 149
Threads: 28
Joined: Jan 2011
Reputation: 0
#1
How to create a Energie Bar ?

Hello ! Long time i didn't come in this section Smile

I am relaunching my project custom storie ! And i need to create a Energie Bar, i don't know if it's possible ?

Like, a full energie bar on the screen, and if the player, for example, touch a jar, the energie bar will decrease ?

Can you help me with this Huh

Thanks in advance Smile

Sorry for my bad english
Amnesia The Revenge - Chapter 1
07-09-2014, 05:09 PM
Website Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#2
RE: How to create a Energie Bar ?

That's not possible!
Even if it would be a Full Conversion..
I know it can be done with the new MFP-Patch.. and use the comment StartSanityEvent..
Not sure, but i think i'm 1 of the very less guys who knows how it works.
1 : Very difficult
2 : loads of coding
3 : WHY?...
4 : You will need to create like5? different bars??
Just it's very hard!
07-09-2014, 05:13 PM
Find
narutohokager Offline
Member

Posts: 149
Threads: 28
Joined: Jan 2011
Reputation: 0
#3
RE: How to create a Energie Bar ?

Okay :O Well, i can't really tell you WHY, it's a secret for my custom storie.

What MFP mean ?

And if we can't create a energie bar, it is possible to move the Message when we create one with the command "SetMessage" ?

Sorry for my bad english
Amnesia The Revenge - Chapter 1
07-09-2014, 05:56 PM
Website Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#4
RE: How to create a Energie Bar ?

You can make an item the player has to check in his inventory to see its energy level.
Let's say a battery icon. Like the one laptops have.

To increase/decrease its level you take the item away from the inventory and replace it with another.
That should work.

07-09-2014, 06:43 PM
Find
DnALANGE Offline
Banned

Posts: 1,549
Threads: 73
Joined: Jan 2012
#5
RE: How to create a Energie Bar ?

Yeps, that is possible!
but NOT in the view itself.
So you have to create like 3 different percentages like 25% 60% 100%...
Then you can have a script that checks as Amn said.
If *** will be toutches change picture..
Hope you understand what we try to say.
07-09-2014, 06:46 PM
Find
Daemian Offline
Posting Freak

Posts: 1,129
Threads: 42
Joined: Dec 2012
Reputation: 49
#6
RE: How to create a Energie Bar ?

Yeap. Exactly, and 0% too.
Btw, you can call your mod Mental Memorial 2 if you want. xD
DnAlange will like that.

07-09-2014, 06:54 PM
Find
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#7
RE: How to create a Energie Bar ?

You could toy around with the lantern graphics too. Saves creating a new item, but you have no lantern.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
07-09-2014, 10:21 PM
Find
narutohokager Offline
Member

Posts: 149
Threads: 28
Joined: Jan 2011
Reputation: 0
#8
RE: How to create a Energie Bar ?

Yeah i understand what you are trying to say :o I'll think about that ! Thanks Big Grin

And the title is already choosen haha Tongue

Sorry for my bad english
Amnesia The Revenge - Chapter 1
07-09-2014, 10:45 PM
Website Find




Users browsing this thread: 1 Guest(s)