View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

  Beginner BeginnerMember since: 09.11.2011, 13:20Posts: 16 Likes: 0
 

 Post Topic: GameTokens crossing between levels.
PostPosted 13.03.2012, 22:35 
Having a problem getting gametokens to work between levels.

In the first level I have created a new game token library called "test"

Within this library there is a item called "testToken" It is set to an Int, value = 0 and the local only box is unticked.

Flow graph is set up to change the tokens value to 1 when the player enters an area. I have a debug set up to display the tokens value on screen which shows that the value is being changed.

When the player enters a different area, the game loads a different level.

With in this second level, I opened up the DataBase view, went to the gametoken tab and clicked the load button, selected "test.xml"

Then within flowgraph I set up a debug to show "testToken" value on screen.

This however does not seem to work, when I load the levels in the launcher, the token changes while on the first level as the debug shows the value is changing, but then when the second level is loaded, the token's value is back to the original.

Has anyone got any ideas as to what i'm doing wrong? Or if i m doing it totally wrong?

Cheers

  Trained Modder Trained ModderMember since: 10.04.2011, 23:37Posts: 302 Likes: 0
 

 Post Topic: Re: GameTokens crossing between levels.
PostPosted 14.03.2012, 00:11 
Just checked and nope - gametoken values aren't kept during level transitions.

My suggestion would be to dust off your LUA skills. Or, alternatively, wait for an official Cryteker to investigate the matter and suggest a concrete solution.


  Beginner BeginnerMember since: 14.05.2012, 22:23Posts: 22 Likes: 0
 

 Post Topic: Re: GameTokens crossing between levels.
PostPosted 30.05.2012, 03:00 
=p create a .txt file and save the data in it with a home made node then reload them with a other home made node and send them where you need. it may be slow but if gametoken dont work between lvl then i dont know