mirror of
https://github.com/Ragora/TribesReplay.git
synced 2026-01-19 17:44:45 +00:00
- (bug fix) Vehicles and deployables now properly explode if they are destroyed while someone is repairing them. - (bug fix) Sniper laser shots no longer create water splash effects if hitting ground near the water. - (bug fix) Immersion iForce force feedback mouse is now working properly again. - (bug fix) The "flag jumping" bug is now fixed. When a flag lands after being dropped, it will stay put when it slides to rest. - (bug fix) Fixed a situation where closing tribe or player tags on the Browser out of order would cause a disconnect with the database server. - (bug fix) Players can no longer fire, place mines, place grenades, or place beacons when inside a force field. - (bug fix) Fixed bug where modifier keys (specifically SHIFT) bound to actions in the game would still cause those actions when typing in a text edit control in-game (such as the chat entry) - (bug fix) Fixed a bug that could cause a player to drop to desktop when attempting to join a game which was in the process of cycling missions. - (bug fix) Fixed a Radeon video card issue which could occur if the desktop color bit-depth was different than the color bit-depth that the player was using in the game. - (bug fix) You won't try to fade into a vehicle that was destroyed after you purchased it, but before you had actually tported to the seat. - (bug fix) Minor change in the MPB explosion so that the turret part of the MPB doesn't seem to hover in place for a split-second during the explosion. - (bug fix) Bomber bombs now tumble properly and won't seem to disappear when falling. - (bug fix) Fixed a rare problem that could cause a client crash while the server is resetting. - (bug fix) Fixed a problem with the ELF gun effect that was causing hangs. - (bug fix) Telnet can now be used to set passwords for PURE servers so that they can be used for match games. (command line option...see the post in T2FAQs called "How do I TELNET INTO A PURE SERVER?" for more information on how to use this ability.) - (bug fix) The "cloning" issue (where players could clone themselves by dying, going to the CC with the CC camera showing themselves, spawn, and flicker back and forth to the CC) is now fixed and no longer occurs. - (bug fix) Another "cloning" issue which occurred when the Tourney Admin would switch teams for players is fixed and no longer occurs. - (bug fix) Fixed a bug where, when a client joins a server where the client does not have the map being run on the server, the client hangs while loading. This now elegantly exits instead of hanging. - (bug fix) Fixed an issue where the last few characters of the Server Info dialog would be cut off. - (bug fix) Fixed a situation where a blank error box could occur if CD key not entered properly when creating an account. - (bug fix) Sensor rings will no longer show up on the Command Circuit if the generators are not powered. - (bug fix) There was a rare bug where, if a player was standing in a force field's position when that force field went from a depowered to powered state (in otherwords, if the gens were repaired while he stood in the FF position), then the player would be stuck forever. If this case occurs, that player will now be destroyed. - (improvement) The "redjack" icon has been removed and new network throughput graphs have been implemented to better help players troubleshoot their net settings. Additionally, a more accurate and complete set of network presets is available. (See details below under "NETWORK SETTINGS" for more information.) - (improvement) The pure server concept is now implemented. Pure servers only allow regulation scripts and maps to be run on the server (no restrictions yet on the client), thus ensuring that anyone that joins a "base" server is playing the game as it was designed by Dynamix. MODs are still easily joined, but players can be assured that a "Base" game is really a "Base" game now. (Any game with server or rules mods that is not actually named as a new MOD will be described as "variant" instead of "base" on the master server list.) NOTE: See "PURE SERVER" below for more information on this. - (improvement) Old Password is now required in order to enter a New Password when editing your account. - (improvement) Password handling is different now in order to make it more difficult for people to casually find a password on a hard drive. - (improvement) Made more room for player names to display on the Server Info box. - (improvement) Bomber and Tank now have separate energy capacitors for their turret weapons. This energy pool is completely separate from the energy pool that the thrusters and force shields use. (Gunner energy is displayed as a second bar below the regular vehicle energy and is orangish in color.) - (improvement) Vertical thrusters on air vehicles are now more efficient to enable better takeoffs from ground level. - (improvement) Changed team damage OFF to include friendly turret fire and vehicle fire. (In otherwords, if Team Damage is OFF, then turrets fire and vehicle fire will not affect friendly units.) - (improvement) Splash damage no longer falls off so dramatically with distance. You will find that area effect (explosion) weapons now are more effective within their damage area. - (improvement) While in Tournament mode, and while in observer mode at the beginning of a match (before teams have been selected), players will now be able to chat with one another. - (improvement) Added observer points to Tombstone (it previously had none). - (improvement) Grenades tossing is slightly improved. The grenades will throw farther with less time spent pressing the grenade key. (They still have the exact same minimum and maximum throwing distances, it's just easier to throw it out to max range now.) - (community) Player histories are now accurate. - (community) Preferences in the FORUMs should be fixed now so that they stay in existence. The sort is the only exception. That will reformat each time you enter the FORUM and you will need to select whichever sort your prefer at that time.
436 lines
10 KiB
Plaintext
436 lines
10 KiB
Plaintext
//----------------------------------------------------------------
|
|
|
|
new GuiControlProfile (HotPinkProfile)
|
|
{
|
|
opaque = true;
|
|
fillColor = "255 128 128";
|
|
border = true;
|
|
borderColor = "255 128 128";
|
|
fontType = "Arial";
|
|
fontSize = 12;
|
|
fontColor = "0 0 0";
|
|
fontColorHL = "32 100 100";
|
|
fixedExtent = true;
|
|
justify = "center";
|
|
};
|
|
|
|
new GuiControl(GuiEditorGui) {
|
|
profile = GuiDefaultProfile;
|
|
position = "0 0";
|
|
extent = "800 600";
|
|
|
|
new GuiControl() // pink background
|
|
{
|
|
profile = HotPinkProfile;
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "0 0";
|
|
extent = "640 480";
|
|
};
|
|
new GuiControl(GuiEditorContent)
|
|
{
|
|
profile = "GuiDefaultProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "0 0";
|
|
extent = "640 480";
|
|
};
|
|
new GuiEditCtrl(GuiEditor)
|
|
{
|
|
profile = "GuiTextEditProfile"; // so it's tabable
|
|
horizSizing = "right";
|
|
vertSizing = "bottom";
|
|
position = "0 0";
|
|
extent = "640 480";
|
|
};
|
|
new GuiFrameSetCtrl()
|
|
{
|
|
position = "640 0";
|
|
extent = "160 600";
|
|
profile = "GuiButtonProfile";
|
|
horizSizing = "width";
|
|
vertSizing = "height";
|
|
columns = "0";
|
|
rows = "0 300";
|
|
|
|
new GuiScrollCtrl() // tree view
|
|
{
|
|
profile = "GuiScrollCtrlProfile";
|
|
position = "0 0";
|
|
extent = "160 300";
|
|
horizSizing = "width";
|
|
vertSizing = "height";
|
|
vScrollBar = "alwaysOn";
|
|
hScrollBar = "dynamic";
|
|
|
|
new GuiScrollContentCtrl()
|
|
{
|
|
profile = "GuiScrollContentProfile";
|
|
|
|
new GuiTreeView (GuiEditorTreeView)
|
|
{
|
|
profile = "GuiTreeViewProfile";
|
|
position = "0 0";
|
|
horizSizing = "width";
|
|
};
|
|
};
|
|
};
|
|
new GuiControl() { // inspector
|
|
profile = "GuiButtonProfile";
|
|
horizSizing = "width";
|
|
vertSizing = "height";
|
|
position = "0 0";
|
|
extent = "160 300";
|
|
|
|
new GuiButtonCtrl () {
|
|
profile = "GuiButtonProfile";
|
|
position = "4, 4";
|
|
extent = "40 16";
|
|
font = "12 252 Arial";
|
|
fontHL = "12 253 Arial";
|
|
text = "APPLY";
|
|
command = "GuiEditorInspectApply();";
|
|
fillColor = "249";
|
|
borderColor = "249";
|
|
selectBorderColor = "255";
|
|
};
|
|
|
|
new GuiTextCtrl() {
|
|
profile = "GuiTextProfile";
|
|
position = "52 4";
|
|
extent = "30 16";
|
|
font = "12 244 Arial";
|
|
text = "Name:";
|
|
};
|
|
|
|
new GuiTextEditCtrl (GuiEditorInspectName) {
|
|
profile = "GuiTextEditProfile";
|
|
position = "84 3";
|
|
extent = "72 18";
|
|
text = "";
|
|
horizSizing = "width";
|
|
vertSizing = "bottom";
|
|
};
|
|
|
|
new GuiScrollCtrl() {
|
|
profile = "GuiScrollCtrlProfile";
|
|
position = "0 24";
|
|
extent = "160 276";
|
|
horizSizing = "width";
|
|
vertSizing = "height";
|
|
vScrollBar = "alwaysOn";
|
|
hScrollBar = "alwaysOff";
|
|
|
|
new GuiScrollContentCtrl() {
|
|
profile = "GuiDefaultProfile";
|
|
extent = "140 274";
|
|
horizSizing = "width";
|
|
vertSizing = "height";
|
|
|
|
new GuiInspector (GuiEditorInspectFields) {
|
|
profile = "GuiDefaultProfile";
|
|
position = "0 0";
|
|
extent = "140 0";
|
|
horizSizing = "width";
|
|
vertSizing = "bottom";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
// toolbar
|
|
new GuiControl() {
|
|
profile = "GuiWindowProfile";
|
|
horizSizing = "right";
|
|
vertSizing = "height";
|
|
position = "0 480";
|
|
extent = "640 120";
|
|
|
|
new GuiButtonCtrl() {
|
|
profile = "GuiButtonProfile";
|
|
position = "4 24";
|
|
extent = "70 16";
|
|
text = "Align Left";
|
|
command = "GuiEditor.Justify(0);";
|
|
};
|
|
|
|
new GuiButtonCtrl() {
|
|
profile = "GuiButtonProfile";
|
|
position = "80 24";
|
|
extent = "70 16";
|
|
text = "Align Right";
|
|
command = "GuiEditor.Justify(2);";
|
|
};
|
|
|
|
new GuiButtonCtrl() {
|
|
profile = "GuiButtonProfile";
|
|
position = "156 24";
|
|
extent = "70 16";
|
|
text = "Center Horiz";
|
|
command = "GuiEditor.Justify(1);";
|
|
};
|
|
|
|
new GuiButtonCtrl() {
|
|
profile = "GuiButtonProfile";
|
|
position = "232 24";
|
|
extent = "70 16";
|
|
text = "Align Top";
|
|
command = "GuiEditor.Justify(3);";
|
|
};
|
|
|
|
new GuiButtonCtrl() {
|
|
profile = "GuiButtonProfile";
|
|
position = "308 24";
|
|
extent = "70 16";
|
|
text = "Align Bottom";
|
|
command = "GuiEditor.Justify(4);";
|
|
};
|
|
new GuiControlListPopup(GuiEditorClassPopup)
|
|
{
|
|
profile = "GuiButtonProfile";
|
|
position = "382 24";
|
|
extent = "180 16";
|
|
};
|
|
new GuiPopUpMenuCtrl(GuiEditorContentList)
|
|
{
|
|
profile = "GuiButtonProfile";
|
|
position = "382 44";
|
|
extent = "180 16";
|
|
};
|
|
new GuiButtonCtrl () {
|
|
profile = "GuiButtonProfile";
|
|
position = "570 24";
|
|
extent = "60 16";
|
|
text = "New...";
|
|
command = "GuiEditorStartCreate();";
|
|
};
|
|
new GuiButtonCtrl () {
|
|
profile = "GuiButtonProfile";
|
|
position = "570 44";
|
|
extent = "60 16";
|
|
text = "Save";
|
|
command = "GuiEditorSaveGui();";
|
|
};
|
|
new GuiButtonCtrl ("GuiEditorButtonToggle") {
|
|
profile = "GuiButtonProfile";
|
|
position = "4 44";
|
|
extent = "70 16";
|
|
text = "Stop Edit";
|
|
command = "GuiEdit();";
|
|
};
|
|
|
|
new GuiButtonCtrl () {
|
|
profile = "GuiButtonProfile";
|
|
position = "80 44";
|
|
extent = "70 16";
|
|
text = "Space Vert";
|
|
command = "GuiEditor.Justify(5);";
|
|
};
|
|
|
|
new GuiButtonCtrl() {
|
|
profile = "GuiButtonProfile";
|
|
position = "156 44";
|
|
extent = "70 16";
|
|
text = "Space Horiz";
|
|
command = "GuiEditor.Justify(6);";
|
|
};
|
|
|
|
new GuiButtonCtrl() {
|
|
profile = "GuiButtonProfile";
|
|
position = "232 44";
|
|
extent = "70 16";
|
|
text = "Bring Front";
|
|
command = "GuiEditor.BringToFront();";
|
|
};
|
|
|
|
new GuiButtonCtrl() {
|
|
profile = "GuiButtonProfile";
|
|
position = "308 44";
|
|
extent = "70 16";
|
|
text = "Send Back";
|
|
command = "GuiEditor.PushToBack();";
|
|
};
|
|
};
|
|
};
|
|
|
|
new GuiControl(NewGuiDialog)
|
|
{
|
|
profile = "GuiDialogProfile";
|
|
position = "0 0";
|
|
extent = "640 480";
|
|
|
|
new GuiWindowCtrl()
|
|
{
|
|
profile = "GuiWindowProfile";
|
|
position = "220 146";
|
|
extent = "200 188";
|
|
text = "Create new GUI";
|
|
canMove = "false";
|
|
canClose = "false";
|
|
canMinimize = "false";
|
|
canMaximize = "false";
|
|
horizSizing = "center";
|
|
vertSizing = "center";
|
|
|
|
new GuiTextCtrl()
|
|
{
|
|
profile = "GuiTextProfile";
|
|
position = "20 28";
|
|
text = "GUI Name:";
|
|
};
|
|
new GuiTextEditCtrl(NewGuiDialogName)
|
|
{
|
|
profile = "GuiTextEditProfile";
|
|
position = "20 44";
|
|
extent = "160 20";
|
|
};
|
|
new GuiTextCtrl()
|
|
{
|
|
profile = "GuiTextProfile";
|
|
position = "20 68";
|
|
text = "Class:";
|
|
};
|
|
new GuiControlListPopup(NewGuiDialogClass)
|
|
{
|
|
profile = "GuiTextEditProfile";
|
|
position = "20 84";
|
|
extent = "160 20";
|
|
};
|
|
new GuiButtonCtrl() {
|
|
profile = "GuiButtonProfile";
|
|
position = "56 156";
|
|
extent = "40 16";
|
|
text = "Create";
|
|
command = "GuiEditorCreate();";
|
|
};
|
|
new GuiButtonCtrl() {
|
|
profile = "GuiButtonProfile";
|
|
position = "104 156";
|
|
extent = "40 16";
|
|
text = "Cancel";
|
|
command = "Canvas.popDialog(NewGuiDialog);";
|
|
};
|
|
};
|
|
};
|
|
|
|
function GuiEditorStartCreate()
|
|
{
|
|
NewGuiDialogClass.setText("GuiControl");
|
|
NewGuiDialogClass.sort();
|
|
NewGuiDialogName.setValue("NewGui");
|
|
Canvas.pushDialog(NewGuiDialog);
|
|
}
|
|
|
|
function GuiEditorCreate()
|
|
{
|
|
%name = NewGuiDialogName.getValue();
|
|
%class = NewGuiDialogClass.getText();
|
|
Canvas.popDialog(NewGuiDialog);
|
|
%obj = eval("return new " @ %class @ "(" @ %name @ ");");
|
|
GuiEditorOpen(%obj);
|
|
}
|
|
|
|
function GuiEditorSaveGui()
|
|
{
|
|
%obj = GuiEditorContent.getObject(0);
|
|
if(%obj == -1 || %obj.getName() $= "")
|
|
return;
|
|
%obj.save("gui/" @ %obj.getName() @ ".gui");
|
|
}
|
|
|
|
function GuiEdit(%val)
|
|
{
|
|
if(%val != 0)
|
|
return;
|
|
|
|
%content = Canvas.getContent();
|
|
|
|
if(%content == GuiEditorGui.getId())
|
|
{
|
|
//GlobalActionMap.bind(mouse, button1, mouselook);
|
|
|
|
%obj = GuiEditorContent.getObject(0);
|
|
if(%obj != -1)
|
|
{
|
|
GuiGroup.add(%obj);
|
|
Canvas.setContent(%obj);
|
|
}
|
|
}
|
|
else
|
|
{
|
|
//GlobalActionMap.unbind(mouse, button1);
|
|
GuiEditorOpen(%content);
|
|
}
|
|
}
|
|
|
|
function GuiEditorOpen(%content)
|
|
{
|
|
Canvas.setContent(GuiEditorGui);
|
|
while((%obj = GuiEditorContent.getObject(0)) != -1)
|
|
GuiGroup.add(%obj); // get rid of anything being edited
|
|
|
|
%i = 0;
|
|
GuiEditorContentList.clear();
|
|
while((%obj = GuiGroup.getObject(%i)) != -1)
|
|
{
|
|
if(%obj.getName() !$= Canvas)
|
|
{
|
|
if(%obj.getName() $= "")
|
|
%name = "(unnamed) - " @ %obj;
|
|
else
|
|
%name = %obj.getName() @ " - " @ %obj;
|
|
|
|
GuiEditorContentList.add(%name, %obj);
|
|
}
|
|
%i++;
|
|
}
|
|
GuiEditorContent.add(%content);
|
|
GuiEditorContentList.sort();
|
|
GuiEditorClassPopup.sort();
|
|
|
|
if(%content.getName() $= "")
|
|
%name = "(unnamed) - " @ %content;
|
|
else
|
|
%name = %content.getName() @ " - " @ %content;
|
|
|
|
GuiEditorContentList.setText(%name);
|
|
GuiEditorClassPopup.setText("New Control");
|
|
GuiEditor.setRoot(%content);
|
|
%content.resize(0,0,640,480);
|
|
GuiEditorTreeView.open(%content);
|
|
}
|
|
|
|
function GuiEditorContentList::onSelect(%this, %id)
|
|
{
|
|
GuiEditorOpen(%id);
|
|
}
|
|
|
|
function GuiEditorClassPopup::onSelect(%this, %id)
|
|
{
|
|
%class = %this.getText();
|
|
%obj = eval("return new " @ %class @ "();");
|
|
GuiEditor.addNewCtrl(%obj);
|
|
GuiEditorClassPopup.setText("New Control");
|
|
}
|
|
|
|
function GuiEditorTreeView::onSelect(%this, %obj)
|
|
{
|
|
GuiEditorInspectFields.inspect(%obj);
|
|
GuiEditorInspectName.setValue(%obj.getName());
|
|
GuiEditor.select(%obj);
|
|
}
|
|
|
|
function GuiEditorInspectApply()
|
|
{
|
|
GuiEditorInspectFields.apply(GuiEditorInspectName.getValue());
|
|
}
|
|
|
|
function GuiEditor::onSelect(%this, %ctrl)
|
|
{
|
|
GuiEditorInspectFields.inspect(%ctrl);
|
|
GuiEditorInspectName.setValue(%ctrl.getName());
|
|
}
|
|
|
|
if (!isDemo())
|
|
GlobalActionMap.bind(keyboard, "alt f1", GuiEdit);
|