Merge branch 'feature/character_screens' into 'develop'

Feature/character screens

Il faut aussi merger la même branche sur : 
- [ ] https://git.khaganat.net/khaganat/khanat-ressources/
- [ ] https://git.khaganat.net/khaganat/khanat-data-client

See merge request !24
This commit is contained in:
deed 2016-10-10 19:31:00 +00:00
commit 853a0aca10
22 changed files with 2666 additions and 3267 deletions

View file

@ -1,9 +1,9 @@
////////////////////////// //////////////////////////
//////////////////////////
/// CLIENT CONFIG FILE /// /// CLIENT CONFIG FILE ///
////////////////////////// //////////////////////////
////////////////////////// //////////////////////////
//////////////////////////
// If you set this variable to 1, your client.cfg will be overwritten when you quit the client. // If you set this variable to 1, your client.cfg will be overwritten when you quit the client.
// You will loose all the comments and identation in this file. // You will loose all the comments and identation in this file.
@ -15,24 +15,24 @@ SaveConfig = 1;
Driver3D="Auto"; // Valid values are "Auto" or "0", "OpengGL" or "1" & "Direct3D" or "2" Driver3D="Auto"; // Valid values are "Auto" or "0", "OpengGL" or "1" & "Direct3D" or "2"
// "Auto" will choose the best suited driver depending on hardware // "Auto" will choose the best suited driver depending on hardware
FullScreen = 1; FullScreen = 0;
Width = 1024; Width = 0;
Height = 768; Height = 0;
PositionX = 0; PositionX = 0;
PositionY = 0; PositionY = 0;
Frequency = 60; Frequency = 0;
Depth = 32; Depth = 32;
Sleep = -1; Sleep = -1;
ProcessPriority = 0; // -2 = idle, -1 = below normal, 0 = normal, 1 = above normal, 2 = high, 3 = real time ProcessPriority = 0; // -2 = idle, -1 = below normal, 0 = normal, 1 = above normal, 2 = high, 3 = real time
Contrast = 0.0; // -1.0 ~ 1.0 Contrast = 0.0; // -1.0 ~ 1.0
Luminosity = 0.0; // -1.0 ~ 1.0 Luminosity = 0.0; // -1.0 ~ 1.0
Gamma = 0.0; // -1.0 ~ 1.0 Gamma = 0.0; // -1.0 ~ 1.0
Contrast_min = -1.0; Contrast_min = -1.0;
Luminosity_min = -1.0; Luminosity_min = -1.0;
Gamma_min = -1.0; Gamma_min = -1.0;
Contrast_max = 1.0; Contrast_max = 1.0;
Luminosity_max = 1.0; Luminosity_max = 1.0;
Gamma_max = 1.0; Gamma_max = 1.0;
///////////// /////////////
@ -62,33 +62,39 @@ ConditionsTermsURL = "khaganat.net/wikhan/fr:charte";
//////////////// ////////////////
// the language to use as in ISO 639-2 // the language to use as in ISO 639-2
LanguageCode = "en"; // english LanguageCode = "fr"; // english
XMLInputFile = "input_config_v3.xml"; XMLInputFile = "input_config_v3.xml";
XMLLoginInterfaceFiles = { XMLLoginInterfaceFiles = {
"login_config.xml", "login_config.xml",
"login_widgets.xml", "login_widgets.xml",
"login_main.xml", "login_main.xml",
"login_keys.xml", "login_keys.xml",
}; };
XMLOutGameInterfaceFiles = { XMLOutGameInterfaceFiles = {
"out_v2_config.xml", "out_v2_config.xml",
"out_v2_widgets.xml", "out_v2_widgets.xml",
"out_v2_connect.xml", "out_v2_connect.xml",
"out_v2_intro.xml", "out_v2_intro.xml",
"out_v2_select.xml", "out_v2_select.xml",
"out_v2_appear.xml", "out_v2_appear.xml",
"out_v2_location.xml", "out_v2_location.xml",
"out_v2_crash.xml", "out_v2_crash.xml",
"out_v2_hierarchy.xml", "out_v2_hierarchy.xml",
"out_v2_keys.xml", "out_v2_keys.xml",
}; };
TexturesInterface = "texture_interfaces_v3"; TexturesInterface = {
TexturesInterfaceDXTC = "texture_interfaces_dxtc"; "interface_game_khaganat"
};
TexturesLoginInterface = {
"interface_login_khaganat"
};
TexturesOutGameInterface = {
"interface_outgame_khaganat"
};
// The ligo primitive class file // The ligo primitive class file
LigoPrimitiveClass = "world_editor_classes.xml"; LigoPrimitiveClass = "world_editor_classes.xml";
@ -98,28 +104,28 @@ VerboseLog = 1;
/////////// ///////////
// MOUSE // // MOUSE //
/////////// ///////////
HardwareCursor = 1; HardwareCursor = 1;
CursorSpeed = 1.0; // In pixels per mickey CursorSpeed = 1.0; // In pixels per mickey
CursorSpeed_min = 0.5; CursorSpeed_min = 0.5;
CursorSpeed_max = 2.0; CursorSpeed_max = 2.0;
CursorAcceleration = 40; // Threshold in mickey CursorAcceleration = 40; // Threshold in mickey
CursorAcceleration_min = 20; CursorAcceleration_min = 20;
CursorAcceleration_max = 80; CursorAcceleration_max = 80;
FreeLookSpeed = 0.004; // In radian per mickey FreeLookSpeed = 0.004; // In radian per mickey
FreeLookSpeed_min = 0.0001; FreeLookSpeed_min = 0.0001;
FreeLookSpeed_max = 0.01; FreeLookSpeed_max = 0.01;
FreeLookAcceleration = 40; // Threshold in mickey FreeLookAcceleration = 40; // Threshold in mickey
FreeLookAcceleration_min = 20; FreeLookAcceleration_min = 20;
FreeLookAcceleration_max = 80; FreeLookAcceleration_max = 80;
FreeLookInverted = 0; FreeLookInverted = 0;
AutomaticCamera = 0; AutomaticCamera = 0;
DblClickMode = 1; DblClickMode = 1;
AutoEquipTool = 1; AutoEquipTool = 1;
/////////////////// ///////////////////
// RENDER CONFIG // // RENDER CONFIG //
@ -151,172 +157,172 @@ LandscapeThreshold_ps1 = 500.0;
LandscapeThreshold_ps2 = 1000.0; LandscapeThreshold_ps2 = 1000.0;
LandscapeThreshold_ps3 = 2000.0; LandscapeThreshold_ps3 = 2000.0;
Vision = 500.000000; Vision = 500.000000;
Vision_min = 200.000000; Vision_min = 200.000000;
Vision_max = 800.000000; Vision_max = 800.000000;
Vision_step = 100.000000; Vision_step = 100.000000;
Vision_ps0 = 200.0; Vision_ps0 = 200.0;
Vision_ps1 = 400.0; Vision_ps1 = 400.0;
Vision_ps2 = 500.0; Vision_ps2 = 500.0;
Vision_ps3 = 800.0; Vision_ps3 = 800.0;
MicroVeget = 1; // Enable/Disable MicroVeget. MicroVeget = 1; // Enable/Disable MicroVeget.
MicroVeget_ps0 = 0; MicroVeget_ps0 = 0;
MicroVeget_ps1 = 1; MicroVeget_ps1 = 1;
MicroVeget_ps2 = 1; MicroVeget_ps2 = 1;
MicroVeget_ps3 = 1; MicroVeget_ps3 = 1;
MicroVegetDensity = 80.0; MicroVegetDensity = 80.0;
MicroVegetDensity_min = 10.0; MicroVegetDensity_min = 10.0;
MicroVegetDensity_max = 100.0; MicroVegetDensity_max = 100.0;
MicroVegetDensity_step = 10.0; MicroVegetDensity_step = 10.0;
MicroVegetDensity_ps0 = 10.0; // not used since disabled! MicroVegetDensity_ps0 = 10.0; // not used since disabled!
MicroVegetDensity_ps1 = 30.0; MicroVegetDensity_ps1 = 30.0;
MicroVegetDensity_ps2 = 80.0; MicroVegetDensity_ps2 = 80.0;
MicroVegetDensity_ps3 = 100.0; MicroVegetDensity_ps3 = 100.0;
// *** FX // *** FX
FxNbMaxPoly = 20000; FxNbMaxPoly = 20000;
FxNbMaxPoly_min = 2000; FxNbMaxPoly_min = 2000;
FxNbMaxPoly_max = 50000; FxNbMaxPoly_max = 50000;
FxNbMaxPoly_step= 2000; FxNbMaxPoly_step= 2000;
FxNbMaxPoly_ps0 = 2000; FxNbMaxPoly_ps0 = 2000;
FxNbMaxPoly_ps1 = 10000; FxNbMaxPoly_ps1 = 10000;
FxNbMaxPoly_ps2 = 20000; FxNbMaxPoly_ps2 = 20000;
FxNbMaxPoly_ps3 = 50000; FxNbMaxPoly_ps3 = 50000;
Cloud = 1; Cloud = 1;
Cloud_ps0 = 0 ; Cloud_ps0 = 0 ;
Cloud_ps1 = 1 ; Cloud_ps1 = 1 ;
Cloud_ps2 = 1 ; Cloud_ps2 = 1 ;
Cloud_ps3 = 1 ; Cloud_ps3 = 1 ;
CloudQuality = 160.0; CloudQuality = 160.0;
CloudQuality_min = 80.0; CloudQuality_min = 80.0;
CloudQuality_max = 320.0; CloudQuality_max = 320.0;
CloudQuality_step = 20.0; CloudQuality_step = 20.0;
CloudQuality_ps0 = 80.0; // not used since disabled! CloudQuality_ps0 = 80.0; // not used since disabled!
CloudQuality_ps1 = 80.0; CloudQuality_ps1 = 80.0;
CloudQuality_ps2 = 160.0; CloudQuality_ps2 = 160.0;
CloudQuality_ps3 = 320.0; CloudQuality_ps3 = 320.0;
CloudUpdate = 1; CloudUpdate = 1;
CloudUpdate_min = 1; CloudUpdate_min = 1;
CloudUpdate_max = 8; CloudUpdate_max = 8;
CloudUpdate_step= 1; CloudUpdate_step= 1;
CloudUpdate_ps0 = 1; // not used since disabled! CloudUpdate_ps0 = 1; // not used since disabled!
CloudUpdate_ps1 = 1; CloudUpdate_ps1 = 1;
CloudUpdate_ps2 = 1; CloudUpdate_ps2 = 1;
CloudUpdate_ps3 = 3; CloudUpdate_ps3 = 3;
Shadows = 1; Shadows = 1;
Shadows_ps0 = 0; Shadows_ps0 = 0;
Shadows_ps1 = 1; Shadows_ps1 = 1;
Shadows_ps2 = 1; Shadows_ps2 = 1;
Shadows_ps3 = 1; Shadows_ps3 = 1;
FXAA = 1; FXAA = 1;
FXAA_ps0 = 0; FXAA_ps0 = 0;
FXAA_ps1 = 1; FXAA_ps1 = 1;
FXAA_ps2 = 1; FXAA_ps2 = 1;
FXAA_ps3 = 1; FXAA_ps3 = 1;
AnisotropicFilter = 0; AnisotropicFilter = 0;
Bloom = 0; Bloom = 1;
Bloom_ps0 = 0; Bloom_ps0 = 0;
Bloom_ps1 = 1; Bloom_ps1 = 1;
Bloom_ps2 = 1; Bloom_ps2 = 1;
Bloom_ps3 = 1; Bloom_ps3 = 1;
SquareBloom = 1; SquareBloom = 1;
SquareBloom_ps0 = 0; SquareBloom_ps0 = 0;
SquareBloom_ps1 = 1; SquareBloom_ps1 = 1;
SquareBloom_ps2 = 1; SquareBloom_ps2 = 1;
SquareBloom_ps3 = 1; SquareBloom_ps3 = 1;
DensityBloom = 255.0; DensityBloom = 255.0;
DensityBloom_min = 0.0; DensityBloom_min = 0.0;
DensityBloom_max = 255.0; DensityBloom_max = 255.0;
DensityBloom_step = 1.0; DensityBloom_step = 1.0;
DensityBloom_ps0 = 255.0; DensityBloom_ps0 = 255.0;
DensityBloom_ps1 = 255.0; DensityBloom_ps1 = 255.0;
DensityBloom_ps2 = 255.0; DensityBloom_ps2 = 255.0;
DensityBloom_ps3 = 255.0; DensityBloom_ps3 = 255.0;
// *** CHARACTERS // *** CHARACTERS
SkinNbMaxPoly = 100000; SkinNbMaxPoly = 100000;
SkinNbMaxPoly_min = 5000; SkinNbMaxPoly_min = 5000;
SkinNbMaxPoly_max = 250000; SkinNbMaxPoly_max = 250000;
SkinNbMaxPoly_step = 5000; SkinNbMaxPoly_step = 5000;
SkinNbMaxPoly_ps0 = 10000; SkinNbMaxPoly_ps0 = 10000;
SkinNbMaxPoly_ps1 = 70000; SkinNbMaxPoly_ps1 = 70000;
SkinNbMaxPoly_ps2 = 100000; SkinNbMaxPoly_ps2 = 100000;
SkinNbMaxPoly_ps3 = 200000; SkinNbMaxPoly_ps3 = 200000;
NbMaxSkeletonNotCLod = 125; NbMaxSkeletonNotCLod = 125;
NbMaxSkeletonNotCLod_min = 5; NbMaxSkeletonNotCLod_min = 5;
NbMaxSkeletonNotCLod_max = 255; NbMaxSkeletonNotCLod_max = 255;
NbMaxSkeletonNotCLod_step = 5; NbMaxSkeletonNotCLod_step = 5;
NbMaxSkeletonNotCLod_ps0 = 10; NbMaxSkeletonNotCLod_ps0 = 10;
NbMaxSkeletonNotCLod_ps1 = 50; NbMaxSkeletonNotCLod_ps1 = 50;
NbMaxSkeletonNotCLod_ps2 = 125; NbMaxSkeletonNotCLod_ps2 = 125;
NbMaxSkeletonNotCLod_ps3 = 255; NbMaxSkeletonNotCLod_ps3 = 255;
CharacterFarClip = 200.0; CharacterFarClip = 200.0;
CharacterFarClip_min = 50.0; CharacterFarClip_min = 50.0;
CharacterFarClip_max = 500.0; CharacterFarClip_max = 500.0;
CharacterFarClip_step = 10.0; CharacterFarClip_step = 10.0;
CharacterFarClip_ps0 = 50.0; CharacterFarClip_ps0 = 50.0;
CharacterFarClip_ps1 = 100.0; CharacterFarClip_ps1 = 100.0;
CharacterFarClip_ps2 = 200.0; CharacterFarClip_ps2 = 200.0;
CharacterFarClip_ps3 = 500.0; CharacterFarClip_ps3 = 500.0;
EnableRacialAnimation = 1; EnableRacialAnimation = 1;
// *** MISC // *** MISC
// This is the actual aspect ratio of your screen (no relation with the resolution!!). Set 1.7777 if you got a 16/9 screen for instance // This is the actual aspect ratio of your screen (no relation with the resolution!!). Set 1.7777 if you got a 16/9 screen for instance
ScreenAspectRatio = 0.0; ScreenAspectRatio = 0.0;
ForceDXTC = 1; // Enable/Disable DXTC. ForceDXTC = 1; // Enable/Disable DXTC.
DivideTextureSizeBy2= 0; // Divide texture size DivideTextureSizeBy2= 0; // Divide texture size
DisableVtxProgram = 0; // Disable Hardware Vertex Program. DisableVtxProgram = 0; // Disable Hardware Vertex Program.
DisableVtxAGP = 0; // Disable Hardware Vertex AGP. DisableVtxAGP = 0; // Disable Hardware Vertex AGP.
DisableTextureShdr = 0; // Disable Hardware Texture Shader. DisableTextureShdr = 0; // Disable Hardware Texture Shader.
HDEntityTexture = 0; HDEntityTexture = 1;
HDTextureInstalled = 1; HDTextureInstalled = 1;
WaitVBL = 0; // 0 or 1 to wait Vertical Sync. WaitVBL = 0; // 0 or 1 to wait Vertical Sync.
////////////////// //////////////////
// GAME OPTIONS // // GAME OPTIONS //
////////////////// //////////////////
SelectWithRClick = 1; SelectWithRClick = 1;
DisplayWeapons = 1; DisplayWeapons = 1;
RotKeySpeedMax = 2.0; RotKeySpeedMax = 2.0;
RotKeySpeedMax_min = 1.0; RotKeySpeedMax_min = 1.0;
RotKeySpeedMax_max = 4.0; RotKeySpeedMax_max = 4.0;
RotKeySpeedMin = 1.0; RotKeySpeedMin = 1.0;
RotKeySpeedMin_min = 0.5; RotKeySpeedMin_min = 0.5;
RotKeySpeedMin_max = 2.0; RotKeySpeedMin_max = 2.0;
RotAccel = 3.0; RotAccel = 3.0;
FollowOnAtk = 0; FollowOnAtk = 0;
AtkOnSelect = 0; AtkOnSelect = 0;
ZCPacsPrim = "gen_bt_col_ext.pacs_prim"; ZCPacsPrim = "gen_bt_col_ext.pacs_prim";
///////////////// /////////////////
// PREFERENCES // // PREFERENCES //
///////////////// /////////////////
FPV = 0; // FPV(First Person View) : default is false (Third Person View). FPV = 0; // FPV(First Person View) : default is false (Third Person View).
CameraHeight = 2.2; // Camera Height (in meter) from the ground (for the Third Person View). CameraHeight = 2.2; // Camera Height (in meter) from the ground (for the Third Person View).
CameraDistance = 3.0; // Camera Distance(in meter) from the user (for the Third Person View). CameraDistance = 3.0; // Camera Distance(in meter) from the user (for the Third Person View).
CameraDistStep = 1.0; CameraDistStep = 1.0;
CameraDistMin = 1.0; CameraDistMin = 1.0;
CameraDistMax = 25.0; CameraDistMax = 25.0;
CameraAccel = 5.0; CameraAccel = 5.0;
CameraSpeedMin = 2.0; CameraSpeedMin = 2.0;
CameraSpeedMax = 100.0; CameraSpeedMax = 100.0;
CameraResetSpeed = 10.0; // Speed in radian/s CameraResetSpeed = 10.0; // Speed in radian/s
////////////////// //////////////////
// SOUND CONFIG // // SOUND CONFIG //
@ -343,7 +349,8 @@ SoundGameMusicVolume_max = 1.0;
SoundGameMusicVolume_step = 0.001; SoundGameMusicVolume_step = 0.001;
// MISC // MISC
PreDataPath = { "user", "patch", "data", "examples" }; PreDataPath = { "user", "data", "patch", "examples", };
DataPath = { "data" };
NeedComputeVS = 0; NeedComputeVS = 0;
NegFiltersDebug = {"Update DB", "Reading:", "Read Value :", "impulseCallBack", "CLIMPD:", "LNET" }; NegFiltersDebug = {"Update DB", "Reading:", "Read Value :", "impulseCallBack", "CLIMPD:", "LNET" };
@ -351,15 +358,15 @@ NegFiltersInfo = { "CLIMPD:", "CPath::lookup" , "LNET" };
NegFiltersWarning = { "'basics.Equipment Slot'.", "_usercolor.tga", "PACS" }; NegFiltersWarning = { "'basics.Equipment Slot'.", "_usercolor.tga", "PACS" };
// Big screen shot // Big screen shot
ScreenShotWidth = 0; ScreenShotWidth = 0;
ScreenShotHeight = 0; ScreenShotHeight = 0;
ScreenShotFullDetail = 1; // 1 to switch full detail mode for characters (both standard & big screenshots) ScreenShotFullDetail = 1; // 1 to switch full detail mode for characters (both standard & big screenshots)
// Read : "ID", "R G B A MODE [FX]" // Read : "ID", "R G B A MODE [FX]"
SystemInfoColors = SystemInfoColors =
{ {
// OLD STUFF Here for compatibility // OLD STUFF Here for compatibility
"RG", "0 0 0 255 normal", // Black to see when there is an error "RG", "0 0 0 255 normal", // Black to see when there is an error
"BC", "0 0 0 255 normal", // Black to see when there is an error "BC", "0 0 0 255 normal", // Black to see when there is an error
"JA", "0 0 0 255 normal", // Black to see when there is an error "JA", "0 0 0 255 normal", // Black to see when there is an error
"BL", "0 0 0 255 normal", // Black to see when there is an error "BL", "0 0 0 255 normal", // Black to see when there is an error
@ -367,38 +374,38 @@ SystemInfoColors =
"VI", "0 0 0 255 normal", // Black to see when there is an error "VI", "0 0 0 255 normal", // Black to see when there is an error
// NEW System Info Categories // NEW System Info Categories
"SYS", "255 255 255 255 normal", // Default system messages "SYS", "255 255 255 255 normal", // Default system messages
"BC", "255 255 255 255 centeraround", // Broadcast messages "BC", "255 255 255 255 centeraround", // Broadcast messages
"TAGBC", "255 255 255 255 centeraround", // Taged broadcast messages : color should remain white as some word are tagged "TAGBC", "255 255 255 255 centeraround", // Taged broadcast messages : color should remain white as some word are tagged
"XP", "255 255 64 255 over", // XP Gain "XP", "255 255 64 255 over", // XP Gain
"SP", "255 255 64 255 over", // SP Gain "SP", "255 255 64 255 over", // SP Gain
"TTL", "255 255 64 255 over", // Title "TTL", "255 255 64 255 over", // Title
"TSK", "255 255 255 255 over", // Task "TSK", "255 255 255 255 over", // Task
"ZON", "255 255 255 255 center", // Zone "ZON", "255 255 255 255 center", // Zone
"DG", "255 0 0 255 normal", // Damage to me "DG", "255 0 0 255 normal", // Damage to me
"DMG", "255 0 0 255 normal", // Damage to me "DMG", "255 0 0 255 normal", // Damage to me
"DGP", "200 0 0 255 normal", // Damage to me from player "DGP", "200 0 0 255 normal", // Damage to me from player
"DGM", "255 128 64 255 normal", // Damage from me "DGM", "255 128 64 255 normal", // Damage from me
"MIS", "150 150 150 255 normal", // The opponent misses "MIS", "150 150 150 255 normal", // The opponent misses
"MISM", "255 255 255 255 normal", // I miss "MISM", "255 255 255 255 normal", // I miss
"ITM", "0 200 0 255 over", // Item "ITM", "0 200 0 255 over", // Item
"ITMO", "170 170 255 255 overonly", // Item other in group "ITMO", "170 170 255 255 overonly", // Item other in group
"ITMF", "220 0 220 255 over", // Item failed "ITMF", "220 0 220 255 over", // Item failed
"SPL", "50 50 250 255 normal", // Spell to me "SPL", "50 50 250 255 normal", // Spell to me
"SPLM", "50 150 250 255 normal", // Spell from me "SPLM", "50 150 250 255 normal", // Spell from me
"EMT", "255 150 150 255 normal", // Emote "EMT", "255 150 150 255 normal", // Emote
"MTD", "255 255 0 255 over", // Message Of The Day "MTD", "255 255 0 255 over", // Message Of The Day
"FORLD","64 255 64 255 overonly", // Forage Locate Deposit "FORLD","64 255 64 255 overonly", // Forage Locate Deposit
"CHK", "255 120 60 255 center", // Tous ce qui ne remplit pas une condition "CHK", "255 120 60 255 center", // Tous ce qui ne remplit pas une condition
"CHKCB","255 255 0 255 center", // Tous ce qui ne remplit pas une condition en combat (trop loin, cible invalide, pas assez de mana, etc.) "CHKCB","255 255 0 255 center", // Tous ce qui ne remplit pas une condition en combat (trop loin, cible invalide, pas assez de mana, etc.)
"PVPTM","255 120 60 255 overonly", // PVP timer "PVPTM","255 120 60 255 overonly", // PVP timer
"THM", "255 255 64 255 over misc_levelup.ps", // Thema finished "THM", "255 255 64 255 over misc_levelup.ps", // Thema finished
"AMB", "255 255 64 255 center", // Ambiance "AMB", "255 255 64 255 center", // Ambiance
"ISE", "192 208 255 255 normal", // Item special effect "ISE", "192 208 255 255 normal", // Item special effect
"ISE2", "192 208 255 255 center", // Item special effect with center text (for effects without flying text) "ISE2", "192 208 255 255 center", // Item special effect with center text (for effects without flying text)
"OSM", "128 160 255 255 center", // Outpost state message "OSM", "128 160 255 255 center", // Outpost state message
"AROUND","255 255 0 255 around", // Only in around channel "AROUND","255 255 0 255 around", // Only in around channel
"R2_INVITE","0 255 0 255 around", // Ring invitation "R2_INVITE","0 255 0 255 around", // Ring invitation
}; };
PrintfCommands = { PrintfCommands = {
@ -428,30 +435,30 @@ LoadingStringCount = 54;
// Some R2 parameters ... // Some R2 parameters ...
R2Mode = 1; R2Mode = 1;
R2EDEnabled = 1; R2EDEnabled = 1;
R2EDExtendedDebug = 0; R2EDExtendedDebug = 0;
R2EDLightPalette = 0; R2EDLightPalette = 0;
R2ClientGw = "r2linux01"; R2ClientGw = "r2linux01";
LoadLuaDebugger = 0; LoadLuaDebugger = 0;
CheckR2ScenarioMD5 = 1; CheckR2ScenarioMD5 = 1;
LevelDesignEnabled = 0; LevelDesignEnabled = 0;
DmCameraDistMax = 25; DmCameraDistMax = 25;
DmRun = 20; DmRun = 20;
DmWalk = 6; DmWalk = 6;
R2EDReloadFiles = { R2EDReloadFiles = {
"r2ed.xml", "r2ed.xml",
"r2_basic_bricks.lua", "r2_basic_bricks.lua",
"r2_components.lua", "r2_components.lua",
"r2_core.lua", "r2_core.lua",
"r2_features_default.lua", "r2_features_default.lua",
"r2_features_fauna.lua", "r2_features_fauna.lua",
"r2_features_npc_groups.lua", "r2_features_npc_groups.lua",
"r2_palette.lua", "r2_palette.lua",
"r2_scenario.lua", "r2_scenario.lua",
"r2_ui.lua" "r2_ui.lua"
}; };
XMLInterfaceFiles = { XMLInterfaceFiles = {
@ -488,12 +495,12 @@ XMLInterfaceFiles = {
XMLR2EDInterfaceFiles = XMLR2EDInterfaceFiles =
{ {
"r2ed.xml", "r2ed.xml",
"r2_triggers.xml", "r2_triggers.xml",
"r2_logic_entities.xml", "r2_logic_entities.xml",
"r2ed_acts.xml", "r2ed_acts.xml",
"r2ed_scenario.xml", "r2ed_scenario.xml",
"r2ed_connect.xml" "r2ed_connect.xml"
}; };
FogDistAndDepthLookupBias = 20; // bias for lookup of fog distance and depth FogDistAndDepthLookupBias = 20; // bias for lookup of fog distance and depth
@ -505,45 +512,45 @@ FogDistAndDepthLookupBias = 20; // bias for lookup of fog distance and depth
// * individual .tga files for hardware cursor bitmap not looked for, and not supported yet // * individual .tga files for hardware cursor bitmap not looked for, and not supported yet
HardwareCursors = HardwareCursors =
{ {
"curs_can_pan.tga", "curs_can_pan.tga",
"curs_can_pan_dup.tga", "curs_can_pan_dup.tga",
"curs_create.tga", "curs_create.tga",
"curs_create_multi.tga", "curs_create_multi.tga",
"curs_create_vertex_invalid.tga", "curs_create_vertex_invalid.tga",
"curs_default.tga", "curs_default.tga",
"curs_dup.tga", "curs_dup.tga",
"curs_L.tga", "curs_L.tga",
"curs_M.tga", "curs_M.tga",
"curs_pan.tga", "curs_pan.tga",
"curs_pan_dup.tga", "curs_pan_dup.tga",
"curs_pick.tga", "curs_pick.tga",
"curs_pick_dup.tga", "curs_pick_dup.tga",
"curs_R.tga", "curs_R.tga",
"curs_resize_BL_TR.tga", "curs_resize_BL_TR.tga",
"curs_resize_BR_TL.tga", "curs_resize_BR_TL.tga",
"curs_resize_LR.tga", "curs_resize_LR.tga",
"curs_resize_TB.tga", "curs_resize_TB.tga",
"curs_rotate.tga", "curs_rotate.tga",
"curs_scale.tga", "curs_scale.tga",
"curs_stop.tga", "curs_stop.tga",
"text_cursor.tga", "text_cursor.tga",
"r2_hand_can_pan.tga", "r2_hand_can_pan.tga",
"r2_hand_pan.tga", "r2_hand_pan.tga",
"r2ed_tool_can_pick.tga", "r2ed_tool_can_pick.tga",
"r2ed_tool_can_rotate.tga", "r2ed_tool_can_rotate.tga",
"r2ed_tool_pick.tga", "r2ed_tool_pick.tga",
"r2ed_tool_rotate.tga", "r2ed_tool_rotate.tga",
"r2ed_tool_rotating.tga" "r2ed_tool_rotating.tga"
}; };
Loading_BG = "new_loading_bg.tga"; // Default name for the loading background file. Loading_BG = "new_loading_bg.tga"; // Default name for the loading background file.
Launch_BG = "new_launcher_bg.tga"; // Default name for the launch background file. Launch_BG = "new_launcher_bg.tga"; // Default name for the launch background file.
TeleportKami_BG = "new_teleport_kami_bg.tga"; TeleportKami_BG = "new_teleport_kami_bg.tga";
TeleportKaravan_BG = "new_teleport_caravan_bg.tga"; TeleportKaravan_BG = "new_teleport_caravan_bg.tga";
Elevator_BG = "new_elevator_bg.tga"; // Default name for the loading background file. Elevator_BG = "new_elevator_bg.tga"; // Default name for the loading background file.
ResurectKami_BG = "new_resurect_kami_bg.tga"; ResurectKami_BG = "new_resurect_kami_bg.tga";
ResurectKaravan_BG = "new_resurect_caravane_bg.tga"; ResurectKaravan_BG = "new_resurect_caravane_bg.tga";
End_BG = "end_bg.tga"; // Default name for the last background file. End_BG = "end_bg.tga"; // Default name for the last background file.
ScenarioSavePath = "./my_scenarios/"; ScenarioSavePath = "./my_scenarios/";
@ -554,10 +561,10 @@ ScenarioSavePath = "./my_scenarios/";
// note : we add a dot in the name to be sure that there cannot be a conflict with character keyset name // note : we add a dot in the name to be sure that there cannot be a conflict with character keyset name
BuiltInKeySets = BuiltInKeySets =
{ {
"", // default ryzom keyboard layout "", // default khanat keyboard layout
"bi.zqsd", // european keyboard fps displacement style (NB : don't change this layout name, ryzom will automatically select it if keyboard is french or belgian) "bi.zqsd", // european keyboard fps displacement style (NB : don't change this layout name, ryzom will automatically select it if keyboard is french or belgian)
"bi.wasd", // english keyboard fps displacement style (NB : don't change this layout name, ryzom will automatically select it if keyboard is not french nor belgian) "bi.wasd", // english keyboard fps displacement style (NB : don't change this layout name, ryzom will automatically select it if keyboard is not french nor belgian)
"bi.wow_alike" // 'world of warcraft' like keyboard style. (NB : not available for ring) "bi.wow_alike" // 'world of warcraft' like keyboard style. (NB : not available for ring)
}; };
// "Newbie Training", "Story Telling", "Mistery", "Hack & Slash", "Guild Training", "Other" // "Newbie Training", "Story Telling", "Mistery", "Hack & Slash", "Guild Training", "Other"
@ -576,9 +583,9 @@ HelpPages =
"ru=http://www.khaganat.net/forum/index.php/board,31.0.html" "ru=http://www.khaganat.net/forum/index.php/board,31.0.html"
}; };
WebIgMainDomain = "app.khaganat.net"; WebIgMainDomain = "app.lirria.khaganat.net";
WebIgTrustedDomains = { WebIgTrustedDomains = {
"api.khaganat.net", "app.khaganat.net", "lirria.khaganat.net" "api.lirria.khaganat.net", "app.lirria.khaganat.net", "lirria.khaganat.net"
}; };
//PatchletUrl = ""; //PatchletUrl = "";

View file

@ -2,65 +2,31 @@
<root id="interface" x="0" y="0" w="800" h="600" active="true" /> <root id="interface" x="0" y="0" w="800" h="600" active="true" />
<lua file="bg_downloader.lua" /> <lua file="bg_downloader.lua" />
<proc id="bg_downloader_active"> <proc id="bg_downloader_active">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=1" /> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=1" />
</proc> </proc>
<proc id="bg_downloader_deactive"> <proc id="bg_downloader_deactive">
<action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=0" /> <action handler="set" params="dblink=UI:VARIABLES:ISACTIVE:BG_DOWNLOADER|value=0" />
</proc> </proc>
<!-- Window for the background downloader --> <!-- Window for the background downloader -->
<group type="container" id="bg_downloader" title="uiBGD_WindowTitle" global_color="false" line_at_bottom="false" <group type="container" id="bg_downloader" title="uiBGD_WindowTitle" global_color="false" line_at_bottom="false"movable="true" opened="true" openable="false" pop_min_w="410" pop_min_h="100" pop_max_w="410" pop_max_h="100" h="100" w="410" active="false" savable="true" header_color="UI:SAVE:WIN:COLORS:OPT" on_deactive="proc" on_deactive_params="bg_downloader_deactive" on_active="proc" on_active_params="bg_downloader_active">
movable="true" opened="true" openable="false"
pop_min_w="410" pop_min_h="100" pop_max_w="410" pop_max_h="100" <group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
h="100"
w="410"
active="false"
savable="true"
header_color="UI:SAVE:WIN:COLORS:OPT"
on_deactive="proc" on_deactive_params="bg_downloader_deactive"
on_active="proc" on_active_params="bg_downloader_active"
>
<group id="header_closed" x="0" y="0" child_resize_w="true" h="16" posref="TL TL"
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group> </group>
<group id="header_opened" x="0" y="0" w="800" h="16" posref="TL TL" <group id="header_opened" x="0" y="0" w="800" h="16" posref="TL TL" group_onclick_r="active_menu" group_params_r="menu=ui:interface:base_menu_with_color">
group_onclick_r="active_menu"
group_params_r="menu=ui:interface:base_menu_with_color"
>
</group> </group>
<group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" > <group id="content" x="0" y="0" sizeref="wh" w="0" h="0" posref="TL TL" >
<view type="text" id="text" active="true" y="-12" posref="TM TM" hardtext="" fontsize="10" color="255 255 255 255" <view type="text" id="text" active="true" y="-12" posref="TM TM" hardtext="" fontsize="10" color="255 255 255 255" auto_clamp="true" global_color="false" />
auto_clamp="true" <view type="text" id="ellipsis" active="true" y="0" posref="BR BL" posparent="text" hardtext="" fontsize="13" color="255 255 255 255" global_color="false" />
global_color="false" <view type="bitmap" id="bm" active="false" y="1" x="-1" texture="W_answer_16_valid.tga" posparent="text" posref="ML MR" global_color="false" />
/> <view type="bar" id="progress" parent="" active="true" posparent="text" posref="BM TM" y="-2" global_color="false" />
<view type="text" id="ellipsis" active="true" y="0" posref="BR BL" posparent="text" hardtext="" fontsize="13" color="255 255 255 255" <group type="combo_box" id="prio" sizeref="w" w="32" x="0" y="-8" child_resize_h="true" child_resize_hmargin="6" linked_to_db="false" posref="BM TM" posparent="progress" on_change="lua:bgdownloader:onChangePriority()" on_change_params="" tooltip="uiBGD_PriorityTooltip" global_color="false">
global_color="false"
/>
<view type="bitmap" id="bm" active="false" y="1" x="-1" texture="W_answer_16_valid.tga" posparent="text" posref="ML MR"
global_color="false"
/>
<view type="bar" id="progress" parent="" active="true" posparent="text" posref="BM TM" y="-2"
global_color="false"
/>
<group type="combo_box" id="prio" sizeref="w" w="32" x="0" y="-8" child_resize_h="true" child_resize_hmargin="6" linked_to_db="false"
posref="BM TM"
posparent="progress"
on_change="lua:bgdownloader:onChangePriority()" on_change_params=""
tooltip="uiBGD_PriorityTooltip"
global_color="false"
>
<instance template="combo_box_def1" tooltip="uiBGD_PriorityTooltip"/> <instance template="combo_box_def1" tooltip="uiBGD_PriorityTooltip"/>
<combo_text name="uiBGD_Paused" /> <combo_text name="uiBGD_Paused" />
<combo_text name="uiBGD_LowPriority" /> <combo_text name="uiBGD_LowPriority" />

View file

@ -1617,7 +1617,7 @@
<view type="bitmap" <view type="bitmap"
id="icone" id="icone"
posref="TL TL" posref="TL TL"
texture="money_seve.tga" texture="money.tga"
global_color="false" /> global_color="false" />
<instance template="box_widget" <instance template="box_widget"
id="box1" id="box1"
@ -1673,7 +1673,7 @@
<view type="bitmap" <view type="bitmap"
id="icone" id="icone"
posref="TL TL" posref="TL TL"
texture="money_seve.tga" texture="money.tga"
global_color="false" /> global_color="false" />
<instance template="box_widget" <instance template="box_widget"
id="box1" id="box1"

View file

@ -183,7 +183,7 @@
posref="BL BL" posref="BL BL"
scale="true" scale="true"
y="4" y="4"
w="130" w="110"
h="2" h="2"
texture="W_line_hor2.tga" /> texture="W_line_hor2.tga" />
<view type="text" <view type="text"
@ -202,7 +202,7 @@
posref="MM MM" posref="MM MM"
x="0" x="0"
y="-1" y="-1"
w="130" w="110"
h="8" h="8"
vertical="false" vertical="false"
align="L" align="L"
@ -246,7 +246,7 @@
posref="BL BL" posref="BL BL"
scale="true" scale="true"
y="4" y="4"
w="130" w="110"
h="2" h="2"
texture="W_line_hor2.tga" /> texture="W_line_hor2.tga" />
<view type="text" <view type="text"
@ -265,7 +265,7 @@
posref="MM MM" posref="MM MM"
x="0" x="0"
y="-1" y="-1"
w="130" w="110"
h="8" h="8"
vertical="false" vertical="false"
align="L" align="L"
@ -1005,11 +1005,11 @@
text_ref="BR BR" text_ref="BR BR"
w="100" w="100"
prompt="" prompt=""
enter_loose_ChaScore4="true" enter_loose_focus="true"
multi_line="false" multi_line="false"
onenter="game_config_change_screen_ratio_custom" onenter="game_config_change_screen_ratio_custom"
enter_recover_ChaScore4="false" enter_recover_focus="false"
reset_ChaScore4_on_hide="true" reset_focus_on_hide="true"
max_historic="0" max_historic="0"
entry_type="positive_float" entry_type="positive_float"
max_float_prec="5" max_float_prec="5"
@ -1334,7 +1334,7 @@
y="0" y="0"
hardtext="uiHud" /> hardtext="uiHud" />
<!--<instance template="tgcw_checkbox" id="suc" text="uiShowUnderCursor" posref="TL TL" x="0" y="-20" /> <!--<instance template="tgcw_checkbox" id="suc" text="uiShowUnderCursor" posref="TL TL" x="0" y="-20" />
<instance template="tgcw_checkbox" id="ChaScore2" text="uiShowTargeted" posref="BL TL" posparent="suc" x="0" y="-12" />--> <instance template="tgcw_checkbox" id="sta" text="uiShowTargeted" posref="BL TL" posparent="suc" x="0" y="-12" />-->
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
id="swrc" id="swrc"
text="uiSelectWithRClick" text="uiSelectWithRClick"
@ -2043,34 +2043,34 @@
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
id="is_user_ChaScore1" id="is_user_ChaScore1"
text="uiChaScore1" text="uiHP"
tooltip="uittChaScore1" tooltip="uittHP"
posref="BL TL" posref="BL TL"
posparent="is_user_guild_name" posparent="is_user_guild_name"
x="0" x="0"
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
id="is_user_ChaScore3" id="is_user_sap"
text="uiChaScore3" text="uiSAP"
tooltip="uittChaScore3" tooltip="uittSAP"
posref="BL TL" posref="BL TL"
posparent="is_user_ChaScore1" posparent="is_user_ChaScore1"
x="0" x="0"
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
id="is_user_ChaScore2" id="is_user_sta"
text="uiChaScore2" text="uiSTA"
tooltip="uittChaScore2" tooltip="uittSTA"
posref="BL TL" posref="BL TL"
posparent="is_user_ChaScore3" posparent="is_user_sap"
x="0" x="0"
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
id="is_user_ChaScore4" id="is_user_focus"
text="uiChaScore4" text="uiFOC"
tooltip="uittChaScore4" tooltip="uittFocus"
posref="BL TL" posref="BL TL"
posparent="is_user_ChaScore2" posparent="is_user_sta"
x="0" x="0"
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
@ -2078,7 +2078,7 @@
text="uiActionBar" text="uiActionBar"
tooltip="uittActionBar" tooltip="uittActionBar"
posref="BL TL" posref="BL TL"
posparent="is_user_ChaScore4" posparent="is_user_focus"
x="0" x="0"
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
@ -2160,34 +2160,34 @@
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
id="is_friend_ChaScore1" id="is_friend_ChaScore1"
text="uiChaScore1" text="uiHP"
tooltip="uittChaScore1" tooltip="uittHP"
posref="BL TL" posref="BL TL"
posparent="is_friend_guild_name" posparent="is_friend_guild_name"
x="0" x="0"
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
id="is_friend_ChaScore3" id="is_friend_sap"
text="uiChaScore3" text="uiSAP"
tooltip="uittChaScore3" tooltip="uittSTA"
posref="BL TL" posref="BL TL"
posparent="is_friend_ChaScore1" posparent="is_friend_ChaScore1"
x="0" x="0"
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
id="is_friend_ChaScore2" id="is_friend_sta"
text="uiChaScore2" text="uiSTA"
tooltip="uittChaScore2" tooltip="uittSAP"
posref="BL TL" posref="BL TL"
posparent="is_friend_ChaScore3" posparent="is_friend_sap"
x="0" x="0"
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
id="is_friend_ChaScore4" id="is_friend_focus"
text="uiChaScore4" text="uiFOC"
tooltip="uittChaScore4" tooltip="uittFocus"
posref="BL TL" posref="BL TL"
posparent="is_friend_ChaScore2" posparent="is_friend_sta"
x="0" x="0"
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
@ -2195,7 +2195,7 @@
text="uiPvpLogo" text="uiPvpLogo"
tooltip="uittPvpLogo" tooltip="uittPvpLogo"
posref="BL TL" posref="BL TL"
posparent="is_friend_ChaScore4" posparent="is_friend_focus"
x="0" x="0"
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
@ -2301,8 +2301,8 @@
y="-4" /> y="-4" />
<instance template="tgcw_checkbox" <instance template="tgcw_checkbox"
id="is_enemy_ChaScore1" id="is_enemy_ChaScore1"
text="uiChaScore1" text="uiHP"
tooltip="uittChaScore1" tooltip="uittHP"
posref="BL TL" posref="BL TL"
posparent="is_enemy_guild_name" posparent="is_enemy_guild_name"
x="0" x="0"
@ -3222,7 +3222,7 @@
preset="UI:TEMP:PRESET_FX" /> preset="UI:TEMP:PRESET_FX" />
<!-- <!--
<param ui="hud:suc:c" type="cfg" widget="boolbut" link="ShowNameUnderCursor" realtime="true"/> <param ui="hud:suc:c" type="cfg" widget="boolbut" link="ShowNameUnderCursor" realtime="true"/>
<param ui="hud:ChaScore2:c" type="cfg" widget="boolbut" link="ShowNameSelected" realtime="true"/> <param ui="hud:sta:c" type="cfg" widget="boolbut" link="ShowNameSelected" realtime="true"/>
--> -->
<param ui="hud:swrc:c" <param ui="hud:swrc:c"
type="cfg" type="cfg"
@ -3553,17 +3553,17 @@
widget="boolbut" widget="boolbut"
link="UI:SAVE:INSCENE:USER:ChaScore1" link="UI:SAVE:INSCENE:USER:ChaScore1"
realtime="true" /> realtime="true" />
<param ui="in_scene_user:is_user_ChaScore3:c" <param ui="in_scene_user:is_user_sap:c"
type="db" type="db"
widget="boolbut" widget="boolbut"
link="UI:SAVE:INSCENE:USER:ChaScore3" link="UI:SAVE:INSCENE:USER:ChaScore3"
realtime="true" /> realtime="true" />
<param ui="in_scene_user:is_user_ChaScore2:c" <param ui="in_scene_user:is_user_sta:c"
type="db" type="db"
widget="boolbut" widget="boolbut"
link="UI:SAVE:INSCENE:USER:ChaScore2" link="UI:SAVE:INSCENE:USER:ChaScore2"
realtime="true" /> realtime="true" />
<param ui="in_scene_user:is_user_ChaScore4:c" <param ui="in_scene_user:is_user_focus:c"
type="db" type="db"
widget="boolbut" widget="boolbut"
link="UI:SAVE:INSCENE:USER:ChaScore4" link="UI:SAVE:INSCENE:USER:ChaScore4"
@ -3608,17 +3608,17 @@
widget="boolbut" widget="boolbut"
link="UI:SAVE:INSCENE:FRIEND:ChaScore1" link="UI:SAVE:INSCENE:FRIEND:ChaScore1"
realtime="true" /> realtime="true" />
<param ui="in_scene_friend:is_friend_ChaScore3:c" <param ui="in_scene_friend:is_friend_sap:c"
type="db" type="db"
widget="boolbut" widget="boolbut"
link="UI:SAVE:INSCENE:FRIEND:ChaScore3" link="UI:SAVE:INSCENE:FRIEND:ChaScore3"
realtime="true" /> realtime="true" />
<param ui="in_scene_friend:is_friend_ChaScore2:c" <param ui="in_scene_friend:is_friend_sta:c"
type="db" type="db"
widget="boolbut" widget="boolbut"
link="UI:SAVE:INSCENE:FRIEND:ChaScore2" link="UI:SAVE:INSCENE:FRIEND:ChaScore2"
realtime="true" /> realtime="true" />
<param ui="in_scene_friend:is_friend_ChaScore4:c" <param ui="in_scene_friend:is_friend_focus:c"
type="db" type="db"
widget="boolbut" widget="boolbut"
link="UI:SAVE:INSCENE:FRIEND:ChaScore4" link="UI:SAVE:INSCENE:FRIEND:ChaScore4"

View file

@ -87,7 +87,7 @@
y="0" y="0"
fontsize="12" fontsize="12"
shadow="true" shadow="true"
case_mode="%case_normal" /> case_mode="%case_first_word_letter_up" />
<view type="text" <view type="text"
id="grade" id="grade"
x="158" x="158"
@ -739,7 +739,7 @@
posparent="title" posparent="title"
x="20" x="20"
y="-4" y="-4"
texture="money_seve.tga" texture="money.tga"
global_color="false" /> global_color="false" />
<!-- edit box for the seeds --> <!-- edit box for the seeds -->
<instance template="edit_box_widget" <instance template="edit_box_widget"
@ -1050,7 +1050,7 @@
id="html" id="html"
posref="TL TL" posref="TL TL"
url="" url=""
home="http://app.ryzom.com/index.php" home="http://app.khaganat.net/"
sizeref="wh" sizeref="wh"
x="0" x="0"
y="0" y="0"
@ -1216,7 +1216,7 @@
id="html" id="html"
posref="TL TL" posref="TL TL"
url="" url=""
home="http://app.ryzom.com/init_ig.php" home="http://app.khaganat.net/"
sizeref="wh" sizeref="wh"
x="0" x="0"
y="0" y="0"

View file

@ -26,7 +26,7 @@
h="290" h="290"
pop_min_h="290" pop_min_h="290"
pop_max_h="290" pop_max_h="290"
title="TheSagaOfRyzom" title="Khanat"
resizer="true" resizer="true"
global_color="false" global_color="false"
header_color="UI:SAVE:WIN:COLORS:HELP" header_color="UI:SAVE:WIN:COLORS:HELP"
@ -138,7 +138,7 @@
x="0" x="0"
y="6" y="6"
posref="BM BM" posref="BM BM"
text_y="0" text_y="-2"
onclick_l="proc" onclick_l="proc"
params_l="welcome_close" params_l="welcome_close"
hardtext="uittOK" /> hardtext="uittOK" />
@ -199,7 +199,7 @@
x="-15" x="-15"
y="10" y="10"
posref="BM BM" posref="BM BM"
text_y="0" text_y="-2"
onclick_l="proc" onclick_l="proc"
params_l="active_hardware_cursor" params_l="active_hardware_cursor"
hardtext="uiYes" /> hardtext="uiYes" />
@ -208,7 +208,7 @@
y="0" y="0"
posparent="active_ok" posparent="active_ok"
posref="BR BL" posref="BR BL"
text_y="0" text_y="-2"
onclick_l="proc" onclick_l="proc"
params_l="close_hardware_cursor" params_l="close_hardware_cursor"
hardtext="uiNo" /> hardtext="uiNo" />
@ -316,7 +316,7 @@
x="0" x="0"
y="6" y="6"
posref="BM BM" posref="BM BM"
text_y="0" text_y="-2"
onclick_l="proc" onclick_l="proc"
params_l="universe_chanel_warning_close" params_l="universe_chanel_warning_close"
hardtext="uittOK" /> hardtext="uittOK" />
@ -356,9 +356,9 @@
</proc> </proc>
<group type="container" <group type="container"
id="death_warning" id="death_warning"
w="500" w="400"
pop_min_w="500" pop_min_w="400"
pop_max_w="500" pop_max_w="400"
h="250" h="250"
pop_min_h="250" pop_min_h="250"
pop_max_h="250" pop_max_h="250"
@ -401,7 +401,7 @@
id="death_warning_text" id="death_warning_text"
posref="TM TM" posref="TM TM"
x="0" x="0"
y="-10" y="-20"
color="255 255 255 255" color="255 255 255 255"
fontsize="12" fontsize="12"
shadow="true" shadow="true"
@ -416,7 +416,6 @@
y="30" y="30"
w="0" w="0"
h="16" h="16"
y_text="-5"
fontsize="10" fontsize="10"
hardtext="uiDeathWarningAvoid" hardtext="uiDeathWarningAvoid"
dblink="UI:VARIABLES:TEMP_DEATH_WARNING_AVOID" dblink="UI:VARIABLES:TEMP_DEATH_WARNING_AVOID"
@ -425,7 +424,7 @@
x="0" x="0"
y="6" y="6"
posref="BM BM" posref="BM BM"
text_y="0" text_y="-2"
onclick_l="proc" onclick_l="proc"
params_l="death_warning_close" params_l="death_warning_close"
hardtext="uittOK" /> hardtext="uittOK" />
@ -464,9 +463,9 @@
</proc> </proc>
<group type="container" <group type="container"
id="night_warning" id="night_warning"
w="500" w="400"
pop_min_w="500" pop_min_w="400"
pop_max_w="500" pop_max_w="400"
h="250" h="250"
pop_min_h="250" pop_min_h="250"
pop_max_h="250" pop_max_h="250"
@ -509,7 +508,7 @@
id="night_warning_text" id="night_warning_text"
posref="TM TM" posref="TM TM"
x="0" x="0"
y="-10" y="-20"
color="255 255 255 255" color="255 255 255 255"
fontsize="12" fontsize="12"
shadow="true" shadow="true"
@ -532,7 +531,7 @@
x="0" x="0"
y="6" y="6"
posref="BM BM" posref="BM BM"
text_y="0" text_y="-2"
onclick_l="proc" onclick_l="proc"
params_l="night_warning_close" params_l="night_warning_close"
hardtext="uittOK" /> hardtext="uittOK" />
@ -864,8 +863,10 @@
</group> </group>
</group> </group>
</group> </group>
<!--<define id="cs_url"
value="http://app.ryzom.com/ticket_system/index.php?mode=load" />-->
<define id="cs_url" <define id="cs_url"
value="http://app.ryzom.com/ticket_system/index.php?mode=load" /> value="http://lirria.khaganat.net/ams/" />
<group type="container" <group type="container"
id="cs_browser" id="cs_browser"
w="410" w="410"
@ -906,6 +907,22 @@
group_params_r="menu=ui:interface:base_menu_with_color" group_params_r="menu=ui:interface:base_menu_with_color"
on_active="lua" on_active="lua"
on_active_params="help:openCSBrowserHeader('cs_browser')"> on_active_params="help:openCSBrowserHeader('cs_browser')">
<!--Quitta start-->
<ctrl style="text_button_header"
button_type="push_button"
id="browse_home"
posref="MR MR"
x="-16"
y="0"
hardtext="AMS-HOME"
tooltip="uittBrowseHome"
onclick_l="browse_home"
params_l="name=ui:interface:cs_browser:content:html"
frozen="false" />
<!--Quitta end-->
</group> </group>
<group id="content" <group id="content"
x="0" x="0"
@ -920,9 +937,9 @@
url="home" url="home"
title_prefix="uiHelpTitle" title_prefix="uiHelpTitle"
sizeref="wh" sizeref="wh"
x="184" x="2"
y="0" y="0"
w="-190" w="-4"
h="0" h="0"
background_color="0 0 0 255" background_color="0 0 0 255"
error_color="255 240 48 255" error_color="255 240 48 255"
@ -943,7 +960,7 @@
h6_font_size="12" h6_font_size="12"
paragraph_begin_space="12" paragraph_begin_space="12"
multi_line_space_factor="0.25" multi_line_space_factor="0.25"
td_begin_space="0" td_begin_space="10"
li_begin_space="4" li_begin_space="4"
ul_begin_space="12" ul_begin_space="12"
li_indent="-10" li_indent="-10"
@ -990,43 +1007,6 @@
<ctrl style="skin_scroll" <ctrl style="skin_scroll"
id="scroll_bar" /> id="scroll_bar" />
</group> </group>
<group id="sbtree"
posref="TL TL"
x="0"
y="-12"
sizeref="h"
w="180"
h="-12">
<group id="black"
posref="BR BR"
sizeref="hw"
w="-12"
h="0"
inherit_gc_alpha="true" />
<instance template="inner_thin_border"
posparent="black"
inherit_gc_alpha="true" />
<group id="tree_list"
type="tree"
posref="TL TL"
x="16"
y="-4"
col_over="255 255 255 48"
col_select="255 255 255 80"
fontsize="10"
max_sizeparent="parent"
max_sizeref="wh"
max_w="-20"
max_h="-10">
<node name="uiCSBase"
handler="launch_help"
params="help_container=ui:interface:cs_browser|url=%cs_url" />
</group>
<ctrl style="skin_scroll"
id="scroll_bar"
align="T"
target="tree_list" />
</group>
</group> </group>
</group> </group>
<!--******************--> <!--******************-->
@ -2829,7 +2809,7 @@
global_color_normal="true" global_color_normal="true"
global_color_over="true" global_color_over="true"
global_color_pushed="true" global_color_pushed="true"
text_y="0" text_y="-2"
fontsize="10" fontsize="10"
shadow="true" shadow="true"
case_mode="%case_upper" case_mode="%case_upper"
@ -2888,21 +2868,21 @@
x="4" x="4"
y="0" y="0"
posref="TL TL" posref="TL TL"
text_y="0" text_y="-2"
onclick_l="proc" onclick_l="proc"
params_l="proc_stat_report_yes" params_l="proc_stat_report_yes"
hardtext="uiYes" /> hardtext="uiYes" />
<ctrl style="button_cancel" <ctrl style="button_cancel"
x="4" x="4"
posparent="ok" posparent="ok"
text_y="0" text_y="-2"
posref="TR TL" posref="TR TL"
onclick_l="leave_modal" onclick_l="leave_modal"
hardtext="uiNo" /> hardtext="uiNo" />
<ctrl style="button_always" <ctrl style="button_always"
x="4" x="4"
posparent="cancel" posparent="cancel"
text_y="0" text_y="-2"
posref="TR TL" posref="TR TL"
onclick_l="proc" onclick_l="proc"
params_l="proc_stat_report_always" params_l="proc_stat_report_always"

View file

@ -118,7 +118,7 @@
<tree node="keys_edit"/> <tree node="keys_edit"/>
<tree node="keys_windows"/> <tree node="keys_windows"/>
<tree node="keys_miscellaneous"/> <tree node="keys_miscellaneous"/>
<tree node="keys_debug" <tree node="keys_debug"/>
</tree> </tree>
<!-- done with template teditcmd now <tree node="editkey" />--> <!-- done with template teditcmd now <tree node="editkey" />-->

View file

@ -1467,7 +1467,7 @@
<group type="webig_html" <group type="webig_html"
id="html" id="html"
posref="TL TL" posref="TL TL"
url="http://app.ryzom.com/app_rpjobs/index.php" url="http://app.khaganat.net"
title_prefix="" title_prefix=""
sizeref="wh" sizeref="wh"
x="0" x="0"
@ -1502,7 +1502,7 @@
checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga"
checkbox_bitmap_over="" checkbox_bitmap_over=""
background_bitmap_view="black2" background_bitmap_view="black2"
home="http://app.ryzom.com/app_rpjobs/index.php" home="http://app.khaganat.net"
browse_next_time="true" browse_next_time="true"
form_text_area_group="edit_box_widget_multiline"> form_text_area_group="edit_box_widget_multiline">
<group id="black" <group id="black"
@ -1602,7 +1602,7 @@
id="html" id="html"
posref="TL TL" posref="TL TL"
posparent="parent" posparent="parent"
url="http://app.ryzom.com/app_profile/index.php" url="http://app.khaganat.net"
title_prefix="" title_prefix=""
sizeref="wh" sizeref="wh"
x="0" x="0"
@ -1637,7 +1637,7 @@
checkbox_bitmap_pushed="w_opacity_on.tga" checkbox_bitmap_pushed="w_opacity_on.tga"
checkbox_bitmap_over="" checkbox_bitmap_over=""
background_bitmap_view="black2" background_bitmap_view="black2"
home="http://app.ryzom.com/app_profile/index.php" home="http://app.khaganat.net"
browse_next_time="true" browse_next_time="true"
form_text_area_group="edit_box_widget_multiline"> form_text_area_group="edit_box_widget_multiline">
<group id="black" <group id="black"

View file

@ -27,61 +27,140 @@
<group id="checkpass" posref="MM MM" w="1024" h="768" active="false" <group id="checkpass" posref="MM MM" w="1024" h="768" active="false"
on_active="init_res_lod" on_deactive="uninit_res_lod" > on_active="init_res_lod" on_deactive="uninit_res_lod" >
<group id="content" x="0" y="0" w="1024" h="768" posref="TL TL" > <group id="content" x="0" y="0" w="1024" h="768" posref="TL TL" >
<!-- BACKGROUND --> <!-- BACKGROUND -->
<view type="bitmap" posref="TL TL" id="bl" texture="new_launcher_bg.tga" global_color="false" render_layer="-1" /> <view type="bitmap" posref="TL TL" id="bl" texture="new_launcher_bg.tga" global_color="false" render_layer="-2" />
<instance template="log_box" id="window" y="-8" posref="MM MM" w="1024" h="768" color="0 0 0 0"/> <instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<!--
<view type="bitmap" id="jena" posparent="window" posref="MR MR" x="-64" texture="log_jena.tga" global_color="false" render_layer="-1" /> <!-- EXIT BUTTON -->
--> <ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-20" onclick_l="login_quit" hardtext="uiExitLogin" />
<view id="uiBewareAlphaText"
active="1"
x="0"
y="249"
w="148"
h="16"
posref="MM MM"
posparent="parent"
sizeref=""
sizeparent="parent"
global_color="0"
render_layer="0"
avoid_resize_parent="0"
type="text"
color="255 255 255 255"
fontsize="12"
shadow="0"
shadow_outline="0"
shadow_color="0 0 0 255"
multi_line="1"
justification="dont_clip_word"
line_maxw="700"
multi_line_space="8"
multi_line_maxw_only="0"
multi_max_line="0"
underlined="0"
case_mode="0"
over_extend_view_text="0"
over_extend_parent_rect="0"
auto_clamp="0"
clamp_right="1"
auto_clamp_offset="0"
continuous_update="0"
hardtext="uiBewareAlphaText"
hardtext_format=""
/>
<view id="uiBewareAlpha"
active="1"
x="-9"
y="294"
w="158"
h="21"
posref="MM MM"
posparent="parent"
sizeref=""
sizeparent="parent"
global_color="1"
render_layer="0"
avoid_resize_parent="0"
type="text"
color="255 255 255 255"
fontsize="16"
shadow="0"
shadow_outline="0"
shadow_color="0 0 0 255"
multi_line="0"
justification="dont_clip_word"
line_maxw="500"
multi_line_space="8"
multi_line_maxw_only="0"
multi_max_line="0"
underlined="0"
case_mode="0"
over_extend_view_text="0"
over_extend_parent_rect="0"
auto_clamp="0"
clamp_right="1"
auto_clamp_offset="0"
continuous_update="0"
hardtext="uiBewareAlpha"
hardtext_format=""
/>
<!-- Login Edit_Boxes --> <!-- Login Edit_Boxes -->
<view type="text" id="txt_log" x="0" posref="TM TM" posparent="window" hardtext="uiLogin" fontsize="10" y="-200" color="255 255 255 255" /> <view type="text" id="txt_log" x="115" posref="TL TL" posparent="window" hardtext="uiLogin" fontsize="10" y="-48" color="255 255 255 255" />
<view type="text" id="txt_pas" posparent="txt_log" posref="TM TM" hardtext="uiPassword" fontsize="10" y="-48" color="255 255 255 255" /> <view type="text" id="txt_pas" posparent="txt_log" posref="TL TL" hardtext="uiPassword" fontsize="10" x="246" color="255 255 255 255" />
<instance template="edit_box_log" id="eb_login" posparent="txt_log" posref="BM TM" w="240" h="26" fontsize="12" x="0" y="-4" <instance template="edit_box_log" id="eb_login" posparent="txt_log" posref="BL TL" w="240" h="24" fontsize="12" x="0" y="-4"
text_ref="BM BM" text_y="0" text_ref="BM BM" text_y="-2"
reset_focus_on_hide="false" max_historic="0" reset_focus_on_hide="false" max_historic="0"
onenter="set_keyboard_focus" params="target=ui:login:checkpass:content:submit_gr:eb_password:eb|select_all=false" onenter="set_keyboard_focus" params="target=ui:login:checkpass:content:submit_gr:eb_password:eb|select_all=false"
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="12" color="135 243 28 255" /> prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="20" color="135 243 28 255" />
<instance template="edit_box_log" id="eb_password" posparent="txt_pas" posref="BM TM" w="240" h="26" fontsize="12" x="0" y="-4" <instance template="edit_box_log" id="eb_password" posparent="txt_pas" posref="BL TL" w="240" h="24" fontsize="14" x="0" y="-4"
text_ref="BM BM" text_y="0" text_ref="BM BM" text_y="-2"
reset_focus_on_hide="false" max_historic="0" entry_type="password" reset_focus_on_hide="false" max_historic="0" entry_type="password"
onenter="on_login" params="" onenter="on_login" params=""
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="20" color="135 243 28 255" /> prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="20" color="135 243 28 255" />
<ctrl style="log_std_but" id="but_log" posparent="eb_password" posref="TM TM" y="-32" onclick_l="on_login" hardtext="uiOnConnect" /> <ctrl style="log_std_but" id="but_log" posparent="eb_password" posref="TR TL" x="6" onclick_l="on_login" hardtext="uiOnConnect" />
<!-- Boxes Web Shortcuts <!-- Boxes Web Shortcuts -->
<instance template="server_box" id="web_win" posparent="eb_login" posref="BL TL" w="568" h="202" y="-24" /> --> <instance template="server_box" id="web_win" posparent="eb_login" posref="BL TL" w="568" h="202" y="-24" color="255 255 255 255" />
<!-- Create Account --> <!-- Create Account -->
<ctrl style="log_std_but" id="but_create_account" posparent="but_log" posref="BM TM" y="-28" <ctrl style="log_spe_but" id="but_create_account" posparent="web_win" posref="TL TL" x="8" y="-8"
onclick_l="on_create_account" hardtext="uiCreateAccount" /> onclick_l="on_create_account" hardtext="uiCreateAccount" />
<!-- Edit Account -->
<ctrl style="log_std_but" id="but_edit_account" posparent="but_create_account" posref="BM TM" y="-8"
onclick_l="open_url" params_l="cfg_EditAccountURL" hardtext="uiEditAccount" />
<!-- Upgrade Account --> <!-- Upgrade Account -->
<!-- <ctrl style="log_std_but" id="but_upgrade_account" posparent="but_create_account" posref="BM TM" y="-8" <ctrl style="log_spe_but" id="but_upgrade_account" posparent="but_create_account" posref="BL TL" y="-8"
onclick_l="open_url" params_l="cfg_EditAccountURL" hardtext="uiUpgradeAccount" /> --> onclick_l="open_url" params_l="cfg_EditAccountURL" hardtext="uiUpgradeAccount" />
<!-- Forget Password --> <!-- Forget Password -->
<ctrl style="log_std_but" id="but_forget_pwd" posparent="but_edit_account" posref="BM TM" y="-8" <ctrl style="log_spe_but" id="but_forget_pwd" posparent="but_upgrade_account" posref="BL TL" y="-8"
onclick_l="open_url" params_l="cfg_ForgetPwdURL" hardtext="uiForgetPwd" /> onclick_l="open_url" params_l="cfg_ForgetPwdURL" hardtext="uiForgetPwd" />
<!-- Game Configuration -->
<ctrl style="log_spe_but" id="but_game_configuration" posparent="but_forget_pwd" posref="BL TL" y="-8"
onclick_l="on_game_configuration" hardtext="uiGameConfiguration" />
<!-- Edit Account -->
<ctrl style="log_spe_but" id="but_edit_account" posparent="but_game_configuration" posref="BL TL" y="-8"
onclick_l="open_url" params_l="cfg_EditAccountURL" hardtext="uiEditAccount" />
<!-- Free Trial <!-- Free Trial
<ctrl style="log_spe_but" id="but_free_trial" posparent="but_forget_pwd" posref="BL TL" y="-8" <ctrl style="log_spe_but" id="but_free_trial" posparent="but_forget_pwd" posref="BL TL" y="-8"
onclick_l="open_url" params_l="cfg_FreeTrialURL" hardtext="uiFreeTrial" /> onclick_l="open_url" params_l="cfg_FreeTrialURL" hardtext="uiFreeTrial" />
--> -->
<!-- Login Support --> <!-- Login Support -->
<ctrl style="log_std_but" id="but_login_support" posparent="but_forget_pwd" posref="BM TM" y="-8" <ctrl style="log_spe_but" id="but_login_support" posparent="but_edit_account" posref="BL TL" y="-8"
onclick_l="open_url" params_l="cfg_LoginSupportURL" hardtext="uiLoginSupport" /> onclick_l="open_url" params_l="cfg_LoginSupportURL" hardtext="uiLoginSupport" />
<!-- Scan Data --> <!-- Scan Data -->
@ -106,18 +185,15 @@
but_login_support:active" /> but_login_support:active" />
<!-- RESOLUTION ET LEVEL OF DETAILS --> <!-- RESOLUTION ET LEVEL OF DETAILS -->
<instance template="server_box" id="res_win" posparent="window" posref="TL TL" w="276" h="24" y="-733" x="10"/> <instance template="server_box" id="res_win" posparent="web_win" posref="BL TL" w="276" h="24" y="-24" />
<instance template="server_box" id="lod_win" posparent="res_win" posref="TR TL" w="276" h="24" x="16" /> <instance template="server_box" id="lod_win" posparent="res_win" posref="TR TL" w="276" h="24" x="16" />
<!-- Game Configuration -->
<!-- <ctrl style="log_std_but" id="but_game_configuration" posparent="lod_win" posref="TR TL" x="26" onclick_l="on_game_configuration" hardtext="uiGameConfiguration" /> -->
<!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="windows" posref="BR BR" y="6" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- Textes -->
<view type="text" id="title_res" posparent="res_win" posref="TL BL" y="2" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiLOGResolution" />
<view type="text" id="title_lod" posparent="lod_win" posref="TL BL" y="2" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiLOGLod" />
<view type="text" id="res_value" posparent="res_win" posref="MM MM" y="0" color="135 243 28 255" fontsize="10" shadow="true" hardtext="uiResValue" /> <!-- Textes -->
<view type="text" id="lod_value" posparent="lod_win" posref="MM MM" y="0" color="135 243 28 255" fontsize="10" shadow="true" hardtext="uiLodValue" /> <view type="text" id="title_res" posparent="res_win" posref="TL BL" y="0" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiLOGResolution" />
<view type="text" id="title_lod" posparent="lod_win" posref="TL BL" y="0" color="255 255 255 255" fontsize="10" shadow="true" hardtext="uiLOGLod" />
<view type="text" id="res_value" posparent="res_win" posref="MM MM" y="-2" color="135 243 28 255" fontsize="10" shadow="true" hardtext="uiResValue" />
<view type="text" id="lod_value" posparent="lod_win" posref="MM MM" y="-2" color="135 243 28 255" fontsize="10" shadow="true" hardtext="uiLodValue" />
<!-- Boutons Res --> <!-- Boutons Res -->
@ -187,7 +263,7 @@
<view type="bitmap" id="kami" posparent="window" posref="TR TR" x="-50" y="-24" texture="log_kami.tga" global_color="false" render_layer="-1" /> <view type="bitmap" id="kami" posparent="window" posref="TR TR" x="-50" y="-24" texture="log_kami.tga" global_color="false" render_layer="-1" />
<!-- EXIT BUTTON --> <!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-18" onclick_l="login_quit" hardtext="uiExitLogin" /> <ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-20" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- SERVER SELECTION --> <!-- SERVER SELECTION -->
<instance template="server_box" id="server_win" posparent="window" posref="ML ML" w="612" h="338" x="8" y="0" /> <instance template="server_box" id="server_win" posparent="window" posref="ML ML" w="612" h="338" x="8" y="0" />
@ -276,7 +352,7 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<!-- ******************** --> <!-- ******************** -->
<!-- * CHECKING PROGESS * --> <!-- * CHECKING PROGRESS * -->
<!-- ******************** --> <!-- ******************** -->
@ -291,19 +367,19 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" /> <instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<!-- EXIT BUTTON --> <!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-18" onclick_l="login_quit" hardtext="uiExitLogin" /> <ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-20" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- Window --> <!-- Window -->
<instance template="server_box" id="check_win" posparent="window" posref="MM MM" w="600" h="128" x="0" y="0" /> <instance template="server_box" id="check_win" posparent="window" posref="MM MM" w="600" h="128" x="0" y="0" />
<!-- Texts --> <!-- Textes -->
<view type="text" id="title" posparent="check_win" posref="TM BM" y="8" color="255 255 255 255" <view type="text" id="title" posparent="check_win" posref="TM BM" y="8" color="255 255 255 255"
fontsize="12" shadow="true" hardtext="uiOnChecking" /> fontsize="12" shadow="true" hardtext="uiOnChecking" />
<view type="text" id="state" posparent="check_win" posref="TL TL" w="584" x="8" y="-8" line_maxw="584" color="135 243 28 255" <view type="text" id="state" posparent="check_win" posref="TL TL" w="584" x="8" y="-8" line_maxw="584" color="135 243 28 255"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_normal"/> fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
<view type="text" id="progress" posref="BL TL" posparent="state" fontsize="12" y="-8" color="135 243 28 255" line_maxw="584" <view type="text" id="progress" posref="BL TL" posparent="state" fontsize="12" y="-8" color="135 243 28 255" line_maxw="584"
shadow="true" multi_line="true" multi_line_space="0" /> shadow="true" multi_line="true" multi_line_space="0" />
@ -346,7 +422,7 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" /> <instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<!-- EXIT BUTTON --> <!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-18" onclick_l="login_quit" hardtext="uiExitLogin" /> <ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-20" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- Window --> <!-- Window -->
<instance template="server_box" id="global_win" posparent="bl" posref="TM TM" w="400" h="22" x="-14" y="-240" /> <instance template="server_box" id="global_win" posparent="bl" posref="TM TM" w="400" h="22" x="-14" y="-240" />
@ -354,19 +430,19 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<instance template="server_box" id="opt_win" posparent="nonopt_win" posref="BM TM" w="400" h="206" y="-30" /> <instance template="server_box" id="opt_win" posparent="nonopt_win" posref="BM TM" w="400" h="206" y="-30" />
<!-- Textes --> <!-- Textes -->
<view type="text" id="title" posparent="global_win" posref="TM BM" y="2" color="255 255 255 255" <view type="text" id="title" posparent="global_win" posref="TM BM" y="24" color="255 255 255 255"
fontsize="12" shadow="true" hardtext="uiOnPatchDetail" /> fontsize="12" shadow="true" hardtext="uiOnPatchDetail" />
<view type="text" id="opt_txt" posparent="opt_win" posref="TL BL" y="1" color="255 255 255 255" <view type="text" id="opt_txt" posparent="opt_win" posref="TL BL" y="1" color="255 255 255 255"
fontsize="10" shadow="true" hardtext="uiOnPatchOpt" /> fontsize="10" shadow="true" hardtext="uiOnPatchOpt" />
<group id="global_patch" w="382" h="22" posparent="global_win" posref="MM MM" > <group id="global_patch" w="382" h="22" posparent="global_win" posref="MM MM" >
<view type="text" id="name" posref="ML ML" fontsize="12" x="2" y="0" color="135 243 28 255" shadow="true" hardtext="uiTotalPatch" /> <view type="text" id="name" posref="BL BL" fontsize="12" x="2" y="0" color="135 243 28 255" shadow="true" hardtext="TOTAL PATCH" />
<view type="text" id="size" posref="MR MR" fontsize="12" x="-8" y="0" color="135 243 28 255" shadow="true" hardtext="...Kbs" /> <view type="text" id="size" posref="BR BR" fontsize="12" x="-8" y="0" color="135 243 28 255" shadow="true" hardtext="...Kbs" />
</group> </group>
<group id="nonopt_patch" w="382" h="22" posparent="nonopt_win" posref="MM MM" > <group id="nonopt_patch" w="382" h="22" posparent="nonopt_win" posref="MM MM" >
<view type="text" id="name" posref="ML ML" fontsize="12" x="2" y="0" color="135 243 28 255" shadow="true" hardtext="uiRequiredFiles" /> <view type="text" id="name" posref="BL BL" fontsize="12" x="2" y="0" color="135 243 28 255" shadow="true" hardtext="NON OPTIONAL FILES" />
<view type="text" id="size" posref="MR MR" fontsize="12" x="-8" y="0" color="135 243 28 255" shadow="true" hardtext="...Kbs" /> <view type="text" id="size" posref="BR BR" fontsize="12" x="-8" y="0" color="135 243 28 255" shadow="true" hardtext="...Kbs" />
</group> </group>
<!-- Categories --> <!-- Categories -->
@ -403,7 +479,7 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" /> <instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<!-- EXIT BUTTON --> <!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-18" onclick_l="login_quit" hardtext="uiExitLogin" /> <ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-20" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- patch --> <!-- patch -->
@ -412,14 +488,14 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<link expr="eq(@UI:VARIABLES:SCREEN,4)" target="global_win:active,patch_win:active"/> <link expr="eq(@UI:VARIABLES:SCREEN,4)" target="global_win:active,patch_win:active"/>
<group id="global_patch" w="582" h="22" posparent="global_win" posref="MM MM" > <group id="global_patch" w="582" h="22" posparent="global_win" posref="MM MM" >
<view type="text" id="name" posref="ML ML" fontsize="12" x="2" y="0" color="135 243 28 255" shadow="true" hardtext="uiTotalPatch" /> <view type="text" id="name" posref="BL BL" fontsize="12" x="2" y="0" color="135 243 28 255" shadow="true" hardtext="TOTAL PATCH" />
<view type="text" id="size" posref="MR MR" fontsize="12" x="-8" y="0" color="135 243 28 255" shadow="true" hardtext=".../...Kbs" /> <view type="text" id="size" posref="BR BR" fontsize="12" x="-8" y="0" color="135 243 28 255" shadow="true" hardtext=".../...Kbs" />
</group> </group>
<link expr="eq(@UI:VARIABLES:SCREEN,4)" target="global_patch:active"/> <link expr="eq(@UI:VARIABLES:SCREEN,4)" target="global_patch:active"/>
<view type="text" id="progress" posref="TL TL" posparent="patch_win" fontsize="12" x="8" y="-4" color="135 243 28 255" shadow="true"/> <view type="text" id="progress" posref="TL TL" posparent="patch_win" fontsize="12" x="8" y="-8" color="135 243 28 255" shadow="true"/>
<view type="text" id="state" posparent="progress" posref="TR TL" w="520" x="4" y="0" line_maxw="520" color="135 243 28 255" <view type="text" id="state" posparent="progress" posref="TR TL" w="520" x="4" y="0" line_maxw="520" color="135 243 28 255"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_normal"/> fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
<link expr="eq(@UI:VARIABLES:SCREEN,4)" target="progress:active,state:active"/> <link expr="eq(@UI:VARIABLES:SCREEN,4)" target="progress:active,state:active"/>
<!-- Reboot --> <!-- Reboot -->
@ -434,9 +510,9 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<!-- Release Note --> <!-- Release Note -->
<instance template="server_box" id="release_win" posparent="bl" posref="TM TM" w="600" h="324" x="-14" y="-282" /> <instance template="server_box" id="release_win" posparent="bl" posref="TM TM" w="600" h="324" x="-14" y="-282" />
<view type="text" id="release_title" posref="TM BM" posparent="release_win" fontsize="10" y="0" color="255 255 255 255" <view type="text" id="release_title" posref="TM BM" posparent="release_win" fontsize="10" y="-2" color="255 255 255 255"
hardtext="uiOnRelease" shadow="true"/> hardtext="uiOnRelease" shadow="true"/>
<!-- <!--
@ -511,7 +587,7 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" /> <instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<!-- EXIT BUTTON --> <!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-18" onclick_l="login_quit" hardtext="uiExitLogin" /> <ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-20" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- WINDOW --> <!-- WINDOW -->
<instance template="server_box" id="eula_win" posparent="window" posref="MM MM" w="612" h="338" x="-24" y="0" /> <instance template="server_box" id="eula_win" posparent="window" posref="MM MM" w="612" h="338" x="-24" y="0" />
@ -556,7 +632,7 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" /> <instance template="log_box" id="window" y="-8" posref="MM MM" w="800" h="440" />
<!-- EXIT BUTTON --> <!-- EXIT BUTTON -->
<ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-18" onclick_l="login_quit" hardtext="uiExitLogin" /> <ctrl style="log_button" id="but_exit" posparent="window" posref="TR TR" y="-20" onclick_l="login_quit" hardtext="uiExitLogin" />
<!-- Window --> <!-- Window -->
@ -572,7 +648,7 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<!-- check state --> <!-- check state -->
<instance template="server_box" id="check_win" posparent="placeholder" posref="TM TM" sizeref="w" h="88" x="0" y="0" /> <instance template="server_box" id="check_win" posparent="placeholder" posref="TM TM" sizeref="w" h="88" x="0" y="0" />
<view type="text" id="state" posparent="check_win" posref="TL TL" w="584" x="8" y="-8" line_maxw="584" color="135 243 28 255" <view type="text" id="state" posparent="check_win" posref="TL TL" w="584" x="8" y="-8" line_maxw="584" color="135 243 28 255"
fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_normal"/> fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
<view type="text" id="progress" posref="BL TL" posparent="state" fontsize="12" y="-8" color="135 243 28 255" line_maxw="584" <view type="text" id="progress" posref="BL TL" posparent="state" fontsize="12" y="-8" color="135 243 28 255" line_maxw="584"
shadow="true" multi_line="true" multi_line_space="0" /> shadow="true" multi_line="true" multi_line_space="0" />
@ -626,7 +702,7 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
</group> </group>
</template> </template>
<!-- Page that allows to create an account --> <!-- Page that show the result of data scanning -->
<group id="create_account" posref="MM MM" w="1024" h="768" active="false" > <group id="create_account" posref="MM MM" w="1024" h="768" active="false" >
<group id="content" x="0" y="0" w="1024" h="768" posref="TL TL" > <group id="content" x="0" y="0" w="1024" h="768" posref="TL TL" >
@ -647,8 +723,8 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<!-- login --> <!-- login -->
<view type="text" id="txt_log" posref="TL TL" hardtext="uiUsername" fontsize="12" x="0" y="-60" color="255 255 255 255" /> <view type="text" id="txt_log" posref="TL TL" hardtext="uiUsername" fontsize="12" x="0" y="-60" color="255 255 255 255" />
<instance template="edit_box_log" id="eb_login" posparent="txt_log" posref="BL BL" w="250" h="26" fontsize="12" x="200" y="0" <instance template="edit_box_log" id="eb_login" posparent="txt_log" posref="BL BL" w="260" h="24" fontsize="12" x="190" y="0"
text_ref="BM BM" text_y="0" text_ref="BM BM" text_y="-2"
on_focus="create_account_rules" on_focus_params="rules_login" reset_focus_on_hide="false" max_historic="0" on_focus="create_account_rules" on_focus_params="rules_login" reset_focus_on_hide="false" max_historic="0"
onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_password:eb|select_all=false" onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_password:eb|select_all=false"
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="12" color="135 243 28 255" /> prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="12" color="135 243 28 255" />
@ -656,29 +732,29 @@ on_enter="leave_modal" options="no_bordure" mouse_pos="false" exit_key_pushed="t
<!-- password --> <!-- password -->
<view type="text" id="txt_pas" posparent="txt_log" posref="BL TL" hardtext="uiPassword" fontsize="12" x="0" y="-30" color="255 255 255 255" /> <view type="text" id="txt_pas" posparent="txt_log" posref="BL TL" hardtext="uiPassword" fontsize="12" x="0" y="-30" color="255 255 255 255" />
<instance template="edit_box_log" id="eb_password" posparent="txt_pas" posref="BL BL" w="250" h="26" fontsize="12" x="200" y="0" <instance template="edit_box_log" id="eb_password" posparent="txt_pas" posref="BL BL" w="260" h="24" fontsize="16" x="190" y="0"
text_ref="BM BM" text_y="-2" text_ref="BM BM" text_y="-2"
on_focus="create_account_rules" on_focus_params="rules_password" reset_focus_on_hide="false" max_historic="0" entry_type="password" on_focus="create_account_rules" on_focus_params="rules_password" reset_focus_on_hide="false" max_historic="0" entry_type="password"
onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_confirm_password:eb|select_all=false" onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_confirm_password:eb|select_all=false"
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="20" color="135 243 28 255" /> prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="8" color="135 243 28 255" />
<!-- confirm password --> <!-- confirm password -->
<view type="text" id="txt_confirm_pas" posparent="txt_pas" posref="BL TL" hardtext="uiConfirmPassword" fontsize="12" x="0" y="-30" color="255 255 255 255" /> <view type="text" id="txt_confirm_pas" posparent="txt_pas" posref="BL TL" hardtext="uiConfirmPassword" fontsize="12" x="0" y="-30" color="255 255 255 255" />
<instance template="edit_box_log" id="eb_confirm_password" posparent="txt_confirm_pas" posref="BL BL" w="250" h="26" fontsize="12" x="200" y="0" <instance template="edit_box_log" id="eb_confirm_password" posparent="txt_confirm_pas" posref="BL BL" w="260" h="24" fontsize="16" x="190" y="0"
text_ref="BM BM" text_y="-2" text_ref="BM BM" text_y="-2"
on_focus="create_account_rules" on_focus_params="rules_password_conf" reset_focus_on_hide="false" max_historic="0" entry_type="password" on_focus="create_account_rules" on_focus_params="rules_password_conf" reset_focus_on_hide="false" max_historic="0" entry_type="password"
onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_email:eb|select_all=false" onenter="set_keyboard_focus" params="target=ui:login:create_account:content:submit_gr:eb_email:eb|select_all=false"
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="20" color="135 243 28 255" /> prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="8" color="135 243 28 255" />
<!-- email --> <!-- email -->
<view type="text" id="txt_email" posparent="txt_confirm_pas" posref="BL TL" hardtext="uiEmail" fontsize="12" x="0" y="-30" color="255 255 255 255" /> <view type="text" id="txt_email" posparent="txt_confirm_pas" posref="BL TL" hardtext="uiEmail" fontsize="12" x="0" y="-30" color="255 255 255 255" />
<instance template="edit_box_log" id="eb_email" posparent="txt_email" posref="BL BL" w="250" h="26" fontsize="12" x="200" y="0" <instance template="edit_box_log" id="eb_email" posparent="txt_email" posref="BL BL" w="260" h="24" fontsize="12" x="190" y="0"
text_ref="BM BM" text_y="0" text_ref="BM BM" text_y="-2"
on_focus="create_account_rules" on_focus_params="rules_email" reset_focus_on_hide="false" max_historic="0" on_focus="create_account_rules" on_focus_params="rules_email" reset_focus_on_hide="false" max_historic="0"
onenter="" params="" onenter="" params=""
prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="254" color="135 243 28 255" /> prompt="" enter_loose_focus="true" multi_line="false" max_num_chars="255" color="135 243 28 255" />
<!-- accept conditions --> <!-- accept conditions -->
<ctrl type="button" id="accept_cond" button_type="toggle_button" pushed="true" <ctrl type="button" id="accept_cond" button_type="toggle_button" pushed="true"

View file

@ -63,7 +63,7 @@
</template> </template>
<template name="edit_box_log" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" multi_line="false" x="0" y="0" w="0" h="0" <template name="edit_box_log" posref="TL TL" text_x="0" text_y="-1" text_ref="BL BL" multi_line="false" x="0" y="0" w="0" h="0"
id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" on_focus="" on_focus_params="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" on_focus="" on_focus_params=""
enter_loose_focus="true" prompt="&gt;" enter_loose_focus="true" prompt="&gt;"
enter_recover_focus="true" enter_recover_focus="true"
@ -100,7 +100,7 @@
</template> </template>
<template name="edit_box_widget_multiline" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0" <template name="edit_box_widget_multiline" posref="TL TL" text_x="0" text_y="-1" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0"
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
enter_loose_focus="true" prompt="&gt;" enter_loose_focus="true" prompt="&gt;"
enter_recover_focus="true" enter_recover_focus="true"
@ -112,19 +112,16 @@
keep="true" keep="true"
max_historic="40" max_historic="40"
fontsize="10" fontsize="10"
fontweight=""
fontstyle=""
backup_father_container_pos="false" backup_father_container_pos="false"
want_return="false" want_return="false"
color="255 255 255 255" color="255 255 255 255"
sizeref_eb="w" sizeref_eb="w"
render_layer="0" render_layer="0"
multi_min_line="0"
> >
<group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h" render_layer="#render_layer"> <group id="#id" posref="#posref" x="#x" y="#y" posparent="#posparent" child_resize_h="#child_resize_h" sizeref="#sizeref" w="#w" h="#h" render_layer="#render_layer">
<group type="edit_box" sizeref="#sizeref_eb" w="-16" id="eb" posref="TL TL" x="8" y="-8" child_resize_h="#child_resize_h" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" prompt="#prompt" enter_loose_focus="#enter_loose_focus" enter_recover_focus="#enter_recover_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" want_return="#want_return" backup_father_container_pos="#backup_father_container_pos" render_layer="#render_layer"> <group type="edit_box" sizeref="#sizeref_eb" w="-16" id="eb" posref="TL TL" x="8" y="-8" child_resize_h="#child_resize_h" onenter="#onenter" params="#params" onchange="#onchange" onchange_params="#onchange_params" max_num_chars="#max_num_chars" prompt="#prompt" enter_loose_focus="#enter_loose_focus" enter_recover_focus="#enter_recover_focus" entry_type="#entry_type" reset_focus_on_hide="#reset_focus_on_hide" menu_r="#menu_r" max_historic="#max_historic" want_return="#want_return" backup_father_container_pos="#backup_father_container_pos" render_layer="#render_layer">
<view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="log_eb_m.tga" inherit_gc_alpha="false" render_layer="#render_layer"/> <view type="bitmap" id="bg" scale="true" sizeref="hw" h="0" w="0" texture="log_eb_m.tga" inherit_gc_alpha="false" render_layer="#render_layer"/>
<view id="edit_text" type="text" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" multi_min_line="#multi_min_line" fontsize="#fontsize" color="#color" fontweight="#fontweight" fontstyle="#fontstyle" shadow="true" hardtext="" global_color="false" render_layer="#render_layer"/> <view id="edit_text" type="text" x="#text_x" y="#text_y" posref="#text_ref" multi_line="#multi_line" multi_line_space="0" fontsize="#fontsize" color="#color" shadow="true" hardtext="" global_color="false" render_layer="#render_layer"/>
</group> </group>
<!-- border around the list --> <!-- border around the list -->
@ -141,7 +138,7 @@
<!-- Alternate look for multi line input --> <!-- Alternate look for multi line input -->
<template name="edit_box_widget_multiline_2" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0" <template name="edit_box_widget_multiline_2" posref="TL TL" text_x="0" text_y="-1" text_ref="BL BL" child_resize_h="true" multi_line="true" x="0" y="0" w="0" h="0"
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
enter_loose_focus="true" prompt="&gt;" enter_loose_focus="true" prompt="&gt;"
enter_recover_focus="true" enter_recover_focus="true"
@ -182,7 +179,7 @@
<style style="log_button" type="text_button" button_type="push_button" <style style="log_button" type="text_button" button_type="push_button"
tx_normal="log_but" tx_pushed="log_but_over" tx_over="log_but_over" wmargin="48" tx_normal="log_but" tx_pushed="log_but_over" tx_over="log_but_over" wmargin="48"
color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255" color="255 255 255 255" col_over="255 255 255 255" col_pushed="255 255 255 255"
text_y="0" fontsize="10" shadow="true" text_y="-3" fontsize="10" shadow="true"
text_color_normal="255 255 255 160" text_color_normal="255 255 255 160"
text_color_pushed="255 255 255 255" text_color_pushed="255 255 255 255"
text_color_over="255 255 255 255" text_color_over="255 255 255 255"
@ -195,10 +192,10 @@
<style style="log_std_but" type="text_button" button_type="push_button" <style style="log_std_but" type="text_button" button_type="push_button"
tx_normal="but" tx_pushed="but" tx_over="but_over" wmargin="16" tx_normal="but" tx_pushed="but" tx_over="but_over" wmargin="16"
color="255 255 255 160" col_over="255 255 255 255" col_pushed="255 255 255 255" color="255 255 255 160" col_over="255 255 255 255" col_pushed="255 255 255 255"
text_y="-1" fontsize="10" shadow="true" text_y="-3" fontsize="10" shadow="true"
text_color_normal="135 243 28 160" text_color_normal="255 254 243 160"
text_color_pushed="135 243 28 255" text_color_pushed="255 254 243 255"
text_color_over="135 243 28 255" text_color_over="255 254 243 255"
text_shadow_color_normal="0 0 0 255" text_shadow_color_normal="0 0 0 255"
text_shadow_color_pushed="0 0 0 255" text_shadow_color_pushed="0 0 0 255"
text_shadow_color_over="0 0 0 255" text_shadow_color_over="0 0 0 255"
@ -208,9 +205,9 @@
tx_normal="but" tx_pushed="but" tx_over="but_over" wmargin="16" wmin="552" tx_normal="but" tx_pushed="but" tx_over="but_over" wmargin="16" wmin="552"
color="255 255 255 160" col_over="255 255 255 255" col_pushed="255 255 255 255" color="255 255 255 160" col_over="255 255 255 255" col_pushed="255 255 255 255"
text_y="-3" fontsize="10" shadow="true" text_y="-3" fontsize="10" shadow="true"
text_color_normal="135 243 28 160" text_color_normal="255 254 243 160"
text_color_pushed="135 243 28 255" text_color_pushed="255 254 243 255"
text_color_over="135 243 28 255" text_color_over="255 254 243 255"
text_shadow_color_normal="0 0 0 255" text_shadow_color_normal="0 0 0 255"
text_shadow_color_pushed="0 0 0 255" text_shadow_color_pushed="0 0 0 255"
text_shadow_color_over="0 0 0 255" text_shadow_color_over="0 0 0 255"
@ -221,9 +218,9 @@
tx_normal="serv_note" tx_pushed="serv_note" tx_over="serv_note_over" wmargin="16" tx_normal="serv_note" tx_pushed="serv_note" tx_over="serv_note_over" wmargin="16"
color="255 255 255 160" col_over="255 255 255 255" col_pushed="255 255 255 255" color="255 255 255 160" col_over="255 255 255 255" col_pushed="255 255 255 255"
text_y="-3" fontsize="10" shadow="true" text_y="-3" fontsize="10" shadow="true"
text_color_normal="135 243 28 160" text_color_normal="255 254 243 160"
text_color_pushed="135 243 28 255" text_color_pushed="255 254 243 255"
text_color_over="135 243 28 255" text_color_over="255 254 243 255"
text_shadow_color_normal="0 0 0 255" text_shadow_color_normal="0 0 0 255"
text_shadow_color_pushed="0 0 0 255" text_shadow_color_pushed="0 0 0 255"
text_shadow_color_over="0 0 0 255" text_shadow_color_over="0 0 0 255"
@ -232,7 +229,7 @@
<style style="text_button_16" type="text_button" button_type="push_button" <style style="text_button_16" type="text_button" button_type="push_button"
tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over" tx_normal="w_text_button_normal" tx_pushed="w_text_button_pushed" tx_over="w_text_button_over"
global_color_normal="true" global_color_over="true" global_color_pushed="true" global_color_normal="true" global_color_over="true" global_color_pushed="true"
text_y="0" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8" text_y="-2" fontsize="10" shadow="true" case_mode="%case_upper" wmargin="8"
text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" /> text_color_normal="255 255 255 128" text_color_pushed="255 255 255 255" text_color_over="255 255 255 255" />
@ -244,7 +241,7 @@
<instance template="log_box_frame" id="bk" posref="MM MM" sizeref="wh" w="0" h="0" /> <instance template="log_box_frame" id="bk" posref="MM MM" sizeref="wh" w="0" h="0" />
<view type="text" id="text" posref="MM MM" line_maxw="420" w="420" x="0" y="12" <view type="text" id="text" posref="MM MM" line_maxw="420" w="420" x="0" y="12"
color="135 243 28 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/> color="255 254 243 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
<ctrl style="log_std_but" id="but_ok" posparent="text" posref="BM TM" y="-6" onclick_l="leave_modal" hardtext="uittOK"/> <ctrl style="log_std_but" id="but_ok" posparent="text" posref="BM TM" y="-6" onclick_l="leave_modal" hardtext="uittOK"/>
@ -279,7 +276,7 @@
<instance template="log_box_frame" id="bk" posref="MM MM" sizeref="wh" w="0" h="0" /> <instance template="log_box_frame" id="bk" posref="MM MM" sizeref="wh" w="0" h="0" />
<view type="text" id="text" posref="MM MM" line_maxw="420" w="420" x="0" y="12" <view type="text" id="text" posref="MM MM" line_maxw="420" w="420" x="0" y="12"
color="135 243 28 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/> color="255 254 243 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
<ctrl style="log_std_but" id="but_ok" posparent="text" posref="BM TL" x="2" y="-6" onclick_l="proc" params_l="proc_message_box_with_help_ok" hardtext="uittOK"/> <ctrl style="log_std_but" id="but_ok" posparent="text" posref="BM TL" x="2" y="-6" onclick_l="proc" params_l="proc_message_box_with_help_ok" hardtext="uittOK"/>
<ctrl style="log_std_but" id="but_help" posparent="text" posref="BM TR" x="-2" y="-6" onclick_l="proc" params_l="proc_browse_faq" hardtext="uittBrowseFaq"/> <ctrl style="log_std_but" id="but_help" posparent="text" posref="BM TR" x="-2" y="-6" onclick_l="proc" params_l="proc_browse_faq" hardtext="uittBrowseFaq"/>
@ -385,7 +382,7 @@
<!-- * EDIT BOX WIDGET * --> <!-- * EDIT BOX WIDGET * -->
<!-- ********************* --> <!-- ********************* -->
<template name="edit_box_widget" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" multi_line="false" x="0" y="0" w="0" h="0" <template name="edit_box_widget" posref="TL TL" text_x="0" text_y="-1" text_ref="BL BL" child_resize_h="true" multi_line="false" x="0" y="0" w="0" h="0"
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
enter_loose_focus="true" prompt="&gt;" enter_loose_focus="true" prompt="&gt;"
enter_recover_focus="true" enter_recover_focus="true"
@ -423,7 +420,7 @@
</template> </template>
<!-- alternate look for edit box --> <!-- alternate look for edit box -->
<template name="edit_box_widget_2" posref="TL TL" text_x="0" text_y="0" text_ref="BL BL" child_resize_h="true" multi_line="false" x="0" y="0" w="0" h="0" <template name="edit_box_widget_2" posref="TL TL" text_x="0" text_y="-1" text_ref="BL BL" child_resize_h="true" multi_line="false" x="0" y="0" w="0" h="0"
sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true" sizeref="" id="eb" posparent="parent" onenter="chat_box_entry" params="" reset_focus_on_hide="true"
enter_loose_focus="true" prompt="&gt;" enter_loose_focus="true" prompt="&gt;"
enter_recover_focus="true" enter_recover_focus="true"
@ -598,8 +595,8 @@
<template name="button_ok_cancel" id="ok_cancel" ok_text="uittOK" cancel_text="uittCancel" posparent="parent" posref="BM TM" <template name="button_ok_cancel" id="ok_cancel" ok_text="uittOK" cancel_text="uittCancel" posparent="parent" posref="BM TM"
onclick_ok="" onclick_ok_param="" onclick_cancel="" onclick_cancel_param="" x="0" y="0" keep="true" > onclick_ok="" onclick_ok_param="" onclick_cancel="" onclick_cancel_param="" x="0" y="0" keep="true" >
<group id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y"> <group id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
<ctrl style="button_ok" x="0" y="0" posref="TL TL" text_y="0" onclick_l="#onclick_ok" params_l="#onclick_ok_param" hardtext="#ok_text" /> <ctrl style="button_ok" x="0" y="0" posref="TL TL" text_y="-2" onclick_l="#onclick_ok" params_l="#onclick_ok_param" hardtext="#ok_text" />
<ctrl style="button_cancel" x="4" posparent="ok" text_y="0" posref ="TR TL" onclick_l="#onclick_cancel" params_l="#onclick_cancel_param" hardtext="#cancel_text" /> <ctrl style="button_cancel" x="4" posparent="ok" text_y="-2" posref ="TR TL" onclick_l="#onclick_cancel" params_l="#onclick_cancel_param" hardtext="#cancel_text" />
</group> </group>
</template> </template>
@ -614,7 +611,7 @@
<template name="html_text_button" id="" text="" posparent="parent" posref="TL TL" <template name="html_text_button" id="" text="" posparent="parent" posref="TL TL"
onclick="" onclick_param="" x="0" y="0" keep="true" active="true" wmin="0"> onclick="" onclick_param="" x="0" y="0" keep="true" active="true" wmin="0">
<group type="html_input_offset" y_offset="-8" id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y" active="#active"> <group type="html_input_offset" y_offset="-8" id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y" active="#active">
<ctrl style="log_spe_but" id="button" wmin="#wmin" x="0" y="0" posref="TL TL" text_y="0" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/> <ctrl style="log_spe_but" id="button" wmin="#wmin" x="0" y="0" posref="TL TL" text_y="-2" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/>
</group> </group>
</template> </template>
@ -623,7 +620,7 @@
<template name="html_text_button_look2" id="" text="" posparent="parent" posref="TL TL" <template name="html_text_button_look2" id="" text="" posparent="parent" posref="TL TL"
onclick="" onclick_param="" x="0" y="0" keep="true" > onclick="" onclick_param="" x="0" y="0" keep="true" >
<group type="html_input_offset" y_offset="-8" id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y"> <group type="html_input_offset" y_offset="-8" id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
<ctrl style="log_button" id="button" wmin="0" x="0" y="0" posref="TL TL" text_y="0" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/> <ctrl style="log_button" id="button" wmin="0" x="0" y="0" posref="TL TL" text_y="-2" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/>
</group> </group>
</template> </template>
@ -632,7 +629,7 @@
<template name="html_text_button_look3" id="" text="" posparent="parent" posref="TL TL" <template name="html_text_button_look3" id="" text="" posparent="parent" posref="TL TL"
onclick="" onclick_param="" x="0" y="0" keep="true" > onclick="" onclick_param="" x="0" y="0" keep="true" >
<group type="html_input_offset" y_offset="-8" id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y"> <group type="html_input_offset" y_offset="-8" id="#id" posparent="#posparent" posref="#posref" child_resize_w="true" child_resize_h="true" x="#x" y="#y">
<ctrl style="server_note" id="button" wmin="0" x="0" y="0" posref="TL TL" text_y="0" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/> <ctrl style="server_note" id="button" wmin="0" x="0" y="0" posref="TL TL" text_y="-2" onclick_l="#onclick" params_l="#onclick_param" hardtext="#text" color="255 255 255 200"/>
</group> </group>
</template> </template>
@ -829,7 +826,7 @@
> >
<view type="bitmap" posref="MM MM" id="log" texture="new_launcher_bg.tga" global_color="false" render_layer="-1" /> <view type="bitmap" posref="MM MM" id="log" texture="new_launcher_bg.tga" global_color="false" render_layer="-1" />
<view type="text" id="text" posref="MM MM" line_maxw="412" w="412" x="0" y="0" color="135 243 28 255" fontsize="18" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/> <view type="text" id="text" posref="MM MM" line_maxw="412" w="412" x="0" y="0" color="255 254 243 255" fontsize="18" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
<ctrl type="button" button_type="push_button" id="but_cancel" posref="BR BR" x="-304" y="157" <ctrl type="button" button_type="push_button" id="but_cancel" posref="BR BR" x="-304" y="157"
@ -958,46 +955,6 @@
highlight_over="255 255 255 128" highlight_over="255 255 255 128"
force_inside_screen="true" force_inside_screen="true"
/> />
<!-- html <hr> element -->
<template name="html_hr"
keep="true">
<group id="sep_gr"
posref="ML ML"
sizeref="w"
w="0"
h="0"
child_resize_h="true"
child_resize_hmargin="12">
<view type="bitmap"
id="hr"
posref="MM MM"
sizeref="w"
w="-2"
h="2"
inherit_gc_alpha="true"
scale="true"
texture="blank.tga"
global_color="false" />
</group>
</template>
<template name="html_form_select_box_menu_widget"
keep="true"
id="sb">
<group type="menu"
id="#id"
posref="BL TL"
x="0"
y="0"
mouse_pos="false"
space="2"
shadow="false"
color="255 255 255 128"
color_over="255 255 255 255"
color_grayed="0 0 0 255"
fontsize="12"
highlight_over="255 255 255 128"
force_inside_screen="false"></group>
</template>
</interface_config> </interface_config>

View file

@ -403,12 +403,12 @@
onclick_l="new_macro_new_cmd" /> onclick_l="new_macro_new_cmd" />
<group id="cmds" x="0" y="-22" over="true" sizeref="w" posref="TL TL" posparent="sep" child_resize_h="true" child_resize_hmargin="4"> <group id="cmds" type="list" posref="BR TR" posparent="sep" x="0" y="-22" over="true" >
<group id="macros" x="10" y="-4" sizeref="w" posref="TL TL" child_resize_h="true" max_h="300" > <!--
<group id="list" type="list" x="0" y="0" posref="TL TL" /> <instance template="macro_command" id="cmd1" posref="TL TL" />
<instance template="macro_command" id="cmd2" posparent="cmd1" posref="BL TL" />
-->
</group> </group>
<ctrl style="skin_scroll" id="sv" posref="TL TL" y="-4" target="macros" />
</group>
<instance template="button_ok_cancel" posparent="cmds" posref="BR TR" x="0" y="-4" <instance template="button_ok_cancel" posparent="cmds" posref="BR TR" x="0" y="-4"
onclick_ok="new_macro_ok" onclick_ok="new_macro_ok"

View file

@ -3,256 +3,69 @@
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- create the game namespace without reseting if already created in an other file. -- create the game namespace without reseting if already created in an other file.
if (outgame == nil) then if (outgame==nil) then
outgame = {} outgame= {};
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- Name generator. -- Name generator.
--nb noms:
-- matis: male 621 - female 621 - FirstName 621
-- fyros: given name 14269, FirstName 841
-- zorai: given name one 318, given name two 644, FirstName 1287
-- tryker: given name 4500, FirstName 4335
-- Fyros
function outgame:getFyrosFirstName()
local nbFyrosFirstNames = #fyrosFirstNames
return fyrosFirstNames[math.random(nbFyrosFirstNames)]
end
function outgame:getFyrosLastName()
local nbFyrosLastNames = #fyrosLastNames
return fyrosLastNames[math.random(nbFyrosLastNames)]
end
-- Matis
function outgame:getMatisFirstName(sex)
-- 1 = male, 2 = female
local dbNameSex = getDbProp("UI:TEMP:NAME_SEX")
if sex ~= nil then
dbNameSex = sex
end
local FirstName = ""
if tonumber(dbNameSex) == 1 then
local nbMatisMaleFirstNames = #matisMaleFirstNames
FirstName = matisMaleFirstNames[math.random(nbMatisMaleFirstNames)]
else
local nbMatisFemaleFirstNames = #matisFemaleFirstNames
FirstName = matisFemaleFirstNames[math.random(nbMatisFemaleFirstNames)]
end
return FirstName
end
function outgame:getMatisLastName()
local nbMatisLastNames = #matisLastNames
return matisLastNames[math.random(nbMatisLastNames)]
end
-- Tryker
function outgame:getTrykerFirstName()
local nbTrykerFirstNames = #trykerFirstNames
return trykerFirstNames[math.random(nbTrykerFirstNames)]
end
function outgame:getTrykerLastName()
local nbTrykerLastNames = #trykerLastNames
return trykerLastNames[math.random(nbTrykerLastNames)]
end
-- Zoraï
function outgame:getZoraiFirstName()
local nbFirstNamesOne = #zoraiFirstNamesOne
local FirstNameOne = zoraiFirstNamesOne[math.random(nbFirstNamesOne)]
local nbFirstNamesTwo = #zoraiFirstNamesTwo
local FirstNameTwo = zoraiFirstNamesTwo[math.random(nbFirstNamesTwo)]
return FirstNameOne .. "-" .. FirstNameTwo
end
function outgame:getZoraiLastName()
local nbLastNames = #zoraiLastNames
return zoraiLastNames[math.random(nbLastNames)]
end
function outgame:procGenerateName() function outgame:procGenerateName()
local uiNameFull = getUI("ui:outgame:appear_name:name_full") local uiNameFull = getUI("ui:outgame:appear_name:name_full");
local uiGenText = getUI("ui:outgame:appear_name:eb") local uiNameDef = getUI("ui:outgame:appear_name:name_def");
local dbNameRace = getDbProp("UI:TEMP:NAME_RACE") local uiGenText = getUI("ui:outgame:appear_name:eb");
local dbNameSubRaceFirstName = getDbProp("UI:TEMP:NAME_SUB_RACE_FIRST_NAME") local dbNameSyllabe = getDbProp("UI:TEMP:NAME_SYLLABE");
local dbNameSubRaceLastName = getDbProp("UI:TEMP:NAME_SUB_RACE_LAST_NAME") local dbNameRace = getDbProp("UI:TEMP:NAME_RACE");
local dbNameSyllabeMax = getDbProp("UI:TEMP:NAME_SYLLABE_MAX");
local nameResult = "" local nameResult = "";
local fullnameResult = "" local fullnameResult = "";
local defResult = "";
-- Look at outgame:procUpdateNameRaceLabel() for the "race" list. local nbRafsi = 0;
-- fy ma try zo --> for _ in pairs(rafsi) do nbRafsi = nbRafsi + 1 end
local firstName = "test2"
local lastName = "test"
-- Fyros and Matis are using "first name, last name" order
-- Trykers and Zoraïs are using "last name, first name" order
if tonumber(dbNameRace) == 1 then
-- Fyros
firstName = self:getFyrosFirstName()
lastName = self:getFyrosLastName()
fullnameResult = firstName .. " " .. lastName
elseif tonumber(dbNameRace) == 2 then
-- Matis
firstName = self:getMatisFirstName()
lastName = self:getMatisLastName()
fullnameResult = firstName .. " " .. lastName
elseif tonumber(dbNameRace) == 3 then
-- Tryker
firstName = self:getTrykerFirstName()
lastName = self:getTrykerLastName()
fullnameResult = lastName .. " " .. firstName
elseif tonumber(dbNameRace) == 4 then
-- Zorai
firstName = self:getZoraiFirstName()
lastName = self:getZoraiLastName()
fullnameResult = lastName .. " " .. firstName
elseif tonumber(dbNameRace) == 5 then
-- Maraudeurs
-- firstName index = math.random(nbRafsi);
if tonumber(dbNameSubRaceFirstName) == 1 then nameResult = rafsi[index];
-- Fyros fullnameResult = gismu[index];
firstName = self:getFyrosFirstName() defResult = def[index];
elseif tonumber(dbNameSubRaceFirstName) == 2 then
-- Matis M
firstName = self:getMatisFirstName(1)
elseif tonumber(dbNameSubRaceFirstName) == 3 then
-- Matis F
firstName = self:getMatisFirstName(2)
elseif tonumber(dbNameSubRaceFirstName) == 4 then
-- Tryker
firstName = self:getTrykerFirstName()
elseif tonumber(dbNameSubRaceFirstName) == 5 then
-- Zorai
firstName = self:getZoraiFirstName()
end
-- lastName imax = tonumber(dbNameSyllabe);
if tonumber(dbNameSubRaceLastName) == 1 then for i=2,imax,1 do
-- Fyros index = math.random(nbRafsi);
lastName = self:getFyrosLastName() nameResult = nameResult .. rafsi[index];
elseif tonumber(dbNameSubRaceLastName) == 2 then fullnameResult = fullnameResult .. " " .. gismu[index];
-- Matis defResult = defResult .. " | " .. def[index];
lastName = self:getMatisLastName() end
elseif tonumber(dbNameSubRaceLastName) == 3 then
-- Tryker
lastName = self:getTrykerLastName()
elseif tonumber(dbNameSubRaceLastName) == 4 then
-- Zorai
lastName = self:getZoraiLastName()
end
fullnameResult = firstName .. " " .. lastName uiNameFull.hardtext = fullnameResult;
end uiNameDef.hardtext = defResult;
-- always use first name for character name nameResult = string.gsub(nameResult, "'", "");
nameResult = firstName nameResult = string.gsub(nameResult, " ", "");
nameResult = string.gsub(nameResult, "-", "");
nameResult = string.lower( nameResult );
nameResult = nameResult:gsub("^%l", string.upper);
uiGenText.input_string = nameResult;
uiNameFull.hardtext = fullnameResult
nameResult = string.gsub(nameResult, "'", "")
nameResult = string.gsub(nameResult, " ", "")
nameResult = string.gsub(nameResult, "-", "")
nameResult = string.lower(nameResult)
nameResult = nameResult:gsub("^%l", string.upper)
uiGenText.input_string = nameResult
end end
-- Name syllabe slider update.
-- Name sex slider update. function outgame:procUpdateNameSyllabeLabel()
function outgame:procUpdateNameSexLabel() local uiNameSyllabeText_nb = getUI("ui:outgame:appear_name:name_syllabe_slider:name_syllabe_nb");
local nameSexType = { "uiCP_Sex_Male", "uiCP_Sex_Female" } local uiNameSyllabe = getDbProp("UI:TEMP:NAME_SYLLABE");
local uiNameSexText = getUI("ui:outgame:appear_name:name_sex_slider:name_sex") uiNameSyllabeText_nb.hardtext = uiNameSyllabe;
local uiNameSex = getDbProp("UI:TEMP:NAME_SEX") -- uiNameSyllabeText.hardtext = uiNameSyllabe .. " " .. i18n.get("uiCP_Syllabe");
tempstr = tostring(i18n.get(nameSexType[tonumber(uiNameSex)]))
tempstr = string.lower(tempstr)
tempstr = (tempstr:gsub("^%l", string.upper))
uiNameSexText.hardtext = tempstr
end
-- Name race slider update.
function outgame:procUpdateNameRaceLabel()
local nameRaceType = { "Fyros", "Matis", "Tryker", "Zoraï", "uiCP_Maraudeur" }
local uiNameRaceText = getUI("ui:outgame:appear_name:name_race_slider:name_race")
local dbNameRace = getDbProp("UI:TEMP:NAME_RACE")
local uiNameSexSlider = getUI("ui:outgame:appear_name:name_sex_slider")
local uiNameSubRaceFirstNameSlider = getUI("ui:outgame:appear_name:name_sub_race_first_name_slider")
local uiNameSubRaceLastNameSlider = getUI("ui:outgame:appear_name:name_sub_race_last_name_slider")
local uiNameGenerate = getUI("ui:outgame:appear_name:generate")
-- Show/Hide sex slider
uiNameGenerate.y = "-50"
if tonumber(dbNameRace) == 2 then
uiNameSexSlider.active = true
uiNameGenerate.y = "-65"
else
uiNameSexSlider.active = false
end
-- Show/Hide sub race slider
if tonumber(dbNameRace) == 5 then
uiNameSubRaceFirstNameSlider.active = true
uiNameSubRaceLastNameSlider.active = true
uiNameGenerate.y = "-105"
else
uiNameSubRaceFirstNameSlider.active = false
uiNameSubRaceLastNameSlider.active = false
end
uiNameRaceText.hardtext = tostring(nameRaceType[tonumber(dbNameRace)])
end
local matisF = "Matis " .. (string.lower(tostring(i18n.get("uiCP_Sex_Female")) )):gsub("^%l", string.upper)
local matisM = "Matis " .. (string.lower(tostring(i18n.get("uiCP_Sex_Male")) )):gsub("^%l", string.upper)
function outgame:procUpdateNameSubRaceFirstNameLabel()
local nameSubRaceFirstNameType = { "Fyros", matisM, matisF, "Tryker", "Zoraï" }
local uiNameSubRaceFirstNameText = getUI("ui:outgame:appear_name:name_sub_race_first_name_slider:name_race")
local dbNameSubRaceFirstName = getDbProp("UI:TEMP:NAME_SUB_RACE_FIRST_NAME")
uiNameSubRaceFirstNameText.hardtext= tostring(nameSubRaceFirstNameType[tonumber(dbNameSubRaceFirstName)])
end
function outgame:procUpdateNameSubRaceLastNameLabel()
local nameSubRaceLastNameType = { "Fyros", "Matis", "Tryker", "Zoraï" }
local uiNameSubRaceLastNameText = getUI("ui:outgame:appear_name:name_sub_race_last_name_slider:name_race")
local dbNameSubRaceLastName = getDbProp("UI:TEMP:NAME_SUB_RACE_LAST_NAME")
uiNameSubRaceLastNameText.hardtext= tostring(nameSubRaceLastNameType[tonumber(dbNameSubRaceLastName)])
end end
------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------
-- called to construct icons -- called to construct icons
function outgame:activePackElement(id, icon) function outgame:activePackElement(id, icon)
local uiDesc = getUI("ui:outgame:appear:job_options:options:desc") local uiDesc = getUI("ui:outgame:appear:job_options:options:desc");
uiDesc['ico' .. tostring(id)].active = true uiDesc['ico' .. tostring(id)].active= true;
uiDesc['ico' .. tostring(id)].texture = icon uiDesc['ico' .. tostring(id)].texture= icon;
uiDesc['ico' .. tostring(id) .. 'txt'].active = true uiDesc['ico' .. tostring(id) .. 'txt'].active= true;
end end
@ -260,13 +73,13 @@ end
-- called to construct pack text -- called to construct pack text
function outgame:setPackJobText(id, spec) function outgame:setPackJobText(id, spec)
-- Set Pack content -- Set Pack content
local uiPackText = getUI("ui:outgame:appear:job_options:options:desc:pack_" .. id) local uiPackText = getUI("ui:outgame:appear:job_options:options:desc:pack_" .. id);
uiPackText.hardtext= "uiCP_Job_" .. id .. tostring(spec) uiPackText.hardtext= "uiCP_Job_" .. id .. tostring(spec);
-- Set specialization text -- Set specialization text
local uiResText = getUI("ui:outgame:appear:job_options:options:result:res") local uiResText = getUI("ui:outgame:appear:job_options:options:result:res");
if(spec==2) then if(spec==2) then
uiResText.hardtext= "uiCP_Res_" .. id uiResText.hardtext= "uiCP_Res_" .. id;
end end
end end
@ -274,63 +87,63 @@ end
-- called to construct pack -- called to construct pack
function outgame:buildActionPack() function outgame:buildActionPack()
local uiDesc = getUI("ui:outgame:appear:job_options:options:desc") local uiDesc = getUI("ui:outgame:appear:job_options:options:desc");
if (uiDesc==nil) then if (uiDesc==nil) then
return return;
end end
-- Reset All -- Reset All
for i = 1,20 do for i = 1,20 do
uiDesc['ico' .. tostring(i)].active = false uiDesc['ico' .. tostring(i)].active= false;
uiDesc['ico' .. tostring(i) .. 'txt'].active = false uiDesc['ico' .. tostring(i) .. 'txt'].active= false;
end end
-- Build Default Combat -- Build Default Combat
self:activePackElement(1, 'f1.tga') -- Dagger self:activePackElement(1, 'f1.tga'); -- Dagger
self:activePackElement(2, 'f2.tga') -- Accurate Attack self:activePackElement(2, 'f2.tga'); -- Accurate Attack
-- Build Default Magic -- Build Default Magic
self:activePackElement(6, 'm2.tga') -- Gloves self:activePackElement(6, 'm2.tga'); -- Gloves
self:activePackElement(7, 'm1.tga') -- Acid self:activePackElement(7, 'm1.tga'); -- Acid
-- Build Default Forage -- Build Default Forage
self:activePackElement(11, 'g1.tga') -- Forage Tool self:activePackElement(11, 'g1.tga'); -- Forage Tool
self:activePackElement(12, 'g2.tga') -- Basic Extract self:activePackElement(12, 'g2.tga'); -- Basic Extract
-- Build Default Craft -- Build Default Craft
self:activePackElement(16, 'c2.tga') -- Craft Tool self:activePackElement(16, 'c2.tga'); -- Craft Tool
self:activePackElement(17, 'c1.tga') -- 50 raw mat self:activePackElement(17, 'c1.tga'); -- 50 raw mat
self:activePackElement(18, 'c3.tga') -- Craft Root self:activePackElement(18, 'c3.tga'); -- Craft Root
self:activePackElement(19, 'c4.tga') -- Boots Plan self:activePackElement(19, 'c4.tga'); -- Boots Plan
-- Build Option -- Build Option
if (getDbProp('UI:TEMP:JOB_FIGHT') == 2) then if (getDbProp('UI:TEMP:JOB_FIGHT') == 2) then
self:activePackElement(3, 'f3.tga') -- Increase damage self:activePackElement(3, 'f3.tga'); -- Increase damage
elseif (getDbProp('UI:TEMP:JOB_MAGIC') == 2) then elseif (getDbProp('UI:TEMP:JOB_MAGIC') == 2) then
self:activePackElement(8, 'm5.tga') -- Fear self:activePackElement(8, 'm5.tga'); -- Fear
elseif (getDbProp('UI:TEMP:JOB_FORAGE') == 2) then elseif (getDbProp('UI:TEMP:JOB_FORAGE') == 2) then
self:activePackElement(13, 'g3.tga') -- Basic Prospection self:activePackElement(13, 'g3.tga'); -- Basic Prospection
elseif (getDbProp('UI:TEMP:JOB_CRAFT') == 2) then elseif (getDbProp('UI:TEMP:JOB_CRAFT') == 2) then
self:activePackElement(20, 'c6.tga') -- Gloves Plan self:activePackElement(20, 'c6.tga'); -- Gloves Plan
self:activePackElement(17, 'c5.tga') -- Replace 17, with 100x RawMat self:activePackElement(17, 'c5.tga'); -- Replace 17, with 100x RawMat
end end
-- Reset Text -- Reset Text
self:setPackJobText('F', 1) self:setPackJobText('F', 1);
self:setPackJobText('M', 1) self:setPackJobText('M', 1);
self:setPackJobText('G', 1) self:setPackJobText('G', 1);
self:setPackJobText('C', 1) self:setPackJobText('C', 1);
-- Set correct text for specalized version -- Set correct text for specalized version
if (getDbProp('UI:TEMP:JOB_FIGHT') == 2) then if (getDbProp('UI:TEMP:JOB_FIGHT') == 2) then
self:setPackJobText('F', 2) self:setPackJobText('F', 2);
elseif (getDbProp('UI:TEMP:JOB_MAGIC') == 2) then elseif (getDbProp('UI:TEMP:JOB_MAGIC') == 2) then
self:setPackJobText('M', 2) self:setPackJobText('M', 2);
elseif (getDbProp('UI:TEMP:JOB_FORAGE') == 2) then elseif (getDbProp('UI:TEMP:JOB_FORAGE') == 2) then
self:setPackJobText('G', 2) self:setPackJobText('G', 2);
elseif (getDbProp('UI:TEMP:JOB_CRAFT') == 2) then elseif (getDbProp('UI:TEMP:JOB_CRAFT') == 2) then
self:setPackJobText('C', 2) self:setPackJobText('C', 2);
end end
end end

View file

@ -2,10 +2,7 @@
<root id="outgame" x="0" y="0" w="1024" h="768" active="false" /> <root id="outgame" x="0" y="0" w="1024" h="768" active="false" />
<lua file="names_matis.lua" /> <lua file="out_v2_names.lua" />
<lua file="names_fyros.lua" />
<lua file="names_zorai.lua" />
<lua file="names_tryker.lua" />
<lua file="out_v2_appear.lua" /> <lua file="out_v2_appear.lua" />
<!-- ********************** --> <!-- ********************** -->
@ -47,17 +44,13 @@
<variable entry="UI:TEMP:NAME_VALID" type="sint64" value="-1" /> <variable entry="UI:TEMP:NAME_VALID" type="sint64" value="-1" />
<!-- Name Generator. --> <!-- Name Generator -->
<!-- We start at 1 not 0. --> <!-- We start at 1 not 0 -->
<variable entry="UI:TEMP:NAME_RACE" type="sint64" value="1" /> <variable entry="UI:TEMP:NAME_SYLLABE" type="sint64" value="1" />
<!-- used for marauder names. --> <!-- you will have to change the max value of the slider too, since it seam not working to set it using that var directly -->
<variable entry="UI:TEMP:NAME_SUB_RACE_FIRST_NAME" type="sint64" value="1" /> <variable entry="UI:TEMP:NAME_SYLLABE_MAX" type="sint64" value="3" />
<variable entry="UI:TEMP:NAME_SUB_RACE_LAST_NAME" type="sint64" value="1" /> <!-- We start at 1 not 0 -->
<!-- you will have to change the max value of the slider too, since it seam not working to set it using that var directly. --> <!-- End Name Generator -->
<variable entry="UI:TEMP:NAME_RACE_NB" type="sint64" value="5" />
<!-- We start at 1 not 0. -->
<variable entry="UI:TEMP:NAME_SEX" type="sint64" value="1" />
<!-- End Name Generator. -->
<template name="char_var_dec" id="#id" > <template name="char_var_dec" id="#id" >
<variable entry="#id:PEOPLE" type="sint64" value="1" /> <variable entry="#id:PEOPLE" type="sint64" value="1" />
@ -223,11 +216,11 @@
<action handler="proc" params="CP_init_Menus_3D_scene" /> <action handler="proc" params="CP_init_Menus_3D_scene" />
<!-- Reset Buttons --> <!-- Reset Buttons -->
<action handler="set" params="target_property=ui:outgame:appear:specie_options:y|value='380'" /> <action handler="set" params="target_property=ui:outgame:appear:specie_options:y|value='512'" />
<action handler="set" params="target_property=ui:outgame:appear:sex_options:y|value='256'" /> <action handler="set" params="target_property=ui:outgame:appear:sex_options:y|value='512'" />
<action handler="set" params="target_property=ui:outgame:appear:body_options:y|value='512'" /> <action handler="set" params="target_property=ui:outgame:appear:body_options:y|value='1024'" />
<action handler="set" params="target_property=ui:outgame:appear:face_options:y|value='512'" /> <action handler="set" params="target_property=ui:outgame:appear:face_options:y|value='1024'" />
<action handler="set" params="target_property=ui:outgame:appear:job_options:selection:y|value='280'" /> <action handler="set" params="target_property=ui:outgame:appear:job_options:selection:y|value='512'" />
<action handler="set" params="target_property=ui:outgame:appear:job_options:options:alpha|value='0'" /> <action handler="set" params="target_property=ui:outgame:appear:job_options:options:alpha|value='0'" />
<action handler="reset_pushed" params="dblink=ui:outgame:appear" /> <action handler="reset_pushed" params="dblink=ui:outgame:appear" />
@ -237,6 +230,8 @@
<!-- specie --> <!-- specie -->
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:specie_options:fyros_but:pushed|value=1" /> <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,0)" params="target_property=ui:outgame:appear:specie_options:fyros_but:pushed|value=1" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:specie_options:matis_but:pushed|value=1" /> <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,1)" params="target_property=ui:outgame:appear:specie_options:matis_but:pushed|value=1" />
<!-- essai pour n'avoir que deux races dans la sélection initiale -->
<!-- c'est pas le bon endroit -->
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:specie_options:tryker_but:pushed|value=1" /> <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,2)" params="target_property=ui:outgame:appear:specie_options:tryker_but:pushed|value=1" />
<action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:specie_options:zorai_but:pushed|value=1" /> <action handler="set" cond="eq(@UI:TEMP:CHAR3D:PEOPLE,3)" params="target_property=ui:outgame:appear:specie_options:zorai_but:pushed|value=1" />
<!-- Sex --> <!-- Sex -->
@ -257,7 +252,9 @@
<action handler="set" params="target_property=ui:outgame:appear:M1:pushed|value=1" /> <action handler="set" params="target_property=ui:outgame:appear:M1:pushed|value=1" />
<action handler="set" params="target_property=ui:outgame:appear:select_menu:y|value=2" /> <action handler="set" params="target_property=ui:outgame:appear:select_menu:y|value=2" />
<action handler="set" params="target_property=ui:outgame:appear:3d_select:y|value=0" /> <!-- placement des effets à l'initialisation -->
<action handler="set" params="target_property=ui:outgame:appear:3d_select:x|value=2" />
<action handler="set" params="target_property=ui:outgame:appear:3d_select:y|value=-95" />
<action handler="set" params="dblink=UI:TEMP:CP_MENU|value=0" /> <action handler="set" params="dblink=UI:TEMP:CP_MENU|value=0" />
<action handler="set" params="target_property=ui:outgame:appear:face_options:face1:hardtext|value='uiFace1Fy'" /> <action handler="set" params="target_property=ui:outgame:appear:face_options:face1:hardtext|value='uiFace1Fy'" />
<action handler="set" params="target_property=ui:outgame:appear:face_options:face2:hardtext|value='uiFace2Fy'" /> <action handler="set" params="target_property=ui:outgame:appear:face_options:face2:hardtext|value='uiFace2Fy'" />
@ -650,9 +647,10 @@
<!-- Essai pour avoir 2 races seulement au départ -->
<!-- ça semble bon, modifié rand(0,3) en rand(0,1) -->
<proc id="proc_rand_specie"> <proc id="proc_rand_specie">
<action handler="set" params="dblink=UI:TEMP:CHAR3D:PEOPLE|value=rand(0,3)" /> <action handler="set" params="dblink=UI:TEMP:CHAR3D:PEOPLE|value=rand(0,1)" />
</proc> </proc>
<proc id="proc_rand_tatoos"> <proc id="proc_rand_tatoos">
@ -861,6 +859,13 @@
<action handler="set" params="target_property=ui:outgame:appear:3d_select:y | <action handler="set" params="target_property=ui:outgame:appear:3d_select:y |
value=switch(@0, 0, -153, -306, -459, -612)" /> value=switch(@0, 0, -153, -306, -459, -612)" />
<!-- essaie pour placer les effets -->
<!-- c'est OK (ajout des deux balises suivantes) mais pas à l'initialisation -->
<action handler="set" params="target_property=ui:outgame:appear:3d_select:x |
value=switch(@0, 2, 207, 412, 617, 822)" />
<action handler="set" params="target_property=ui:outgame:appear:3d_select:y |
value=switch(@0, -95, -65, -35, -65, -95)" />
<!-- Anims Fade In - Fade Out --> <!-- Anims Fade In - Fade Out -->
<action handler="anim_start" cond="eq(@UI:TEMP:CP_MENU,0)" params="anim=anim_specie_on" /> <action handler="anim_start" cond="eq(@UI:TEMP:CP_MENU,0)" params="anim=anim_specie_on" />
@ -1212,7 +1217,7 @@
mouse_pos="false" escapable="false" exit_click_out="false" mouse_pos="false" escapable="false" exit_click_out="false"
on_active="init_keyset_list" on_active="init_keyset_list"
on_deactive="reset_keyset_list" on_deactive="reset_keyset_list"
display="false" display="false"
> >
<instance template="outgame_popup" id="back" posref="TL TL" /> <instance template="outgame_popup" id="back" posref="TL TL" />
@ -1270,37 +1275,33 @@
<!-- * ENTER NAME * --> <!-- * ENTER NAME * -->
<!-- ************** --> <!-- ************** -->
<group type="modal" id="appear_name" posref="MM MM" w="400" h="680" <group type="modal" id="appear_name" posref="MM MM" w="400" h="650"
mouse_pos="false" escapable="false" exit_click_out="false" mouse_pos="false" escapable="false" exit_click_out="false"
on_active="proc" on_active_params="proc_appear_name_active" on_active="proc" on_active_params="proc_appear_name_active"
display="false"> display="false"
>
<instance template="outgame_popup" id="back" posref="TL TL" /> <instance template="outgame_popup" id="back" posref="TL TL" />
<view type="text" id="text" posref="TM TM" x="0" y="-56" color="255 255 255 255" global_color="false" fontsize="17" multi_line="true" multi_line_space="0" <view type="text" id="text" posref="TM TM" x="0" y="-56" color="255 255 255 255" global_color="false" fontsize="17" multi_line="true" multi_line_space="0"
line_maxw="350" shadow="true" hardtext="uiCP_Name_Enter" /> line_maxw="350" shadow="true" hardtext="uiCP_Name_Enter" />
<!-- NamingPolicy --> <group type="edit_box" id="eb" posparent="text" posref="BM TM" x="0" y="-8" w="300" h="52" render_layer="4" child_resize_h="true"
<ctrl style="opt_button" id="name_policy" posref="BM BM" posparent="text" x="0" y="-40" hardtext="uiCP_Name_Policy"
text_color_over="208 258 16 255" text_color_normal="255 255 46 255" text_color_pushed="108 158 16 255"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="open_url" params_l="cfg_ConditionsTermsURL" />
<!-- onclick_l="open_url" params_l="cfg_NamingPolicyURL" /> -->
<group type="edit_box" id="eb" posparent="name_policy" posref="BM TM" x="0" y="-8" w="300" h="52" render_layer="4" child_resize_h="true"
onenter="proc" params="proc_appear_name_enter" onenter="proc" params="proc_appear_name_enter"
onchange="proc" onchange_params="proc_appear_name_change" onchange="proc" onchange_params="proc_appear_name_change"
prompt="" enter_loose_focus="true" reset_focus_on_hide="true" prompt="" enter_loose_focus="true" reset_focus_on_hide="true"
max_chars_size="252" menu_r="" max_historic="" entry_type="alpha"> max_chars_size="252" menu_r="" max_historic="" entry_type="alpha">
<instance template="job_border" id="bord" posref="MM MM" /> <instance template="job_border" id="bord" posref="MM MM" />
<view type="text" id="edit_text" x="0" y="0" posref="MM MM" multi_line="false" render_layer="4" <view type="text" id="edit_text" x="0" y="-2" posref="MM MM" multi_line="false" render_layer="4"
fontsize="20" shadow="true" global_color="false" case="%case_first_string_letter_up" /> fontsize="20" shadow="true" global_color="false" case="%case_first_string_letter_up" />
</group> </group>
<view type="text" id="invalid" posref="TM TM" posparent="eb" x="0" y="20" color="255 255 96 255" global_color="false" fontsize="15" shadow="true" hardtext="uiCP_Name_Invalid" /> <view type="text" id="invalid" posref="TM TM" posparent="eb" x="0" y="20" color="255 255 96 255" global_color="false" fontsize="15" shadow="true" hardtext="uiCP_Name_Invalid" />
<ctrl style="valid_txt_button" id="submit" posref="BM BM" x="0" y="15" hardtext="uiCP_Name_Submit" <ctrl style="valid_txt_button" id="submit" posref="BM BM" x="0" y="8" hardtext="uiCP_Name_Submit"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_appear_name_enter" /> onclick_l="proc" params_l="proc_appear_name_enter" />
@ -1308,120 +1309,46 @@
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_appear_name_cancel" /> onclick_l="proc" params_l="proc_appear_name_cancel" />
<!-- Name Generator --> <!-- Name Generator -->
<view type="text" id="name_generator" x="0" y="-120" posparent="text" posref="BM BM" multi_line="false" render_layer="4"
<!-- voir coter widgets.xml pour les template de checkbox et autre --> fontsize="10" shadow="true" global_color="false" case="%case_first_string_letter_up" hardtext="uiCP_Name_Generator"
<view type="text" id="name_generator" x="0" y="-30" posparent="eb" posref="BM BM" multi_line="false" render_layer="4"
fontsize="10" shadow="true" global_color="false" case="%case_first_string_letter_up" hardtext="uiCP_Name_Generator"
on_active="proc" on_active_params="proc_init_name_generator" /> on_active="proc" on_active_params="proc_init_name_generator" />
<!-- Full generated name with spaces and quote before being clean to match the login name pattern. --> <!-- Full generated name with spaces and quote before being clean to match the login name pattern. -->
<view type="text" id="name_full" x="0" y="-15" posparent="eb" posref="BM BM" multi_line="false" render_layer="4" <view type="text" id="name_full" x="0" y="-15" posparent="eb" posref="BM BM" multi_line="false" render_layer="4"
fontsize="14" color="200 200 200 255" shadow="true" global_color="false" case="%case_first_string_letter_up" /> fontsize="14" color="200 200 200 255" shadow="true" global_color="false" case="%case_first_string_letter_up" />
<view type="text" id="name_def" x="0" y="-15" posparent="name_full" posref="BM BM" multi_line="false" render_layer="4"
fontsize="14" color="200 200 200 255" shadow="true" global_color="false" case="%case_first_string_letter_up" />
<!-- Slider Name Race --> <!-- Slider Name Syllabes -->
<group id="name_race_slider" posparent="name_generator" posref="BM BM" x="0" y="-55" w="200" h="48" > <group id="name_syllabe_slider" posparent="name_generator" posref="BM BM" x="0" y="-55" w="200" h="48" >
<view type="bitmap" id="left" posref="TL TL" texture="opt_on_l.tga" y="-6" /> <view type="bitmap" id="left" posref="TL TL" texture="opt_on_l.tga" y="-6" />
<view type="bitmap" id="right" posref="TR TR" texture="opt_on_r.tga" y="-6" /> <view type="bitmap" id="right" posref="TR TR" texture="opt_on_r.tga" y="-6" />
<view type="bitmap" id="middle" posref="TM TM" scale="true" sizeref="w" h="32" w="-64" y="-5" texture="opt_on_m.tga"/> <view type="bitmap" id="middle" posref="TM TM" scale="true" sizeref="w" h="32" w="-64" y="-5" texture="opt_on_m.tga"/>
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_l_over.tga" tx_over="opt_on_l_over.tga" scale="true" w="32" h="32" <ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_l_over.tga" tx_over="opt_on_l_over.tga" scale="true" w="32" h="32"
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255" color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
id="but_back" posref="TL TL" x="0" y="-6" id="but_back" posref="TL TL" x="0" y="-6"
onclick_l="proc" params_l="proc_appear_name_race_sub_one" /> onclick_l="proc" params_l="proc_appear_name_syllabe_sub_one" />
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_r_over.tga" tx_over="opt_on_r_over.tga" scale="true" w="32" h="32" <ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_r_over.tga" tx_over="opt_on_r_over.tga" scale="true" w="32" h="32"
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255" color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
id="but_next" posref="TR TR" x="0" y="-6" id="but_next" posref="TR TR" x="0" y="-6"
onclick_l="proc" params_l="proc_appear_name_race_add_one" /> onclick_l="proc" params_l="proc_appear_name_syllabe_add_one" />
<view type="text" id="name_race" case="%case_first_string_letter_up" posparent="name_generator" posref="TL TL" x="0" y="0" hardtext="Fyros" color="255 255 255 255" fontsize="11"/> <view type="text" id="name_syllabe_nb" posparent="name_race_slider" posref="TL TL" x="0" y="0" hardtext="1" case="%case_first_string_letter_up" color="255 255 255 255" fontsize="11"/>
<ctrl type="scroll" id="name_race_scroll" posparent="name_race_slider" posref="MM MM" x="0" y="0" w="160" h="32" <view type="text" id="name_syllabe" posparent="name_race_slider" posref="TL TL" x="10" y="0" hardtext="uiCP_Syllabe" case="%case_first_string_letter_up" color="255 255 255 255" fontsize="11"/>
vertical="false" align="L" min="1" max="5" value="UI:TEMP:NAME_RACE" tracksize="40" <ctrl type="scroll" id="name_syllabe_scroll" posparent="name_syllabe_slider" posref="MM MM" x="0" y="0" w="160" h="32"
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft="" vertical="false" align="L" min="1" max="3" value="UI:TEMP:NAME_SYLLABE" tracksize="40"
onscroll="proc" params="proc_appear_name_race_label_change" /> tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""
</group> onscroll="proc" params="proc_appear_name_syllabe_label_change" />
</group>
<!-- Slider Name Sub Race First Name --> <ctrl style="valid_txt_button" id="generate" posref="BM BM" posparent="name_syllabe_slider" x="0" y="-80" hardtext="uiCP_Name_Generate"
<group id="name_sub_race_first_name_slider" posparent="name_race_slider" posref="BM BM" x="0" y="-40" w="200" h="48" > onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_appear_name_generate" />
<view type="bitmap" id="left" posref="TL TL" texture="opt_on_l.tga" y="-6" /> <!-- End Name Generator -->
<view type="bitmap" id="right" posref="TR TR" texture="opt_on_r.tga" y="-6" />
<view type="bitmap" id="middle" posref="TM TM" scale="true" sizeref="w" h="32" w="-64" y="-5" texture="opt_on_m.tga"/>
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_l_over.tga" tx_over="opt_on_l_over.tga" scale="true" w="32" h="32"
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
id="but_back" posref="TL TL" x="0" y="-6"
onclick_l="proc" params_l="proc_appear_name_sub_race_first_name_sub_one" />
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_r_over.tga" tx_over="opt_on_r_over.tga" scale="true" w="32" h="32"
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
id="but_next" posref="TR TR" x="0" y="-6"
onclick_l="proc" params_l="proc_appear_name_sub_race_first_name_add_one" />
<view type="text" id="firstName" case="%case_first_string_letter_up" posparent="name_sub_race_first_name_slider" posref="TL TL" x="0" y="0" hardtext="uiCP_FirstName" color="255 255 255 255" fontsize="11"/>
<view type="text" id="name_race" case="%case_first_string_letter_up" posparent="name_sub_race_first_name_slider" posref="TR TL" x="-100" y="0" hardtext="Fyros" color="255 255 255 255" fontsize="11"/>
<ctrl type="scroll" id="name_race_scroll" posparent="name_sub_race_first_name_slider" posref="MM MM" x="0" y="0" w="160" h="32"
vertical="false" align="L" min="1" max="5" value="UI:TEMP:NAME_SUB_RACE_FIRST_NAME" tracksize="40"
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""
onscroll="proc" params="proc_appear_name_sub_race_first_name_label_change" />
</group>
<!-- Slider Name Sub Race Last Name -->
<group id="name_sub_race_last_name_slider" posparent="name_sub_race_first_name_slider" posref="BM BM" x="0" y="-40" w="200" h="48" >
<view type="bitmap" id="left" posref="TL TL" texture="opt_on_l.tga" y="-6" />
<view type="bitmap" id="right" posref="TR TR" texture="opt_on_r.tga" y="-6" />
<view type="bitmap" id="middle" posref="TM TM" scale="true" sizeref="w" h="32" w="-64" y="-5" texture="opt_on_m.tga"/>
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_l_over.tga" tx_over="opt_on_l_over.tga" scale="true" w="32" h="32"
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
id="but_back" posref="TL TL" x="0" y="-6"
onclick_l="proc" params_l="proc_appear_name_sub_race_last_name_sub_one" />
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_r_over.tga" tx_over="opt_on_r_over.tga" scale="true" w="32" h="32"
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
id="but_next" posref="TR TR" x="0" y="-6"
onclick_l="proc" params_l="proc_appear_name_sub_race_last_name_add_one" />
<view type="text" id="lastName" case="%case_first_string_letter_up" posparent="name_sub_race_last_name_slider" posref="TL TL" x="0" y="0" hardtext="uiCP_LastName" color="255 255 255 255" fontsize="11"/>
<view type="text" id="name_race" case="%case_first_string_letter_up" posparent="name_sub_race_last_name_slider" posref="TR TL" x="-100" y="0" hardtext="Fyros" color="255 255 255 255" fontsize="11"/>
<ctrl type="scroll" id="name_race_scroll" posparent="name_sub_race_last_name_slider" posref="MM MM" x="0" y="0" w="160" h="32"
vertical="false" align="L" min="1" max="4" value="UI:TEMP:NAME_SUB_RACE_LAST_NAME" tracksize="40"
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""
onscroll="proc" params="proc_appear_name_sub_race_last_name_label_change" />
</group>
<!-- Slider Name Sex -->
<group id="name_sex_slider" posparent="name_race_slider" posref="BM BM" x="0" y="-40" w="200" h="48" >
<view type="bitmap" id="left" posref="TL TL" texture="opt_on_l.tga" y="-6" />
<view type="bitmap" id="right" posref="TR TR" texture="opt_on_r.tga" y="-6" />
<view type="bitmap" id="middle" posref="TM TM" scale="true" sizeref="w" h="32" w="-64" y="-5" texture="opt_on_m.tga"/>
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_l_over.tga" tx_over="opt_on_l_over.tga" scale="true" w="32" h="32"
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
id="but_back" posref="TL TL" x="0" y="-6"
onclick_l="proc" params_l="proc_appear_name_sex_sub_one" />
<ctrl type="button" button_type="push_button" tx_normal="blank.tga" tx_pushed="opt_on_r_over.tga" tx_over="opt_on_r_over.tga" scale="true" w="32" h="32"
color="0 0 0 0" col_over="255 255 255 128" col_pushed="255 255 255 255"
id="but_next" posref="TR TR" x="0" y="-6"
onclick_l="proc" params_l="proc_appear_name_sex_add_one" />
<view type="text" id="name_sex" posparent="name_race_slider" posref="TL TL" x="0" y="0" hardtext="uiCP_Sex_Male" case="%case_first_string_letter_up" color="255 255 255 255" fontsize="11"/>
<ctrl type="scroll" id="name_sex_scroll" posparent="name_sex_slider" posref="MM MM" x="0" y="0" w="160" h="32"
vertical="false" align="L" min="1" max="2" value="UI:TEMP:NAME_SEX" tracksize="40"
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""
onscroll="proc" params="proc_appear_name_sex_label_change" />
</group>
<ctrl style="valid_txt_button" id="generate" posref="BM BM" posparent="name_race_slider" x="0" y="-100" hardtext="uiCP_Name_Generate"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_appear_name_generate" />
<!-- End Name Generator -->
</group> </group>
@ -1530,24 +1457,7 @@
<action handler="set" params="target_property=ui:outgame:appear_name:invalid:active|value=0" /> <action handler="set" params="target_property=ui:outgame:appear_name:invalid:active|value=0" />
<action handler="set" params="target_property=ui:outgame:appear_name:eb:input_string|value=''" /> <action handler="set" params="target_property=ui:outgame:appear_name:eb:input_string|value=''" />
<action handler="set_keyboard_focus" params="target=ui:outgame:appear_name:eb|select_all=false" /> <action handler="set_keyboard_focus" params="target=ui:outgame:appear_name:eb|select_all=false" />
<action handler="lua:outgame:procUpdateNameSyllabeLabel()" />
<!-- Name generator init. -->
<action handler="set" params="target_property=ui:outgame:appear_name:name_sex_slider:name_sex_scroll:value|value=add(@UI:TEMP:CHAR3D:VPA:SEX,1)" />
<action handler="set" params="target_property=ui:outgame:appear_name:name_race_slider:name_race_scroll:value|value=add(@UI:TEMP:CHAR3D:PEOPLE,1)" />
<action handler="set" params="target_property=ui:outgame:appear_name:name_sub_race_first_name_slider:name_race_scroll:value|value=1" />
<action handler="set" params="target_property=ui:outgame:appear_name:name_sub_race_last_name_slider:name_race_scroll:value|value=1" />
<action handler="set" params="dblink=UI:TEMP:NAME_SEX|value=add(@UI:TEMP:CHAR3D:VPA:SEX,1)" />
<action handler="set" params="dblink=UI:TEMP:NAME_RACE|value=add(@UI:TEMP:CHAR3D:PEOPLE,1)" />
<action handler="set" params="dblink=UI:TEMP:NAME_SUB_RACE_FIRST_NAME|value=1" />
<action handler="set" params="dblink=UI:TEMP:NAME_SUB_RACE_LAST_NAME|value=1" />
<action handler="lua:outgame:procUpdateNameSexLabel()" />
<action handler="lua:outgame:procUpdateNameRaceLabel()" />
<action handler="lua:outgame:procUpdateNameSubRaceFirstNameLabel()" />
<action handler="lua:outgame:procUpdateNameSubRaceLastNameLabel()" />
<!-- End Name Generator. -->
</proc> </proc>
<proc id="proc_appear_name_change"> <proc id="proc_appear_name_change">
@ -1621,60 +1531,39 @@
<action handler="set" cond="eq(@UI:TEMP:NAME_VALID,0)" params="target_property=ui:outgame:appear_name:invalid:active|value=1" /> <action handler="set" cond="eq(@UI:TEMP:NAME_VALID,0)" params="target_property=ui:outgame:appear_name:invalid:active|value=1" />
</proc> </proc>
<!-- Name Generator -->
<!-- Name Generator. -->
<proc id="proc_appear_name_generate"> <proc id="proc_appear_name_generate">
<action handler="lua:outgame:procGenerateName()" /> <action handler="lua:outgame:procGenerateName()" />
</proc> </proc>
<!-- Name Sex. --> <!-- Nb Syllabe -->
<proc id="proc_appear_name_sex_label_change">
<action handler="lua:outgame:procUpdateNameSexLabel()" /> <proc id="proc_appear_name_syllabe_label_change">
<action handler="lua:outgame:procUpdateNameSyllabeLabel()" />
</proc> </proc>
<proc id="proc_appear_name_sex_add_one"> <proc id="proc_appear_name_syllabe_add_one">
<action handler="set" params="dblink=UI:TEMP:NAME_SEX|value=min(add(@UI:TEMP:NAME_SEX,1),2)" /> <action handler="set" params="dblink=UI:TEMP:NAME_SYLLABE|value=min(add(@UI:TEMP:NAME_SYLLABE,1),@UI:TEMP:NAME_SYLLABE_MAX)" />
<action handler="lua:outgame:procUpdateNameSexLabel()" /> <action handler="lua:outgame:procUpdateNameSyllabeLabel()" />
</proc> </proc>
<proc id="proc_appear_name_sex_sub_one"> <proc id="proc_appear_name_syllabe_sub_one">
<action handler="set" params="dblink=UI:TEMP:NAME_SEX|value=max(sub(@UI:TEMP:NAME_SEX,1),1)" /> <action handler="set" params="dblink=UI:TEMP:NAME_SYLLABE|value=max(sub(@UI:TEMP:NAME_SYLLABE,1),1)" />
<action handler="lua:outgame:procUpdateNameSexLabel()" /> <action handler="lua:outgame:procUpdateNameSyllabeLabel()" />
</proc> </proc>
<!-- Name Race. -->
<!-- Name Race -->
<!--
<proc id="proc_appear_name_race_label_change"> <proc id="proc_appear_name_race_label_change">
<action handler="lua:outgame:procUpdateNameRaceLabel()" /> <action handler="lua:outgame:procUpdateNameRaceLabel()" />
</proc> </proc>
<proc id="proc_appear_name_race_add_one"> <proc id="proc_appear_name_race_add_one">
<action handler="set" params="dblink=UI:TEMP:NAME_RACE|value=min(add(@UI:TEMP:NAME_RACE,1),@UI:TEMP:NAME_RACE_NB)" /> <action handler="set" params="dblink=UI:TEMP:NAME_RACE|value=min(add(@UI:TEMP:NAME_RACE,1),@UI:TEMP:NAME_RACE_NB)" />
<action handler="lua:outgame:procUpdateNameRaceLabel()" /> <action handler="lua:outgame:procUpdateNameRaceLabel()" />
</proc> </proc>
<proc id="proc_appear_name_race_sub_one"> <proc id="proc_appear_name_race_sub_one">
<action handler="set" params="dblink=UI:TEMP:NAME_RACE|value=max(sub(@UI:TEMP:NAME_RACE,1),1)" /> <action handler="set" params="dblink=UI:TEMP:NAME_RACE|value=max(sub(@UI:TEMP:NAME_RACE,1),1)" />
<action handler="lua:outgame:procUpdateNameRaceLabel()" /> <action handler="lua:outgame:procUpdateNameRaceLabel()" />
</proc> </proc>
<!-- Name Sub Race. --> -->
<proc id="proc_appear_name_sub_race_first_name_label_change"> <!-- End Name Generator -->
<action handler="lua:outgame:procUpdateNameSubRaceFirstNameLabel()" />
</proc>
<proc id="proc_appear_name_sub_race_first_name_add_one">
<action handler="set" params="dblink=UI:TEMP:NAME_SUB_RACE_FIRST_NAME|value=min(add(@UI:TEMP:NAME_SUB_RACE_FIRST_NAME,1),5)" />
<action handler="lua:outgame:procUpdateNameSubRaceFirstNameLabel()" />
</proc>
<proc id="proc_appear_name_sub_race_first_name_sub_one">
<action handler="set" params="dblink=UI:TEMP:NAME_SUB_RACE_FIRST_NAME|value=max(sub(@UI:TEMP:NAME_SUB_RACE_FIRST_NAME,1),1)" />
<action handler="lua:outgame:procUpdateNameSubRaceFirstNameLabel()" />
</proc>
<!-- Name Sub Race2. -->
<proc id="proc_appear_name_sub_race_last_name_label_change">
<action handler="lua:outgame:procUpdateNameSubRaceLastNameLabel()" />
</proc>
<proc id="proc_appear_name_sub_race_last_name_add_one">
<action handler="set" params="dblink=UI:TEMP:NAME_SUB_RACE_LAST_NAME|value=min(add(@UI:TEMP:NAME_SUB_RACE_LAST_NAME,1),4)" />
<action handler="lua:outgame:procUpdateNameSubRaceLastNameLabel()" />
</proc>
<proc id="proc_appear_name_sub_race_last_name_sub_one">
<action handler="set" params="dblink=UI:TEMP:NAME_SUB_RACE_LAST_NAME|value=max(sub(@UI:TEMP:NAME_SUB_RACE_LAST_NAME,1),1)" />
<action handler="lua:outgame:procUpdateNameSubRaceLastNameLabel()" />
</proc>
<!-- End Name Generator. -->
<proc id="proc_appear_name_server_test"> <proc id="proc_appear_name_server_test">
<action handler="proc" params="proc_appear_name_enter2" <action handler="proc" params="proc_appear_name_enter2"
@ -1740,7 +1629,7 @@
</proc> </proc>
<group type="modal" id="appear_infos1" x="74" y="0" w="824" h="768" posref="MM MM" render_layer="1" <group type="modal" id="appear_infos1" x="0" y="0" w="824" h="768" posref="TR TR" render_layer="1"
mouse_pos="false" escapable="false" exit_click_out="true" savable="false" mouse_pos="false" escapable="false" exit_click_out="true" savable="false"
display="false" display="false"
> >
@ -1765,7 +1654,7 @@
onclick_l="proc" params_l="proc_charsel_infos"/> onclick_l="proc" params_l="proc_charsel_infos"/>
</group> </group>
<group type="modal" id="appear_infos2" x="-74" y="-68" w="698" h="652" posref="MM MM" render_layer="1" <group type="modal" id="appear_infos2" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1"
mouse_pos="false" escapable="false" exit_click_out="true" mouse_pos="false" escapable="false" exit_click_out="true"
display="false" display="false"
> >
@ -1778,7 +1667,7 @@
onclick_l="proc" params_l="proc_charsel_infos"/> onclick_l="proc" params_l="proc_charsel_infos"/>
</group> </group>
<group type="modal" id="appear_infos3" x="-74" y="-68" w="698" h="652" posref="MM MM" render_layer="1" <group type="modal" id="appear_infos3" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1"
mouse_pos="false" escapable="false" exit_click_out="true" mouse_pos="false" escapable="false" exit_click_out="true"
display="false" display="false"
> >
@ -1791,7 +1680,7 @@
onclick_l="proc" params_l="proc_charsel_infos"/> onclick_l="proc" params_l="proc_charsel_infos"/>
</group> </group>
<group type="modal" id="appear_infos4" x="-74" y="-68" w="698" h="652" posref="MM MM" render_layer="1" <group type="modal" id="appear_infos4" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1"
mouse_pos="false" escapable="false" exit_click_out="true" mouse_pos="false" escapable="false" exit_click_out="true"
display="false" display="false"
> >
@ -1804,7 +1693,7 @@
onclick_l="proc" params_l="proc_charsel_infos"/> onclick_l="proc" params_l="proc_charsel_infos"/>
</group> </group>
<group type="modal" id="appear_infos5" x="-74" y="-68" w="698" h="652" posref="MM MM" render_layer="1" <group type="modal" id="appear_infos5" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1"
mouse_pos="false" escapable="false" exit_click_out="true" mouse_pos="false" escapable="false" exit_click_out="true"
display="false" display="false"
> >
@ -1845,7 +1734,9 @@
<!--***************--> <!--***************-->
<!-- Vue Globale --> <!-- Vue Globale -->
<scene3d id="char3d" x="-3" y="-3" w="815" h="762" posref="TR TR" curcam="cam" curcs="env" render_layer="-2" <!-- Modifier ICI la place de la fenêtre de visualisation -->
<!-- le visage est ailleurs -->
<scene3d id="char3d" x="0" y="-220" w="1024" h="548" posref="TL TL" curcam="cam" curcs="env" render_layer="-2"
user_interaction="true" rotz_factor="0.017" user_interaction="true" rotz_factor="0.017"
roty_factor="0.005" roty_limit_min="-20" roty_limit_max="15" roty_factor="0.005" roty_limit_min="-20" roty_limit_max="15"
dist_factor="0.005" dist_limit_min="3.0" dist_limit_max="4.0" dist_factor="0.005" dist_limit_min="3.0" dist_limit_max="4.0"
@ -1855,7 +1746,8 @@
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0 26.5 1.0" rot="0.0 0.0 0.0" /> <character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0 26.5 1.0" rot="0.0 0.0 0.0" />
<camera id="cam" fov="80" pos="0.0 24.0 2.6" target="0.0 26.5 2.2" roll="0" /> <camera id="cam" fov="80" pos="0.0 24.0 2.6" target="0.0 26.5 2.2" roll="0" />
<camera id="camface" fov="20" pos="0.0 25.0 2.2" target="0.0 26.5 2.2" roll="0" /> <!-- modifié l'angle pour voir les cheveux en entier -->
<camera id="camface" fov="33" pos="0.0 25.0 2.2" target="0.0 26.5 2.2" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" /> <light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" /> <light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
@ -1873,7 +1765,8 @@
<!-- Vue du Visage --> <!-- Vue du Visage -->
<scene3d id="char3dface" x="-3" y="-3" w="815" h="762" posref="TR TR" curcam="camface" curcs="env" render_layer="-1" reference="char3d" <!-- déplacement à gauche pour être entre les menus -->
<scene3d id="char3dface" x="-300" y="-220" w="1324" h="548" posref="TL TL" curcam="camface" curcs="env" render_layer="-1" reference="char3d"
user_interaction="true" rotz_factor="0.017" user_interaction="true" rotz_factor="0.017"
roty_factor="0.005" roty_limit_min="-30" roty_limit_max="30" roty_factor="0.005" roty_limit_min="-30" roty_limit_max="30"
dist_factor="0.005" dist_limit_min="1.5" dist_limit_max="2.5" > dist_factor="0.005" dist_limit_min="1.5" dist_limit_max="2.5" >
@ -1892,7 +1785,8 @@
<!-- scene 3d Menu 1--> <!-- scene 3d Menu 1-->
<scene3d id="3d_menu_1" x="3" y="-3" w="200" h="150" posref="TL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false" <!-- le menu englobe tous les boutons, ici emplacement des images -->
<scene3d id="3d_menu_1" x="10" y="-100" w="200" h="150" posref="TL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" > ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<character3d id="char1" dblink="UI:TEMP:M1_1" pos="-1.0 25.8 1.0" rot="0.0 0.0 45.0" /> <character3d id="char1" dblink="UI:TEMP:M1_1" pos="-1.0 25.8 1.0" rot="0.0 0.0 45.0" />
@ -1919,7 +1813,8 @@
</scene3d> </scene3d>
<!-- scene 3d Menu 2--> <!-- scene 3d Menu 2-->
<scene3d id="3d_menu_2" posparent="3d_menu_1" w="200" h="150" y="-3" posref="BL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false" <!-- placement relatif / au précédant -->
<scene3d id="3d_menu_2" posparent="3d_menu_1" w="200" h="150" x="5" y="30" posref="TR TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" > ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<character3d id="char1" dblink="UI:TEMP:M2_1" pos="-0.5 26.5 1.0" rot="0.0 0.0 10.0" /> <character3d id="char1" dblink="UI:TEMP:M2_1" pos="-0.5 26.5 1.0" rot="0.0 0.0 10.0" />
@ -1942,7 +1837,7 @@
</scene3d> </scene3d>
<!-- scene 3d Menu 3 --> <!-- scene 3d Menu 3 -->
<scene3d id="3d_menu_3" posparent="3d_menu_2" w="200" h="150" y="-3" posref="BL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false" <scene3d id="3d_menu_3" posparent="3d_menu_2" w="200" h="150" x="5" y="30" posref="TR TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" > ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<character3d id="char1" dblink="UI:TEMP:M3" pos="0.0 26.5 1.0" rot="0.0 0.0 10.0" /> <character3d id="char1" dblink="UI:TEMP:M3" pos="0.0 26.5 1.0" rot="0.0 0.0 10.0" />
@ -1964,7 +1859,7 @@
</scene3d> </scene3d>
<!-- scene 3d Menu 4 --> <!-- scene 3d Menu 4 -->
<scene3d id="3d_menu_4" posparent="3d_menu_3" w="200" h="150" y="-3" posref="BL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false" <scene3d id="3d_menu_4" posparent="3d_menu_3" w="200" h="150" x="5" y="-30" posref="TR TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" > ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<character3d id="char1" dblink="UI:TEMP:M3" pos="0.0 26.5 1.0" rot="0.0 0.0 10.0" /> <character3d id="char1" dblink="UI:TEMP:M3" pos="0.0 26.5 1.0" rot="0.0 0.0 10.0" />
@ -1986,7 +1881,7 @@
<!-- scene 3d Menu 5 --> <!-- scene 3d Menu 5 -->
<scene3d id="3d_menu_5" posparent="3d_menu_4" w="200" h="150" y="-3" posref="BL TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false" <scene3d id="3d_menu_5" posparent="3d_menu_4" w="200" h="150" x="5" y="-30" posref="TR TL" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" > ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<character3d id="char1" dblink="UI:TEMP:M3" pos="0.0 26.5 1.0" rot="0.0 0.0 45.0" /> <character3d id="char1" dblink="UI:TEMP:M3" pos="0.0 26.5 1.0" rot="0.0 0.0 45.0" />
@ -2010,28 +1905,30 @@
<!-- BUTTONS --> <!-- BUTTONS -->
<!-- le menu englobe tous les boutons, ici emplacement des boutons -->
<!-- M1 est positionné par rapport au menu, les autres par rapport au bouton précédant -->
<ctrl style="menu_button" id="M1" button_type="radio_button" posref="TL TL" x="3" y="-3" hardtext="uiCP_Menu_1" <ctrl style="menu_button" id="M1" button_type="radio_button" posref="TL TL" x="5" y="-100" hardtext="uiCP_Menu_1"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_CP_menu|0" onclick_l="proc" params_l="proc_CP_menu|0"
/> />
<ctrl style="menu_button" id="M2" button_type="radio_button" posparent="M1" posref="BL TL" y="-3" hardtext="uiCP_Menu_2" <ctrl style="menu_button" id="M2" button_type="radio_button" posparent="M1" posref="TR TL" x="5" y="30" hardtext="uiCP_Menu_2"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_CP_menu|1" onclick_l="proc" params_l="proc_CP_menu|1"
/> />
<ctrl style="menu_button" id="M3" button_type="radio_button" posparent="M2" posref="BL TL" y="-3" hardtext="uiCP_Menu_3" <ctrl style="menu_button" id="M3" button_type="radio_button" posparent="M2" posref="TR TL" x="5" y="30" hardtext="uiCP_Menu_3"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_CP_menu|2" onclick_l="proc" params_l="proc_CP_menu|2"
/> />
<ctrl style="menu_button" id="M4" button_type="radio_button" posparent="M3" posref="BL TL" y="-3" hardtext="uiCP_Menu_4" <ctrl style="menu_button" id="M4" button_type="radio_button" posparent="M3" posref="TR TL" x="5" y="-30" hardtext="uiCP_Menu_4"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_CP_menu|3" onclick_l="proc" params_l="proc_CP_menu|3"
/> />
<ctrl style="menu_button" id="M5" button_type="radio_button" posparent="M4" posref="BL TL" y="-3" hardtext="uiCP_Menu_5" <ctrl style="menu_button" id="M5" button_type="radio_button" posparent="M4" posref="TR TL" x="5" y="-30" hardtext="uiCP_Menu_5"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_CP_menu|4" onclick_l="proc" params_l="proc_CP_menu|4"
/> />
@ -2042,35 +1939,37 @@
<!--****************--> <!--****************-->
<!-- Specie Options --> <!-- Specie Options -->
<!--****************--> <!--****************-->
<!-- Position des menus dans l'élément group, je n'arrive pas à le descendre -->
<group id="specie_options" child_resize_w="true" child_resize_wmargin="32" h="288" posref="TL TL" x="200" y="380"> <!-- h taille de la fenêtre, x: position à gauche, y n'a l'air de rien changer -->
<!-- Il faudra mettre x à une petite valeur partout la même -->
<group id="sub" sizeref="wh" posref="TL TL" w="-24" h="-96" x="24" y="-80" > <group id="specie_options" child_resize_w="true" child_resize_wmargin="32" h="450" posref="TL TL" x="5" y="-200">
<!-- Grisé du menu -->
<group id="sub" sizeref="wh" posref="TL TL" w="-24" h="-96" x="24" y="-300" >
<instance template="outgame_black_back" id="back" /> <instance template="outgame_black_back" id="back" />
</group> </group>
<!-- item de menu -->
<ctrl style="opt_button" id="fyros_but" posref="TL TL" x="60" y="-88" text_y="15" hardtext="uiCP_Specie_Fyros" <ctrl style="opt_button" id="fyros_but" posref="TL TL" x="60" y="-320" hardtext="uiCP_Specie_Race1"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_select_specie|0"/> onclick_l="proc" params_l="proc_select_specie|0"/>
<ctrl style="opt_button" id="matis_but" posparent="fyros_but" posref="BL TL" text_y="15" hardtext="uiCP_Specie_Matis" <ctrl style="opt_button" id="matis_but" posparent="fyros_but" posref="BL TL" hardtext="uiCP_Specie_Race2"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_select_specie|1"/> onclick_l="proc" params_l="proc_select_specie|1"/>
<ctrl style="opt_button" id="tryker_but" posparent="matis_but" posref="BL TL" text_y="15" hardtext="uiCP_Specie_Tryker" <!-- <ctrl style="opt_button" id="tryker_but" posparent="matis_but" posref="BL TL" hardtext="uiCP_Specie_Tryker"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_select_specie|2"/> onclick_l="proc" params_l="proc_select_specie|2"/>
<ctrl style="opt_button" id="zorai_but" posparent="tryker_but" posref="BL TL" text_y="15" hardtext="uiCP_Specie_Zorai" <ctrl style="opt_button" id="zorai_but" posparent="tryker_but" posref="BL TL" hardtext="uiCP_Specie_Zorai"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_select_specie|3"/> onclick_l="proc" params_l="proc_select_specie|3"/> -->
<group id="logos" posref="TL TL" x="28" y="-80" h="380" w="44" > <group id="logos" posref="TL TL" x="28" y="-320" h="380" w="44" >
<view type="bitmap" id="fyros" posref="TL TL" texture="opt_on_fyros.tga" global_color="false" /> <view type="bitmap" id="fyros" posref="TL TL" texture="opt_on_fyros.tga" global_color="false" />
<view type="bitmap" id="matis" posparent="fyros" y="" posref="BL TL" texture="opt_on_matis.tga" global_color="false" /> <view type="bitmap" id="matis" posparent="fyros" y="" posref="BL TL" texture="opt_on_matis.tga" global_color="false" />
<view type="bitmap" id="tryker" posparent="matis" y="" posref="BL TL" texture="opt_on_tryker.tga" global_color="false" /> <!-- <view type="bitmap" id="tryker" posparent="matis" y="" posref="BL TL" texture="opt_on_tryker.tga" global_color="false" />
<view type="bitmap" id="zorai" posparent="tryker" y="" posref="BL TL" texture="opt_on_zorai.tga" global_color="false" /> <view type="bitmap" id="zorai" posparent="tryker" y="" posref="BL TL" texture="opt_on_zorai.tga" global_color="false" /> -->
</group> </group>
<!-- <!--
@ -2085,21 +1984,21 @@
<!-- Sex Options --> <!-- Sex Options -->
<!--****************--> <!--****************-->
<group id="sex_options" child_resize_w="true" child_resize_wmargin="24" h="192" posref="TL TL" x="240" y="256"> <group id="sex_options" child_resize_w="true" child_resize_wmargin="24" h="450" posref="TL TL" x="5" y="512" >
<group id="sub" sizeref="wh" posref="TL TL" w="-24" h="-96" x="8" y="-80" > <group id="sub" sizeref="w" posref="TL TL" w="-24" h="150" x="5" y="-300" >
<instance template="outgame_black_back" id="back" /> <instance template="outgame_black_back" id="back"/>
</group> </group>
<ctrl style="opt_button" id="male_but" posref="TL TL" x="20" y="-88" text_y="15" hardtext="uiCP_Sex_Male" <ctrl style="opt_button" id="male_but" posref="TL TL" x="20" y="-320" hardtext="uiCP_Sex_Male"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_select_sex|0"/> onclick_l="proc" params_l="proc_select_sex|0"/>
<ctrl style="opt_button" id="female_but" posparent="male_but" posref="BL TL" text_y="15" hardtext="uiCP_Sex_Female" <ctrl style="opt_button" id="female_but" posparent="male_but" posref="BL TL" hardtext="uiCP_Sex_Female"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_select_sex|1"/> onclick_l="proc" params_l="proc_select_sex|1"/>
<view type="bitmap" id="branch" posref="BL BL" texture="branch.tga" color="255 255 255 255" global_color="false" /> <view type="bitmap" id="branch" posref="BL BL" texture="branch.tga" color="255 255 255 255" global_color="false"/>
</group> </group>
@ -2109,15 +2008,18 @@
<!--**************--> <!--**************-->
<!-- Body Options --> <!-- Body Options -->
<!--**************--> <!--**************-->
<group id="body_options" child_resize_w="true" child_resize_wmargin="24" h="280" posref="TL TL" x="240" y="512"> <!-- Problème : ça passe sous la scène 3D principal -->
<group id="body_options" render_layer="10" child_resize_w="true" child_resize_h="true" child_resize_hmargin="32" child_resize_wmargin="32" h="1024" posref="TL TL" x="5" y="0">
<!-- <group id="sex_options" child_resize_w="true" child_resize_wmargin="24" h="500" posref="TL TL" x="5" y="256"> -->
<!-- <group id="specie_options" child_resize_w="true" child_resize_wmargin="32" h="650" posref="TL TL" x="5" y="-200"> -->
<group id="sub" sizeref="wh" posref="TL TL" w="-24" h="-88" x="8" y="-80" > <group id="subbo" posparent="body_options" posref="TL TL" w="180" h="550" x="24" y="-300" >
<instance template="outgame_black_back" id="back" /> <instance template="outgame_black_back" id="back" render_layer="-5"/>
</group> </group>
<!-- Height --> <!-- Height -->
<instance template="slider" id="bk1" posref="TL TL" x="20" y="-88" w="180" h="48" /> <instance template="slider" posparent="subbo" id="bk1" posref="TL TL" x="0" y="0" w="180" h="48" />
<view type="text" id="title1" posparent="bk1" posref="TL TL" x="16" y="4" hardtext="uiHeight" color="255 255 255 255" fontsize="10"/> <view type="text" id="title1" posparent="bk1" posref="TL TL" x="16" y="2" hardtext="uiHeight" color="255 255 255 255" fontsize="10"/>
<ctrl type="scroll" id="scroll1" posparent="bk1" posref="MM MM" x="0" y="0" w="140" h="32" <ctrl type="scroll" id="scroll1" posparent="bk1" posref="MM MM" x="0" y="0" w="140" h="32"
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:CHARACTERHEIGHT" tracksize="40" vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:CHARACTERHEIGHT" tracksize="40"
onscrollend="proc" params="CP_Camera_Face" onscrollend="proc" params="CP_Camera_Face"
@ -2125,7 +2027,7 @@
<!-- Torso --> <!-- Torso -->
<instance template="slider" id="bk2" posparent="bk1" posref="BL TL" w="180" h="48" /> <instance template="slider" id="bk2" posparent="bk1" posref="BL TL" w="180" h="48" />
<view type="text" id="title2" posparent="bk2" posref="TL TL" x="16" y="4" hardtext="uiTorso" color="255 255 255 255" fontsize="10"/> <view type="text" id="title2" posparent="bk2" posref="TL TL" x="16" y="2" hardtext="uiTorso" color="255 255 255 255" fontsize="10"/>
<ctrl type="scroll" id="scroll2" posparent="bk2" posref="MM MM" x="0" y="0" w="140" h="32" <ctrl type="scroll" id="scroll2" posparent="bk2" posref="MM MM" x="0" y="0" w="140" h="32"
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:TORSOWIDTH" tracksize="40" vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:TORSOWIDTH" tracksize="40"
onscroll="" params="" onscroll="" params=""
@ -2133,7 +2035,7 @@
<!-- Arms --> <!-- Arms -->
<instance template="slider" id="bk3" posparent="bk2" posref="BL TL" w="180" h="48" /> <instance template="slider" id="bk3" posparent="bk2" posref="BL TL" w="180" h="48" />
<view type="text" id="title3" posparent="bk3" posref="TL TL" x="16" y="4" hardtext="uiArms" color="255 255 255 255" fontsize="10"/> <view type="text" id="title3" posparent="bk3" posref="TL TL" x="16" y="2" hardtext="uiArms" color="255 255 255 255" fontsize="10"/>
<ctrl type="scroll" id="scroll3" posparent="bk3" posref="MM MM" x="0" y="0" w="140" h="32" <ctrl type="scroll" id="scroll3" posparent="bk3" posref="MM MM" x="0" y="0" w="140" h="32"
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:ARMSWIDTH" tracksize="40" vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:ARMSWIDTH" tracksize="40"
onscroll="" params="" onscroll="" params=""
@ -2141,7 +2043,7 @@
<!-- Legs --> <!-- Legs -->
<instance template="slider" id="bk4" posparent="bk3" posref="BL TL" w="180" h="48" /> <instance template="slider" id="bk4" posparent="bk3" posref="BL TL" w="180" h="48" />
<view type="text" id="title4" posparent="bk4" posref="TL TL" x="16" y="4" hardtext="uiLegs" color="255 255 255 255" fontsize="10"/> <view type="text" id="title4" posparent="bk4" posref="TL TL" x="16" y="2" hardtext="uiLegs" color="255 255 255 255" fontsize="10"/>
<ctrl type="scroll" id="scroll4" posparent="bk4" posref="MM MM" x="0" y="0" w="140" h="32" <ctrl type="scroll" id="scroll4" posparent="bk4" posref="MM MM" x="0" y="0" w="140" h="32"
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:LEGSWIDTH" tracksize="40" vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:LEGSWIDTH" tracksize="40"
onscroll="" params="" onscroll="" params=""
@ -2150,7 +2052,7 @@
<!-- Breast --> <!-- Breast -->
<instance template="slider" id="bk5" posparent="bk4" posref="BL TL" w="180" h="48" active="false" /> <instance template="slider" id="bk5" posparent="bk4" posref="BL TL" w="180" h="48" active="false" />
<view type="text" id="title5" posparent="bk5" posref="TL TL" x="16" y="4" hardtext="uiBreasts" color="255 255 255 255" fontsize="10" active="false" /> <view type="text" id="title5" posparent="bk5" posref="TL TL" x="16" y="2" hardtext="uiBreasts" color="255 255 255 255" fontsize="10" active="false" />
<ctrl type="scroll" id="scroll5" posparent="bk5" posref="MM MM" x="0" y="0" w="140" h="32" <ctrl type="scroll" id="scroll5" posparent="bk5" posref="MM MM" x="0" y="0" w="140" h="32"
vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:BREASTSIZE" tracksize="40" vertical="false" align="L" min="0" max="14" value="UI:TEMP:CHAR3D:VPC:BREASTSIZE" tracksize="40"
onscroll="" params="" onscroll="" params=""
@ -2180,9 +2082,9 @@
<!--**************--> <!--**************-->
<group id="face_options" w="784" h="512" posref="TL TL" x="240" y="512"> <group id="face_options" w="784" h="768" posref="TL TL" x="5" y="1024">
<group id="sub1" posref="TL TL" w="200" h="208" x="8" y="-80" > <group id="sub1" posref="TL TL" w="200" h="208" x="8" y="-280" >
<instance template="outgame_black_back" id="back" /> <instance template="outgame_black_back" id="back" />
</group> </group>
@ -2195,7 +2097,7 @@
<link expr="ifthenelse(ne(@UI:TEMP:CHAR3D:PEOPLE,3),416,368)" target="sub2:h" /> <link expr="ifthenelse(ne(@UI:TEMP:CHAR3D:PEOPLE,3),416,368)" target="sub2:h" />
<!-- Positionnement des SLIDERS --> <!-- Positionnement des SLIDERS -->
<view type="bitmap" id="pos1" posref="TL TL" x="536" y="-88" texture="blank.tga" color="255 255 255 0" /> <view type="bitmap" id="pos1" posref="TL TL" x="536" y="-300" texture="blank.tga" color="255 255 255 0" />
<view type="bitmap" id="pos2" posparent="pos1" posref="BL TL" y="-48" texture="blank.tga" color="255 255 255 0" /> <view type="bitmap" id="pos2" posparent="pos1" posref="BL TL" y="-48" texture="blank.tga" color="255 255 255 0" />
<view type="bitmap" id="pos3" posparent="pos2" posref="BL TL" y="-48" texture="blank.tga" color="255 255 255 0" /> <view type="bitmap" id="pos3" posparent="pos2" posref="BL TL" y="-48" texture="blank.tga" color="255 255 255 0" />
<view type="bitmap" id="pos4" posparent="pos3" posref="BL TL" y="-48" texture="blank.tga" color="255 255 255 0" /> <view type="bitmap" id="pos4" posparent="pos3" posref="BL TL" y="-48" texture="blank.tga" color="255 255 255 0" />
@ -2216,14 +2118,14 @@
<!-- TITLES Des SLIDERS --> <!-- TITLES Des SLIDERS -->
<view type="text" id="face1" posparent="pos1" posref="TL TL" x="2" y="4" hardtext="uiFace1Fy" color="255 255 255 255" fontsize="10"/> <view type="text" id="face1" posparent="pos1" posref="TL TL" x="16" y="2" hardtext="uiFace1Fy" color="255 255 255 255" fontsize="11"/>
<view type="text" id="face2" posparent="pos2" posref="TL TL" x="2" y="4" hardtext="uiFace2Fy" color="255 255 255 255" fontsize="10"/> <view type="text" id="face2" posparent="pos2" posref="TL TL" x="16" y="2" hardtext="uiFace2Fy" color="255 255 255 255" fontsize="11"/>
<view type="text" id="face3" posparent="pos3" posref="TL TL" x="2" y="4" hardtext="uiFace3Fy" color="255 255 255 255" fontsize="10"/> <view type="text" id="face3" posparent="pos3" posref="TL TL" x="16" y="2" hardtext="uiFace3Fy" color="255 255 255 255" fontsize="11"/>
<view type="text" id="face4" posparent="pos4" posref="TL TL" x="2" y="4" hardtext="uiFace4Fy" color="255 255 255 255" fontsize="10"/> <view type="text" id="face4" posparent="pos4" posref="TL TL" x="16" y="2" hardtext="uiFace4Fy" color="255 255 255 255" fontsize="11"/>
<view type="text" id="face5" posparent="pos5" posref="TL TL" x="2" y="4" hardtext="uiFace5Fy" color="255 255 255 255" fontsize="10"/> <view type="text" id="face5" posparent="pos5" posref="TL TL" x="16" y="2" hardtext="uiFace5Fy" color="255 255 255 255" fontsize="11"/>
<view type="text" id="face6" posparent="pos6" posref="TL TL" x="2" y="4" hardtext="uiFace6Fy" color="255 255 255 255" fontsize="10"/> <view type="text" id="face6" posparent="pos6" posref="TL TL" x="16" y="2" hardtext="uiFace6Fy" color="255 255 255 255" fontsize="11"/>
<view type="text" id="face7" posparent="pos7" posref="TL TL" x="2" y="4" hardtext="uiFace7Fy" color="255 255 255 255" fontsize="10"/> <view type="text" id="face7" posparent="pos7" posref="TL TL" x="16" y="2" hardtext="uiFace7Fy" color="255 255 255 255" fontsize="11"/>
<view type="text" id="face8" posparent="pos8" posref="TL TL" x="2" y="4" hardtext="uiFace8Fy" color="255 255 255 255" fontsize="10"/> <view type="text" id="face8" posparent="pos8" posref="TL TL" x="16" y="2" hardtext="uiFace8Fy" color="255 255 255 255" fontsize="11"/>
<!-- <!--
<view type="bitmap" id="branch" posref="BL BL" texture="branch.tga" color="255 255 255 255" global_color="false" /> <view type="bitmap" id="branch" posref="BL BL" texture="branch.tga" color="255 255 255 255" global_color="false" />
@ -2237,28 +2139,28 @@
<!-- HAIRCUT --> <!-- HAIRCUT -->
<instance template="but_slider" id="haircut" posparent="pos1" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:HAIRCUT" max="6" /> <instance template="but_slider" id="haircut" posparent="pos1" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:HAIRCUT" max="6" />
<view type="text" id="hair1" posparent="haircut" posref="TL TL" x="16" y="4" hardtext="uiHaircut" color="255 255 255 255" fontsize="10"/> <view type="text" id="hair1" posparent="haircut" posref="TL TL" x="16" y="2" hardtext="uiHaircut" color="255 255 255 255" fontsize="11"/>
<ctrl type="scroll" id="hair2" posparent="haircut" posref="MM MM" x="0" y="0" w="140" h="32" <ctrl type="scroll" id="hair2" posparent="haircut" posref="MM MM" x="0" y="0" w="140" h="32"
vertical="false" align="L" min="0" max="6" value="UI:TEMP:HAIRCUT" tracksize="40" vertical="false" align="L" min="0" max="6" value="UI:TEMP:HAIRCUT" tracksize="40"
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/> tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
<!-- HAIR COLOR --> <!-- HAIR COLOR -->
<instance template="but_slider" id="haircolor" posparent="pos2" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" max="5" /> <instance template="but_slider" id="haircolor" posparent="pos2" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" max="5" />
<view type="text" id="haircol1" posparent="haircolor" posref="TL TL" x="16" y="4" hardtext="uiHairColor" color="255 255 255 255" fontsize="10"/> <view type="text" id="haircol1" posparent="haircolor" posref="TL TL" x="16" y="2" hardtext="uiHairColor" color="255 255 255 255" fontsize="11"/>
<ctrl type="scroll" id="haircol2" posparent="haircolor" posref="MM MM" x="0" y="0" w="140" h="32" <ctrl type="scroll" id="haircol2" posparent="haircolor" posref="MM MM" x="0" y="0" w="140" h="32"
vertical="false" align="L" min="0" max="5" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" tracksize="40" vertical="false" align="L" min="0" max="5" value="UI:TEMP:CHAR3D:VPA:HATCOLOR" tracksize="40"
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/> tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
<!-- TATOOS --> <!-- TATOOS -->
<instance template="but_slider" id="tatoos" posparent="pos3" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:CHAR3D:VPC:TATTOO" max="31" /> <instance template="but_slider" id="tatoos" posparent="pos3" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:CHAR3D:VPC:TATTOO" max="31" />
<view type="text" id="tatoo1" posparent="tatoos" posref="TL TL" x="16" y="4" hardtext="uiTatoos" color="255 255 255 255" fontsize="10"/> <view type="text" id="tatoo1" posparent="tatoos" posref="TL TL" x="16" y="2" hardtext="uiTatoos" color="255 255 255 255" fontsize="11"/>
<ctrl type="scroll" id="tatoo2" posparent="tatoos" posref="MM MM" x="0" y="0" w="140" h="32" <ctrl type="scroll" id="tatoo2" posparent="tatoos" posref="MM MM" x="0" y="0" w="140" h="32"
vertical="false" align="L" min="0" max="31" value="UI:TEMP:CHAR3D:VPC:TATTOO" tracksize="40" vertical="false" align="L" min="0" max="31" value="UI:TEMP:CHAR3D:VPC:TATTOO" tracksize="40"
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/> tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
<!-- EYES --> <!-- EYES -->
<instance template="but_slider" id="eyes" posparent="pos4" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:CHAR3D:VPC:EYESCOLOR" max="7" /> <instance template="but_slider" id="eyes" posparent="pos4" posref="TL TL" x="-516" y="0" w="180" h="48" value="UI:TEMP:CHAR3D:VPC:EYESCOLOR" max="7" />
<view type="text" id="eyes1" posparent="eyes" posref="TL TL" x="16" y="4" hardtext="uiEyes" color="255 255 255 255" fontsize="10"/> <view type="text" id="eyes1" posparent="eyes" posref="TL TL" x="16" y="2" hardtext="uiEyes" color="255 255 255 255" fontsize="11"/>
<ctrl type="scroll" id="eyes2" posparent="eyes" posref="MM MM" x="0" y="0" w="140" h="32" <ctrl type="scroll" id="eyes2" posparent="eyes" posref="MM MM" x="0" y="0" w="140" h="32"
vertical="false" align="L" min="0" max="7" value="UI:TEMP:CHAR3D:VPC:EYESCOLOR" tracksize="40" vertical="false" align="L" min="0" max="7" value="UI:TEMP:CHAR3D:VPC:EYESCOLOR" tracksize="40"
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/> tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
@ -2296,19 +2198,19 @@
<!-- Job Options --> <!-- Job Options -->
<!--**************--> <!--**************-->
<group id="job_options" w="1024" h="768" posref="TL TL" x="0" y="0" > <group id="job_options" w="1024" h="768" posref="TL TL" x="0" y="-110" >
<!-- SELECTION SLIDERS --> <!-- SELECTION SLIDERS -->
<group id="selection" child_resize_w="true" child_resize_wmargin="40" h="160" posref="TL TL" x="240" y="280" > <group id="selection" child_resize_w="true" child_resize_wmargin="40" h="160" posref="TL TL" x="400" y="-100" posparent="job_options" >
<group id="sub" posref="TL TL" w="240" h="60" x="8" y="-80" > <group id="sub" posref="TL TL" w="240" h="60" x="8" y="-80" >
<instance template="outgame_black_back" id="back" /> <instance template="outgame_black_back" id="back" />
</group> </group>
<!-- Bonus 1 --> <!-- Bonus 1 -->
<instance template="slider" id="bp1" posref="TL TL" x="15" y="-90" w="180" h="48" /> <instance template="slider" id="bp1" posref="TL TL" x="20" y="-96" w="180" h="48" />
<view type="text" id="title1" posparent="bp1" posref="TL TL" x="0" y="2" hardtext="uiCP_BP1" color="255 255 255 255" fontsize="10"/> <view type="text" id="title1" posparent="bp1" posref="TL TL" x="16" y="2" hardtext="uiCP_BP1" color="255 255 255 255" fontsize="10"/>
<view type="text" id="info1" posparent="title1" posref="MR ML" x="5" y="1" hardtext="uiCP_JOB1" color="255 255 255 255" fontsize="11"/> <view type="text" id="info1" posparent="title1" posref="MR ML" x="0" y="1" hardtext="uiCP_JOB1" color="255 255 255 255" fontsize="11"/>
<ctrl type="scroll" id="scroll1" posparent="bp1" posref="MM MM" x="0" y="0" w="140" h="32" <ctrl type="scroll" id="scroll1" posparent="bp1" posref="MM MM" x="0" y="0" w="140" h="32"
vertical="false" align="L" min="0" max="3" value="UI:TEMP:JOB_POINT1" tracksize="40" vertical="false" align="L" min="0" max="3" value="UI:TEMP:JOB_POINT1" tracksize="40"
tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/> tx_topright="" tx_middle="slider_m.tga" tx_bottomleft=""/>
@ -2319,12 +2221,12 @@
<link expr="depends(@UI:TEMP:JOB_POINT1)" action="proc" params="proc_job_point1" /> <link expr="depends(@UI:TEMP:JOB_POINT1)" action="proc" params="proc_job_point1" />
<!-- top left, placement à revoir -->
<group id="options" posref="TR TR" w="815" h="762" > <group id="options" w="815" h="762" posref="TL TL" x="100" y="0" >
<!-- le groupe descriptif : un déplacement vers la gauche entraîne un affichage incomplet -->
<group id="desc" posref="BM BM" x="-18" w="658" h="342" y="120" > <group id="desc" posref="TL TL" x="50" w="658" h="342" y="-200" >
<instance template="job_frame" id="back" posref="TL TL" /> <instance template="job_frame" id="back" posref="TL TL" />
<group id="icons_back" posref="BL BL" x="16" y="12" w="340" h="226" > <group id="icons_back" posref="BL BL" x="16" y="12" w="340" h="226" >
@ -2335,13 +2237,13 @@
<view type="text" id="desc_title" posparent="icons_back" posref="TL BL" hardtext="uiCP_BP_Des" color="140 162 107 255" fontsize="13" x="0" y="4" /> <view type="text" id="desc_title" posparent="icons_back" posref="TL BL" hardtext="uiCP_BP_Des" color="140 162 107 255" fontsize="13" x="0" y="4" />
<!-- Pack description --> <!-- Pack description -->
<view type="text" id="pack_F" posref="TR TL" hardtext="uiCP_Job_F1" fontsize="10" x="12" y="-5" posparent="icons_back" <view type="text" id="pack_F" posref="TR TL" hardtext="uiCP_Job_F1" fontsize="10" x="12" y="-10" posparent="icons_back"
line_maxw="450" multi_line="true" multi_line_space="0"/> line_maxw="450" multi_line="true" multi_line_space="0"/>
<view type="text" id="pack_M" posref="TR TL" hardtext="uiCP_Job_M1" fontsize="10" x="12" y="-61" posparent="icons_back" <view type="text" id="pack_M" posref="TR TL" hardtext="uiCP_Job_M1" fontsize="10" x="12" y="-66" posparent="icons_back"
line_maxw="450" multi_line="true" multi_line_space="0"/> line_maxw="450" multi_line="true" multi_line_space="0"/>
<view type="text" id="pack_G" posref="TR TL" hardtext="uiCP_Job_G1" fontsize="10" x="12" y="-117" posparent="icons_back" <view type="text" id="pack_G" posref="TR TL" hardtext="uiCP_Job_G1" fontsize="10" x="12" y="-122" posparent="icons_back"
line_maxw="450" multi_line="true" multi_line_space="0"/> line_maxw="450" multi_line="true" multi_line_space="0"/>
<view type="text" id="pack_C" posref="TR TL" hardtext="uiCP_Job_C1" fontsize="10" x="12" y="-173" posparent="icons_back" <view type="text" id="pack_C" posref="TR TL" hardtext="uiCP_Job_C1" fontsize="10" x="12" y="-178" posparent="icons_back"
line_maxw="450" multi_line="true" multi_line_space="0"/> line_maxw="450" multi_line="true" multi_line_space="0"/>
@ -2397,8 +2299,8 @@
<group id="result" posparent="desc" posref="TL TL" y="0" sizeref="w" h="96" > <group id="result" posparent="desc" posref="TL TL" y="0" sizeref="w" h="96" >
<view type="text" id="title1" posref="TL TL" hardtext="uiCP_Title" color="140 162 107 255" fontsize="13" x="16" y="-10"/> <view type="text" id="title1" posref="TL TL" hardtext="uiCP_Title" color="140 162 107 255" fontsize="13" x="16" y="-12"/>
<view type="text" id="title2" posref="BR BL" hardtext="uiCP_Refugee" color="255 255 255 255" fontsize="15" y="-2" x="0" posparent="title1" /> <view type="text" id="title2" posref="BR BL" hardtext="uiCP_Refugee" color="255 255 255 255" fontsize="15" x="0" posparent="title1" />
<view type="text" id="title3" posparent="title1" posref="BL TL" hardtext="uiCP_Pack" fontsize="13" color="140 162 107 255" y="-8"/> <view type="text" id="title3" posparent="title1" posref="BL TL" hardtext="uiCP_Pack" fontsize="13" color="140 162 107 255" y="-8"/>
<view type="text" id="res" posparent="title3" posref="TR TL" hardtext="uiCP_Res_F" fontsize="13" color="255 255 255 255" x="8" multi_line="true" multi_line_space="0" /> <view type="text" id="res" posparent="title3" posref="TR TL" hardtext="uiCP_Res_F" fontsize="13" color="255 255 255 255" x="8" multi_line="true" multi_line_space="0" />
@ -2449,11 +2351,11 @@
onclick_l="proc" params_l="anim_perso_color"/> onclick_l="proc" params_l="anim_perso_color"/>
--> -->
<ctrl style="valid_txt_button" id="finish_but" posref="BR BM" x="-112" y="36" hardtext="uiCP_Finish" <ctrl render_layer="6" style="valid_txt_button" id="finish_but" posref="BR BM" x="-170" y="300" hardtext="uiCP_Finish"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_finish"/> onclick_l="proc" params_l="proc_finish"/>
<ctrl style="valid_txt_button" id="abort_but" posparent="finish_but" posref="TM BM" y="4" hardtext="uiCP_Abort" <ctrl render_layer="6" style="valid_txt_button" id="abort_but" posparent="finish_but" posref="TM BM" y="4" hardtext="uiCP_Abort"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_abort"/> onclick_l="proc" params_l="proc_abort"/>
@ -2461,20 +2363,20 @@
<!-- SKIN --> <!-- SKIN -->
<view type="bitmap" id="skin" posref="TL TL" x="0" y="0" render_layer="2" texture="outgame_skin.tga" <view type="bitmap" id="skin" posref="TL TL" x="0" y="0" render_layer="2" texture="outgame_skin_appear.tga"
color="255 255 255 255" global_color="false" /> color="255 255 255 255" global_color="false" />
<!-- TITLE --> <!-- TITLE -->
<group id="title" w="292" h="46" y="-6" x="-272" posref="TR TR"> <group id="title" w="292" h="46" y="-6" x="-272" posref="TR TR">
<view type="text" id="title1" posref="TM TM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_title1"/> <view type="text" id="title1" posref="TM TM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="-4" hardtext="uiCP_title1"/>
<view type="text" id="title2" posref="BM BM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_creation"/> <view type="text" id="title2" posref="BM BM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_creation"/>
</group> </group>
<!-- SKIN MENU SELECTION 1 --> <!-- SKIN MENU SELECTION 1 -->
<view type="bitmap" id="select_menu" posref="TL TL" x="0" y="2" render_layer="4" scale="true" texture="blank.tga" <view type="bitmap" id="select_menu" posref="TL TL" x="35" y="-391" render_layer="4" scale="true" texture="blank.tga"
color="0 0 0 0" w="212" h="160" /> color="0 0 0 0" w="212" h="160" />
@ -2490,8 +2392,8 @@
</scene3d> </scene3d>
<!-- KAMI MENU SELECT --> <!-- KAMI MENU SELECT -->
<view type="bitmap" id="select_kami" posparent="select_menu" posref="MR ML" x="-30" y="-3" render_layer="3" texture="kami_select.tga" <!--<view type="bitmap" id="select_kami" posparent="select_menu" posref="MR ML" x="-30" y="-3" render_layer="3" texture="kami_select.tga"
color="255 255 255 255" global_color="false" /> color="255 255 255 255" global_color="false" /> -->
<!-- QUIT BUTTON --> <!-- QUIT BUTTON -->
@ -2572,16 +2474,14 @@
<key time="0.0" value="getprop('ui:outgame:appear:specie_options:y')" tension="1.0" easefrom="0"/> <key time="0.0" value="getprop('ui:outgame:appear:specie_options:y')" tension="1.0" easefrom="0"/>
<key time="1.0" value="0" tension="1.0" easeto="1"/> <key time="1.0" value="0" tension="1.0" easeto="1"/>
</track> </track>
</anim> </anim>
<anim id="anim_specie_off" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" > <anim id="anim_specie_off" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" >
<track type="tcb" target="appear:specie_options:y" dynamic="true" > <track type="tcb" target="appear:specie_options:y" dynamic="true" >
<key time="0.0" value="getprop('ui:outgame:appear:specie_options:y')" tension="1.0" easefrom="0"/> <key time="0.0" value="getprop('ui:outgame:appear:specie_options:y')" tension="1.0" easefrom="0"/>
<key time="1.0" value="380" tension="1.0" easeto="1"/> <key time="1.0" value="512" tension="1.0" easeto="1"/>
</track> </track>
</anim> </anim>
<anim id="anim_sex_on" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" > <anim id="anim_sex_on" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" >
@ -2590,34 +2490,31 @@
<key time="0.0" value="getprop('ui:outgame:appear:sex_options:y')" tension="1.0" easefrom="0"/> <key time="0.0" value="getprop('ui:outgame:appear:sex_options:y')" tension="1.0" easefrom="0"/>
<key time="1.0" value="0" tension="1.0" easeto="1"/> <key time="1.0" value="0" tension="1.0" easeto="1"/>
</track> </track>
</anim> </anim>
<anim id="anim_sex_off" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" > <anim id="anim_sex_off" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" >
<track type="tcb" target="appear:sex_options:y" dynamic="true" > <track type="tcb" target="appear:sex_options:y" dynamic="true" >
<key time="0.0" value="getprop('ui:outgame:appear:sex_options:y')" tension="1.0" easefrom="0"/> <key time="0.0" value="getprop('ui:outgame:appear:sex_options:y')" tension="1.0" easefrom="0"/>
<key time="1.0" value="256" tension="1.0" easeto="1"/> <key time="1.0" value="512" tension="1.0" easeto="1"/>
</track> </track>
</anim> </anim>
<anim id="anim_body_on" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" > <anim id="anim_body_on" duration="1.0" disable_buttons="true" on_start="proc" on_start_params="proc_enable_body_options" >
<track type="tcb" target="appear:body_options:y" dynamic="true" > <track type="tcb" target="appear:body_options:y" dynamic="true" >
<key time="0.0" value="getprop('ui:outgame:appear:body_options:y')" tension="1.0" easefrom="0"/> <key time="0.0" value="getprop('ui:outgame:appear:body_options:y')" tension="1.0" easefrom="0"/>
<key time="1.0" value="0" tension="1.0" easeto="1"/> <key time="1.0" value="0" tension="1.0" easeto="1"/>
</track> </track>
</anim> </anim>
<anim id="anim_body_off" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" > <anim id="anim_body_off" duration="1.0" disable_buttons="true" on_finish="proc" on_finish_params="proc_disable_body_options" >
<track type="tcb" target="appear:body_options:y" dynamic="true" > <track type="tcb" target="appear:body_options:y" dynamic="true" >
<key time="0.0" value="getprop('ui:outgame:appear:body_options:y')" tension="1.0" easefrom="0"/> <key time="0.0" value="getprop('ui:outgame:appear:body_options:y')" tension="1.0" easefrom="0"/>
<key time="1.0" value="512" tension="1.0" easeto="1"/> <key time="1.0" value="1024" tension="1.0" easeto="1"/>
</track> </track>
</anim> </anim>
<anim id="anim_face_on" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" > <anim id="anim_face_on" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" >
@ -2626,16 +2523,14 @@
<key time="0.0" value="getprop('ui:outgame:appear:face_options:y')" tension="1.0" easefrom="0"/> <key time="0.0" value="getprop('ui:outgame:appear:face_options:y')" tension="1.0" easefrom="0"/>
<key time="1.0" value="0" tension="1.0" easeto="1"/> <key time="1.0" value="0" tension="1.0" easeto="1"/>
</track> </track>
</anim> </anim>
<anim id="anim_face_off" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" > <anim id="anim_face_off" duration="1.0" disable_buttons="true" on_finish="" on_finish_params="" >
<track type="tcb" target="appear:face_options:y" dynamic="true" > <track type="tcb" target="appear:face_options:y" dynamic="true" >
<key time="0.0" value="getprop('ui:outgame:appear:face_options:y')" tension="1.0" easefrom="0"/> <key time="0.0" value="getprop('ui:outgame:appear:face_options:y')" tension="1.0" easefrom="0"/>
<key time="1.0" value="512" tension="1.0" easeto="1"/> <key time="1.0" value="1024" tension="1.0" easeto="1"/>
</track> </track>
</anim> </anim>
@ -2696,7 +2591,7 @@
<anim id="anim_refresh2" duration="0.001" disable_buttons="true" on_finish="" on_finish_params="" > <anim id="anim_refresh2" duration="0.001" disable_buttons="true" on_finish="" on_finish_params="" >
</anim> </anim>
<!--
<anim id="anim_app_select_fx" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="restart_app_select_fx" > <anim id="anim_app_select_fx" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="restart_app_select_fx" >
<track type="linear" target="appear:3d_select:select_fx:posx" > <track type="linear" target="appear:3d_select:select_fx:posx" >
@ -2716,5 +2611,24 @@
</track> </track>
</anim> </anim>
-->
<anim id="anim_app_select_fx" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="restart_app_select_fx" >
<track type="bezier" target="appear:3d_select:select_fx:posx" >
<key time="0.0" value="2" intan="-0.1" outtan="-0.1" step="6" />
<key time="0.5" value="0" intan="8" outtan="-8" step="6" />
<key time="1" value="-2" intan="0.1" outtan="0.1" step="6" />
<key time="1.5" value="0" intan="-8" outtan="8" step="6" />
<key time="2.0" value="2" intan="-0.1" outtan="-0.1" step="6" />
</track>
<track type="bezier" target="appear:3d_select:select_fx:posz" >
<key time="0.0" value="0" intan="-6" outtan="6" step="6" />
<key time="0.5" value="1.5" intan="-0.1" outtan="-0.1" step="6" />
<key time="1" value="0" intan="6" outtan="-6" step="6" />
<key time="1.5" value="-1.5" intan="0.1" outtan="0.1" step="6" />
<key time="2.0" value="0" intan="-6" outtan="6" step="6" />
</track>
</anim>
</interface_config> </interface_config>

View file

@ -37,7 +37,7 @@
<!-- JENA BACK --> <!-- JENA BACK -->
<view type="bitmap" id="jena" render_layer="-1" <view type="bitmap" id="jena" render_layer="-1"
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" /> global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="launcher_bg.tga" />
<!-- Quit Button --> <!-- Quit Button -->

View file

@ -10,7 +10,7 @@
<!-- JENA BACK --> <!-- JENA BACK -->
<view type="bitmap" id="jena" render_layer="-1" <view type="bitmap" id="jena" render_layer="-1"
global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="new_launcher_bg.tga" /> global_color="false" color="255 255 255 255" posref="TL TL" x="0" y="0" texture="launcher_bg.tga" />
<!-- Quit Button --> <!-- Quit Button -->

View file

@ -13,8 +13,9 @@
<tree node="specie"/> <tree node="specie"/>
<tree node="career"/> <tree node="career"/>
<tree node="summary"/> <tree node="summary"/>
<tree node="logo_intro"/>
--> -->
<tree node="logo_intro"/>
<tree node="charsel"/> <tree node="charsel"/>

File diff suppressed because one or more lines are too long

View file

@ -28,15 +28,15 @@
<variable entry="UI:TEMP:CHARSELOPT1" type="sint64" value="0"/> <variable entry="UI:TEMP:CHARSELOPT1" type="sint64" value="0"/>
<variable entry="UI:TEMP:CHARSELOPT2" type="sint64" value="0"/> <variable entry="UI:TEMP:CHARSELOPT2" type="sint64" value="0"/>
<variable entry="UI:TEMP:HAIRCUT" type="sint64" value="1" /> <variable entry="UI:TEMP:HAIRCUT" type="sint64" value="1" />
<variable entry="UI:TEMP:RAND" type="sint64" value="1" /> <variable entry="UI:TEMP:RAND" type="sint64" value="1" />
<variable entry="UI:TEMP:CHAR3DFYROS:PEOPLE" type="sint64" value="0" /> <variable entry="UI:TEMP:CHAR3DFYROS:PEOPLE" type="sint64" value="0" />
<variable entry="UI:TEMP:CHAR3DMATIS:PEOPLE" type="sint64" value="1" /> <variable entry="UI:TEMP:CHAR3DMATIS:PEOPLE" type="sint64" value="1" />
<variable entry="UI:TEMP:CHAR3DTRYKER:PEOPLE" type="sint64" value="2" /> <variable entry="UI:TEMP:CHAR3DTRYKER:PEOPLE" type="sint64" value="2" />
<variable entry="UI:TEMP:CHAR3DZORAI:PEOPLE" type="sint64" value="3" /> <variable entry="UI:TEMP:CHAR3DZORAI:PEOPLE" type="sint64" value="3" />
<variable entry="UI:TEMP:INFOS" type="sint64" value="-1"/> <variable entry="UI:TEMP:INFOS" type="sint64" value="-1"/>
<variable entry="UI:TEMP:HAS_EDITSESSION" type="sint64" value="0" /> <variable entry="UI:TEMP:HAS_EDITSESSION" type="sint64" value="0" />
<!-- ***************** --> <!-- ***************** -->
@ -58,11 +58,11 @@
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posx|value=0.0"/> <action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posx|value=0.0"/>
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posy|value=23.0"/> <action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posy|value=23.0"/>
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posz|value=2.8"/> <action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:posz|value=2.05"/>
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgtx|value=0.0"/> <action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgtx|value=0.0"/>
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgty|value=26.5"/> <action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgty|value=26.5"/>
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgtz|value=2.0"/> <action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:tgtz|value=2.15"/>
<action handler="lua:game:procCharselClickSlot()" /> <action handler="lua:game:procCharselClickSlot()" />
@ -80,7 +80,6 @@
</proc> </proc>
<proc id="charsel_disable_buttons"> <proc id="charsel_disable_buttons">
<action handler="set" params="target_property=ui:outgame:charsel:but_slot0:active|value=0"/> <action handler="set" params="target_property=ui:outgame:charsel:but_slot0:active|value=0"/>
<action handler="set" params="target_property=ui:outgame:charsel:but_slot1:active|value=0"/> <action handler="set" params="target_property=ui:outgame:charsel:but_slot1:active|value=0"/>
@ -99,7 +98,6 @@
<action handler="set" params="target_property=ui:outgame:charsel:quit_but:active|value=0"/> <action handler="set" params="target_property=ui:outgame:charsel:quit_but:active|value=0"/>
</proc> </proc>
<proc id="charsel_enable_buttons"> <proc id="charsel_enable_buttons">
<action handler="set" params="target_property=ui:outgame:charsel:but_slot0:active|value=1"/> <action handler="set" params="target_property=ui:outgame:charsel:but_slot0:active|value=1"/>
<action handler="set" params="target_property=ui:outgame:charsel:but_slot1:active|value=1"/> <action handler="set" params="target_property=ui:outgame:charsel:but_slot1:active|value=1"/>
@ -118,18 +116,19 @@
<action handler="set" params="target_property=ui:outgame:charsel:quit_but:active|value=1"/> <action handler="set" params="target_property=ui:outgame:charsel:quit_but:active|value=1"/>
</proc> </proc>
<proc id="restart_sel_select_fx"> <proc id="restart_sel_select_fx">
<action handler="anim_start" params="anim=anim_sel_select_fx" /> <action handler="anim_start" params="anim=anim_sel_select_fx" />
</proc> </proc>
<!-- Init Slots --> <!-- Init Slots -->
<!-- Proc to check if slot is empty or full-->
<proc id="proc_charsel_initslot"> <proc id="proc_charsel_initslot">
<action handler="proc" cond="not(isCharSelSlotEmpty(@0))" params="proc_charsel_initslot_full|@0" /> <action handler="proc" cond="not(isCharSelSlotEmpty(@0))" params="proc_charsel_initslot_full|@0" />
<action handler="proc" cond="isCharSelSlotEmpty(@0)" params="proc_charsel_initslot_empty|@0" /> <action handler="proc" cond="isCharSelSlotEmpty(@0)" params="proc_charsel_initslot_empty|@0" />
</proc> </proc>
<!-- Proc for used/full character slot-->
<proc id="proc_charsel_initslot_full"> <proc id="proc_charsel_initslot_full">
<action handler="set_db_from_slot" params="dblink=UI:TEMP:CHARSLOT@0|slot=@0" /> <action handler="set_db_from_slot" params="dblink=UI:TEMP:CHARSLOT@0|slot=@0" />
@ -138,7 +137,7 @@
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:char:anim|value=3" /> <action handler="set" params="target_property=ui:outgame:charsel:slot@0:char:anim|value=3" />
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:env:name | <action handler="set" params="target_property=ui:outgame:charsel:slot@0:env:name |
value=switch(@UI:TEMP:CHARSLOT@0:PEOPLE, 'outgame_fyros.ig', 'outgame_matis.ig', 'outgame_tryker.ig', 'outgame_zorai.ig')" /> value=switch(@UI:TEMP:CHARSLOT@0:PEOPLE, 'outgame_zorai.ig', 'outgame_zorai.ig', 'outgame_zorai.ig', 'outgame_zorai.ig')" />
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:cam:fov | <action handler="set" params="target_property=ui:outgame:charsel:slot@0:cam:fov |
value=switch(@UI:TEMP:CHARSLOT@0:PEOPLE, 21, 22, 20, 23)" /> value=switch(@UI:TEMP:CHARSLOT@0:PEOPLE, 21, 22, 20, 23)" />
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:cam:posz|value=add(0.06,getprop('ui:outgame:charsel:slot@0:char:headz'))" /> <action handler="set" params="target_property=ui:outgame:charsel:slot@0:cam:posz|value=add(0.06,getprop('ui:outgame:charsel:slot@0:char:headz'))" />
@ -147,13 +146,14 @@
<action handler="get_slot" cond="not(isCharSelSlotEmpty(@0))" params="prop=name|target=ui:outgame:charsel:but_slot@0:uc_hardtext|slot=@0" /> <action handler="get_slot" cond="not(isCharSelSlotEmpty(@0))" params="prop=name|target=ui:outgame:charsel:but_slot@0:uc_hardtext|slot=@0" />
</proc> </proc>
<!-- Proc for empty character slot-->
<proc id="proc_charsel_initslot_empty"> <proc id="proc_charsel_initslot_empty">
<action handler="set" params="target_property=ui:outgame:charsel:slot@0:active|value=0" /> <action handler="set" params="target_property=ui:outgame:charsel:slot@0:active|value=0" />
<action handler="set" params="target_property=ui:outgame:charsel:empty_slot@0:active|value=1" /> <action handler="set" params="target_property=ui:outgame:charsel:empty_slot@0:active|value=1" />
<action handler="set" params="target_property=ui:outgame:charsel:but_slot@0:hardtext|value='uiCharSel_EmptySlot'" /> <action handler="set" params="target_property=ui:outgame:charsel:but_slot@0:hardtext|value='uiCharSel_EmptySlot'" />
</proc> </proc>
<!-- Proc to get proper specific anim per race-->
<proc id="select_specie_anim"> <proc id="select_specie_anim">
<action handler="set" params="target_property=ui:outgame:charsel:char3d:char:anim|value=5" /> <action handler="set" params="target_property=ui:outgame:charsel:char3d:char:anim|value=5" />
<!-- <!--
@ -164,7 +164,6 @@
--> -->
</proc> </proc>
<!-- When we click on a slot --> <!-- When we click on a slot -->
<proc id="proc_charsel_clickslot"> <proc id="proc_charsel_clickslot">
<action handler="set" params="dblink=UI:TEMP:CHARSELSLOT|value=-1" /> <action handler="set" params="dblink=UI:TEMP:CHARSELSLOT|value=-1" />
@ -176,16 +175,18 @@
<action handler="set" params="target_property=ui:outgame:charsel:char3d:active|value=not(isCharSelSlotEmpty(@0))" /> <action handler="set" params="target_property=ui:outgame:charsel:char3d:active|value=not(isCharSelSlotEmpty(@0))" />
<action handler="set" params="target_property=ui:outgame:charsel:empty3d:active|value=isCharSelSlotEmpty(@0)" /> <action handler="set" params="target_property=ui:outgame:charsel:empty3d:active|value=isCharSelSlotEmpty(@0)" />
<action handler="set" params="target_property=ui:outgame:charsel:select_menu:y | <action handler="set" params="target_property=ui:outgame:charsel:select_menu:x |
value=switch(@0, 2, -151, -304, -457, -610)" /> value=switch(@0, 2, 207, 412, 617, 822)" />
<action handler="set" params="target_property=ui:outgame:charsel:but_slot@0:pushed|value=1" /> <action handler="set" params="target_property=ui:outgame:charsel:but_slot@0:pushed|value=1" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:env:name | <action handler="set" params="target_property=ui:outgame:charsel:char3d:env:name |
value=switch(@UI:TEMP:CHAR3D:PEOPLE, 'outgame_fyros.ig', 'outgame_matis.ig', 'outgame_tryker.ig', 'outgame_zorai.ig')" /> value=switch(@UI:TEMP:CHAR3D:PEOPLE, 'outgame_zorai.ig', 'outgame_zorai.ig', 'outgame_zorai.ig', 'outgame_zorai.ig')" />
<action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:fov | <action handler="set" params="target_property=ui:outgame:charsel:char3d:cam:fov |
value=switch(@UI:TEMP:CHAR3D:PEOPLE, 60, 60, 60, 60)" /> value=switch(@UI:TEMP:CHAR3D:PEOPLE, 72, 72, 72, 72)" />
<action handler="set" params="target_property=ui:outgame:charsel:3d_select:x |
value=switch(@0, 2, 207, 412, 617, 822)" />
<action handler="set" params="target_property=ui:outgame:charsel:3d_select:y | <action handler="set" params="target_property=ui:outgame:charsel:3d_select:y |
value=switch(@0, 0, -153, -306, -459, -612)" /> value=switch(@0, -95, -65, -35, -65, -95)" />
<action handler="proc" params="proc_charsel_infos2" /> <action handler="proc" params="proc_charsel_infos2" />
</proc> </proc>
@ -200,7 +201,6 @@
<action handler="lua:game:openEditorMenu()" /> <action handler="lua:game:openEditorMenu()" />
</proc> </proc>
<proc id="proc_charsel_edit_scenario"> <proc id="proc_charsel_edit_scenario">
<action handler="set" params="dblink=UI:TEMP:EDIT_SCENARIO|value=1" /> <action handler="set" params="dblink=UI:TEMP:EDIT_SCENARIO|value=1" />
<action handler="anim_start" params="anim=anim_charsel_outro_play" /> <action handler="anim_start" params="anim=anim_charsel_outro_play" />
@ -222,9 +222,6 @@
<action handler="anim_start" params="anim=anim_charsel_delout" /> <action handler="anim_start" params="anim=anim_charsel_delout" />
</proc> </proc>
<proc id="proc_charsel_play2"> <proc id="proc_charsel_play2">
<action handler="proc" params="charsel_disable_buttons" /> <action handler="proc" params="charsel_disable_buttons" />
<action handler="launch_game" params="slot=@UI:TEMP:CHARSELSLOT|edit_mode=@UI:TEMP:EDIT_SCENARIO" /> <action handler="launch_game" params="slot=@UI:TEMP:CHARSELSLOT|edit_mode=@UI:TEMP:EDIT_SCENARIO" />
@ -233,6 +230,7 @@
<proc id="proc_charsel_create_new"> <proc id="proc_charsel_create_new">
<action handler="anim_start" params="anim=anim_charsel_outro_new" /> <action handler="anim_start" params="anim=anim_charsel_outro_new" />
</proc> </proc>
<proc id="proc_charsel_create_new2"> <proc id="proc_charsel_create_new2">
<action handler="proc" params="charsel_disable_buttons" /> <action handler="proc" params="charsel_disable_buttons" />
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_appear" /> <action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_appear" />
@ -241,42 +239,39 @@
<proc id="proc_charsel_create_ran"> <proc id="proc_charsel_create_ran">
<action handler="anim_start" params="anim=anim_charsel_outro_ran" /> <action handler="anim_start" params="anim=anim_charsel_outro_ran" />
</proc> </proc>
<proc id="proc_charsel_create_ran2"> <proc id="proc_charsel_create_ran2">
<action handler="proc" params="charsel_disable_buttons" /> <action handler="proc" params="charsel_disable_buttons" />
<action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_appear" /> <action handler="set" params="dblink=UI:CURRENT_SCREEN|value=%screen_appear" />
</proc> </proc>
<!-- When we click on the exit button --> <!-- When we click on the exit button -->
<proc id="proc_quit" > <proc id="proc_quit" >
<action handler="play_sound" params="name=charsel_quit_click" /> <action handler="play_sound" params="name=charsel_quit_click" />
<action handler="quit_ryzom" /> <action handler="quit_ryzom" />
</proc> </proc>
<!-- Relance la rotation du sigle empty --> <!-- Relance la rotation du sigle empty -->
<proc id="restart_empty_anim"> <proc id="restart_empty_anim">
<action handler="anim_start" params="anim=anim_empty" /> <action handler="anim_start" params="anim=anim_empty" />
</proc> </proc>
<!-- ***************** --> <!-- ***************** -->
<!-- * TEMPLATES * --> <!-- * TEMPLATES * -->
<!-- ***************** --> <!-- ***************** -->
<template name="char_slot_view" posparent="parent" posref="TL TL" id="" dblink="" x="0" y="-3" > <template name="char_slot_view" posparent="parent" posref="TL TL" id="" dblink="" x="0" y="0" >
<scene3d id="#id" posparent="#posparent" w="200" h="150" x="#x" y="#y" posref="#posref" curcam="cam" curcs="env" render_layer="-2" user_interaction="false" <scene3d id="#id" posparent="#posparent" w="200" h="150" x="#x" y="#y" posref="#posref" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" > ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<character3d id="char" dblink="#dblink" pos="0.0 26.5 0.85" rot="0.0 0.0 10.0" /> <character3d id="char" dblink="#dblink" pos="0.0 26.5 0.85" rot="0.0 0.0 10.0" />
<camera id="cam" fov="20" pos="0.0 24.0 2.2" target="0.0 26.5 2.0" roll="0" /> <camera id="cam" fov="20" pos="0.0 24.0 3.0" target="0.0 26.5 2.9" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" /> <light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" /> <light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
<ig id="env" name="outgame_matis.ig" pos="0 0 0" /> <ig id="env" name="outgame_zorai.ig" pos="0 0 0" />
<shape id="shadow" name="shadow.shape" pos="0.0 26.5 0.85" rot="0.0 0.0 0.0" /> <shape id="shadow" name="shadow.shape" pos="0.0 26.5 0.85" rot="0.0 0.0 0.0" />
@ -289,7 +284,6 @@
</template> </template>
<template name="empty_slot_view" posparent="parent" posref="TL TL" id="" dblink="" x="0" y="-3" > <template name="empty_slot_view" posparent="parent" posref="TL TL" id="" dblink="" x="0" y="-3" >
<scene3d id="#id" posparent="#posparent" w="200" h="150" x="#x" y="#y" posref="#posref" curcam="cam" curcs="env" render_layer="-2" user_interaction="false" <scene3d id="#id" posparent="#posparent" w="200" h="150" x="#x" y="#y" posref="#posref" curcam="cam" curcs="env" render_layer="-2" user_interaction="false"
@ -307,34 +301,22 @@
</template> </template>
<!-- ******************** --> <!-- ******************** -->
<!-- * DELETE CHARACTER * --> <!-- * DELETE CHARACTER * -->
<!-- ******************** --> <!-- ******************** -->
<group type="modal" id="charsel_delchar_confirm" posref="MM MM" w="300" h="180" <group type="modal" id="charsel_delchar_confirm" posref="MM MM" w="300" h="180" mouse_pos="false" escapable="false" exit_click_out="false" display="false">
mouse_pos="false" escapable="false" exit_click_out="false" display="false">
<instance template="outgame_popup" id="back" posref="TL TL" /> <instance template="outgame_popup" id="back" posref="TL TL" />
<view type="text" id="text" posref="TM TM" x="0" y="-60" color="255 255 255 255" global_color="false" line_maxw="284" fontsize="17" shadow="true" hardtext="uiCharSel_DelChar" multi_line="true" multi_line_space="0"/>
<view type="text" id="text" posref="TM TM" x="0" y="-60" color="255 255 255 255" global_color="false" line_maxw="284" <ctrl style="valid_txt_button" id="submit" posref="BR BR" x="-8" y="8" hardtext="uiCP_Delete_yes" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_delchar_confirm_ok" />
fontsize="17" shadow="true" hardtext="uiCharSel_DelChar" multi_line="true" multi_line_space="0"/>
<ctrl style="valid_txt_button" id="submit" posref="BR BR" x="-8" y="8" hardtext="uiCP_Delete_yes" <ctrl style="valid_txt_button" id="cancel" posref="TR BR" posparent="submit" x="0" y="4" hardtext="uiCP_Delete_no" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_delchar_confirm_cancel" />
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_delchar_confirm_ok" />
<ctrl style="valid_txt_button" id="cancel" posref="TR BR" posparent="submit" x="0" y="4" hardtext="uiCP_Delete_no"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_delchar_confirm_cancel" />
</group> </group>
<!-- ********* --> <!-- ********* -->
<!-- * INFOS * --> <!-- * INFOS * -->
<!-- ********* --> <!-- ********* -->
@ -362,13 +344,9 @@
<group type="modal" id="charsel_infos1" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1" <group type="modal" id="charsel_infos1" x="-74" y="-68" w="698" h="652" posref="TR TR" render_layer="1"
mouse_pos="false" escapable="false" exit_click_out="true" display="false"> mouse_pos="false" escapable="false" exit_click_out="true" display="false">
<view type="text" id="text" posref="TM TM" x="0" y="0" color="255 255 255 255" global_color="false" line_maxw="780" <view type="text" id="text" posref="TM TM" x="0" y="0" color="255 255 255 255" global_color="false" line_maxw="780" fontsize="17" shadow="true" hardtext="uiCharSel_Infos1" multi_line="true" multi_line_space="0"/>
fontsize="17" shadow="true" hardtext="uiCharSel_Infos1" multi_line="true" multi_line_space="0"/>
<ctrl style="valid_txt_button" id="quit_but" posref="BM BM" y="0" hardtext="uiInfos_Close" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_infos"/>
<ctrl style="valid_txt_button" id="quit_but" posref="BM BM" y="0" hardtext="uiInfos_Close"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_infos"/>
</group> </group>
@ -418,7 +396,6 @@
<action handler="anim_start" params="anim=anim_charsel_delout" /> <action handler="anim_start" params="anim=anim_charsel_delout" />
</proc> </proc>
<proc id="charsel_init_buttons"> <proc id="charsel_init_buttons">
<action handler="add_link" params="id=play_edit_session_del_init|expr=and(not(isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)), not(isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT))))|target=ui:outgame:charsel:play_but:active,ui:outgame:charsel:edit_session_but:active,ui:outgame:charsel:del_but:active" /> <action handler="add_link" params="id=play_edit_session_del_init|expr=and(not(isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)), not(isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT))))|target=ui:outgame:charsel:play_but:active,ui:outgame:charsel:edit_session_but:active,ui:outgame:charsel:del_but:active" />
<action handler="add_link" params="id=create_new_but_init|expr=isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)|target=ui:outgame:charsel:create_new_but:active" /> <action handler="add_link" params="id=create_new_but_init|expr=isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)|target=ui:outgame:charsel:create_new_but:active" />
@ -429,26 +406,22 @@
<action handler="remove_link" params="id=resume_session_but_init" /> <action handler="remove_link" params="id=resume_session_but_init" />
</proc> </proc>
<!-- ***************** --> <!-- ***************** -->
<!-- * MAIN WINDOW * --> <!-- * MAIN WINDOW * -->
<!-- ***************** --> <!-- ***************** -->
<group id="charsel" w="1024" h="768" posref="MM MM" <group id="charsel" w="1024" h="768" posref="MM MM" on_active="proc" on_active_params="proc_charsel_active" >
on_active="proc" on_active_params="proc_charsel_active" >
<!-- TEMP BACK --> <!-- TEMP BACK -->
<view type="bitmap" id="bg" posref="TL TL" x="0" y="0" render_layer="-3" scale="true" w="1024" h="768" texture="blank.tga" <view type="bitmap" id="bg" posref="TL TL" x="0" y="0" render_layer="-3" scale="true" w="1024" h="768" texture="blank.tga"
color="0 0 0 255" global_color="false" /> color="0 0 0 255" global_color="false" />
<!--***************--> <!--***************-->
<!-- MAIN 3D SCENE --> <!-- MAIN 3D SCENE -->
<!--***************--> <!--***************-->
<!-- Vue Globale --> <!-- Vue Globale -->
<scene3d id="char3d" x="-3" y="-3" w="815" h="762" posref="TR TR" curcam="cam" curcs="env" render_layer="-2" <scene3d id="char3d" x="2" y="2" w="1024" h="768" posref="BL BL" curcam="cam" curcs="env" render_layer="-2"
user_interaction="true" rotz_factor="0.017" user_interaction="true" rotz_factor="0.017"
roty_factor="0.005" roty_limit_min="-20" roty_limit_max="15" roty_factor="0.005" roty_limit_min="-20" roty_limit_max="15"
dist_factor="0.005" dist_limit_min="3.0" dist_limit_max="3.8" dist_factor="0.005" dist_limit_min="3.0" dist_limit_max="3.8"
@ -458,13 +431,13 @@
<character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0 26.5 1.0" rot="0.0 0.0 0.0" /> <character3d id="char" dblink="UI:TEMP:CHAR3D" pos="0 26.5 1.0" rot="0.0 0.0 0.0" />
<camera id="cam" fov="80" pos="0.0 24.0 2.6" target="0.0 26.5 2.2" roll="0" /> <camera id="cam" fov="100" pos="0.0 24.25 2.2" target="0.0 26.5 2.2" roll="0" />
<camera id="camface" fov="20" pos="0.0 25.0 2.2" target="0.0 26.5 2.2" roll="0" /> <camera id="camface" fov="20" pos="0.0 25.0 2.2" target="0.0 26.5 2.2" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" /> <light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" /> <light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
<ig id="env" name="outgame_matis.ig" pos="0 0 0.15" /> <ig id="env" name="outgame_zorai.ig" pos="0 0 0.15" />
<shape id="shadow" name="shadow.shape" pos="0.0 26.5 1.0" rot="0.0 0.0 0.0" /> <shape id="shadow" name="shadow.shape" pos="0.0 26.5 1.0" rot="0.0 0.0 0.0" />
@ -474,16 +447,17 @@
<auto_anim name="lanterne-int2.anim"/> <auto_anim name="lanterne-int2.anim"/>
</scene3d> </scene3d>
<!-- CHARACTER STILL IN RING SESSION !!
<view type="text" id="in_ring_session" multi_line="true" w="650" line_maxw="650" posref="TL TL" global_color="false" render_layer="2" fontsize="17" shadow="true" y="-80" x="260" hardtext_format="uiCP_InRingSession"/> <view type="text" id="in_ring_session" multi_line="true" w="650" line_maxw="650" posref="TL TL" global_color="false" render_layer="2" fontsize="17" shadow="true" y="-80" x="260" hardtext_format="uiCP_InRingSession"/>
-->
<!-- Empty Scene --> <!-- Empty Scene -->
<scene3d id="empty3d" x="-3" y="-3" w="815" h="762" posref="TR TR" curcam="cam" curcs="env" render_layer="-2" <scene3d id="empty3d" x="2" y="2" w="1020" h="560" posref="BL BL" curcam="cam" curcs="env" render_layer="-2"
user_interaction="false" user_interaction="false"
ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" > ambient="128 96 64" sun_ambient="0 0 0" sun_diffuse="255 255 196" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<camera id="cam" fov="80" pos="0.0 24.0 2.6" target="0.0 26.5 2.2" roll="0" /> <camera id="cam" fov="80" pos="0.0 24.0 2.8" target="0.0 26.5 2.4" roll="0" />
<light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" /> <light id="back" pos="0.0 28.2 1.6" color="96 64 32" near="2.5" far="4.0" />
<light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" /> <light id="lgt" pos="0.0 25.3 2.48" color="255 255 255" near="3.0" far="4.0" />
@ -492,179 +466,160 @@
<shape id="empty" name="empty.shape" pos="0.0 26.5 2.5" rot="0.0 0.0 0.0" /> <shape id="empty" name="empty.shape" pos="0.0 26.5 2.5" rot="0.0 0.0 0.0" />
</scene3d> </scene3d>
<!--***********--> <!--***********-->
<!-- MAIN MENU --> <!-- MAIN MENU -->
<!--***********--> <!--***********-->
<!-- View of each slot TODO : convert relative pos by absolute !!! --> <!-- View of each slot -->
<instance template="char_slot_view" id="slot0" dblink="UI:TEMP:CHARSLOT0" posref="TL TL" x="3" /> <instance template="char_slot_view" id="slot0" dblink="UI:TEMP:CHARSLOT0" posref="TL TL" x="2" y="-95"/>
<instance template="char_slot_view" id="slot1" dblink="UI:TEMP:CHARSLOT1" posref="TL TL" y="-153" /> <instance template="char_slot_view" id="slot1" dblink="UI:TEMP:CHARSLOT1" posref="TL TL" x="207" y="-65"/>
<instance template="char_slot_view" id="slot2" dblink="UI:TEMP:CHARSLOT2" posref="TL TL" y="-306" /> <instance template="char_slot_view" id="slot2" dblink="UI:TEMP:CHARSLOT2" posref="TL TL" x="412" y="-35"/>
<instance template="char_slot_view" id="slot3" dblink="UI:TEMP:CHARSLOT3" posref="TL TL" y="-459" /> <instance template="char_slot_view" id="slot3" dblink="UI:TEMP:CHARSLOT3" posref="TL TL" x="617" y="-65"/>
<instance template="char_slot_view" id="slot4" dblink="UI:TEMP:CHARSLOT4" posref="TL TL" y="-612" /> <instance template="char_slot_view" id="slot4" dblink="UI:TEMP:CHARSLOT4" posref="TL TL" x="822" y="-95"/>
<instance template="empty_slot_view" id="empty_slot0" posref="TL TL" x="3" y="-3" /> <instance template="empty_slot_view" id="empty_slot0" posref="TL TL" x="2" y="-95"/>
<instance template="empty_slot_view" id="empty_slot1" posref="TL TL" x="3" y="-156" /> <instance template="empty_slot_view" id="empty_slot1" posref="TL TL" x="207" y="-65"/>
<instance template="empty_slot_view" id="empty_slot2" posref="TL TL" x="3" y="-309" /> <instance template="empty_slot_view" id="empty_slot2" posref="TL TL" x="412" y="-35"/>
<instance template="empty_slot_view" id="empty_slot3" posref="TL TL" x="3" y="-462" /> <instance template="empty_slot_view" id="empty_slot3" posref="TL TL" x="617" y="-65"/>
<instance template="empty_slot_view" id="empty_slot4" posref="TL TL" x="3" y="-615" /> <instance template="empty_slot_view" id="empty_slot4" posref="TL TL" x="822" y="-95"/>
<!-- Button of each character slot (always present even if empty slot) -->
<!-- Button of each slot (always present even if empty slot) --> <ctrl style="menu_button" id="but_slot0" posref="TL TL" x="2" y="-95"
<ctrl style="menu_button" id="but_slot0" posref="TL TL" x="3" y="-3"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_clickslot|0" /> onclick_l="proc" params_l="proc_charsel_clickslot|0" />
<ctrl style="menu_button" id="but_slot1" posref="BL TL" posparent="but_slot0" y="-3" <ctrl style="menu_button" id="but_slot1" posref="TR TL" posparent="but_slot0" x="5" y="30"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_clickslot|1" /> onclick_l="proc" params_l="proc_charsel_clickslot|1" />
<ctrl style="menu_button" id="but_slot2" posref="BL TL" posparent="but_slot1" y="-3" <ctrl style="menu_button" id="but_slot2" posref="TR TL" posparent="but_slot1" x="5" y="30"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_clickslot|2" /> onclick_l="proc" params_l="proc_charsel_clickslot|2" />
<ctrl style="menu_button" id="but_slot3" posref="BL TL" posparent="but_slot2" y="-3" <ctrl style="menu_button" id="but_slot3" posref="TR TL" posparent="but_slot2" x="5" y="-30"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_clickslot|3" /> onclick_l="proc" params_l="proc_charsel_clickslot|3" />
<ctrl style="menu_button" id="but_slot4" posref="BL TL" posparent="but_slot3" y="-3" <ctrl style="menu_button" id="but_slot4" posref="TR TL" posparent="but_slot3" x="5" y="-30"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_clickslot|4" /> onclick_l="proc" params_l="proc_charsel_clickslot|4" />
<group id="bgd_progress" posref="BM BM" w="430" h="75" x="85" y="65" active="true">
<instance template="outgame_black_back" id="border"/>
<view type="text" id="text" active="true" y="-10" posref="TM TM" hardtext="" fontsize="13" color="255 255 255 255"/>
<view type="bitmap" id="bm" active="false" y="1" x="-1" texture="W_answer_16_valid.tga" posparent="text" posref="ML MR"/>
<view type="text" id="ellipsis" active="true" y="0" posref="BR BL" posparent="text" hardtext="" fontsize="13" color="255 255 255 255"/>
<view type="bar" id="progress" active="true" posparent="text" x="-8" posref="BM TM" y="-4"/>
<group type="combo_box" id="prio" sizeref="w" w="64" x="0" y="-8" child_resize_h="true" child_resize_hmargin="6" linked_to_db="false"
posparent="progress"
posref="BM TM"
on_change="lua:bgdownloader:onChangePriority()" on_change_params=""
tooltip="uiBGD_PriorityTooltip"
global_color="false"
>
<instance template="combo_box_def1" tooltip="uiBGD_PriorityTooltip"/>
<combo_text name="uiBGD_Paused" />
<combo_text name="uiBGD_LowPriority" />
<combo_text name="uiBGD_NormalPriority" />
</group>
</group>
<!--***************--> <!--***************-->
<!-- BOTTOM BUTTON --> <!-- BOTTOM BUTTON -->
<!--***************--> <!--***************-->
<!-- <!-- Button to show informations about character
<ctrl type="button" id="display_infos" button_type="toggle_button" posref="BL BL" x="248" y="48" <ctrl type="button" id="display_infos" button_type="toggle_button" posref="BL BL" x="248" y="48" tx_normal="infos.tga" tx_pushed="infos.tga" tx_over="infos.tga" color="255 255 255 255" col_pushed="255 255 255 255" col_over="0 0 0 0" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_infos"/>
tx_normal="infos.tga" tx_pushed="infos.tga" tx_over="infos.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="0 0 0 0" <ctrl style="valid_txt_button" id="infos_but" posref="BL BL" x="248" y="48" hardtext="uiCP_Infos" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_infos"/>
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_infos"/> <ctrl style="valid_txt_button" id="play_but" posref="BR BM" x="-112" y="76" hardtext="uiCharSel_Play" onover="play_sound" params_over="name=specie_but_over" onclick_l="proc" params_l="proc_charsel_play"/>
--> -->
<!--
<ctrl style="valid_txt_button" id="infos_but" posref="BL BL" x="248" y="48" hardtext="uiCP_Infos" <!-- Buttons to play with the character + delete it / Button to create a character if slot empty -->
<group id="buttonsgroup" render_layer="3" posref="TR TR" x="-90" y="-250" w="160" h="320" >
<view type="bitmap" id="bg" posref="TL TL" x="0" y="0" render_layer="3" scale="true" w="160" h="320"
color="0 0 0 0" global_color="false" />
<!-- TITLE -->
<group id="title" posref="MT MT">
<view type="text" id="title2" posref="TM TM" global_color="false" render_layer="3" fontsize="20" shadow="false" y="-15" hardtext="uiCP_selection"/>
<view type="text" id="title1" posref="TM TM" global_color="false" render_layer="3" fontsize="20" shadow="false" y="-40" hardtext="uiCP_title1"/>
</group>
<ctrl style="valid_txt_button" id="play_but" posref="TM TM" render_layer="3" y="-80" hardtext="uiCharSel_Play"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="lua" params_l="outgame:launchGame()"/>
<ctrl style="valid_txt_button" id="del_but" posref="TM TM" render_layer="3" y="-160" hardtext="uiCharSel_Del"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_del"/>
<link expr="and(not(isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)), not(isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)))" target="play_but:active,edit_session_but:active,del_but:active" />
<ctrl style="valid_txt_button" id="create_new_but" posref="TM TM" render_layer="3" y="-80" hardtext="uiCharSel_CreateNew"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_create_new"/>
<!-- TEMP: For R2 alpha, don't allow more than one character per user -->
<link expr="isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)" target="create_new_but:active" />
<ctrl style="valid_txt_button" id="resume_session_but" posref="TM TM" render_layer="3" y="-80" hardtext="uiCharSel_ResumeSession"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_play"/>
<!-- TEMP: For R2 alpha, don't allow more than one character per user -->
<link expr="isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)" target="resume_session_but:active,in_ring_session:active" />
<!-- QUIT BUTTON -->
<ctrl style="valid_txt_button" id="quit_but" posref="BM BM" render_layer="3" y="10" hardtext="uiCharSel_Quit"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_quit"/>
<!-- QUIT BUTTON CROSS BOTTOM RIGHT
<ctrl type="button" id="quit_but" button_type="push_button" posref="TR TR" x="0" y="0"
tx_normal="quit.tga" tx_pushed="quit.tga" tx_over="quit.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="0 0 0 0"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_infos"/> onclick_l="proc" params_l="proc_quit"/> -->
--> </group>
<!-- <!-- <group id="bgd_progress" posref="BM BM" w="430" h="75" x="85" y="65" active="true">
<ctrl style="valid_txt_button" id="play_but" posref="BR BM" x="-112" y="76" hardtext="uiCharSel_Play" <instance template="outgame_black_back" id="border"/>
onover="play_sound" params_over="name=specie_but_over" <view type="text" id="text" active="true" y="-10" posref="TM TM" hardtext="" fontsize="13" color="255 255 255 255"/>
onclick_l="proc" params_l="proc_charsel_play"/> <view type="bitmap" id="bm" active="false" y="1" x="-1" texture="W_answer_16_valid.tga" posparent="text" posref="ML MR"/>
--> <view type="text" id="ellipsis" active="true" y="0" posref="BR BL" posparent="text" hardtext="" fontsize="13" color="255 255 255 255"/>
<view type="bar" id="progress" active="true" posparent="text" x="-8" posref="BM TM" y="-4"/>
<ctrl style="valid_txt_button" id="play_but" posref="BR BM" x="-112" y="56" hardtext="uiCharSel_Play" <group type="combo_box" id="prio" sizeref="w" w="64" x="0" y="-8" child_resize_h="true" child_resize_hmargin="6" linked_to_db="false" posparent="progress" posref="BM TM" on_change="lua:bgdownloader:onChangePriority()" on_change_params="" tooltip="uiBGD_PriorityTooltip" global_color="false">
onover="play_sound" params_over="name=specie_but_over"
onclick_l="lua" params_l="outgame:launchGame()"/>
<ctrl style="valid_txt_button" id="del_but" posref="BR BL" x="-794" y="56" hardtext="uiCharSel_Del"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_del"/>
<link expr="and(not(isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)), not(isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)))" target="play_but:active,edit_session_but:active,del_but:active" />
<ctrl style="valid_txt_button" id="create_new_but" posref="BR BM" x="-112" y="56" hardtext="uiCharSel_CreateNew"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_create_new"/>
<!-- TEMP: For R2 alpha, don't allow more than one character per user -->
<link expr="isCharSelSlotEmpty(@UI:TEMP:CHARSELSLOT)" target="create_new_but:active" />
<ctrl style="valid_txt_button" id="resume_session_but" posref="BR BM" x="-112" y="56" hardtext="uiCharSel_ResumeSession"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_play"/>
<!-- TEMP: For R2 alpha, don't allow more than one character per user -->
<link expr="isCharSelSlotInRingSession(@UI:TEMP:CHARSELSLOT)" target="resume_session_but:active,in_ring_session:active" />
<instance template="combo_box_def1" tooltip="uiBGD_PriorityTooltip"/>
<combo_text name="uiBGD_Paused" />
<combo_text name="uiBGD_LowPriority" />
<combo_text name="uiBGD_NormalPriority" />
</group>
</group>-->
<!--*************--> <!--*************-->
<!-- SKIN BANNER --> <!-- SKIN BANNER -->
<!--*************--> <!--*************-->
<view type="bitmap" id="skin_banner" posref="BL BL" x="0" y="0" render_layer="-1" texture="outgame_skin_banner.tga" <view type="bitmap" id="skin_banner" posref="BL BL" x="0" y="0" render_layer="-1" texture="blank.tga"
color="255 255 255 255" global_color="false" /> color="255 255 255 255" global_color="false" />
<!-- MODAL BLACK SCREEN --> <!-- MODAL BLACK SCREEN -->
<view type="bitmap" id="infos_screen" x="-3" y="-3" w="815" h="762" posref="TR TR" render_layer="1" texture="blank.tga" color="0 0 0 160" <view type="bitmap" id="infos_screen" x="-3" y="-3" w="815" h="762" posref="TR TR" render_layer="1" texture="blank.tga" color="0 0 0 160"
scale="true" global_color="false" /> scale="true" global_color="false" />
<link expr="eq(@UI:TEMP:INFOS, 1)" target="infos_screen:active" /> <link expr="eq(@UI:TEMP:INFOS, 1)" target="infos_screen:active" />
<!-- SKIN --> <!-- SKIN -->
<view type="bitmap" id="skin" posref="TL TL" x="0" y="0" render_layer="2" texture="outgame_skin.tga" <view type="bitmap" id="skin" posref="TL TL" x="0" y="0" render_layer="2" texture="outgame_skin.tga"
color="255 255 255 255" global_color="false" /> color="255 255 255 255" global_color="false" />
<!-- TITLE -->
<group id="title" w="292" h="46" y="-6" x="-272" posref="TR TR">
<view type="text" id="title1" posref="TM TM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_title1"/>
<view type="text" id="title2" posref="BM BM" global_color="false" render_layer="2" fontsize="20" shadow="true" y="0" hardtext="uiCP_selection"/>
</group>
<!-- SKIN MENU SELECTION 1 --> <!-- SKIN MENU SELECTION 1 -->
<view type="bitmap" id="select_menu" posref="TL TL" x="0" y="2" render_layer="4" scale="true" texture="blank.tga" <view type="bitmap" id="select_menu" posref="BL BL" x="-3" y="-3" render_layer="4" scale="true" texture="blank.tga"
color="0 0 0 0" w="212" h="160" /> color="0 0 0 0" w="212" h="160" />
<!-- Select 3d --> <!-- Select 3d -->
<scene3d id="3d_select" w="206" h="156" posref="TL TL" curcam="cam" curcs="env" render_layer="4" <scene3d id="3d_select" w="206" h="156" posref="TL TL" curcam="cam" curcs="env" render_layer="4"
user_interaction="false" user_interaction="false"
ambient="0 0 0" sun_ambient="0 0 0" sun_diffuse="0 0 0" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" > ambient="0 0 0" sun_ambient="0 0 0" sun_diffuse="0 0 0" sun_specular="0 0 0" sun_direction="-1.0 1.0 -1.0" >
<camera id="cam" fov="70" pos="0 -3 0" target="0.0 0.0 0.0" roll="0" /> <camera id="cam" fov="70" pos="0 -3 0" target="0.0 0.0 0.0" roll="0" />
<fx id="select_fx" pos="2.0 0.0 1.5" name="sfx_interface_selectioncadre.ps" rot="0.0 0.0 0.0" /> <fx id="select_fx" pos="2.0 0.0 1.5" name="sfx_interface_selectioncadre_kha.ps" rot="0.0 0.0 0.0" />
</scene3d> </scene3d>
<!-- KAMI MENU SELECT -->
<view type="bitmap" id="select_kami" posparent="select_menu" posref="MR ML" x="-30" y="-3" render_layer="3" texture="kami_select.tga"
color="255 255 255 255" global_color="false" />
<!-- QUIT BUTTON
<ctrl style="valid_txt_button" id="quit_but" posref="TR TR" x="-4" y="-4" hardtext="uiCharSel_Quit"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_quit"/>
-->
<ctrl type="button" id="quit_but" button_type="push_button" posref="TR TR" x="0" y="0"
tx_normal="quit.tga" tx_pushed="quit.tga" tx_over="quit.tga"
color="255 255 255 255" col_pushed="255 255 255 255" col_over="0 0 0 0"
onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_quit"/>
<!-- BLACK SCREEN FADE --> <!-- BLACK SCREEN FADE -->
<view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga" <view type="bitmap" id="black_screen" posref="TL TL" x="0" y="0" render_layer="4" texture="blank.tga"
color="0 0 0 255" sizeref="wh" scale="true" global_color="false" /> color="0 0 0 255" sizeref="wh" scale="true" global_color="false" />
@ -682,7 +637,8 @@
onclick_l="leave_modal" /> onclick_l="leave_modal" />
</group> </group>
<group id="webstart" posref="BR BR" w="100" h="60" active="true" > <!-- PATCH INFORMATIONS TODO CHECK ITS DISPLAY
<group id="webstart" posref="BR BR" x="-50" y="45" w="100" h="40" active="true" >
<group id="content" x="0" y="0" w="100" h="60" posref="MM MM" > <group id="content" x="0" y="0" w="100" h="60" posref="MM MM" >
<group id="webstart_html" type="html" posref="MM MM" <group id="webstart_html" type="html" posref="MM MM"
url="" url=""
@ -723,11 +679,12 @@
<group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true"/> <group id="black" posref="BR BR" sizeref="hw" w="-16" h="-12" inherit_gc_alpha="true"/>
<view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/> <view type="bitmap" id="black2" posparent="black" posref="MM MM" sizeref="wh" w="-2" h="-2" inherit_gc_alpha="true" scale="true" texture="blank.tga" global_color="false"/>
<group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="0" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/> <group type="list" id="text_list" fontsize="9" posref="TL TL" posparent="black" x="2" y="-2" space="0" sizeref="hw" w="-4" h="-4" maxelements="2000"/>
<ctrl style="skin_scroll" id="scroll_bar" /> <ctrl style="skin_scroll" id="scroll_bar" />
</group> </group>
</group> </group>
</group> </group>
-->
</group> </group>
@ -738,18 +695,13 @@
</group> </group>
</template> </template>
--> -->
<group type="modal" id="r2ed_editor_new_sceneario_warning" w="300" h="200" <group type="modal" id="r2ed_editor_new_sceneario_warning" w="300" h="200" posref="MM MM" render_layer="1"
posref="MM MM" render_layer="1" mouse_pos="false" escapable="false" exit_click_out="true" display="false" >
mouse_pos="false" escapable="false" exit_click_out="true"
display="false"
>
<instance template="outgame_popup" id="back" posref="TL TL" /> <instance template="outgame_popup" id="back" posref="TL TL" />
<view type="text" id="text" posref="TM TM" x="0" y="-60" color="255 255 255 255" global_color="false" line_maxw="284" <view type="text" id="text" posref="TM TM" x="0" y="-60" color="255 255 255 255" global_color="false" line_maxw="284"
fontsize="17" shadow="true" hardtext="uiR2EDNewScenarioWarning" multi_line="true" multi_line_space="0"/> fontsize="17" shadow="true" hardtext="uiR2EDNewScenarioWarning" multi_line="true" multi_line_space="0"/>
<ctrl style="valid_txt_button" id="submit" posref="BM BM" x="0" y="8" hardtext="uittOK" <ctrl style="valid_txt_button" id="submit" posref="BM BM" x="0" y="8" hardtext="uittOK"
onover="play_sound" params_over="name=specie_but_over" onover="play_sound" params_over="name=specie_but_over"
onclick_l="proc" params_l="proc_charsel_new_scenario" /> onclick_l="proc" params_l="proc_charsel_new_scenario" />
@ -760,7 +712,6 @@
</group> </group>
<options name="menu_back"> <options name="menu_back">
<param name="tx_tl" value="CM_TL.tga" /> <param name="tx_tl" value="CM_TL.tga" />
@ -775,27 +726,13 @@
</options> </options>
<group type="menu" id="r2ed_editor_menu" options="menu_back" text_y="-2" color="255 255 255 255" fontsize="16" shadow="true" shadow_color="0 0 0 255" shadow_color_over="0 0 0 255" color_over="0 0 0 255" color_grayed="255 255 255 128" shadow_color_grayed="0 0 0 255" highlight_over="255 255 255 128" mouse_pos="false">
<group type="menu" id="r2ed_editor_menu"
options="menu_back"
text_y="0"
color="255 255 255 255"
fontsize="16"
shadow="true"
shadow_color="0 0 0 255"
shadow_color_over="0 0 0 255"
color_over="0 0 0 255"
color_grayed="255 255 255 128"
shadow_color_grayed="0 0 0 255"
highlight_over="255 255 255 128"
mouse_pos="false">
<action id="new_scenario" name="uiR2EDNewScenario" handler="proc" params="proc_charsel_new_scenario_warning" /> <action id="new_scenario" name="uiR2EDNewScenario" handler="proc" params="proc_charsel_new_scenario_warning" />
<action id="new_scenario" name="uiR2EDEditScenario" handler="proc" params="proc_charsel_edit_scenario"/> <action id="new_scenario" name="uiR2EDEditScenario" handler="proc" params="proc_charsel_edit_scenario"/>
</group> </group>
<!-- This link is used to display the right screen among the outgame screens --> <!-- This link is used to display the right screen among the outgame screens -->
<link expr="eq(@UI:CURRENT_SCREEN, %screen_select)" target="charsel:active" /> <link expr="eq(@UI:CURRENT_SCREEN, %screen_select)" target="charsel:active" />
@ -861,25 +798,24 @@
<anim id="anim_sel_select_fx" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="restart_sel_select_fx" > <anim id="anim_sel_select_fx" duration="2.0" disable_buttons="false" on_finish="proc" on_finish_params="restart_sel_select_fx" >
<track type="linear" target="charsel:3d_select:select_fx:posx" > <track type="bezier" target="charsel:3d_select:select_fx:posx" >
<key time="0.0" value="2" /> <key time="0.0" value="2" intan="-0.1" outtan="-0.1" step="6" />
<key time="0.5" value="-2" /> <key time="0.5" value="0" intan="8" outtan="-8" step="6" />
<key time="1.0" value="-2" /> <key time="1" value="-2" intan="0.1" outtan="0.1" step="6" />
<key time="1.5" value="2" /> <key time="1.5" value="0" intan="-8" outtan="8" step="6" />
<key time="2.0" value="2" /> <key time="2.0" value="2" intan="-0.1" outtan="-0.1" step="6" />
</track> </track>
<track type="linear" target="charsel:3d_select:select_fx:posz" > <track type="bezier" target="charsel:3d_select:select_fx:posz" >
<key time="0.0" value="1.5" /> <key time="0.0" value="0" intan="-6" outtan="6" step="6" />
<key time="0.5" value="1.5" /> <key time="0.5" value="1.5" intan="-0.1" outtan="-0.1" step="6" />
<key time="1.0" value="-1.5" /> <key time="1" value="0" intan="6" outtan="-6" step="6" />
<key time="1.5" value="-1.5" /> <key time="1.5" value="-1.5" intan="0.1" outtan="0.1" step="6" />
<key time="2.0" value="1.5" /> <key time="2.0" value="0" intan="-6" outtan="6" step="6" />
</track> </track>
</anim> </anim>
<proc id="proc_browse_faq" > <proc id="proc_browse_faq" >
<!-- <!--
NB : do not leave the window here, this way the user can refer to the message in the help message box NB : do not leave the window here, this way the user can refer to the message in the help message box
@ -888,21 +824,12 @@
<action handler="browse_faq" params=""/> <action handler="browse_faq" params=""/>
</proc> </proc>
<proc id="proc_message_box_with_help_ok" > <proc id="proc_message_box_with_help_ok" >
<action handler="leave_modal" /> <!-- must leave modal first if another modal is to be displayed after this one --> <action handler="leave_modal" /> <!-- must leave modal first if another modal is to be displayed after this one -->
<action handler="" params=""/> <action handler="" params=""/>
</proc> </proc>
<group type="modal" id="message_box_with_help" exit_click_out="false" posparent="charsel:char3d" posref="MM MM" w="250" child_resize_h="true" child_resize_hmargin="100" on_enter="proc" on_enter_params="proc_message_box_with_help_ok" on_deactive="proc" on_deactive_params="proc_message_box_with_help_ok" escapable="true" mouse_pos="false" display="false" >
<group type="modal" id="message_box_with_help" exit_click_out="false" posparent="charsel:char3d" posref="MM MM" w="250" child_resize_h="true" child_resize_hmargin="100"
on_enter="proc" on_enter_params="proc_message_box_with_help_ok"
on_deactive = "proc" on_deactive_params="proc_message_box_with_help_ok"
escapable="true"
mouse_pos="false"
display="false"
>
<instance template="outgame_popup" id="back" posref="TL TL" /> <instance template="outgame_popup" id="back" posref="TL TL" />
<view type="text" id="text" posref="TL TL" line_maxw="234" x="8" y="-56" w="0" h="0" color="255 255 255 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/> <view type="text" id="text" posref="TL TL" line_maxw="234" x="8" y="-56" w="0" h="0" color="255 255 255 255" fontsize="12" shadow="true" multi_line="true" multi_line_space="0" case_mode="%case_first_sentence_letter_up"/>
@ -917,8 +844,4 @@
onclick_l="proc" params_l="proc_browse_faq"/> onclick_l="proc" params_l="proc_browse_faq"/>
</group> </group>
</interface_config> </interface_config>

View file

@ -253,7 +253,7 @@
<!-- info text --> <!-- info text -->
<view type="text" id="title" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiSelMoney2Give" global_color="false" /> <view type="text" id="title" posref="TL TL" x="4" y="-4" color="255 255 255 255" fontsize="12" shadow="true" hardtext="uiSelMoney2Give" global_color="false" />
<!-- bitmap for the seeds --> <!-- bitmap for the seeds -->
<view type="bitmap" id="money" posref="BL TL" posparent="title" x="20" y="-4" texture="money_seve.tga" global_color="false" /> <view type="bitmap" id="money" posref="BL TL" posparent="title" x="20" y="-4" texture="money.tga" global_color="false" />
<!-- edit box for the seeds --> <!-- edit box for the seeds -->
<instance template="edit_box_widget" id="box1" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0" reset_focus_on_hide="true" <instance template="edit_box_widget" id="box1" posparent="money" text_ref="TR TR" text_y="-1" posref="MR ML" w="92" h="16" fontsize="10" x="2" y="0" reset_focus_on_hide="true"

View file

@ -1702,7 +1702,7 @@
color_grayed="255 255 255 64" color_grayed="255 255 255 64"
shadow_color_grayed="0 0 0 255" shadow_color_grayed="0 0 0 255"
highlight_over="255 255 255 150" highlight_over="255 255 255 150"
case_mode="%case_normal"></group> case_mode="%case_first_word_letter_up"></group>
<group type="menu" <group type="menu"
id="base_menu_with_color" id="base_menu_with_color"
extends="base_menu"> extends="base_menu">
@ -1974,7 +1974,7 @@
<view type="bitmap" <view type="bitmap"
id="icone" id="icone"
posref="TL TL" posref="TL TL"
texture="money_seve.tga" texture="money.tga"
scale="true" scale="true"
w="16" w="16"
h="16" h="16"
@ -2793,7 +2793,6 @@
text_ref="BL BL" text_ref="BL BL"
child_resize_h="true" child_resize_h="true"
multi_line="true" multi_line="true"
multi_min_line="0"
x="0" x="0"
y="0" y="0"
w="0" w="0"
@ -2873,7 +2872,6 @@
posref="#text_ref" posref="#text_ref"
multi_line="#multi_line" multi_line="#multi_line"
multi_line_space="0" multi_line_space="0"
multi_min_line="#multi_min_line"
fontsize="#fontsize" fontsize="#fontsize"
color="#color" color="#color"
shadow="true" shadow="true"
@ -3899,39 +3897,39 @@
active="false" active="false"
global_color="false"/> global_color="false"/>
<view type="bitmap" <view type="bitmap"
id="ChaScore1_cost" id="hp_cost"
texture="ico_heal.tga" texture="ico_heal.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="success_rate" /> posparent="success_rate" />
<view type="bitmap" <view type="bitmap"
id="ChaScore2_cost" id="sta_cost"
y="0" y="0"
texture="ico_ChaScore2.tga" texture="ico_stamina.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="ChaScore1_cost" /> posparent="hp_cost" />
<view type="bitmap" <view type="bitmap"
id="ChaScore3_cost" id="sap_cost"
y="0" y="0"
texture="ico_ChaScore3.tga" texture="ico_sap.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="ChaScore2_cost" /> posparent="sta_cost" />
<view type="bitmap" <view type="bitmap"
id="ChaScore4_cost" id="focus_cost"
y="0" y="0"
texture="ico_ChaScore4.tga" texture="ico_focus.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="ChaScore3_cost" /> posparent="sap_cost" />
<view type="bitmap" <view type="bitmap"
id="cast_time" id="cast_time"
y="0" y="0"
texture="ico_time.tga" texture="ico_time.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="ChaScore4_cost" /> posparent="focus_cost" />
<view type="bitmap" <view type="bitmap"
id="cast_range" id="cast_range"
y="0" y="0"
@ -3940,26 +3938,26 @@
posref="BL TL" posref="BL TL"
posparent="cast_time" /> posparent="cast_time" />
<view type="text" <view type="text"
id="ChaScore1_cost_text" id="hp_cost_text"
posparent="ChaScore1_cost" posparent="hp_cost"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
<view type="text" <view type="text"
id="ChaScore2_cost_text" id="sta_cost_text"
posparent="ChaScore2_cost" posparent="sta_cost"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
<view type="text" <view type="text"
id="ChaScore3_cost_text" id="sap_cost_text"
posparent="ChaScore3_cost" posparent="sap_cost"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
<view type="text" <view type="text"
id="ChaScore4_cost_text" id="focus_cost_text"
posparent="ChaScore4_cost" posparent="focus_cost"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
@ -4106,7 +4104,7 @@
line_maxw="300" line_maxw="300"
multi_line_maxw_only="true" /> multi_line_maxw_only="true" />
<view type="bitmap" <view type="bitmap"
id="ChaScore1_buff" id="hp_buff"
h="15" h="15"
y="0" y="0"
texture="ico_heal.tga" texture="ico_heal.tga"
@ -4115,47 +4113,47 @@
posparent="text" posparent="text"
active="true"/> active="true"/>
<view type="bitmap" <view type="bitmap"
id="ChaScore2_buff" id="sta_buff"
y="0" y="0"
texture="ico_ChaScore2.tga" texture="ico_stamina.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="ChaScore1_buff" /> posparent="hp_buff" />
<view type="bitmap" <view type="bitmap"
id="ChaScore3_buff" id="sap_buff"
y="0" y="0"
texture="ico_ChaScore3.tga" texture="ico_sap.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="ChaScore2_buff" /> posparent="sta_buff" />
<view type="bitmap" <view type="bitmap"
id="ChaScore4_buff" id="focus_buff"
y="0" y="0"
texture="ico_ChaScore4.tga" texture="ico_focus.tga"
global_color="false" global_color="false"
posref="BL TL" posref="BL TL"
posparent="ChaScore3_buff" /> posparent="sap_buff" />
<view type="text" <view type="text"
id="ChaScore1_buff_text" id="hp_buff_text"
posparent="ChaScore1_buff" posparent="hp_buff"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
<view type="text" <view type="text"
id="ChaScore2_buff_text" id="sta_buff_text"
posparent="ChaScore2_buff" posparent="sta_buff"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
<view type="text" <view type="text"
id="ChaScore3_buff_text" id="sap_buff_text"
posparent="ChaScore3_buff" posparent="sap_buff"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
<view type="text" <view type="text"
id="ChaScore4_buff_text" id="focus_buff_text"
posparent="ChaScore4_buff" posparent="focus_buff"
posref="MR ML" posref="MR ML"
hardtext="0" hardtext="0"
global_color="false"/> global_color="false"/>
@ -6929,243 +6927,4 @@
</group> </group>
</group> </group>
</template> </template>
<!-- html browsing context -->
<template name="webig_html"
keep="true"
home=""
browse_redo=""
browse_undo=""
browse_refresh="">
<group id="html"
type="webig_html"
posref="TL TL"
home="#home"
title_prefix=""
sizeref="wh"
x="0"
y="0"
w="0"
h="0"
background_color="0 0 0 255"
error_color="255 240 48 255"
link_color="240 155 100 255"
text_color="210 210 210 255"
h1_color="255 255 255 255"
h2_color="255 255 255 255"
h3_color="255 255 255 255"
h4_color="255 255 255 255"
h5_color="255 255 255 255"
h6_color="255 255 255 255"
text_font_size="10"
h1_font_size="20"
h2_font_size="18"
h3_font_size="16"
h4_font_size="14"
h5_font_size="12"
h6_font_size="12"
paragraph_begin_space="12"
multi_line_space_factor="0.25"
td_begin_space="0"
li_begin_space="4"
ul_begin_space="12"
li_indent="-10"
ul_indent="30"
checkbox_bitmap_normal="w_slot_on.tga"
checkbox_bitmap_pushed="w_opacity_on.tga"
checkbox_bitmap_over=""
background_bitmap_view="background_bitmap"
browse_next_time="false"
form_text_area_group="edit_box_widget_multiline"
browse_refresh="#browse_refresh"
browse_undo="#browse_undo"
browse_redo="#browse_redo"
timeout="10">
<group id="black"
posref="BR BR"
sizeref="hw"
w="-10"
h="-12"
inherit_gc_alpha="true" />
<instance template="inner_thin_border"
posparent="black"
inherit_gc_alpha="true " />
<view id="background_bitmap"
type="bitmap"
posparent="black"
posref="MM MM"
sizeref="wh"
w="-2"
h="-2"
inherit_gc_alpha="true"
scale="true"
texture="blank.tga"
global_color="false" />
<group id="text_list"
type="list"
fontsize="9"
posref="TL TL"
posparent="black"
x="2"
y="-2"
space="0"
sizeref="hw"
w="-4"
h="-4"
maxelements="2000" />
<ctrl id="scroll_bar"
style="skin_scroll" />
</group>
</template>
<!-- html browser window -->
<template name="webig_browser"
keep="true"
home=""
w="480"
h="400"
browse_redo=""
browse_undo=""
browse_refresh="">
<group id="browser"
type="container"
w="#w"
h="#h"
x="0"
y="0"
pop_max_w="2000"
pop_max_h="2000"
pop_min_w="64"
pop_min_h="32"
header_color="UI:SAVE:WIN:COLORS:COM"
posref="TL TL"
title=""
global_color="true"
global_color_over="true"
right_button="true"
movable="true"
lockable="true"
active="true"
openable="true"
opened="true"
resizer="true"
on_active="lua"
on_active_params="WebBrowser:onActive()">
<group id="header_closed"
w="64"
h="16"
posref="TL TL"
on_active="lua"
on_active_params="WebBrowser:onClickHeaderClose()" />
<group id="header_opened"
h="16"
w="480"
posref="TL TL"
on_active="lua"
on_active_params="WebBrowser:onClickHeaderOpen()">
<ctrl style="text_button_header"
id="browse_redo"
button_type="push_button"
posref="MR MR"
x="-16"
y="0"
hardtext="uiBrowseRedoButton"
tooltip="uittBrowseRedo"
onclick_l="lua"
params_l="WebBrowser:onClickRedo()"
frozen="true" />
<ctrl style="text_button_header"
id="browse_undo"
button_type="push_button"
posparent="browse_redo"
posref="ML MR"
x="-4"
y="0"
hardtext="uiBrowseUndoButton"
tooltip="uittBrowseUndo"
onclick_l="lua"
params_l="WebBrowser:onClickUndo()"
frozen="true" />
<ctrl style="text_button_header"
id="browse_refresh"
button_type="push_button"
posparent="browse_undo"
posref="ML MR"
x="-4"
y="0"
hardtext="uiBrowseRefresh"
tooltip="uittBrowseRefresh"
onclick_l="lua"
params_l="WebBrowser:onClickRefresh()"
frozen="true" />
<ctrl style="text_button_header"
id="browse_home"
button_type="push_button"
posparent="browse_refresh"
posref="ML MR"
x="-4"
y="0"
hardtext="uiBrowseHome"
tooltip="uittBrowseHome"
onclick_l="lua"
params_l="WebBrowser:onClickHome()" />
</group>
<group id="content"
x="0"
y="0"
w="0"
h="0"
posref="TL TL">
<instance template="webig_html"
home="#home"
browse_redo="#browse_redo"
browse_undo="#browse_undo"
browse_refresh="#browse_refresh" />
</group>
</group>
</template>
<!-- html <hr> element -->
<template name="html_hr"
keep="true">
<group id="sep_gr"
posref="ML ML"
sizeref="w"
w="0"
h="0"
child_resize_h="true"
child_resize_hmargin="12">
<view type="bitmap"
id="hr"
posref="MM MM"
sizeref="w"
w="-2"
h="2"
inherit_gc_alpha="true"
scale="true"
texture="blank.tga"
global_color="false" />
</group>
</template>
<template name="html_form_select_box_menu_widget"
keep="true"
id="sb">
<group type="menu"
id="#id"
posref="BL TL"
x="0"
y="0"
mouse_pos="false"
space="2"
shadow="false"
color="255 255 255 128"
color_over="255 255 255 255"
color_grayed="0 0 0 255"
fontsize="12"
highlight_over="255 255 255 128"
force_inside_screen="false"></group>
</template>
</interface_config> </interface_config>