mirror of
https://github.com/Ragora/TribesReplay.git
synced 2026-01-19 17:44:45 +00:00
- Fixed buddy filter. You can now use the Filter option on the JOIN screen to find games that have players in them that are listed on your buddy list. (Use the Email or Warrior Browser functions to add/remove people from your buddy list.) - You can now add a player to your server admin lists (so that server admins can auto-admin players when they join a server, if desired). How this is done: If you are a SuperAdmin (owner of the server), you can go into the lobby and right-click on a player's name. You will then have the ability to add them to your Admin or SuperAdmin lists. - "Vote Spamming" has been prevented in-game. - Added "quickbuy" keyboard shortcuts to use at vehicle station. (Default keys are the 1-6 number keys. 1 is Wildcat, 6 is Havoc). (NOTE: These key bindings are not currently editable. However, since you are on the vehicle purchase pad when they are in effect, they cannot interfere with any custom keys you've created, so you should have no problems.) - Moved some of the CD check from script into code, where it should be. - Missile reticle is improved aesthetically. This is part 1 of 2 of the missile reticle changes. The second part will be in the next patch. - Team Damage ON/OFF can be changed by Admins/SuperAdmins as well as being voted on by players. If you are an Admin or SuperAdmin, then just go to Lobby and look up where the "Vote" options are listed. There are options there to toggle the Team Damage flag. Regular players can also Vote to Enable/Disable Team Damage in the same spot. - Default server prefs have been changed so that the default time limit is now 30 minutes (instead of 20) and Team Damage is OFF. - The "sticking" mouse button problem is now fixed. - Deployables are now easier to place on walls and other surfaces. There were some inconsistencies on which surfaces could be placed upon and those are now resolved. - (gameplay change) Flag captures are now worth 100 points, instead of 1 point. Additionally, each time someone grabs the flag *from the enemy flag stand* they will gain 1 point, regardless of whether they actually capture it or not. You will ONLY get this single point if the flag was actually on the flagstand. You will NOT get the point by touching the flag anywhere else on the field. This change will help prevent tie situations and will reward aggressive offensive play. NOTE: The "touch" point can only be gained once every 20 seconds...so a "scrum" around the flag base will not result in a large group of points being gained. - (gameplay change) Deployable inventory stations can no longer be deployed directly next to each other. They must be at least 20 meters apart in order to be deployed properly. - (gameplay change) Many team damage fixes occurred. When Team Damage is OFF the following are now true: Friendly teammates are no longer prevented from destroying deployables. The ELF will no longer drain energy from friendly players. If a friendly player blinds another friendly player with Whiteout grenades, then a message is displayed in the Chat HUD so that the blinded person knows who did it. (There are more Team Damage changes coming in the next patch.) - (gameplay change) Medium now has a standard loadout of 12 grenades in the grenade launcher instead of 10. Light: 10; Medium: 12; Heavy: 15. - (gameplay change) Deployable pulse sensors now have a range of 150m instead of 120m to make them a more attractive option to deploy. - (gameplay change) Ejection speed increased slightly to more easily accomodate jumping out of moving vehicles. - (gameplay change) Siege: Alcatraz. The generators have been moved around a bit. There are two entrances to that base. One is the "front door" and the other is the "back door". (The back door is the one that has a team-pass-only force field blocking enemies from the switch room.) There is now an upper generator down the chute from the "front door" that powers the "back door" force field. Additionally, there is a solar panel outside that powers the base turrets and sentry turrets. None of these generators have to be destroyed to get to the switch, but their destruction makes it MUCH easier to do so. There are four generators total on this map (all are waypointed now), and the destruction of all four is necessary before the base power will go down. - (gameplay change) Siege: Caldera. The generator has been moved out of the switch room and into the very big main room that has the inventory stations in it. It is no longer necessary to destroy the generators in a particular sequence. Destroying the two main generators (Primary and Secondary) will drop the force field that protects the switch. Both gens must be down in order for the switch force field to drop.
542 lines
15 KiB
Plaintext
542 lines
15 KiB
Plaintext
//--- OBJECT WRITE BEGIN ---
|
|
new GameTSCtrl(PlayGui) {
|
|
profile = "GuiContentProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "0 0";
|
|
extent = "640 480";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
setFirstResponder = "1";
|
|
modal = "1";
|
|
hideCursor = "1";
|
|
helpTag = "0";
|
|
beaconBaseTextureName = "gui/beacon_base";
|
|
beaconTargetTextureName = "gui/crosshairs";
|
|
beaconTargetPeriod = 4000;
|
|
beaconsVisible = true;
|
|
enemyBeaconLineBeginColor = "0 1 0 0.2";
|
|
enemyBeaconLineEndColor = "0 1 0 0.8";
|
|
vehicleBeaconLineBeginColor = "1 0 0 0.2";
|
|
vehicleBeaconLineEndColor = "1 0 0 0.8";
|
|
friendBeaconLineBeginColor = "1 1 0 0.2";
|
|
frinedBeaconLineEndColor = "1 1 0 0.8";
|
|
beaconLineWidth = "2.5";
|
|
beaconTextYOffset = 14;
|
|
|
|
new HudScoreCtrl(objectiveHud) {
|
|
profile = "HudScoreProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "top";
|
|
position = "8 437";
|
|
extent = "245 35";
|
|
minExtent = "8 8";
|
|
visible = "0";
|
|
};
|
|
|
|
new HudBitmapCtrl(hudClusterBack) {
|
|
|
|
profile = "GuiButtonProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
position = "444 8";
|
|
extent = "188 81";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
frameColor = "0 1 0 1";
|
|
opacity = "0.9";
|
|
bitmap = "gui/hud_new_cog.png";
|
|
|
|
new HudBitmapCtrl(hudCompassBack) {
|
|
|
|
profile = "GuiButtonProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
position = "109 2";
|
|
extent = "77 77";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
frameColor = "0 1 0 1";
|
|
opacity = "0.9";
|
|
bitmap = "gui/hud_new_compass.png";
|
|
};
|
|
|
|
new GuiControl( compassHud ) {
|
|
|
|
profile = "GuiDefaultProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
position = "107 2";
|
|
extent = "81 77";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
opacity = "1.0";
|
|
|
|
new HudCompass( compass ) {
|
|
|
|
profile = "clockProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
position = "0 0";
|
|
extent = "100 100";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
opacity = "1.0";
|
|
textColor = "0 255 0";
|
|
};
|
|
};
|
|
|
|
new HudPulsingBitmap( sensorHudBack )
|
|
{
|
|
profile = "GuiButtonProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
position = "134 26";
|
|
extent = "27 29";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
frameColor = "0 1 0 1";
|
|
opacity = "0.9";
|
|
bitmap = "gui/hud_new_ping.png";
|
|
pulse = false;
|
|
color = "3 255 110";
|
|
};
|
|
|
|
new HudPulsingBitmap( sensorHud ) {
|
|
|
|
profile = "GuiDefaultProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
position = "134 26";
|
|
extent = "27 29";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
opacity = "0.9";
|
|
bitmap = "gui/hud_new_ping.png";
|
|
pulse = true;
|
|
pulseRate = 1000;
|
|
visible = false;
|
|
|
|
pingColor = "255 22 22";
|
|
jamColor = "253 255 2";
|
|
};
|
|
|
|
new HudEnergy( energyHud ) {
|
|
|
|
profile = "GuiDefaultProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
position = "8 23";
|
|
extent = "92 5";
|
|
minExtent = "92 5";
|
|
visible = "1";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
helpTag = "0";
|
|
fillColor = "0.353000 0.373000 0.933000 0.800000";
|
|
frameColor = "0.000000 1.000000 0.000000 1.000000";
|
|
opacity = "0.8";
|
|
subRegion = "0 0 92 10";
|
|
pulseRate = "500";
|
|
pulseThreshold = "0.3";
|
|
};
|
|
|
|
new HudDamage( damageHud ) {
|
|
|
|
profile = "GuiDefaultProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
position = "8 5";
|
|
extent = "92 8";
|
|
minExtent = "92 8";
|
|
visible = "1";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
helpTag = "0";
|
|
fillColor = "0.000 1.000 0.000 0.800000";
|
|
frameColor = "0.000000 1.000000 0.000000 0.000000";
|
|
opacity = "0.8";
|
|
subRegion = "0 0 92 10";
|
|
pulseRate = "500";
|
|
pulseThreshold = "0.3";
|
|
};
|
|
|
|
new HudHeat(HeatHud) {
|
|
|
|
profile = "GuiDefaultProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
position = "8 30";
|
|
extent = "92 3";
|
|
minExtent = "92 3";
|
|
visible = "1";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
helpTag = "0";
|
|
fillColor = "1.000 0.000 0.000 0.800000";
|
|
opacity = "0.8";
|
|
subRegion = "0 0 100 10";
|
|
pulseRate = "500";
|
|
pulseThreshold = "0.3";
|
|
heatWarning = 0.7; //When does the heat bar flash on the player?
|
|
};
|
|
};
|
|
|
|
new HudClock( clockHud ) {
|
|
profile = "clockProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
position = "559 38";
|
|
extent = "65 15";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
helpTag = "0";
|
|
opacity = "0.9";
|
|
bitmap = "gui/hud_mistimer.png";
|
|
autoCenter = "0";
|
|
autoResize = "0";
|
|
subRegion = "0 2 65 15";
|
|
};
|
|
|
|
|
|
new HudBitmapCtrl(lagHudIndicator) {
|
|
profile = "GuiButtonProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "bottom";
|
|
position = "570 38";
|
|
extent = "35 32";
|
|
visible = "0";
|
|
frameColor = "0 1 0 1";
|
|
opacity = "0.8";
|
|
bitmap = "gui/hud_disconnect.png";
|
|
};
|
|
|
|
new GuiControl(retCenterHud) {
|
|
profile = "GuiDefaultProfile";
|
|
horizSizing = "center";
|
|
vertSizing = "center";
|
|
position = "192 112";
|
|
extent = "256 256";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
helpTag = "0";
|
|
wrap = "0";
|
|
|
|
new HudCrosshair(reticleHud) {
|
|
profile = "GuiButtonProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "0 0";
|
|
extent = "256 256";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
helpTag = "0";
|
|
fillColor = "0.250000 0.250000 0.250000 0.250000";
|
|
frameColor = "0.000000 1.000000 0.000000 1.000000";
|
|
opacity = "0.5";
|
|
bitmap = "gui/ret_blaster.png";
|
|
autoCenter = "1";
|
|
autoResize = "1";
|
|
};
|
|
|
|
new GuiTextCtrl(ammoHud) {
|
|
profile = "GuiAmmoHudProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "top";
|
|
position = "75 150";
|
|
extent = "80 30";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
};
|
|
|
|
new HudPulsingBitmap(deploySensor)
|
|
{
|
|
profile = "GuiButtonProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "94 94";
|
|
extent = "67 67";
|
|
minExtent = "8 8";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
helpTag = "0";
|
|
fillColor = "0.250000 0.250000 0.250000 0.250000";
|
|
frameColor = "0.000000 1.000000 0.000000 1.000000";
|
|
opacity = "0.5";
|
|
bitmap = "gui/hud_ping.png";
|
|
autoCenter = "1";
|
|
autoResize = "1";
|
|
pulse = "false";
|
|
pulseRate = "1000";
|
|
visible = false;
|
|
color = "0 0 0 0";
|
|
};
|
|
new HudCrosshair(reticleFrameHud) {
|
|
profile = "GuiButtonProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "94 94";
|
|
extent = "67 67";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
helpTag = "0";
|
|
fillColor = "0.250000 0.250000 0.250000 0.250000";
|
|
frameColor = "0.000000 1.000000 0.000000 1.000000";
|
|
opacity = "0.5";
|
|
bitmap = "gui/hud_retrng.png";
|
|
autoCenter = "1";
|
|
autoResize = "1";
|
|
};
|
|
};
|
|
new HudInventory(inventoryHud) {
|
|
profile = "GuiHudCounterProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "top";
|
|
position = "486 434";
|
|
extent = "115 39";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
fillColor = "0.250000 0.250000 0.250000 0.250000";
|
|
frameColor = "0.000000 1.000000 0.000000 1.000000";
|
|
opacity = "0.9";
|
|
ammoOffset = "6 24";
|
|
backGroundOffset = "0 0";
|
|
highLightOffset = "0 0";
|
|
iconOffset = "1 1";
|
|
backGroundSpace = "2";
|
|
};
|
|
|
|
new GuiBitmapCtrl(backpackFrame) {
|
|
profile = "GuiDefaultProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "top";
|
|
bitmap = "gui/hud_new_panel.png";
|
|
position = "457 434";
|
|
extent = "27 38";
|
|
minExtent = "8 8";
|
|
visible = "0";
|
|
|
|
new GuiBitmapCtrl(backpackIcon) {
|
|
profile = "GuiDefaultProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "top";
|
|
position = "0 3";
|
|
extent = "25 25";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
};
|
|
|
|
new GuiTextCtrl(backpackText) {
|
|
profile = "GuiPackTextProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "top";
|
|
position = "1 24";
|
|
extent = "25 15";
|
|
minExtent = "8 8";
|
|
visible = "0";
|
|
};
|
|
};
|
|
|
|
new HudWeapons(weaponsHud) {
|
|
profile = "GuiHudCounterProfile";
|
|
horizSizing = "left";
|
|
vertSizing = "top";
|
|
position = "604 194";
|
|
extent = "27 244";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
helpTag = "0";
|
|
fillColor = "0.250000 0.250000 0.250000 0.250000";
|
|
frameColor = "0.000000 1.000000 0.000000 1.000000";
|
|
opacity = "0.9";
|
|
ammoOffset = "6 24";
|
|
backGroundOffset = "0 0";
|
|
highLightOffset = "0 0";
|
|
iconOffset = "1 1";
|
|
backGroundSpace = "2";
|
|
};
|
|
|
|
new HudNavDisplay(navHud) {
|
|
profile = "GuiHudNavProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "0 0";
|
|
extent = "640 480";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
helpTag = "0";
|
|
fillColor = "0.250000 0.250000 0.250000 0.250000";
|
|
frameColor = "0.000000 1.000000 0.000000 1.000000";
|
|
opacity = "0.5";
|
|
autoCenter = "0";
|
|
autoResize = "0";
|
|
renderEdgeMarkers = "1";
|
|
renderXYProjection = "0";
|
|
markerHitRadius = "2";
|
|
markerAngle = "30";
|
|
markerLen = "20";
|
|
defaultMarkerColor = "0 255 220 220";
|
|
acquireScreenRadius = "75";
|
|
playerEyeZOffset = "0.4";
|
|
damageRectSize = "50 12";
|
|
infoOffset = "24 24";
|
|
acquireBoxCheckDistance = "50";
|
|
damageFrameColor = "255 255 255 255";
|
|
protectedStatics = false;
|
|
minMarkerScale = "0.5";
|
|
markerScaleDistance = "1000";
|
|
imageOffset = "2";
|
|
markerImageNames[0] = "small_triangle"; // mission waypoint
|
|
markerImageNames[1] = "small_square"; // potential task
|
|
markerImageNames[2] = "small_diamond"; // assigned task
|
|
markerImageNames[3] = "small_cross"; // client waypoint
|
|
markerImageNames[4] = "small_circle"; // target
|
|
|
|
missileMarker1 = "gui/RET_missile_marker";
|
|
missileMarker2 = "gui/RET_missile_marker_red";
|
|
missileFlash1 = "gui/RET_missile_horizflash_red";
|
|
missileFlash2 = "gui/RET_missile_vertflash_red";
|
|
};
|
|
|
|
new GuiControl(dashboardHud) {
|
|
profile = "GuiDefaultProfile";
|
|
horizSizing = "center";
|
|
vertSizing = "top";
|
|
position = "0 360";
|
|
extent = "640 120";
|
|
minExtent = "8 8";
|
|
visible = "0";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
helpTag = "0";
|
|
wrap = "0";
|
|
new HudVehicleWeapon(vWeaponsBox) {
|
|
profile = "GuiButtonProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "top";
|
|
//position = "225 30";
|
|
position = "180 25";
|
|
extent = "70 40";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
setFirstResponder = "0";
|
|
modal = "1";
|
|
helpTag = "0";
|
|
fillColor = "0.250000 0.250000 0.250000 0.250000";
|
|
frameColor = "0.000000 1.000000 0.000000 1.000000";
|
|
opacity = "0.8";
|
|
ammoOffset = "10 30";
|
|
backGroundOffset = "5 4";
|
|
highLightOffset = "0 0";
|
|
iconOffset = "7 4";
|
|
backGroundSpace = "8";
|
|
};
|
|
};
|
|
|
|
new ShellFieldCtrl(voiceCommHud)
|
|
{
|
|
profile = "GuiChatBackProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "8 110";
|
|
extent = "160 70";
|
|
minExtent = "8 8";
|
|
visible = "0";
|
|
|
|
new GuiTextCtrl(vcRecordingHud)
|
|
{
|
|
profile = "GuiRecordingHudProfile";
|
|
position = "0 0";
|
|
extent = "160 16";
|
|
text = "Recording";
|
|
visible = false;
|
|
horizSizing = "center";
|
|
vertSizing = "top";
|
|
};
|
|
};
|
|
|
|
new GuiTextCtrl(controlObjectText)
|
|
{
|
|
profile = "ShellBigTextProfile";
|
|
position = "0 440";
|
|
extent = "640 40";
|
|
text = "Press '\c2Escape\cr' to return to game.";
|
|
visible = false;
|
|
horizSizing = "center";
|
|
vertSizing = "top";
|
|
};
|
|
|
|
new ShellFieldCtrl(CenterPrintDlg)
|
|
{
|
|
profile = "GuiChatBackProfile";
|
|
horizSizing = "center";
|
|
vertSizing = "center";
|
|
position = "45 200";
|
|
extent = "550 20";
|
|
minExtent = "8 8";
|
|
visible = "0";
|
|
setFirstResponder = "0";
|
|
|
|
new GuiMLTextCtrl(CenterPrintText) {
|
|
profile = "CenterPrintTextProfile";
|
|
horizSizing = "center";
|
|
vertSizing = "center";
|
|
position = "0 0";
|
|
extent = "546 20";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
lineSpacing = "2";
|
|
};
|
|
};
|
|
|
|
new ShellFieldCtrl(BottomPrintDlg)
|
|
{
|
|
profile = "GuiChatBackProfile";
|
|
horizSizing = "center";
|
|
vertSizing = "top";
|
|
position = "45 375";
|
|
extent = "550 20";
|
|
minExtent = "8 8";
|
|
visible = "0";
|
|
setFirstResponder = "0";
|
|
|
|
new GuiMLTextCtrl(BottomPrintText) {
|
|
profile = "CenterPrintTextProfile";
|
|
horizSizing = "center";
|
|
vertSizing = "center";
|
|
position = "0 0";
|
|
extent = "546 20";
|
|
minExtent = "8 8";
|
|
visible = "1";
|
|
helpTag = "0";
|
|
lineSpacing = "2";
|
|
};
|
|
};
|
|
|
|
new HudZoom(ZoomHud)
|
|
{
|
|
profile = "ZoomHudProfile";
|
|
bitmap = "";
|
|
position = "0 0";
|
|
extent = "0 0";
|
|
minExtent = "8 8";
|
|
visible = "0";
|
|
};
|
|
};
|
|
//--- OBJECT WRITE END ---
|