I recently found that whenever time pass, the age of the main character (or any character) variable will never ever go up. At first I was VERY FRUSTRATED ABOUT THIS. The age in game will appear changed after a year, but it is due I think only to a hardcoded calculated formula, not to the age variable really changing...
But!!! There is something else to do with it, since the age have totally no gameplay value in this game and can't even be used for something. So I decided to hide it (very simple, you just have to replace core/gui/btn/cage_up.zar and core/gui/btn/cage_dn.zar with a 1x? invisible png) to use it as a hidden tagname. All my prefab char have the age of 1,2,3,4,5,6...., which is the best and more stable way for me to identify them during the game and change my dialogues/endings/events according to the character actually used. Can be very powerfull if you want your mod to be played by a human, a ghoul and a supermutant, for example, and want them to appear at three different starting points. You can even use the age later to make the two other races enemy of the player...
There may be also a way with this method (I didn't tried it yet), to identify a custom made character (age 19 by default - no change possible because de button is invisible - or something else?)
The nice thing about this method is that you then can use the TAGNAME for something else!! Use a single TAGNAME for all characters to identify the player in any situation, such as "player". This can be very useful for many things, such as moving the player instantaneously to another mission/area as with an elevator, or moving objects close to the player, or making the main player anwser to another character after he/she spoke. When cracking BOS.EXE to make the tagname stop being ereased, you can give the character a tagname only once using the first Spawning point he will appear in! Very great!
I would like to use also the variable "sex" to identify the player as a male or female for dialogue purpose, but I didn't try it yet. Somebody know what value it can get, like "male" and "female"? 0 or 1? True or false? Somebody used that before?
But!!! There is something else to do with it, since the age have totally no gameplay value in this game and can't even be used for something. So I decided to hide it (very simple, you just have to replace core/gui/btn/cage_up.zar and core/gui/btn/cage_dn.zar with a 1x? invisible png) to use it as a hidden tagname. All my prefab char have the age of 1,2,3,4,5,6...., which is the best and more stable way for me to identify them during the game and change my dialogues/endings/events according to the character actually used. Can be very powerfull if you want your mod to be played by a human, a ghoul and a supermutant, for example, and want them to appear at three different starting points. You can even use the age later to make the two other races enemy of the player...
There may be also a way with this method (I didn't tried it yet), to identify a custom made character (age 19 by default - no change possible because de button is invisible - or something else?)
The nice thing about this method is that you then can use the TAGNAME for something else!! Use a single TAGNAME for all characters to identify the player in any situation, such as "player". This can be very useful for many things, such as moving the player instantaneously to another mission/area as with an elevator, or moving objects close to the player, or making the main player anwser to another character after he/she spoke. When cracking BOS.EXE to make the tagname stop being ereased, you can give the character a tagname only once using the first Spawning point he will appear in! Very great!
I would like to use also the variable "sex" to identify the player as a male or female for dialogue purpose, but I didn't try it yet. Somebody know what value it can get, like "male" and "female"? 0 or 1? True or false? Somebody used that before?