Register |  Forgot Password
Crytek GmbH Crysis Warhead FarCry Modding Portal Crymod | The Official Modding Portal MyCrysis | The Official Community Portal
To the NewsTo the ForumsTo the TutorialsTo the Mod DatabaseTo the SupportTo the DownloadsTo the Control Panel
FORUM OVERVIEW | NEW POSTS | MEMBERS LIST ADVANCED SEARCH | 
 

 Crytek's Official Modding Portal » Crymod.com » Crymod and CryWiki Feedback and Support » Tutorials
  Go to the bottom of this page Gametoken Tutorial - Please Read
  Thread Tools  Forum Tools  Search Tools 
01.06.2008 21:53
TheBusDriver
24/7 Modder

images/avatars/avatar-1.jpg



Gametoken Tutorial - Please Read


*

This post has been edited 1 time(s), it was last edited by TheBusDriver: 27.12.2008 14:40.

TheBusDriver is online

01.06.2008 22:55
TheBusDriver
24/7 Modder

images/avatars/avatar-1.jpg


Thread Starter Thread Started by TheBusDriver


RE: Gametoken Tutorial - Please Read


*

This post has been edited 1 time(s), it was last edited by TheBusDriver: 27.12.2008 14:40.

TheBusDriver is online

01.06.2008 22:56
Deodys
Uber Modder

images/avatars/avatar-10771.jpg



RE: Gametoken Tutorial - Please Read


I'll read it to make you happy. Tongue

__________________
Steam Profile
Deodys is offline

01.06.2008 22:56
DICY
News Poster

images/avatars/avatar-5159.jpg



RE: Gametoken Tutorial - Please Read


I'll take a look, give me a second to come back with a response.

__________________
WIP - Assuming Command

[Release] RTS Infantry Concept Level
DICY is offline

01.06.2008 22:56
xGj
Uber Modder




I read it, but I don't fully understand yet as of how they work. Good work on a tutorial though Smile
xGj is offline

01.06.2008 22:57
Deodys
Uber Modder

images/avatars/avatar-10771.jpg



RE: Gametoken Tutorial - Please Read


What program do we open it with?

__________________
Steam Profile
Deodys is offline

01.06.2008 22:58
TheBusDriver
24/7 Modder

images/avatars/avatar-1.jpg


Thread Starter Thread Started by TheBusDriver


RE: Gametoken Tutorial - Please Read


*

This post has been edited 3 time(s), it was last edited by TheBusDriver: 27.12.2008 14:42.

TheBusDriver is online

01.06.2008 22:59
Deodys
Uber Modder

images/avatars/avatar-10771.jpg



RE: Gametoken Tutorial - Please Read


i was talking about the pdf file so thanks you helped me. Pleased

__________________
Steam Profile
Deodys is offline

01.06.2008 23:02
DICY
News Poster

images/avatars/avatar-5159.jpg



RE: Gametoken Tutorial - Please Read


It all looks right to me. The only thing I would add is a section on the mission:checkgametoken node, as that one's pretty important (and it's the only one missing).

*edit: You may want to include some kind of a warning that it's an advanced tutorial, as game tokens shouldn't really be tackled until you know your way around a FG.

__________________
WIP - Assuming Command

[Release] RTS Infantry Concept Level

This post has been edited 2 time(s), it was last edited by DICY: 01.06.2008 23:04.

DICY is offline

01.06.2008 23:07
TheBusDriver
24/7 Modder

images/avatars/avatar-1.jpg


Thread Starter Thread Started by TheBusDriver


RE: Gametoken Tutorial - Please Read


*

This post has been edited 1 time(s), it was last edited by TheBusDriver: 27.12.2008 14:42.

TheBusDriver is online

01.06.2008 23:18
DICY
News Poster

images/avatars/avatar-5159.jpg



RE: Gametoken Tutorial - Please Read


quote:
Originally posted by thebusdriver
... btw: what's Mission:GameToken for ??? it's the same as Mission:GetGameToken right ?


I honestly have no idea. I've never used it, and I can't really tell by looking at it. The description says "game token set/get", but since it only has the input, output, and token ports I'm not sure how it should be used.

__________________
WIP - Assuming Command

[Release] RTS Infantry Concept Level
DICY is offline

01.06.2008 23:28
PsycoFalc
Uber Modder

images/avatars/avatar-7748.png



RE: Gametoken Tutorial - Please Read


All I know is that they are sometimes used as trigger by Crytek, to check other game tokens. Check the Sphere map and search around the jeep chase flowgrpah.

I would write it as :

They can trigger triggers with no input.


That may not be their actual use but that's my assumption on them.

__________________
Need Help with Flowgraph, Mapping Skills or just want to Learn the basics of mapping?
Then hop over to Crymod's Wiki today.


PsycoFalc is offline

02.06.2008 00:41
Clivey
Honorable Member

images/avatars/avatar-6821.png



RE: Gametoken Tutorial - Please Read


\Moved to WIP Tuts

__________________
Crytools 3.0 and other tools update
Clivey is offline

02.06.2008 08:04
Kay_Eva
Uber Modder

images/avatars/avatar-2443.png





GameTokens are Global Variables.

Basically, setting a game token is like saying

Todays_Date= June 2nd + Additional Date Keeping Apparatus

And then from then on in your scripting, FG'in all you have to do to state the proper date is access the GameToken of Today's_Date. Which will then activate "Additional Date Keeping Apparatus" in relation to June 2nd, which is just an arbitrary date set by the grapher.

Mission: GameToken is used in the same way as SetString or SetNumber, you are declaring a variable. However, by choosing to store the variable as a game token you are saying that you intend to use the variable as a global variable as opposed to a local one, in which case SetString, or SetNumber would be better choices.

Mission: SetGameToken is used in the same way as a SetString => DisplayDebugMessage or a SetNumber => Math node combination. It's also used to change the value of a GameToken but without changing it's type.

Mission: ModifyGameToken is used to change the type from boolean to string or something like that. Otherwise I don't see why you'd need it.

Mission: CheckGameToken checks for the contents of the value of your gametoken for something particularly specific.

Mission: GetGameToken is used to make the circumstances in which you check for the contents of the value of your gametoken into something particularly specific.

__________________

Kay_Eva is offline

02.06.2008 11:40
TheBusDriver
24/7 Modder

images/avatars/avatar-1.jpg


Thread Starter Thread Started by TheBusDriver




*

This post has been edited 2 time(s), it was last edited by TheBusDriver: 27.12.2008 14:42.

TheBusDriver is online

15.06.2008 17:03
Frosterous
Experienced Modder

images/avatars/avatar-2816.jpg





Thanks , should be helpfull for ones that need it (pointless post)

This post has been edited 1 time(s), it was last edited by Frosterous: 15.06.2008 17:03.

Frosterous is offline

15.06.2008 19:53
TheBusDriver
24/7 Modder

images/avatars/avatar-1.jpg


Thread Starter Thread Started by TheBusDriver




sooo
if nobody found any mistakes i'm going to upload it to the tutorial place now (after i took the shower)

Evil
come to the dark side, we have cookies
TheBusDriver is online


Jump to:
 Crytek's Official Modding Portal » Crymod.com » Crymod and CryWiki Feedback and Support » Tutorials
  Go to the top of this page Gametoken Tutorial - Please Read
 
© 2010 Crytek GmbH  imprint | legal
All rights reserved. All trademarks are property of their respective owners in the US and other countries.

Forum Software: Burning Board 2.3.6, Developed by WoltLab GmbH