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
.Lang File Help Recall with script file ||CS which used Thalers
Paulpolska Offline
Member

Posts: 144
Threads: 29
Joined: Jun 2011
Reputation: 0
#1
Recall with script file ||CS which used Thalers

I use in .hps coins script and I need to create recall in .lang file on value of the current coins which player have.

SetGlobalVarInt("Coins",0); // this is global variable.

How to recall this value in .lang file as SetMessages ??

MY CUSTOM STORY - - STILL ALIVE - -
http://www.moddb.com/mods/still-alive
(This post was last modified: 10-01-2013, 08:22 AM by Paulpolska.)
09-30-2013, 08:31 AM
Find
Paulpolska Offline
Member

Posts: 144
Threads: 29
Joined: Jun 2011
Reputation: 0
#2
RE: Recall with script file

Refresh ^^

Maybe someone know which custom story used Thalers/Coins ??

MY CUSTOM STORY - - STILL ALIVE - -
http://www.moddb.com/mods/still-alive
(This post was last modified: 10-01-2013, 02:59 PM by Paulpolska.)
10-01-2013, 08:21 AM
Find
Kreekakon Offline
Pick a god and pray!

Posts: 3,063
Threads: 70
Joined: Mar 2012
Reputation: 124
#3
RE: Recall with script file ||CS which used Thalers

I don't think you can use script functions to influence what goes on in the .lang file

[Image: Tv0YgQb.gif]
Image by BandyGrass
10-01-2013, 08:26 AM
Find
Paulpolska Offline
Member

Posts: 144
Threads: 29
Joined: Jun 2011
Reputation: 0
#4
RE: Recall with script file ||CS which used Thalers

Maybe It is possible. You know CS which used coins ??

MY CUSTOM STORY - - STILL ALIVE - -
http://www.moddb.com/mods/still-alive
10-01-2013, 03:00 PM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: Recall with script file ||CS which used Thalers

If you're trying to avoid writing all possible values yourself in the LANG file, you're going to need to create a script or program in a different language (e.g. PHP, Python, etc) that does it for you. Using SetMessage afterwards would be no different than using SetMessage for any other entry in the LANG file, while providing the value of the global map variable for entry name. Writing to XML files with an internal XML writer won't be possible until HPL3.

Tutorials: From Noob to Pro
10-01-2013, 03:06 PM
Website Find
The chaser Offline
Posting Freak

Posts: 2,486
Threads: 76
Joined: Jun 2012
Reputation: 113
#6
RE: Recall with script file ||CS which used Thalers

(10-01-2013, 08:21 AM)Paulpolska Wrote: Refresh ^^

Maybe someone know which custom story used Thalers/Coins ??

Killings in Altstadt used them, if I'm not wrong Smile

THE OTHERWORLD (WIP)
[Image: k6vbdhu]

Aculy iz dolan.
10-01-2013, 07:07 PM
Find
Paulpolska Offline
Member

Posts: 144
Threads: 29
Joined: Jun 2011
Reputation: 0
#7
RE: Recall with script file ||CS which used Thalers

(10-01-2013, 08:26 AM)Kreekakon Wrote: I don't think you can use script functions to influence what goes on in the .lang file

(10-01-2013, 07:07 PM)The chaser Wrote:
(10-01-2013, 08:21 AM)Paulpolska Wrote: Refresh ^^

Maybe someone know which custom story used Thalers/Coins ??

Killings in Altstadt used them, if I'm not wrong Smile

I don't see heh maybe if I finish this CS I see it but in scripts null.

MY CUSTOM STORY - - STILL ALIVE - -
http://www.moddb.com/mods/still-alive
10-03-2013, 08:08 AM
Find




Users browsing this thread: 2 Guest(s)