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 make a mirror in the editor??
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#7
RE: How to make a mirror in the editor??

(05-08-2013, 05:43 PM)AtraNox Wrote:
(05-05-2013, 09:07 PM)Kiandra Wrote:
(05-05-2013, 03:06 PM)AtraNox Wrote: One last question: if there isn't a way to make it visible, I'd like to create an object that you pick up, and when it's in the inventory can change its description! In my story you slowly turn into a monster, and I need something that you can use to check your situation during the key-moments.. Please give me some suggestions, I haven't got any ideas.. Thank you very much and, as always, sorry for my bad english Big Grin

I'm not sure if it's possible to have the item description change - you could try this:
(Assuming Item 1 and Item 2 look identical)
Item 1 - description for when you're human
*change takes place*
Item 1 is removed by a script and replaced with Item 2
Item 2 - description for when transformation takes place

I'm not sure how that would work since I'm not the world's best scripter, but you could give it a try Smile

There are other ways to show the change such as:
- having monster sounds play at random intervals with the character while no monsters are around
- the monsters in the game stop paying attention to you/perceiving you as an enemy
- the player starts breaking down doors instead of opening them (I could try to explain a way of doing this with script areas and locked doors if you would like me to)
Thanks, you've got some very good ideas!! Smile If it doesn't annoy you, it would be great to know how to make the player break doors! But I don't want to be too fussy, you already gave me some awesome ideas Smile Thanks to all of you!

void OnStart()
{
SetEntityPlayerInteractCallback("DoorName", "PlrBreakDoor", false);
}

void PlrBreakDoor(string &in asEntity)
{
SetPropHealth("DoorName", 75);
SetEntityPlayerInteractCallback("DoorName", "PlrBreakDoor2", false);
}

void PlrBreakDoor2(string &in asEntity)
{
SetPropHealth("DoorName", 50);
}
Try that out first. Please note that it is not complete. I need you to test whether it works or not.

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 05-09-2013, 12:48 AM by PutraenusAlivius.)
05-09-2013, 12:47 AM
Find


Messages In This Thread
How to make a mirror in the editor?? - by AtraNox - 05-05-2013, 03:06 PM
RE: How to make a mirror in the editor?? - by PutraenusAlivius - 05-09-2013, 12:47 AM



Users browsing this thread: 1 Guest(s)