v24834 - skipped v24763 and v24822 due to not being available (09/13/01):

Map Editor
===================================
Several editor crashes have been resolved and this tool should be more stable for the MOD community now.

VCR Mode
===================================
The VCR Mode has been implemented.

F3 starts recording.  F4 stops the current recording.  Multiple recordings can be made from the same mission.

Other controls can be used while playing back a recording. They include:

   -- ESCAPE will stop the playback
   -- TAB will pop up the playback controls window in the upper part of the screen
   -- SPACEBAR will pause/unpause the playback
   -- Numpad + will increase the time step so that the playback accelerates (maximum of 16X speed)
   -- Numpad - will decrease the time step so that the playback slows down (minimum of 1/16X speed)

***If you Alt-Tab to windows to rename a demo file and then return to Tribes instead of using the rename file feature of the demo recorder you will crash after you exit the recorder. It is a windows issue and so we can't fix it.

Satchel Charge Icon Glow
===================================
When the satchel charge is deployed and ready to explode, the icon now glows. The icon disappears completely when the satchel is destroyed (either through activation or destruction). This allows players to more readily keep track of satchel charge status.

"Visibility" option for Server Admins
=====================================
Allows an Advanced Server option to indicate whether the server will use the "Speed" or "Distance" versions of the maps when hosting games. The "Distance" setting will use world versions with much less fog and more visible distance. The "Speed" setting will use the current foggier map settings. These settings will be displayed as a new column on the Master Server List titled "VISIBILITY" and the settings will be "Speed" or "Distance".

NOTE: This visibility change won't be apparent on all maps. A map you can use as a test to show the differences is "Dessicator".

World Skins Default to Main Tribes
==========================================
The missions are now set up so they have default skins other than "Storm" vs. "Inferno". This occurs whenever a player has "Show Individual Skins" toggled OFF. In otherwords, some maps will have "Diamond Skin" vs. "StarWolf", while others will have different combinations. (NOTE: If a player has "Show Individual Skins" toggled ON, then he will see the regular individual skins for players.) New voice samples have been added to allow Victory messages indicate these new team skins. Also note: Bioderms are bioderms, regardless of the team they are on...we're not changing models or voice packages.

Teams now use skins for CTF games relative to the planet - as follows:
Terrain 	Team 1 		Team 2
Ice  		Starwolf 	Blood Eagle
Lush  		Blood Eagle 	Diamond Sword
Badlands 	Starwolf 	Diamond Sword
Desert  	Phoenix 	Blood Eagle
Lava  		Diamond Sword 	Phoenix

If the server admin wishes to specify team skins, set the variable
$host:: useCustomSkins = true;  in serverPrefs.cs

if this variable is set true the skins and names used are
$Host::TeamName1 and $Host::TeamName2  and
$Host::TeamSkin1 and $Host::TeamSkin2  also set in serverPrefs.cs.
These team and skin names are always used for non-CTF games.

NOTE: In "Tournament" mode games, the skins will always default to Storm and Inferno rather than world-specific skins. This is to make it easier for League and Ladder players to assign teams to sides.

Cheat Fixes
===================================
Significant cheat prevention code has been implemented to eliminate known cheats, as well as to make it much more difficult for future cheating of a similar nature to occur.

