(03-08-2014, 02:23 PM)Straxedix Wrote: Uffffff
So lang need to get only ???
SetMessage
And Hps got (string& asTextCategory, string& asTextEntry, float afTime); ?
Can make .lang what to copy and .hps what to copy pleaseee
ffs
SetMessage(string& asTextCategory, string& asTextEntry, float afTime); should be in the HPS.
i set all like that
and in .hps file
SetMessage(string& asTextCategory, string& asTextEntry, float afTime);
so it come error says:Expexcted indentifier
(03-08-2014, 02:39 PM)Straxedix Wrote: i set all like that
and in .hps file
SetMessage(string& asTextCategory, string& asTextEntry, float afTime);
so it come error says:Expexcted indentifier
You changed the string names according to your HPS. Example:
.lang looks like this now
<CATEGORY Name="TextCategory">
<Entry Name="TextEntry">What Happened? Where im i?</Entry>
</CATEGORY>
.hps looks like this now
SetMessage(string& TextCategory, string& TextEntry, float 0);
(03-08-2014, 02:51 PM)Straxedix Wrote: .lang looks like this now
<CATEGORY Name="TextCategory">
<Entry Name="TextEntry">What Happened? Where im i?</Entry>
</CATEGORY>
.hps looks like this now
SetMessage(string& TextCategory, string& TextEntry, float 0);
(03-08-2014, 03:00 PM)Straxedix Wrote: .lang looks
SetMessage("TextCategory", "TextEntry", 0);
same error i sooo anoying you and im sorry but let's fix it
Lang was correct, but the HPS wasn't.
That was supposed to be in the HPS so yeah. It's okay as long as you're learning.
oh god my misstake in TYPING it is in .hps not in .lang
but again same error iwn it is in .hps
SomethingRidiculous
lang it's ok
hps
look like this:
void OnStart()
{
wakeUp();
}
void wakeUp () {
FadeOut(0); // Instantly fades the screen out. (Good for starting the game)
FadeIn(20); // Amount of seconds the fade in takes
FadeImageTrailTo(2, 2);
FadeSepiaColorTo(100, 4);
SetPlayerActive(false);
FadePlayerRollTo(50, 220, 220); // "Tilts" the players head
FadeRadialBlurTo(0.15, 2);
SetPlayerCrouching(true); // Simulates being on the ground
AddTimer("trig1", 11.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last
}
void wakeUp () { FadeOut(0); // Instantly fades the screen out. (Good for starting the game) FadeIn(20); // Amount of seconds the fade in takes FadeImageTrailTo(2, 2); FadeSepiaColorTo(100, 4); SetPlayerActive(false); FadePlayerRollTo(50, 220, 220); // "Tilts" the players head FadeRadialBlurTo(0.15, 2); SetPlayerCrouching(true); // Simulates being on the ground AddTimer("trig1", 11.0f, "beginStory"); // Change '11.0f' to however long you want the 'unconciousness' to last }