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


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Script Help Memory Capsules' Text
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#11
RE: Memory Capsules' Text

(02-05-2013, 01:01 PM)BeeKayK Wrote: A thread? You mean on the forum or?

Yeah, a thread. The one like this.
How do I make the [SOLVED] thingy ?

[Image: the-cabin-in-the-woods-masked-people.jpg]
02-05-2013, 01:08 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#12
RE: Memory Capsules' Text

You go to the first post, click "Edit", where you can also click reply, quote and report.

Then you can edit the title.

Trying is the first step to success.
02-05-2013, 01:14 PM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#13
RE: Memory Capsules' Text

(02-05-2013, 01:14 PM)BeeKayK Wrote: You go to the first post, click "Edit", where you can also click reply, quote and report.

Then you can edit the title.
In order to make the addQuest thing work, i have to script it to a script area, right?

"Veni, vidi, vici."
"I came, I saw, I conquered."
02-05-2013, 02:25 PM
Find
No Author Offline
Posting Freak

Posts: 962
Threads: 10
Joined: Jun 2012
Reputation: 13
#14
RE: Memory Capsules' Text

(02-05-2013, 02:25 PM)JustAnotherPlayer Wrote:
(02-05-2013, 01:14 PM)BeeKayK Wrote: You go to the first post, click "Edit", where you can also click reply, quote and report.

Then you can edit the title.
In order to make the addQuest thing work, i have to script it to a script area, right?

Yes. But you can always put it when you're interacting a door. Or picked up items or stuff. Doesn't have to be script area where the player goes. But people use the script area. It's much easier.

[Image: the-cabin-in-the-woods-masked-people.jpg]
02-05-2013, 02:29 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#15
RE: Memory Capsules' Text

It can be put in any callback. Even OnStart.

Trying is the first step to success.
02-05-2013, 04:13 PM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#16
RE: Memory Capsules' Text

(02-05-2013, 11:50 AM)BeeKayK Wrote: There is an interaction-tab inside any entity. If you write something in it, a callback with the same name as what you wrote will be called when you click the object.
If there is no interaction-tab then cover it in a script area.
Let's say you wrote "InteractNote"

void InteractNote(string &in asEntity)
{
SetMessage("MessageCategory", "MessageEntry", 0);
}

The messages are stored in your .lang file
When i click on it, the message appear in the bottom. But, the goal is to have the text, with a white background. Kinda like when you clicked on a Memory Capsule(the Capsule with a blue orb-thingy.)

"Veni, vidi, vici."
"I came, I saw, I conquered."
02-07-2013, 08:54 AM
Find
NaxEla Offline
Senior Member

Posts: 415
Threads: 5
Joined: Dec 2012
Reputation: 28
#17
RE: Memory Capsules' Text

Use the function:
PHP Code: (Select All)
void StartEffectEmotionFlash(stringasTextCatstringasTextEntrystringasSound); 

asTextCat - the category in the .lang file
asTextEntry - the text entry in the .lang file
asSound - the sound to play while fading

In Ruins [WIP]
02-07-2013, 09:01 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#18
RE: Memory Capsules' Text

(02-07-2013, 09:01 AM)NaxEla Wrote: Use the function:
PHP Code: (Select All)
void StartEffectEmotionFlash(stringasTextCatstringasTextEntrystringasSound); 

asTextCat - the category in the .lang file
asTextEntry - the text entry in the .lang file
asSound - the sound to play while fading
Thanks.
is
asTextCat, asTextEntry, asSound
What category, entry, and .snt did they use?

"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 02-07-2013, 11:02 AM by PutraenusAlivius.)
02-07-2013, 10:54 AM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#19
RE: Memory Capsules' Text

Indeed Smile

Trying is the first step to success.
02-07-2013, 11:44 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#20
RE: Memory Capsules' Text

(02-07-2013, 11:44 AM)BeeKayK Wrote: Indeed Smile
Wat? I ask what Category, entry and .snt's they use. And you say indeed. Da hell?
P.S How do i make everytime i enter a map, a music plays, and it also loops?

"Veni, vidi, vici."
"I came, I saw, I conquered."
02-07-2013, 12:11 PM
Find




Users browsing this thread: 2 Guest(s)