NOTE: If you have any troubles running a server now, you may have altered or removed something from the build on your server. The code is checking almost everything now (shapes, textures, etc.), so you should ensure that you have all files present from a normal build on your server. (Additional files, like MODs and extra art files won't be a problem...but all original files must be there as well.)

Siege Halftime Improved
===================================
The Siege halftime now gets a screen listing the winning team instead of simply "Switching Sides".

CTF Individual Scoring
===================================
No change was made whatsoever to the team CTF scoring. But the individual scoring now takes into account vehicle kills, more repair/destroy stuff, and makes it nice and robust for statistical tracking later. NOTE: The scores are dramatically inflated compared to previous individual scores so that we had more "granularity" in the system and didn't have to use decimal points. Thus, you will appear to be racking up a huge amount of points, but it's all relative when compared to other players in the game.
Scoring Details
----------------------
Kill: 10 pts
Flag Capture: 30 pts
Flag Grab (if subsequently captured): 20  [A one player grab-and-cap you get both for a total of 50]
Carrier Escort: 3
Sniper Headshot: 1
Turret kill:  manned: 10  automated: 3
Flag Defend: 5
Flag Carrier Kill: 5
Flag Return: 0 - 10 pts [Points are scaled by distance: no points for a short return. 10 pts if the flag carrier gets all the way to the flag. 1 point per 10% (Halfway is 5 pts.)]  15 points if the return breaks a stalemate (both teams have had each others flags for 60 seconds or longer.)
Generator Defend: 5 pts
Object			Destroy				Repair
Generator		10				8
Sensor			4				1
Base Turret		5				4
Inv Station		2				2
Vehicle Station		5				4
Solar Panel		5				4
Sentry Turret		4				2
Deployed sensor		1				0
Deployed inv station	2				0
Deployed turret		3				3
Shrike			5
Bomber			8
Havoc			5
Wildcat			5
Tank			8
MPB			12
*vehicles destroyed by mines are double points, vehicles destroyed by the Shrike are triple points
**vehicles destroyed also score 2 points per passenger (after any multiplier)
***points accumulated in a vehicle are earned by everyone in the vehicle

Heat Lock vs. Target Laser Lock
===================================
Heat Locking now supercedes Targeting Laser Locking so that heat locks can be attained on objects that are being lazed by friends. Keep in mind that when the target is out of range for the ML, it will still lock onto the targeting laser giving the appearance that its locking onto the laser first. If the target is in range the ML will always look for heated targets first.

Objective HUD Visible on Vehicles
===================================
The objective HUD is now visible while flying/driving vehicles.

Client-Side Toggle on Vehicle Tport
===================================
The player now has the ability to toggle Vehicle Tport ability on/off (defaults to ON) as a client-side option in SETTINGS/GAME.

EAX Sound Improvements
===================================
EAX environmental sound reverbs have been included for underwater and interiors. Those sounds will only be heard when using EAX or EAX2 drivers. (We recommend EAX for best results.)

IFeel Force Feedback Mouse
===================================
The IFeel force feedback mouse vibrations should now work correctly again. They have also been enhanced beyond what was previously available.

Vehicles Parking on Flags
===================================
"Anti-Parking" code has been added to flags similar to the "anti-camping" code around a Nexus in Hunters. This results in vehicles taking damage over time when they are parked near a flag, eventually resulting in their destruction if left there too long.

Aiming Up and Down
===================================
The restrictions on aiming up and down have been virtually removed for all armors. NOTE: This will result in situations where your weapon can clip through the leg of your armor when looking straight down. If this bothers you, then change your graphics setting to "Items Only" so that your body is not drawn when in first-person perspective.

Jetpower for Suits
===================================
Scout jetpower (power of thrust) was reduced to previous levels, but their maximum speed velocity was increased somewhat. This removes the "butterfly" effect, but allows slightly faster skiing than previously allowed. Additionally, air resistance was reduced by 33% on all armors to further reduce the "floaty" feel. This also allows slightly faster speeds across the board.

Splash Damage
===================================
Splash damage on shots was reduced slightly. It is still much more powerful than when the game was released, but this change makes mortars and grenades more playable.

Shrike Speed
===================================
The Shrike thrust was returned to normal, making the Shrike very responsive again. A new maximum speed cap has been added to prevent it from going too fast, but the performance improvement on this vehicle is significant.

Mine Damage
===================================
Mine damage was reduced slightly to prevent Lights from being one-shotted by stepping on a mine. They will still be severely harmed, but won't go from 100% health to dead in one shot.

Missile Launcher
===================================
The Missile Launcher range had been inadvertently reduced during the reticule improvements a few patches back. It has now been increased back to its original design. Range is now 400m.

Heat Signature Fall Off
===================================
Heat reduces *very slightly* slower than it did previously. Players can still easily manage their heat signatures, but must be a bit more paranoid of missile launchers now (thus making it a bit easier for high-ping players to use this weapon).

Suit Mortars vs. Tanks
===================================
The strength of hand-held mortars versus Tanks was incorrectly weak. It has now been increased so that it is much more useful.

Shrike Gun Changes
===================================
The Shrike blasters have been moved out to the wing joints to allow easier strafing of objects. Additionally, there is some (very minor...one degree of spread) projectile spread on the blasters now to make strafing easier. (For comparison purposes, the chaingun has eight degrees of spread.)The range of the blasters was incorrectly enormous and has been reduced to a balanced distance (slightly outside the range of hand-held missile launchers).

Water Movement
===================================
Speeds in water have been greatly increased so as to make water a more viable playing environment.

Whiteout Grenades
===================================
A maximum saturation has been defined for the Whiteout grenades to keep your "whiteout" time to no more than two seconds.

OOB Grid
===================================
The mission boundary is now visually defined. As you approach a mission boundary, and "out of bounds grid" will fade into existence. If you go past the boundary, the grid will not fade out until you return inside the mission area. This is done to make it easier to avoid getting a flag stripped or getting damaged due to OOB damage. This visual option can be toggled OFF in your Game Settings area (option button is called "Show Out of Bounds Grid").

Wildcat Grav Bike
===================================
"Suspension" has been added to the Wildcat making it easier to control over rough terrain.

Air Drag
===================================
Air Drag has been reduced making the game feel "faster".

Panther XL Support Added
===================================
Players will now be able to satisfactorily map the roller ball of the Panther XL. The Z axis or throttle is not configurable with T2 because of a Panther XL driver issue.

Flight Ceiling limited for Shrike
===================================
If you fly past the flight ceiling then you will lose your jetting and thrusting ability. Angle your nose down (when you are above the flight ceiling) and thrust will function normally.

"Unassigned" Team
===================================
This bug allowed a person to join as "unassigned" and view all friend/foe triangles as grey. It has been fixed.

<Null> and random string issues
===================================
There is a finite number of network strings available, the single quote strings. This problem occurs when all strings have been allocated. This is particularly common with mod servers, which appear to be allocating too many net strings. Mod and script developers need to be cautious when creating new strings. Don't create dynamic net strings unless you have a firm understanding of the implications. If a string is added using "AddTaggedString" make sure that there is a corresponding "RemoveTaggedSting" call when the string is no longer needed. Also be sure to limit the number of imbedded strings in your scripts.
This commit is contained in:
Robert MacGregor 2017-07-17 23:27:34 -04:00
parent 7f1fccfdff
commit 669c607190
204 changed files with 16193 additions and 6841 deletions

View file

@ -23,6 +23,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "ADVANCED HOST OPTIONS";
longTextBuffer = "0";
maxLength = "255";
noTitleBar = "0";
@ -30,7 +31,7 @@ new GuiControl(AdvancedHostDlg) {
profile = "ShellTextRightProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "114 40";
position = "31 40";
extent = "40 22";
minExtent = "8 8";
visible = "1";
@ -38,22 +39,25 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "Port:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellTextEditCtrl(AH_HostPort) {
profile = "NewTextEditNumericProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "150 32";
position = "67 32";
extent = "98 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
longTextBuffer = "0";
maxLength = "8";
historySize = "0";
password = "0";
IRCName = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
@ -62,7 +66,7 @@ new GuiControl(AdvancedHostDlg) {
profile = "ShellTextRightProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "249 40";
position = "166 40";
extent = "64 22";
minExtent = "8 8";
visible = "1";
@ -70,22 +74,25 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "Time Limit:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellTextEditCtrl(AH_TimeLimit) {
profile = "NewTextEditNumericProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "309 32";
position = "226 32";
extent = "68 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
longTextBuffer = "0";
maxLength = "3";
historySize = "0";
password = "0";
IRCName = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
@ -94,7 +101,7 @@ new GuiControl(AdvancedHostDlg) {
profile = "ShellTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "375 40";
position = "292 40";
extent = "41 22";
minExtent = "8 8";
visible = "1";
@ -102,13 +109,14 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "Minutes";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl() {
profile = "ShellTextRightProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "123 70";
position = "40 70";
extent = "110 22";
minExtent = "8 8";
visible = "1";
@ -116,31 +124,66 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "Admin Password:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellTextEditCtrl(AH_AdminPassword) {
profile = "NewTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "229 62";
position = "146 62";
extent = "180 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
longTextBuffer = "0";
maxLength = "16";
historySize = "0";
password = "0";
IRCName = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
};
new ShellRadioButton(AH_HiFPSRdo) {
profile = "ShellRadioProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "358 37";
extent = "150 30";
minExtent = "26 27";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "HIGH FRAME RATE";
longTextBuffer = "0";
maxLength = "255";
groupNum = "0";
};
new ShellRadioButton(AH_HiVisibilityRdo) {
profile = "ShellRadioProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "358 67";
extent = "150 30";
minExtent = "26 27";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "HIGH VISIBILITY";
longTextBuffer = "0";
maxLength = "255";
groupNum = "0";
};
new ShellToggleButton(AH_DedicatedTgl) {
profile = "ShellRadioProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "94 106";
position = "32 106";
extent = "150 30";
minExtent = "26 27";
visible = "1";
@ -148,13 +191,14 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "DEDICATED";
longTextBuffer = "0";
maxLength = "255";
};
new ShellToggleButton(AH_PureServerTgl) {
profile = "ShellRadioProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "296 106";
position = "195 106";
extent = "150 30";
minExtent = "26 27";
visible = "1";
@ -162,6 +206,22 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "PURE SERVER";
longTextBuffer = "0";
maxLength = "255";
};
new ShellToggleButton(AH_TeamDamageTgl) {
profile = "ShellRadioProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "358 106";
extent = "150 30";
minExtent = "26 27";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "TEAM DAMAGE ON";
longTextBuffer = "0";
maxLength = "255";
};
new ShellToggleButton(AH_TournamentTgl) {
@ -176,6 +236,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "TOURNAMENT MODE";
longTextBuffer = "0";
maxLength = "255";
};
new ShellToggleButton(AH_AdminVoteTgl) {
@ -190,6 +251,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "ALLOW ADMIN VOTES";
longTextBuffer = "0";
maxLength = "255";
};
new ShellToggleButton(AH_AllowSmurfTgl) {
@ -204,6 +266,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "ALLOW ALIASES";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl() {
@ -218,6 +281,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "Vote Pass Percentage:";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(AH_VotePassText) {
@ -232,6 +296,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "60%";
longTextBuffer = "0";
maxLength = "255";
};
new ShellSliderCtrl(AH_VotePassSlider) {
@ -264,6 +329,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "Vote Time:";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(AH_VoteTimeText) {
@ -278,6 +344,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "20 seconds";
longTextBuffer = "0";
maxLength = "255";
};
new ShellSliderCtrl(AH_VoteTimeSlider) {
@ -310,6 +377,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "Observer Timeout:";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(AH_RespawnText) {
@ -324,6 +392,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "30 seconds";
longTextBuffer = "0";
maxLength = "255";
};
new ShellSliderCtrl(AH_RespawnSlider) {
@ -356,6 +425,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "Warmup Time:";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(AH_WarmupText) {
@ -370,6 +440,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "30 seconds";
longTextBuffer = "0";
maxLength = "255";
};
new ShellSliderCtrl(AH_WarmupSlider) {
@ -402,6 +473,7 @@ new GuiControl(AdvancedHostDlg) {
bypassHideCursor = "0";
helpTag = "0";
text = "Server Info:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellScrollCtrl() {

View file

@ -11,11 +11,11 @@ new GuiControl(MainChatHud) {
setFirstResponder = "0";
new GuiNoMouseCtrl() {
profile = "defaultGuiProfile";
profile = "GuiDefaultProfile";
horizSizing = "relative";
vertSizing = "bottom";
position = "0 0";
extent = "400 300";
extent = "300 300";
minExtent = "8 8";
visible = "1";
@ -47,7 +47,7 @@ new GuiControl(MainChatHud) {
extent = "5 10";
minExtent = "1 1";
visible = "1";
bitmap = "gui/voteMeterPassBar.png";
bitmap = "gui/voteMeterPassBar";
};
};
@ -71,7 +71,7 @@ new GuiControl(MainChatHud) {
extent = "13 13";
minExtent = "8 8";
visible = "0";
bitmap = "gui/hud_chatPageDown.png";
bitmap = "gui/hud_chatPageDown";
};
new GuiScrollCtrl(ChatScrollHud)

View file

@ -25,15 +25,16 @@ new GuiChunkedBitmapCtrl(ChatGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "CHAT";
longTextBuffer = "0";
maxLength = "255";
noTitleBar = "0";
new ShellTabFrame(ChatTabFrame) {
profile = "ShellHorzTabFrameProfile";
horizSizing = "width";
vertSizing = "bottom";
vertSizing = "height";
position = "22 54";
extent = "576 254";
extent = "576 351";
minExtent = "26 254";
visible = "1";
hideCursor = "0";
@ -42,6 +43,330 @@ new GuiChunkedBitmapCtrl(ChatGui) {
isVertical = "0";
useCloseButton = "0";
edgeInset = "0";
new GuiBubbleTextCtrl(ChatChannelTopic) {
profile = "ShellTopicTextProfile";
horizSizing = "width";
vertSizing = "bottom";
position = "59 14";
extent = "328 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "This is a sample chat topic";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl() {
profile = "ShellTextRightProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "15 14";
extent = "38 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "TOPIC:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellBitmapButton(ChatOpenPaneBtn) {
profile = "ShellButtonProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "444 5";
extent = "100 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "ChatTabView.openNewPane();";
helpTag = "0";
text = "CHANNELS";
simpleStyle = "0";
};
new ShellBitmapButton(ChatClosePaneBtn) {
profile = "ShellButtonProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "529 5";
extent = "43 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "ChatTabView.closeCurrentPane();";
accelerator = "x";
helpTag = "0";
text = "X";
simpleStyle = "0";
};
};
new ShellFieldCtrl(WelcomePanel) {
profile = "ShellFieldProfile";
horizSizing = "width";
vertSizing = "height";
position = "31 92";
extent = "559 315";
minExtent = "16 18";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellScrollCtrl() {
profile = "NewScrollCtrlProfile";
horizSizing = "width";
vertSizing = "height";
position = "195 5";
extent = "360 303";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "0 2";
fieldBase = "gui/shll_field";
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "width";
vertSizing = "height";
position = "4 6";
extent = "336 291";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new GuiMLTextCtrl(WelcomeText) {
profile = "NewTextEditProfile";
horizSizing = "width";
vertSizing = "bottom";
position = "0 0";
extent = "362 2376";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "-1";
deniedSound = "InputDeniedSound";
};
};
};
new ShellScrollCtrl() {
profile = "NewScrollCtrlProfile";
horizSizing = "right";
vertSizing = "height";
position = "2 21";
extent = "195 287";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "dynamic";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "0 3";
fieldBase = "gui/shll_field";
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "4 7";
extent = "187 273";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellTextList(WelcomeHeadlines) {
profile = "ShellTextArrayProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "187 180";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
enumerate = "0";
resizeCell = "1";
columns = "0";
fitParentWidth = "1";
clipColumnText = "0";
};
};
};
new GuiTextCtrl() {
profile = "ShellAltTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "12 6";
extent = "72 20";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "CONTENTS:";
longTextBuffer = "0";
maxLength = "255";
};
};
new ShellFieldCtrl(ChatPanel) {
profile = "ShellFieldProfile";
horizSizing = "width";
vertSizing = "height";
position = "31 92";
extent = "559 315";
minExtent = "16 18";
visible = "0";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellTextEditCtrl(ChatMessageEntry) {
profile = "NewTextEditProfile";
horizSizing = "width";
vertSizing = "top";
position = "-2 279";
extent = "392 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
altCommand = "ChatSendText();";
helpTag = "0";
longTextBuffer = "0";
maxLength = "255";
historySize = "0";
password = "0";
IRCName = "0";
tabComplete = "1";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
};
new ShellScrollCtrl(MemberScroll) {
profile = "NewScrollCtrlProfile";
horizSizing = "left";
vertSizing = "height";
position = "383 1";
extent = "175 311";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "0 2";
fieldBase = "gui/shll_field";
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "4 6";
extent = "151 299";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellChatMemberList(ChatRoomMemberList) {
profile = "ShellChatMemberListProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "151 8";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
altCommand = "ChatPrivate();";
helpTag = "0";
enumerate = "1";
resizeCell = "1";
columns = "0";
fitParentWidth = "1";
clipColumnText = "0";
};
};
};
new ShellScrollCtrl(ChatGuiScroll) {
profile = "NewScrollCtrlProfile";
horizSizing = "width";
vertSizing = "height";
position = "4 2";
extent = "381 282";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "2 3";
fieldBase = "gui/shll_field";
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "width";
vertSizing = "height";
position = "6 7";
extent = "353 268";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new GuiChannelVectorCtrl(ChatGuiMessageVector) {
profile = "GuiChannelVectorProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "357 8";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
lineSpacing = "0";
lineContinuedIndex = "5";
allowedMatches[0] = "http";
matchColor = "4 235 105 255";
maxColorIndex = "9";
};
};
};
};
new ShellTabGroupCtrl(ChatTabView) {
profile = "TabGroupProfile";
@ -59,185 +384,6 @@ new GuiChunkedBitmapCtrl(ChatGui) {
maxTabWidth = "150";
stretchToFit = "0";
};
new ShellScrollCtrl(ChatGuiScroll) {
profile = "NewScrollCtrlProfile";
horizSizing = "width";
vertSizing = "height";
position = "33 91";
extent = "381 284";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "2 3";
fieldBase = "gui/shll_field";
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "width";
vertSizing = "height";
position = "6 7";
extent = "353 270";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new GuiChannelVectorCtrl(ChatGuiMessageVector) {
profile = "GuiChannelVectorProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "357 52";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
lineSpacing = "0";
lineContinuedIndex = "5";
allowedMatches[0] = "http";
matchColor = "4 235 105 255";
maxColorIndex = "9";
};
};
};
new ShellScrollCtrl() {
profile = "NewScrollCtrlProfile";
horizSizing = "left";
vertSizing = "height";
position = "412 62";
extent = "175 341";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "0 2";
fieldBase = "gui/shll_field";
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "4 6";
extent = "151 329";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellChatMemberList(ChatRoomMemberList) {
profile = "ShellChatMemberListProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "151 8";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
altCommand = "ChatPrivate();";
helpTag = "0";
enumerate = "1";
resizeCell = "1";
columns = "0";
fitParentWidth = "1";
clipColumnText = "0";
};
};
};
new ShellTextEditCtrl(ChatMessageEntry) {
profile = "NewTextEditProfile";
horizSizing = "width";
vertSizing = "top";
position = "27 370";
extent = "392 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
altCommand = "ChatSendText();";
helpTag = "0";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "1";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
};
new GuiTextCtrl() {
profile = "ShellTextRightProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "34 69";
extent = "38 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "TOPIC:";
maxLength = "255";
};
new GuiBubbleTextCtrl(ChatChannelTopic) {
profile = "ShellTopicTextProfile";
horizSizing = "width";
vertSizing = "bottom";
position = "78 69";
extent = "207 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "This is a sample chat topic";
maxLength = "255";
};
new ShellBitmapButton(ChatOpenPaneBtn) {
profile = "ShellButtonProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "285 60";
extent = "100 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "ChatTabView.openNewPane();";
helpTag = "0";
text = "CHANNELS";
simpleStyle = "0";
};
new ShellBitmapButton(ChatClosePaneBtn) {
profile = "ShellButtonProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "377 60";
extent = "43 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "ChatTabView.closeCurrentPane();";
accelerator = "x";
helpTag = "0";
text = "X";
simpleStyle = "0";
};
new ShellBitmapButton(ChatEditChannelBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
@ -260,7 +406,7 @@ new GuiChunkedBitmapCtrl(ChatGui) {
position = "15 -5";
extent = "128 38";
minExtent = "32 38";
visible = "0";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "EditChatOptions();";

View file

@ -139,6 +139,7 @@ new GuiControl(CreateAccountDlg) {
maxLength = "16";
password = "0";
glowOffset = "9 9";
IRCName = true;
};
new ShellTextEditCtrl() {
profile = "NewTextEditProfile";

View file

@ -72,6 +72,7 @@ new GuiControl(CreateTribeDlg) {
historySize = "0";
password = "0";
glowOffset = "9 9";
IRCName = true;
};
new ShellTextEditCtrl(CT_TagText) {
profile = "NewTextEditProfile";
@ -88,6 +89,7 @@ new GuiControl(CreateTribeDlg) {
historySize = "0";
password = "0";
glowOffset = "9 9";
IRCName = true;
};
new ShellToggleButton(rbAppendTag) {
profile = "ShellRadioProfile";

View file

@ -66,7 +66,7 @@ new GuiChunkedBitmapCtrl(CreditsGui) {
minExtent = "8 8";
visible = "1";
helpTag = "0";
bitmap = "gui/loading.png";
bitmap = "gui/loading";
useVariable = "0";
};
};

View file

@ -0,0 +1,45 @@
//--- OBJECT WRITE BEGIN ---
new GuiControl(DemoLoadProgressDlg) {
profile = "DlgBackProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellPaneCtrl() {
profile = "ShellDlgPaneProfile";
horizSizing = "center";
vertSizing = "center";
position = "178 189";
extent = "300 107";
minExtent = "48 92";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Loading...";
longTextBuffer = "0";
maxLength = "255";
noTitleBar = "0";
new GuiProgressCtrl(DemoLoadProgressCtrl) {
profile = "ShellProgressBarProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "46 43";
extent = "209 30";
minExtent = "32 15";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
glowOffset = "9 9";
};
};
};
//--- OBJECT WRITE END ---

View file

@ -0,0 +1,100 @@
//--- OBJECT WRITE BEGIN ---
new GuiControl(DemoPlaybackDlg) {
profile = "GuiModelessDialogProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "0";
hideCursor = "1";
bypassHideCursor = "0";
helpTag = "0";
new ShellFieldCtrl() {
profile = "GuiChatBackProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "210 8";
extent = "217 82";
minExtent = "16 18";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new GuiProgressCtrl() {
profile = "ShellProgressBarProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "9 34";
extent = "200 24";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
variable = "$DemoPlaybackProgress";
helpTag = "0";
new GuiTextCtrl(DemoPlayback_CurTime) {
profile = "ShellProgressBarTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 2";
extent = "200 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
longTextBuffer = "0";
maxLength = "255";
};
};
new GuiTextCtrl() {
profile = "ShellTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "12 59";
extent = "31 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "00:00";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(DemoPlayback_EndTime) {
profile = "ShellTextRightProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "142 59";
extent = "64 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(DemoPlayback_StatusText) {
profile = "ShellTextCenterProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "77 10";
extent = "64 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
longTextBuffer = "0";
maxLength = "255";
};
};
};
//--- OBJECT WRITE END ---

View file

@ -0,0 +1,97 @@
//--- OBJECT WRITE BEGIN ---
new GuiControl(DemoRenameFileDlg) {
profile = "DlgBackProfile";
horizSizing = "width";
vertSizing = "height";
position = "0 0";
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellPaneCtrl() {
profile = "ShellDlgPaneProfile";
horizSizing = "center";
vertSizing = "center";
position = "170 186";
extent = "300 146";
minExtent = "48 92";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Rename File...";
longTextBuffer = "0";
maxLength = "255";
noTitleBar = "0";
new ShellTextEditCtrl(DemoRenameFile_Edit) {
profile = "NewTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "71 39";
extent = "209 39";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
longTextBuffer = "0";
maxLength = "255";
historySize = "0";
password = "0";
IRCName = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
};
new GuiTextCtrl() {
profile = "ShellTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "28 47";
extent = "48 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Filename:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellBitmapButton() {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "28 82";
extent = "124 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "OK";
simpleStyle = "0";
command = "Canvas.popDialog(DemoRenameFileDlg); doDemoFileRename();";
};
new ShellBitmapButton() {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "154 82";
extent = "124 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "CANCEL";
simpleStyle = "0";
command = "Canvas.popDialog(DemoRenameFileDlg);";
};
};
};
//--- OBJECT WRITE END ---

View file

@ -205,14 +205,13 @@ function Editor::close(%this)
if(%this.prevResolution $= "")
%this.prevResolution = getResolution();
if(%this.prevContent == -1 || %this.prevContent == "")
if(%this.prevContent == -1 || %this.prevContent $= "")
%this.prevContent = "PlayGui";
Canvas.setContent(%this.prevContent);
//jff: hangs when switching resolutions
// setResolution(getWord(%this.prevResolution, 0), getWord(%this.prevResolution, 1));
closeMessageHud();
}
//------------------------------------------------------------------------------

View file

@ -25,6 +25,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "GAME";
longTextBuffer = "0";
maxLength = "255";
noTitleBar = "0";
@ -83,6 +84,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "FILTER:";
longTextBuffer = "0";
maxLength = "255";
};
new GuiControl() {
@ -109,6 +111,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "All Servers";
longTextBuffer = "0";
maxLength = "255";
};
};
@ -124,6 +127,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Status Text...";
longTextBuffer = "0";
maxLength = "255";
};
new GuiProgressCtrl(GMJ_ProgressBar) {
@ -204,7 +208,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "810 8";
extent = "840 8";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
@ -355,6 +359,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Game Type:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellPopupMenu(GMH_MissionType) {
@ -369,6 +374,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "GAME TYPE";
longTextBuffer = "0";
maxLength = "255";
maxPopupHeight = "200";
buttonBitmap = "gui/shll_pulldown";
@ -388,6 +394,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Mission Name:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellScrollCtrl() {
@ -465,6 +472,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Server Name:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellTextEditCtrl() {
@ -479,9 +487,11 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
variable = "$Host::GameName";
helpTag = "0";
longTextBuffer = "0";
maxLength = "24";
historySize = "0";
password = "0";
IRCName = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
@ -498,6 +508,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Password:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellTextEditCtrl() {
@ -512,9 +523,11 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
variable = "$Host::Password";
helpTag = "0";
longTextBuffer = "0";
maxLength = "16";
historySize = "0";
password = "0";
IRCName = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
@ -531,6 +544,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Max Players:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellTextEditCtrl(GMH_MaxPlayersTE) {
@ -545,10 +559,12 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
variable = "$Host::MaxPlayers";
helpTag = "0";
longTextBuffer = "0";
maxLength = "3";
validate = "validateMaxPlayers();";
historySize = "0";
password = "0";
IRCName = "0";
tabComplete = "0";
deniedSound = "InputDeniedSound";
glowOffset = "9 9";
@ -581,6 +597,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
variable = "$Host::BotsEnabled";
helpTag = "0";
text = "ENABLE BOTS";
longTextBuffer = "0";
maxLength = "255";
};
new GuiControl(GMH_EnableBotsGroup) {
@ -607,6 +624,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Number of Bots:";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(GMH_BotCountText) {
@ -621,6 +639,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "(0)";
longTextBuffer = "0";
maxLength = "255";
};
new ShellSliderCtrl(GMH_MinCombatantSlider) {
@ -638,7 +657,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
helpTag = "0";
range = "0.000000 1.000000";
ticks = "15";
value = "0.00333333";
value = "0.27";
usePlusMinus = "1";
};
new GuiTextCtrl(GMH_BotDiffText) {
@ -653,6 +672,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Bot Difficulty:";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(GMH_BotMinText) {
@ -667,6 +687,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Min:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellSliderCtrl(GMH_BotMinSlider) {
@ -699,6 +720,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Max:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellSliderCtrl(GMH_BotMaxSlider) {
@ -762,6 +784,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Warrior:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellPopupMenu(GMW_WarriorPopup) {
@ -776,6 +799,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Select Warrior";
longTextBuffer = "0";
maxLength = "255";
maxPopupHeight = "200";
buttonBitmap = "gui/shll_pulldown";
@ -787,8 +811,8 @@ new GuiChunkedBitmapCtrl(GameGui) {
profile = "GuiDefaultProfile";
horizSizing = "left";
vertSizing = "center";
position = "290 22";
extent = "257 300";
position = "290 15";
extent = "257 322";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
@ -799,7 +823,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
profile = "ShellButtonProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "94 12";
position = "94 4";
extent = "152 38";
minExtent = "32 38";
visible = "1";
@ -814,7 +838,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
profile = "ShellTextRightProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "18 63";
position = "18 55";
extent = "80 22";
minExtent = "8 8";
visible = "1";
@ -822,13 +846,14 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Race/Gender:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellPopupMenu(GMW_RaceGenderPopup) {
profile = "ShellPopupProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "95 54";
position = "95 46";
extent = "152 38";
minExtent = "49 36";
visible = "1";
@ -836,6 +861,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Select Race/Gender";
longTextBuffer = "0";
maxLength = "255";
maxPopupHeight = "200";
buttonBitmap = "gui/shll_pulldown";
@ -847,7 +873,42 @@ new GuiChunkedBitmapCtrl(GameGui) {
profile = "ShellTextRightProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "18 99";
position = "18 92";
extent = "80 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Show:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellPopupMenu(GMW_SkinPrefPopup) {
profile = "ShellPopupProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "95 83";
extent = "152 38";
minExtent = "49 36";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "All Skins";
longTextBuffer = "0";
maxLength = "255";
maxPopupHeight = "200";
buttonBitmap = "gui/shll_pulldown";
rolloverBarBitmap = "gui/shll_pulldownbar_rol";
selectedBarBitmap = "gui/shll_pulldownbar_act";
noButtonStyle = "0";
};
new GuiTextCtrl() {
profile = "ShellTextRightProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "18 129";
extent = "80 22";
minExtent = "8 8";
visible = "1";
@ -855,13 +916,14 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Skin:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellPopupMenu(GMW_SkinPopup) {
profile = "ShellPopupProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "95 90";
position = "95 120";
extent = "152 38";
minExtent = "49 36";
visible = "1";
@ -869,6 +931,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Select Skin";
longTextBuffer = "0";
maxLength = "255";
maxPopupHeight = "200";
buttonBitmap = "gui/shll_pulldown";
@ -880,7 +943,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
profile = "ShellTextRightProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "18 136";
position = "18 166";
extent = "80 22";
minExtent = "8 8";
visible = "1";
@ -888,13 +951,14 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Voice:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellPopupMenu(GMW_VoicePopup) {
profile = "ShellPopupProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "95 127";
position = "95 157";
extent = "152 38";
minExtent = "49 36";
visible = "1";
@ -902,6 +966,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Select Voice";
longTextBuffer = "0";
maxLength = "255";
maxPopupHeight = "200";
buttonBitmap = "gui/shll_pulldown";
@ -914,7 +979,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
profile = "ShellTextRightProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "114 168";
position = "114 198";
extent = "100 22";
minExtent = "8 8";
visible = "1";
@ -922,13 +987,14 @@ new GuiChunkedBitmapCtrl(GameGui) {
bypassHideCursor = "0";
helpTag = "0";
text = "Test Voice:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellBitmapButton(GMW_VoiceTestBtn) {
profile = "SoundTestButtonProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "214 165";
position = "214 195";
extent = "24 24";
minExtent = "24 24";
visible = "1";
@ -942,7 +1008,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
profile = "ShellButtonProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "94 206";
position = "94 236";
extent = "152 38";
minExtent = "32 38";
visible = "1";
@ -957,7 +1023,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
profile = "ShellButtonProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "94 243";
position = "94 273";
extent = "152 38";
minExtent = "32 38";
visible = "1";
@ -1006,6 +1072,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
command = "GMW_PlayerModel.update();";
helpTag = "0";
text = "LIGHT";
longTextBuffer = "0";
maxLength = "255";
groupNum = "1";
};
@ -1022,6 +1089,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
command = "GMW_PlayerModel.update();";
helpTag = "0";
text = "MEDIUM";
longTextBuffer = "0";
maxLength = "255";
groupNum = "1";
};
@ -1038,6 +1106,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
command = "GMW_PlayerModel.update();";
helpTag = "0";
text = "HEAVY";
longTextBuffer = "0";
maxLength = "255";
groupNum = "1";
};
@ -1054,6 +1123,7 @@ new GuiChunkedBitmapCtrl(GameGui) {
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
longTextBuffer = "0";
maxLength = "255";
};
};

View file

@ -44,6 +44,205 @@ new GuiControl(interiorPreviewGui) {
helpTag = "0";
text = "Exit";
};
new ShellFieldCtrl(metricsIMain) {
profile = "GuiChatBackProfile";
horizSizing = "right";
vertSizing = "top";
position = "10 160";
extent = "242 275";
minExtent = "16 18";
visible = "0";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new GuiTextCtrl(title) {
profile = "CenterPrintTextProfile";
horizSizing = "width";
vertSizing = "bottom";
position = "63 7";
extent = "110 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Mapper Metrics";
longTextBuffer = "0";
maxLength = "255";
lineSpacing = "2";
maxChars = "-1";
allowColorChars = "0";
};
new GuiTextCtrl(ThreeSpacePolysText) {
profile = "ScoreTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "12 148";
extent = "85 20";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "TS Polys: ";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(InteriorPolysText) {
profile = "ScoreTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "12 118";
extent = "98 20";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Interior Polys: ";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(TerrainPolysText) {
profile = "ScoreTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "12 88";
extent = "99 20";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Terrain Polys: ";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(TotalPolysText) {
profile = "ScoreTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "12 226";
extent = "101 20";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Scene Polys: ";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(WaterPolysText) {
profile = "ScoreTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "12 178";
extent = "127 20";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Water Polys: ";
longTextBuffer = "0";
maxLength = "255";
};
new GuiTextCtrl(FrameRateText) {
profile = "ScoreTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "12 40";
extent = "87 26";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Frame Rate: ";
longTextBuffer = "0";
maxLength = "255";
};
new GuiConsoleVariableCtrl(frameRate) {
profile = "ScoreTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "156 40";
extent = "70 25";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
expression = "$FPS::Real";
};
new GuiConsoleVariableCtrl(ThreeSpacePolys) {
profile = "ScoreTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "156 148";
extent = "70 25";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
expression = "$OpenGL::triCount3";
};
new GuiConsoleVariableCtrl(InteriorPolys) {
profile = "ScoreTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "156 118";
extent = "70 25";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
expression = "$OpenGL::triCount2";
};
new GuiConsoleVariableCtrl(TerrainPolys) {
profile = "ScoreTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "156 88";
extent = "70 25";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
expression = "$OpenGL::triCount1";
};
new GuiConsoleVariableCtrl(TotalPolys) {
profile = "ScoreTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "156 226";
extent = "70 25";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
expression = "$OpenGL::triCount";
};
new GuiConsoleVariableCtrl(WaterPolys) {
profile = "ScoreTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "156 179";
extent = "70 25";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
expression = "$Water::triCount";
};
};
};
//--- OBJECT WRITE END ---

View file

@ -7,6 +7,8 @@ new GuiControl(MessageBoxOKDlg) {
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellPaneCtrl(MBOKFrame) {
@ -30,7 +32,7 @@ new GuiControl(MessageBoxOKDlg) {
helpTag = "0";
lineSpacing = "2";
};
new ShellBitmapButton() {
new ShellBitmapButton(MBOKButton) {
profile = "ShellButtonProfile";
horizSizing = "center";
vertSizing = "bottom";
@ -38,7 +40,7 @@ new GuiControl(MessageBoxOKDlg) {
extent = "120 38";
minExtent = "32 38";
visible = "1";
command = "eval(MessageBoxOKDlg.callback); Canvas.popDialog(MessageBoxOKDlg);";
command = "Canvas.popDialog(MessageBoxOKDlg);";
accelerator = "return";
helpTag = "0";
text = "OK";
@ -57,6 +59,8 @@ new GuiControl(MessageBoxYesNoDlg) {
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellPaneCtrl(MBYesNoFrame) {
@ -80,7 +84,7 @@ new GuiControl(MessageBoxYesNoDlg) {
helpTag = "0";
lineSpacing = "2";
};
new ShellBitmapButton() {
new ShellBitmapButton(MBYesNoButtonYes) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
@ -88,13 +92,13 @@ new GuiControl(MessageBoxYesNoDlg) {
extent = "120 38";
minExtent = "32 38";
visible = "1";
command = "eval(MessageBoxYesNoDlg.yesCallback); Canvas.popDialog(MessageBoxYesNoDlg);";
command = "Canvas.popDialog(MessageBoxYesNoDlg);";
accelerator = "enter";
helpTag = "0";
text = "YES";
simpleStyle = "0";
};
new ShellBitmapButton() {
new ShellBitmapButton(MBYesNoButtonNo) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
@ -102,7 +106,7 @@ new GuiControl(MessageBoxYesNoDlg) {
extent = "120 38";
minExtent = "32 38";
visible = "1";
command = "eval(MessageBoxYesNoDlg.noCallback); Canvas.popDialog(MessageBoxYesNoDlg);";
command = "Canvas.popDialog(MessageBoxYesNoDlg);";
accelerator = "escape";
helpTag = "0";
text = "NO";
@ -121,6 +125,8 @@ new GuiControl(MessageBoxOKCancelDlg) {
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellPaneCtrl(MBOKCancelFrame) {
@ -144,7 +150,7 @@ new GuiControl(MessageBoxOKCancelDlg) {
helpTag = "0";
lineSpacing = "2";
};
new ShellBitmapButton() {
new ShellBitmapButton(MBOKCancelButtonOK) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
@ -152,13 +158,13 @@ new GuiControl(MessageBoxOKCancelDlg) {
extent = "120 38";
minExtent = "32 38";
visible = "1";
command = "eval(MessageBoxOKCancelDlg.callback); Canvas.popDialog(MessageBoxOKCancelDlg);";
command = "Canvas.popDialog(MessageBoxOKCancelDlg);";
accelerator = "return";
helpTag = "0";
text = "OK";
simpleStyle = "0";
};
new ShellBitmapButton() {
new ShellBitmapButton(MBOKCancelButtonCancel) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
@ -166,7 +172,7 @@ new GuiControl(MessageBoxOKCancelDlg) {
extent = "120 38";
minExtent = "32 38";
visible = "1";
command = "eval(MessageBoxOKCancelDlg.cancelCallback); Canvas.popDialog(MessageBoxOKCancelDlg);";
command = "Canvas.popDialog(MessageBoxOKCancelDlg);";
accelerator = "escape";
helpTag = "0";
text = "CANCEL";

View file

@ -17,250 +17,242 @@ new GuiChunkedBitmapCtrl(NewsGui) {
profile = "ShellPaneProfile";
horizSizing = "width";
vertSizing = "height";
position = "12 13";
extent = "620 423";
position = "7 13";
extent = "629 429";
minExtent = "48 92";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "NEWS";
longTextBuffer = "0";
maxLength = "255";
noTitleBar = "0";
new ShellBitmapButton(NewsSubmitBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "52 368";
extent = "128 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "PostNews();";
helpTag = "0";
text = "SUBMIT NEWS";
simpleStyle = "0";
};
new GuiTextCtrl() {
profile = "ShellTextProfile";
horizSizing = "left";
new ShellTabGroupCtrl(NewsTabGroup) {
profile = "TabGroupProfile";
horizSizing = "width";
vertSizing = "bottom";
position = "369 34";
extent = "55 22";
minExtent = "8 8";
position = "214 67";
extent = "386 34";
minExtent = "42 29";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Web Links:";
maxLength = "255";
glowOffset = "6";
tabSpacing = "0";
maxTabWidth = "200";
stretchToFit = "1";
};
new ShellPopupMenu(WebLinksMenu) {
profile = "ShellPopupProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "361 45";
extent = "200 36";
minExtent = "49 36";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
maxLength = "255";
maxPopupHeight = "200";
buttonBitmap = "gui/shll_pulldown";
rolloverBarBitmap = "gui/shll_pulldownbar_rol";
selectedBarBitmap = "gui/shll_pulldownbar_act";
noButtonStyle = "0";
};
new ShellBitmapButton() {
profile = "ShellButtonProfile";
horizSizing = "left";
vertSizing = "bottom";
position = "549 45";
extent = "53 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "WebLinksMenu.launchWebBrowser();";
helpTag = "0";
text = "GO";
simpleStyle = "0";
};
new ShellFieldCtrl() {
profile = "ShellFieldProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "24 34";
extent = "332 45";
minExtent = "16 18";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new GuiMLTextCtrl(NewsMOTDText) {
profile = "ShellAltTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "4 4";
extent = "310 16";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "-1";
deniedSound = "InputDeniedSound";
};
};
new GuiTextCtrl() {
profile = "ShellTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "25 79";
extent = "60 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "HEADLINES";
maxLength = "255";
};
new ShellScrollCtrl() {
profile = "NewScrollCtrlProfile";
horizSizing = "right";
vertSizing = "height";
position = "21 91";
extent = "190 253";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "dynamic";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "0 3";
fieldBase = "gui/shll_field";
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "4 7";
extent = "182 239";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellTextList(NewsHeadlines) {
profile = "ShellTextArrayProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "182 8";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
enumerate = "0";
resizeCell = "1";
columns = "0";
fitParentWidth = "1";
clipColumnText = "0";
};
};
};
new ShellBitmapButton(NewsPrevBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "28 340";
extent = "85 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "NewsGui.getPreviousNewsItems();";
helpTag = "0";
text = "PREV";
simpleStyle = "0";
};
new ShellBitmapButton(NewsNextBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "119 340";
extent = "85 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "NewsGui.getNextNewsItems();";
helpTag = "0";
text = "NEXT";
simpleStyle = "0";
};
new ShellScrollCtrl() {
profile = "NewScrollCtrlProfile";
new ShellTabFrame(NewsTabFrame) {
profile = "ShellHorzTabFrameProfile";
horizSizing = "width";
vertSizing = "height";
position = "211 91";
extent = "385 308";
minExtent = "24 52";
position = "16 95";
extent = "596 318";
minExtent = "516 254";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "0 2";
fieldBase = "gui/shll_field";
isVertical = "0";
useCloseButton = "0";
edgeInset = "0";
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
new ShellScrollCtrl() {
profile = "NewScrollCtrlProfile";
horizSizing = "width";
vertSizing = "height";
position = "4 6";
extent = "361 296";
minExtent = "8 8";
position = "202 6";
extent = "385 280";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "alwaysOn";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "0 2";
fieldBase = "gui/shll_field";
new GuiMLTextCtrl(NewsText) {
profile = "NewTextEditProfile";
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "width";
vertSizing = "bottom";
position = "0 0";
extent = "387 16";
vertSizing = "height";
position = "4 6";
extent = "361 268";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "-1";
deniedSound = "InputDeniedSound";
new GuiMLTextCtrl(NewsText) {
profile = "NewTextEditProfile";
horizSizing = "width";
vertSizing = "bottom";
position = "0 0";
extent = "387 16";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "-1";
deniedSound = "InputDeniedSound";
};
};
};
new ShellScrollCtrl() {
profile = "NewScrollCtrlProfile";
horizSizing = "right";
vertSizing = "height";
position = "9 7";
extent = "197 278";
minExtent = "24 52";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "dynamic";
constantThumbHeight = "0";
defaultLineHeight = "15";
childMargin = "0 3";
fieldBase = "gui/shll_field";
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "4 7";
extent = "189 264";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellTextList(NewsHeadlines) {
profile = "ShellTextArrayProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "187 8";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
enumerate = "0";
resizeCell = "1";
columns = "0";
fitParentWidth = "1";
clipColumnText = "0";
};
};
};
new ShellBitmapButton(NewsPrevBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "0 282";
extent = "40 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "NewsGui.getPreviousNewsItems();";
helpTag = "0";
text = "< ";
simpleStyle = "0";
};
new ShellBitmapButton(NewsSubmitBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "23 282";
extent = "159 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "PostNews();";
helpTag = "0";
text = "SUBMIT NEWS";
simpleStyle = "0";
};
new ShellBitmapButton(NewsNextBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "165 282";
extent = "40 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "NewsGui.getNextNewsItems();";
helpTag = "0";
text = " >";
simpleStyle = "0";
};
new GuiTextCtrl() {
profile = "ShellTextProfile";
horizSizing = "left";
vertSizing = "top";
position = "310 290";
extent = "55 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "Web Links:";
longTextBuffer = "0";
maxLength = "255";
};
new ShellPopupMenu(WebLinksMenu) {
profile = "ShellPopupProfile";
horizSizing = "left";
vertSizing = "top";
position = "362 282";
extent = "200 36";
minExtent = "49 36";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
longTextBuffer = "0";
maxLength = "255";
maxPopupHeight = "200";
buttonBitmap = "gui/shll_pulldown";
rolloverBarBitmap = "gui/shll_pulldownbar_rol";
selectedBarBitmap = "gui/shll_pulldownbar_act";
noButtonStyle = "0";
};
new ShellBitmapButton() {
profile = "ShellButtonProfile";
horizSizing = "left";
vertSizing = "top";
position = "545 282";
extent = "53 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "WebLinksMenu.launchWebBrowser();";
helpTag = "0";
text = "GO";
simpleStyle = "0";
};
};
new ShellBitmapButton(NewsEditMOTDBtn) {
profile = "ShellButtonProfile";
@ -277,6 +269,50 @@ new GuiChunkedBitmapCtrl(NewsGui) {
text = "EDIT MOTD";
simpleStyle = "0";
};
new ShellFieldCtrl() {
profile = "ShellFieldProfile";
horizSizing = "width";
vertSizing = "bottom";
position = "20 27";
extent = "589 42";
minExtent = "16 18";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new GuiMLTextCtrl(NewsMOTDText) {
profile = "CenterPrintTextProfile";
horizSizing = "width";
vertSizing = "height";
position = "9 3";
extent = "570 18";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
lineSpacing = "2";
allowColorChars = "0";
maxChars = "-1";
deniedSound = "InputDeniedSound";
};
};
new GuiTextCtrl() {
profile = "ShellTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "29 78";
extent = "60 22";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "HEADLINES";
longTextBuffer = "0";
maxLength = "255";
};
};
};
//--- OBJECT WRITE END ---

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -7,72 +7,82 @@ new GuiControl(RecordingsDlg) {
extent = "640 480";
minExtent = "8 8";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellPaneCtrl() {
profile = "ShellDlgPaneProfile";
horizSizing = "center";
vertSizing = "center";
position = "120 60";
extent = "400 360";
position = "60 61";
extent = "530 360";
minExtent = "48 92";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
text = "SELECT RECORDING";
longTextBuffer = "0";
maxLength = "255";
noTitleBar = "0";
new ShellScrollCtrl() {
new ShellFancyArrayScrollCtrl() {
profile = "NewScrollCtrlProfile";
horizSizing = "center";
vertSizing = "height";
position = "91 36";
extent = "218 266";
minExtent = "24 52";
position = "23 37";
extent = "484 266";
minExtent = "32 32";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
willFirstRespond = "1";
hScrollBar = "alwaysOff";
vScrollBar = "dynamic";
constantThumbHeight = "1";
defaultLineHeight = "15";
childMargin = "0 0";
fieldBase = "gui/shll_field";
fixedHorizontal = "1";
vertSpacerBitmap = "gui/shll_vertspacer";
horzSpacerBitmap = "gui/shll_horzspacer";
new GuiScrollContentCtrl() {
profile = "GuiDefaultProfile";
new ShellFancyTextList(RecordingsDlgList) {
profile = "ShellServerBrowserProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "4 4";
extent = "210 258";
minExtent = "8 8";
position = "0 0";
extent = "464 262";
minExtent = "8 20";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
helpTag = "0";
new ShellTextList(RecordingsDlgList) {
profile = "ShellTextArrayProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "210 8";
minExtent = "8 8";
visible = "1";
helpTag = "0";
enumerate = "1";
resizeCell = "1";
columns = "0";
fitParentWidth = "1";
clipColumnText = "0";
};
startScrollRegion = "3 0";
headerBitmap = "gui/server_tabs";
sortArrowBitmap = "gui/shll_sortarrow";
fieldBase = "gui/shll_field";
barBase = "gui/shll_bar";
glowOffset = "4";
rowHeight = "19";
headerFontType = "Univers Condensed";
headerFontSize = "16";
headerFontColor = "8 19 6 255";
headerFontColorHL = "25 68 56 255";
separatorColor = "192 192 192 255";
drawSeparators = "0";
headerSort = "1";
allowReposition = "1";
noSelect = "0";
allowColorChars = "1";
altCommand = "startSelectedDemo();";
};
};
new ShellBitmapButton(PR_CancelBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "48 305";
position = "386 304";
extent = "128 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "Canvas.popDialog(RecordingsDlg);";
accelerator = "escape";
helpTag = "0";
@ -83,13 +93,45 @@ new GuiControl(RecordingsDlg) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "224 305";
position = "16 304";
extent = "128 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "StartSelectedDemo();";
helpTag = "0";
text = "START DEMO";
text = "PLAY";
simpleStyle = "0";
};
new ShellBitmapButton(PR_DeleteDemoBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "134 304";
extent = "128 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "DeleteSelectedDemo();";
helpTag = "0";
text = "DELETE";
simpleStyle = "0";
};
new ShellBitmapButton(PR_RenameDemoBtn) {
profile = "ShellButtonProfile";
horizSizing = "right";
vertSizing = "top";
position = "252 304";
extent = "128 38";
minExtent = "32 38";
visible = "1";
hideCursor = "0";
bypassHideCursor = "0";
command = "RenameSelectedDemo();";
helpTag = "0";
text = "RENAME";
simpleStyle = "0";
};
};

View file

@ -56,7 +56,7 @@ new GuiControl(ShellLoadFileDlg) {
extent = "268 8";
minExtent = "8 8";
visible = "1";
altCommand = "eval($loadFileCommand); Canvas.popDialog(ShellLoadFileDlg);";
altCommand = "Canvas.popDialog(ShellLoadFileDlg);";
helpTag = "0";
enumerate = "0";
resizeCell = "1";
@ -88,7 +88,7 @@ new GuiControl(ShellLoadFileDlg) {
extent = "128 38";
minExtent = "32 38";
visible = "1";
command = "eval($loadFileCommand); Canvas.popDialog(ShellLoadFileDlg);";
command = "Canvas.popDialog(ShellLoadFileDlg);";
helpTag = "0";
text = "LOAD";
simpleStyle = "0";

View file

@ -41,7 +41,7 @@ new GuiControl(ShellSaveFileDlg) {
minExtent = "32 38";
visible = "1";
command = "SAVE_FileName.checkValid();";
altCommand = "eval($saveFileCommand); Canvas.popDialog(ShellSaveFileDlg);";
altCommand = "Canvas.popDialog(ShellSaveFileDlg);";
helpTag = "0";
historySize = "0";
maxLength = "32";
@ -70,7 +70,7 @@ new GuiControl(ShellSaveFileDlg) {
extent = "128 38";
minExtent = "32 38";
visible = "1";
command = "eval($saveFileCommand); Canvas.popDialog(ShellSaveFileDlg);";
command = "Canvas.popDialog(ShellSaveFileDlg);";
helpTag = "0";
text = "SAVE";
simpleStyle = "0";

View file

@ -2250,18 +2250,18 @@ function Heightfield::resetTabs()
tab_terrainFile.reset();
tab_fbm.reset();
tab_rmf.reset();
tab_canyon.reset();
tab_smooth.reset();
tab_smoothWater.reset();
tab_smoothRidge.reset();
tab_filter.reset();
tab_turbulence.reset();
tab_thermal.reset();
tab_hydraulic.reset();
tab_general.reset();
tab_bitmap.reset();
// tab_canyon.reset();
// tab_smooth.reset();
// tab_smoothWater.reset();
// tab_smoothRidge.reset();
// tab_filter.reset();
// tab_turbulence.reset();
// tab_thermal.reset();
// tab_hydraulic.reset();
// tab_general.reset();
// tab_bitmap.reset();
tab_blend.reset();
tab_sinus.reset();
// tab_sinus.reset();
}
//--------------------------------------

View file

@ -706,6 +706,76 @@ new GuiControl(TerraformerTextureGui) {
text = "Use Fractal Distortion";
};
};
new GuiControl(tab_ShorelineMask) {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "261 200";
minExtent = "8 8";
visible = "0";
setFirstResponder = "1";
modal = "1";
helpTag = "0";
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "4 1";
extent = "131 18";
minExtent = "8 8";
visible = "1";
setFirstResponder = "1";
modal = "1";
helpTag = "0";
text = "Shoreline Mask Settings:";
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "20 46";
extent = "10 18";
minExtent = "8 8";
visible = "1";
setFirstResponder = "1";
modal = "1";
helpTag = "0";
text = "Tolerance (meters):";
};
new GuiTextEditSliderCtrl(shorelineTolerance) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "168 46";
extent = "78 18";
minExtent = "8 8";
visible = "1";
setFirstResponder = "1";
modal = "1";
helpTag = "0";
historySize = "0";
maxLength = "255";
format = "%3.1f";
range = "0 100";
increment = "1.0";
};
new GuiCheckBoxCtrl(shorelineDistort) {
profile = "GuiCheckBoxProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "63 165";
extent = "129 20";
minExtent = "8 8";
visible = "1";
setFirstResponder = "1";
modal = "1";
command = "Texture::saveOperation();Texture::previewOperation();";
helpTag = "0";
text = "Use Fractal Distortion";
};
};
};
};
};
@ -1183,6 +1253,7 @@ function TerraformerTextureGui::init(%this)
Texture_operation_menu.add("Place by Height", 2);
Texture_operation_menu.add("Place by Slope", 3);
Texture_operation_menu.add("Place by Water Level", 4);
Texture_operation_menu.add("Place by Shoreline", 5);
%this.refresh();
}
@ -1300,6 +1371,9 @@ function Texture_operation_menu::onSelect(%this, %id, %text)
case "Place by Water Level":
%id = Texture::addOperation("Place by Water Level\ttab_WaterMask\t" @ $nextTextureRegister++ @ "\t" @ %dreg @ "\twaterDistort\ttrue");
case "Place by Shoreline":
%id = Texture::addOperation("Place by Shoreline\ttab_ShorelineMask\t" @ $nextTextureRegister++ @ "\t" @ %dreg @ "\tshorelineTolerance\t10\tshorelineDistort\ttrue");
}
// select it
@ -1483,7 +1557,6 @@ function Texture::evalOperationData(%data, %row)
return;
}
myecho("label = " @ %label);
switch$ (%label)
{
case "Fractal Distortion":
@ -1500,6 +1573,9 @@ function Texture::evalOperationData(%data, %row)
case "Place by Water Level":
terraformer.maskWater( $HeightfieldSrcRegister, %reg, getField(%data,5), %dreg );
case "Place by Shoreline":
terraformer.maskShoreline( $HeightfieldSrcRegister, %reg, getField(%data,5), getField(%data, 7), %dreg );
}
@ -1763,6 +1839,7 @@ function Texture::hideTab()
tab_HeightMask.setVisible(false);
tab_SlopeMask.setVisible(false);
tab_waterMask.setVisible(false);
tab_shorelineMask.setVisible(false);
}

View file

@ -363,10 +363,6 @@ new GuiControl(terraineditorbuttonbardlg) {
function TerrainEditorButtonBarDlg::init(%this)
{
// set the default
TerrainActionsMenu.setText(tEditor.getActionName(0));
for(%i = 0; %i < tEditor.getNumActions(); %i++)
TerrainActionsMenu.add(tEditor.getActionName(%i), %i);
}
//------------------------------------------------------------------------------

View file

@ -57,8 +57,8 @@ new GuiControl(TerrainEditorStatusbarDlg) {
function TerrainEditorStatusbarDlg::init(%this)
{
MouseBrushInfo.setValue("Mouse Brush Info");
SelectionInfo.setValue("Selection Info");
TEMouseBrushInfo.setValue("Mouse Brush Info");
TESelectionInfo.setValue("Selection Info");
}
function TerrainEditorStatusbarDlg::update(%this, %info)

View file

@ -181,6 +181,7 @@ new GuiChunkedBitmapCtrl(WarriorPropertiesDlg) {
historySize = "0";
password = "0";
glowOffset = "9 9";
IRCName = true;
};
new GuiTextCtrl(wp_currentname) {
profile = "BrowserProgressProfile";

View file

@ -94,7 +94,14 @@ new GuiControlProfile ("clockProfile")
{
fontType = "Univers Condensed";
fontSize = 12;
fontColor = "0 255 0";
fontColor = "255 255 255";
};
new GuiControlProfile ("SiegeHalftimeClockProfile")
{
fontType = "Univers Condensed";
fontSize = 18;
fontColor = "255 255 255";
};
new GuiControlProfile ("GuiContentProfileNoClear")
@ -1538,6 +1545,17 @@ new GuiControlProfile( "DlgBackProfile" )
fillColor = "0 0 0 160";
};
new GuiControlProfile( "MotdCProfile" )
{
justify = "center";
opaque = true;
autoSizeWidth = true;
fillColor = "0 0 0 160";
fontType = "Univers Condensed";
fontSize = 14;
fontColor = "000 219 234";
};
new GuiControlProfile( "GuiInputCtrlProfile" )
{
tab = true;