mirror of
https://github.com/Jusctsch5/ironsphererpg.git
synced 2026-07-14 16:04:48 +00:00
T2RPG: Initial commit of ironsphererpg directory
Taking everything obtained from http://ironsphererpg2.webs.com/ and dumping it in a git repo
This commit is contained in:
parent
fe9e2d05d1
commit
a5143b67f7
1730 changed files with 186051 additions and 0 deletions
11
.project
Normal file
11
.project
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>Tribes2RPG</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
23
DSOcleanup.bat
Normal file
23
DSOcleanup.bat
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
REM @echo off
|
||||
|
||||
REM ISUpdater\tribes2rpg_update.exe
|
||||
|
||||
REM del .\base\console_end.cs.dso
|
||||
del .\base\scripts\*.dso 1> nul 2>&1
|
||||
del .\base\scripts\autoexec\*.dso 1> nul 2>&1
|
||||
del .\base\scripts\packs\*.dso 1> nul 2>&1
|
||||
del .\base\scripts\turrets\*.dso 1> nul 2>&1
|
||||
del .\base\scripts\vehicles\*.dso 1> nul 2>&1
|
||||
del .\base\scripts\weapons\*.dso 1> nul 2>&1
|
||||
|
||||
del .\ironsphererpg\console_end.cs.dso
|
||||
del .\ironsphererpg\gui\*.dso 1> nul 2>&1
|
||||
del .\ironsphererpg\scripts\*.dso 1> nul 2>&1
|
||||
del .\ironsphererpg\scripts\autoexec\*.dso 1> nul 2>&1
|
||||
del .\ironsphererpg\scripts\packs\*.dso 1> nul 2>&1
|
||||
del .\ironsphererpg\scripts\turrets\*.dso 1> nul 2>&1
|
||||
del .\ironsphererpg\scripts\vehicles\*.dso 1> nul 2>&1
|
||||
del .\ironsphererpg\scripts\weapons\*.dso 1> nul 2>&1
|
||||
rem pause
|
||||
|
||||
exit
|
||||
63
File Details.txt
Normal file
63
File Details.txt
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
|
||||
Audio \ Gui >
|
||||
|
||||
buttonDown.wav - Changes menu beeps to sword clang and swipe sounds.
|
||||
buttonOver.wav
|
||||
launchMenuOpen.wav
|
||||
|
||||
command_hum.wav - Removes digital sounds from inventory menus.
|
||||
command_off.wav
|
||||
command_on.wav
|
||||
inventory_hum.wav
|
||||
inventory_off.wav
|
||||
inventory_on.wav
|
||||
|
||||
shell_hum.wav - Replaces menu background hum with short drum beat from T1 Mino Lair.
|
||||
|
||||
|
||||
|
||||
Interiors >
|
||||
|
||||
is_minotaurlair.dif - Minotaur's Lair prefab.
|
||||
is_minotaurshrine.dif - Minotaur's Lair shrine, good condition.
|
||||
is_minotaurshrineruins.dif - Minotaur's Lair shrine, ruined and overgrown.
|
||||
|
||||
|
||||
|
||||
Scripts \ Autoexec >
|
||||
|
||||
MinoEnvMaps.cs - Runs code to give Minotaur lair textures reflection maps.
|
||||
|
||||
|
||||
|
||||
Textures \ Gui >
|
||||
|
||||
CUR_3darrow.png - Menu mouse pointer.
|
||||
CUR_3darrowwait.png - Menu mouse pointer when loading.
|
||||
Loading.png - Image used when map image is not present.
|
||||
|
||||
|
||||
Textures \ MinoLair >
|
||||
|
||||
All textures used in the Minotaur's Lair set of prefabs.
|
||||
|
||||
|
||||
|
||||
Textures \ skins >
|
||||
|
||||
AM_skin.png - Male skin
|
||||
ammo_chaingun.png - Lootbag skin
|
||||
ammo_disc.png - Ore skin
|
||||
base.l/m/hbioderm.png - Bioderm orc skins
|
||||
jetpack_bio.png - Removes orc jetpack flare
|
||||
jetpackflare_bio.png - Removes orc jetpack flare
|
||||
|
||||
|
||||
|
||||
Textures \ special >
|
||||
|
||||
flare.png - Flare effect used in spell
|
||||
GameGrid.png - Removes OOB image, despite T2 settings.
|
||||
ThornBolt.png - Spell sprite
|
||||
ThornBoltCross.png - Spell sprite
|
||||
blasterBolt.png - Fixes glitch in blaster sprite (bolt)
|
||||
BIN
Ironsphere.ICO
Normal file
BIN
Ironsphere.ICO
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
BIN
THESEgoINgamedataFOLDER.rar
Normal file
BIN
THESEgoINgamedataFOLDER.rar
Normal file
Binary file not shown.
BIN
audio/Build.wav
Normal file
BIN
audio/Build.wav
Normal file
Binary file not shown.
BIN
audio/Build2.wav
Normal file
BIN
audio/Build2.wav
Normal file
Binary file not shown.
BIN
audio/Door.wav
Normal file
BIN
audio/Door.wav
Normal file
Binary file not shown.
BIN
audio/Flame1.wav
Normal file
BIN
audio/Flame1.wav
Normal file
Binary file not shown.
BIN
audio/Flame2.wav
Normal file
BIN
audio/Flame2.wav
Normal file
Binary file not shown.
BIN
audio/Flame3.wav
Normal file
BIN
audio/Flame3.wav
Normal file
Binary file not shown.
BIN
audio/Flame4.wav
Normal file
BIN
audio/Flame4.wav
Normal file
Binary file not shown.
BIN
audio/Fountain.wav
Normal file
BIN
audio/Fountain.wav
Normal file
Binary file not shown.
BIN
audio/HammerHit.wav
Normal file
BIN
audio/HammerHit.wav
Normal file
Binary file not shown.
BIN
audio/HitWall.wav
Normal file
BIN
audio/HitWall.wav
Normal file
Binary file not shown.
BIN
audio/HitWall2.wav
Normal file
BIN
audio/HitWall2.wav
Normal file
Binary file not shown.
BIN
audio/HitWall3.wav
Normal file
BIN
audio/HitWall3.wav
Normal file
Binary file not shown.
BIN
audio/HitWall4.wav
Normal file
BIN
audio/HitWall4.wav
Normal file
Binary file not shown.
BIN
audio/Hit_Flesh.wav
Normal file
BIN
audio/Hit_Flesh.wav
Normal file
Binary file not shown.
BIN
audio/LevelUp.wav
Normal file
BIN
audio/LevelUp.wav
Normal file
Binary file not shown.
BIN
audio/Spell_Cast.wav
Normal file
BIN
audio/Spell_Cast.wav
Normal file
Binary file not shown.
BIN
audio/Spell_Flame.wav
Normal file
BIN
audio/Spell_Flame.wav
Normal file
Binary file not shown.
BIN
audio/Spell_Ice.wav
Normal file
BIN
audio/Spell_Ice.wav
Normal file
Binary file not shown.
BIN
audio/Swing.wav
Normal file
BIN
audio/Swing.wav
Normal file
Binary file not shown.
BIN
audio/Swing2.wav
Normal file
BIN
audio/Swing2.wav
Normal file
Binary file not shown.
BIN
audio/Swing3.wav
Normal file
BIN
audio/Swing3.wav
Normal file
Binary file not shown.
BIN
audio/Swing4.wav
Normal file
BIN
audio/Swing4.wav
Normal file
Binary file not shown.
BIN
audio/Swing5.wav
Normal file
BIN
audio/Swing5.wav
Normal file
Binary file not shown.
BIN
audio/Swing6.wav
Normal file
BIN
audio/Swing6.wav
Normal file
Binary file not shown.
BIN
audio/WeaponHurt.wav
Normal file
BIN
audio/WeaponHurt.wav
Normal file
Binary file not shown.
BIN
audio/WeaponHurt2.wav
Normal file
BIN
audio/WeaponHurt2.wav
Normal file
Binary file not shown.
BIN
audio/WeaponHurt3.wav
Normal file
BIN
audio/WeaponHurt3.wav
Normal file
Binary file not shown.
BIN
audio/WeaponHurt4.wav
Normal file
BIN
audio/WeaponHurt4.wav
Normal file
Binary file not shown.
BIN
audio/WeaponHurt5.wav
Normal file
BIN
audio/WeaponHurt5.wav
Normal file
Binary file not shown.
BIN
audio/WeaponHurt6.wav
Normal file
BIN
audio/WeaponHurt6.wav
Normal file
Binary file not shown.
BIN
audio/ambient_bats.wav
Normal file
BIN
audio/ambient_bats.wav
Normal file
Binary file not shown.
BIN
audio/ambient_birds.wav
Normal file
BIN
audio/ambient_birds.wav
Normal file
Binary file not shown.
BIN
audio/ambient_birds2.wav
Normal file
BIN
audio/ambient_birds2.wav
Normal file
Binary file not shown.
BIN
audio/ambient_bugs.wav
Normal file
BIN
audio/ambient_bugs.wav
Normal file
Binary file not shown.
BIN
audio/ambient_drip.wav
Normal file
BIN
audio/ambient_drip.wav
Normal file
Binary file not shown.
BIN
audio/anvil.wav
Normal file
BIN
audio/anvil.wav
Normal file
Binary file not shown.
BIN
audio/arrow_armor.wav
Normal file
BIN
audio/arrow_armor.wav
Normal file
Binary file not shown.
BIN
audio/arrow_hit.wav
Normal file
BIN
audio/arrow_hit.wav
Normal file
Binary file not shown.
BIN
audio/arrow_hit_flesh.wav
Normal file
BIN
audio/arrow_hit_flesh.wav
Normal file
Binary file not shown.
BIN
audio/attack_miss.wav
Normal file
BIN
audio/attack_miss.wav
Normal file
Binary file not shown.
BIN
audio/cave_howl.wav
Normal file
BIN
audio/cave_howl.wav
Normal file
Binary file not shown.
BIN
audio/iceburst.wav
Normal file
BIN
audio/iceburst.wav
Normal file
Binary file not shown.
BIN
audio/knife_deploy1.wav
Normal file
BIN
audio/knife_deploy1.wav
Normal file
Binary file not shown.
BIN
audio/longbladAWAY.wav
Normal file
BIN
audio/longbladAWAY.wav
Normal file
Binary file not shown.
BIN
audio/longbladOUT.wav
Normal file
BIN
audio/longbladOUT.wav
Normal file
Binary file not shown.
BIN
audio/spell_beam.wav
Normal file
BIN
audio/spell_beam.wav
Normal file
Binary file not shown.
BIN
audio/spell_explode.wav
Normal file
BIN
audio/spell_explode.wav
Normal file
Binary file not shown.
BIN
audio/spell_flare.wav
Normal file
BIN
audio/spell_flare.wav
Normal file
Binary file not shown.
BIN
audio/spell_heal.wav
Normal file
BIN
audio/spell_heal.wav
Normal file
Binary file not shown.
BIN
audio/swing_1.wav
Normal file
BIN
audio/swing_1.wav
Normal file
Binary file not shown.
BIN
audio/swing_2.wav
Normal file
BIN
audio/swing_2.wav
Normal file
Binary file not shown.
BIN
audio/swing_3.wav
Normal file
BIN
audio/swing_3.wav
Normal file
Binary file not shown.
BIN
audio/swing_4.wav
Normal file
BIN
audio/swing_4.wav
Normal file
Binary file not shown.
BIN
audio/swish2.WAV
Normal file
BIN
audio/swish2.WAV
Normal file
Binary file not shown.
BIN
audio/sword_armor.wav
Normal file
BIN
audio/sword_armor.wav
Normal file
Binary file not shown.
BIN
audio/sword_flesh.wav
Normal file
BIN
audio/sword_flesh.wav
Normal file
Binary file not shown.
BIN
audio/sword_hit.wav
Normal file
BIN
audio/sword_hit.wav
Normal file
Binary file not shown.
BIN
autoload.cs.dso
Normal file
BIN
autoload.cs.dso
Normal file
Binary file not shown.
84
characters/0/CyberClark.cs
Normal file
84
characters/0/CyberClark.cs
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new ScriptObject(CDATA0) {
|
||||
|
||||
suffix2 = "1";
|
||||
idName4 = "CrystalBluePotion";
|
||||
PlayerSkill4 = "1.6";
|
||||
ClientDatatmpLastSaveVer = "1.47";
|
||||
PlayerSkill1 = "0.6";
|
||||
PlayerSkill20 = "1";
|
||||
questdataT2RPG_WorldMap_QuestFirstQuest_0 = "0";
|
||||
questdataT2RPG_WorldMap_QuestDeliveryQuest_0 = "0";
|
||||
SkillCounter9 = "25";
|
||||
idName3 = "Club";
|
||||
PlayerSkill17 = "0.5";
|
||||
questdataT2RPG_WorldMap_QuestDeliveryQuest_1 = "0";
|
||||
equipped1 = "0";
|
||||
invl0 = "3%BluePotion%1 3%CrystalBluePotion%1 3%Club%1 ";
|
||||
PlayerSkill14 = "2";
|
||||
ClientDatazone = "1590";
|
||||
invcountClub_3_1 = "1";
|
||||
prefix4 = "3";
|
||||
PlayerSkill11 = "1.8";
|
||||
idcount1 = "Pick Axe";
|
||||
countCrystalxBluexPotion = "4";
|
||||
ClientDataSP = "120";
|
||||
ClientDataBANK = "2500";
|
||||
PlayerSkill8 = "0.7";
|
||||
ClientDataCLASS = "Thief";
|
||||
idcount2 = "Blue Potion";
|
||||
prefix3 = "3";
|
||||
PlayerSkill5 = "0.2";
|
||||
equipped3 = "0";
|
||||
ClientDatainsleepzone = "0";
|
||||
ClientDataLCK = "11";
|
||||
PlayerSkill2 = "1.8";
|
||||
PlayerSkill21 = "1.5";
|
||||
SkillCounter2 = "3.35";
|
||||
suffix4 = "1";
|
||||
PlayerSkill18 = "1";
|
||||
equipped = "0";
|
||||
PlayerSkill15 = "0.3";
|
||||
ClientDatatemplvl = "1";
|
||||
ClientDataguardzone = "1589";
|
||||
idName1 = "PickAxe";
|
||||
invcountBluePotion_3_1 = "3";
|
||||
suffix3 = "1";
|
||||
ClientDataLCKconsequence = "death";
|
||||
ClientDatabounty = "0";
|
||||
PlayerSkill12 = "0.2";
|
||||
invcountPickAxe_3_1 = "0";
|
||||
idName2 = "BluePotion";
|
||||
countClub = "3";
|
||||
ClientDataEXP = "0";
|
||||
PlayerSkill9 = "1";
|
||||
SkillCounter20 = "8";
|
||||
ClientDatalastzone = "1590";
|
||||
ClientDataRACE = "MaleHuman";
|
||||
ClientDataRankPoints = "0";
|
||||
PlayerSkill6 = "0.2";
|
||||
ClientDatatmpname = "CyberClark";
|
||||
PlayerSkill3 = "0.5";
|
||||
ClientDatatmprecall = "0";
|
||||
ClientDataGROUP = "Rogue";
|
||||
randcount = "4";
|
||||
prefix1 = "3";
|
||||
invcountCrystalBluePotion_3_1 = "2";
|
||||
idcount4 = "Crystal Blue Potion";
|
||||
PlayerSkill19 = "1";
|
||||
SkillCounter3 = "2.4";
|
||||
prefix2 = "3";
|
||||
PlayerSkill16 = "0.1";
|
||||
SkillCounter8 = "33";
|
||||
idcount3 = "Club";
|
||||
PlayerSkill13 = "0.1";
|
||||
PlayerSkill10 = "1.8";
|
||||
countPickxAxe = "1";
|
||||
suffix1 = "1";
|
||||
countBluexPotion = "2";
|
||||
ClientDataCOINS = "0";
|
||||
ClientDatadefaultTalk = "#global";
|
||||
PlayerSkill7 = "0.2";
|
||||
ClientDataHasLoadedAndSpawned = "1";
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
BIN
characters/0/CyberClark.cs.dso
Normal file
BIN
characters/0/CyberClark.cs.dso
Normal file
Binary file not shown.
98
characters/0/KTest.cs
Normal file
98
characters/0/KTest.cs
Normal file
|
|
@ -0,0 +1,98 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new ScriptObject(CDATA0) {
|
||||
|
||||
suffix2 = "1";
|
||||
idName4 = "CrystalBluePotion";
|
||||
PlayerSkill4 = "1.6";
|
||||
countBroadSword = "5";
|
||||
SkillCounter21 = "2";
|
||||
ClientDatatmpLastSaveVer = "1.47";
|
||||
PlayerSkill1 = "2";
|
||||
PlayerSkill20 = "0.8";
|
||||
questdataT2RPG_WorldMap_QuestFirstQuest_0 = "0";
|
||||
questdataT2RPG_WorldMap_QuestDeliveryQuest_0 = "2";
|
||||
suffix5 = "1";
|
||||
ClientDataQuickBind0 = "#cast fireball";
|
||||
idName3 = "Club";
|
||||
PlayerSkill17 = "1.2";
|
||||
equipped1 = "0";
|
||||
invl0 = "3%PickAxe%1 3%BluePotion%1 3%CrystalBluePotion%1 3%BroadSword%1 3%StuddedLeatherArmor%1 3%Club%1 ";
|
||||
questdataT2RPG_WorldMap_QuestDeliveryQuest_1 = "0";
|
||||
PlayerSkill14 = "0.2";
|
||||
ClientDatazone = "1589";
|
||||
invcountClub_3_1 = "1";
|
||||
prefix4 = "3";
|
||||
PlayerSkill11 = "0.2";
|
||||
idName6 = "StuddedLeatherArmor";
|
||||
idcount1 = "Pick Axe";
|
||||
countCrystalxBluexPotion = "4";
|
||||
ClientDataSP = "120";
|
||||
ClientDataBANK = "2500";
|
||||
PlayerSkill8 = "3";
|
||||
ClientDataCLASS = "Fighter";
|
||||
ClientDatanextOnHear = "1253.49";
|
||||
ClientDataWeaponInHand = "3";
|
||||
idcount2 = "Blue Potion";
|
||||
prefix3 = "3";
|
||||
PlayerSkill5 = "0.1";
|
||||
ClientDatainsleepzone = "0";
|
||||
equipped3 = "1";
|
||||
invcountStuddedLeatherArmor_3_1 = "1";
|
||||
ClientDataLCK = "12";
|
||||
PlayerSkill2 = "1.5";
|
||||
PlayerSkill21 = "1";
|
||||
idcount5 = "BroadSword";
|
||||
suffix4 = "1";
|
||||
PlayerSkill18 = "0.8";
|
||||
equipped = "0";
|
||||
prefix6 = "3";
|
||||
PlayerSkill15 = "0.9";
|
||||
ClientDatatemplvl = "1";
|
||||
ClientDataguardzone = "1589";
|
||||
idName1 = "PickAxe";
|
||||
invcountBluePotion_3_1 = "3";
|
||||
suffix3 = "1";
|
||||
ClientDataLCKconsequence = "death";
|
||||
ClientDatabounty = "0";
|
||||
PlayerSkill12 = "1.6";
|
||||
invcountPickAxe_3_1 = "1";
|
||||
idName2 = "BluePotion";
|
||||
countClub = "3";
|
||||
ClientDataEXP = "0";
|
||||
PlayerSkill9 = "1.6";
|
||||
SkillCounter20 = "16";
|
||||
invcountBroadSword_3_1 = "1";
|
||||
ClientDatalastzone = "1589";
|
||||
ClientDataRACE = "MaleHuman";
|
||||
ClientDataRankPoints = "0";
|
||||
PlayerSkill6 = "0.1";
|
||||
idName5 = "BroadSword";
|
||||
suffix6 = "1";
|
||||
ClientDatatmpname = "KTest";
|
||||
PlayerSkill3 = "2";
|
||||
ClientDatatmprecall = "0";
|
||||
ClientDataGROUP = "Warrior";
|
||||
randcount = "6";
|
||||
prefix1 = "3";
|
||||
invcountCrystalBluePotion_3_1 = "2";
|
||||
idcount4 = "Crystal Blue Potion";
|
||||
PlayerSkill19 = "1";
|
||||
prefix2 = "3";
|
||||
PlayerSkill16 = "0.1";
|
||||
SkillCounter8 = "0";
|
||||
idcount3 = "Club";
|
||||
PlayerSkill13 = "1.5";
|
||||
prefix5 = "3";
|
||||
countStuddedxLeatherxArmor = "6";
|
||||
PlayerSkill10 = "0.2";
|
||||
ClientDatacampPos = "-324.449 901.801 51.3003 0 0 1 1.20667";
|
||||
countPickxAxe = "1";
|
||||
suffix1 = "1";
|
||||
countBluexPotion = "2";
|
||||
ClientDataCOINS = "0";
|
||||
ClientDatadefaultTalk = "#global";
|
||||
PlayerSkill7 = "0.1";
|
||||
ClientDataHasLoadedAndSpawned = "1";
|
||||
idcount6 = "Studded Leather Armor";
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
192
characters/0/Meow.cs
Normal file
192
characters/0/Meow.cs
Normal file
|
|
@ -0,0 +1,192 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new ScriptObject(CDATA0) {
|
||||
|
||||
PlayerSkill15 = "0.9";
|
||||
ClientDataHasLoadedAndSpawned = "1";
|
||||
SkillCounter8 = "24";
|
||||
countStuddedxLeatherxArmor = "6";
|
||||
countKnife = "8";
|
||||
ClientDataTagSkill3 = "9";
|
||||
idName11 = "Granite";
|
||||
suffix13 = "1";
|
||||
suffix14 = "1";
|
||||
countWarAxe = "17";
|
||||
countGnollxHide = "18";
|
||||
idcount18 = "Gnoll Hide";
|
||||
idName1 = "PickAxe";
|
||||
invcountBluePotion_3_1 = "4";
|
||||
suffix3 = "1";
|
||||
ClientDataLCKconsequence = "death";
|
||||
ClientDatabounty = "0";
|
||||
PlayerSkill12 = "1.6";
|
||||
ClientDataQuickBind0 = "#say hi";
|
||||
ClientDataQuickBind1 = "#say buy";
|
||||
countSmallxRock = "9";
|
||||
idName10 = "Clay";
|
||||
invcountGranite_3_1 = "0";
|
||||
idName12 = "Tin";
|
||||
ClientDataArmorInBody = "6";
|
||||
equipped16 = "1";
|
||||
idName17 = "WarAxe";
|
||||
invcountPickAxe_3_1 = "2";
|
||||
idName2 = "BluePotion";
|
||||
countClub = "3";
|
||||
ClientDataEXP = "7002";
|
||||
PlayerSkill9 = "115.2";
|
||||
SkillCounter19 = "0";
|
||||
suffix15 = "1";
|
||||
equipped15 = "0";
|
||||
prefix16 = "3";
|
||||
ClientDataRACE = "MaleHuman";
|
||||
ClientDataRankPoints = "0";
|
||||
PlayerSkill6 = "0.1";
|
||||
equipped1 = "0";
|
||||
SkillCounter21 = "4";
|
||||
suffix6 = "1";
|
||||
idcount7 = "ShortSword";
|
||||
idName8 = "Knife";
|
||||
invcountClay_3_1 = "0";
|
||||
ClientDataArmorInFeet = "16";
|
||||
ClientDatatmpname = "Meow";
|
||||
PlayerSkill3 = "2";
|
||||
ClientDatatmprecall = "0";
|
||||
idcount9 = "Small Rock";
|
||||
invcountTin_3_1 = "0";
|
||||
idcount13 = "Copper";
|
||||
idcount14 = "Quartz";
|
||||
countLeatherxBoots = "16";
|
||||
prefix1 = "3";
|
||||
invcountCrystalBluePotion_3_1 = "2";
|
||||
idcount4 = "Crystal Blue Potion";
|
||||
PlayerSkill19 = "67";
|
||||
idcount5 = "BroadSword";
|
||||
ClientDataTagSkill1 = "1";
|
||||
prefix11 = "3";
|
||||
invcountSling_2_1 = "0";
|
||||
idName18 = "GnollHide";
|
||||
prefix2 = "3";
|
||||
PlayerSkill16 = "0.1";
|
||||
ClientDataCLASS = "Fighter";
|
||||
equipped = "0";
|
||||
prefix10 = "3";
|
||||
prefix12 = "3";
|
||||
ClientDataWeaponInHand = "3";
|
||||
idcount15 = "Worn Sling";
|
||||
prefix17 = "3";
|
||||
idcount3 = "Club";
|
||||
PlayerSkill13 = "36";
|
||||
ClientDatapartylist = "1834,";
|
||||
prefix8 = "3";
|
||||
equipped6 = "1";
|
||||
suffix16 = "1";
|
||||
PlayerSkill10 = "0.2";
|
||||
ClientDatacampPos = "-3011.76 -1496.72 112.298 0 0 1 2.21111";
|
||||
invcountShortSword_3_1 = "0";
|
||||
idName7 = "ShortSword";
|
||||
countGranite = "11";
|
||||
countPickxAxe = "1";
|
||||
suffix1 = "1";
|
||||
countBluexPotion = "2";
|
||||
ClientDataCOINS = "2304";
|
||||
ClientDatadefaultTalk = "#global";
|
||||
PlayerSkill7 = "0.1";
|
||||
SkillCounter20 = "32";
|
||||
invcountStuddedLeatherArmor_3_1 = "1";
|
||||
idcount6 = "Studded Leather Armor";
|
||||
SkillCounter9 = "8";
|
||||
idName9 = "SmallRock";
|
||||
idName13 = "Copper";
|
||||
idName14 = "Quartz";
|
||||
suffix2 = "1";
|
||||
idName4 = "CrystalBluePotion";
|
||||
PlayerSkill4 = "1.6";
|
||||
ClientDatatemplvl = "8";
|
||||
ClientDataguardzone = "1589";
|
||||
invcountBroadSword_3_1 = "1";
|
||||
idName5 = "BroadSword";
|
||||
countClay = "10";
|
||||
suffix11 = "1";
|
||||
countTin = "12";
|
||||
ClientDatablockCleave = "0";
|
||||
prefix18 = "3";
|
||||
ClientDatatmpLastSaveVer = "1.47";
|
||||
PlayerSkill1 = "116";
|
||||
PlayerSkill20 = "0.8";
|
||||
ClientDataSpellCastStep = "0";
|
||||
suffix8 = "1";
|
||||
suffix10 = "1";
|
||||
suffix12 = "1";
|
||||
invcountCopper_3_1 = "0";
|
||||
invcountQuartz_3_1 = "0";
|
||||
idName15 = "Sling";
|
||||
idcount16 = "Leather Boots";
|
||||
suffix17 = "1";
|
||||
invcountGnollHide_3_1 = "0";
|
||||
randcount = "18";
|
||||
idName3 = "Club";
|
||||
PlayerSkill17 = "84";
|
||||
equipped3 = "1";
|
||||
questdataT2RPG_WorldMap_QuestFirstQuest_0 = "0";
|
||||
questdataT2RPG_WorldMap_QuestDeliveryQuest_0 = "0";
|
||||
prefix7 = "3";
|
||||
invcountKnife_3_1 = "0";
|
||||
ClientDataTagSkill2 = "17";
|
||||
invcountSmallRock_3_1 = "0";
|
||||
equipped5 = "0";
|
||||
ClientDataQuickBind2 = "#cleave";
|
||||
countWornxSling = "15";
|
||||
SkillCounter4 = "0.05";
|
||||
invcountWarAxe_3_1 = "0";
|
||||
equipped17 = "0";
|
||||
PlayerSkill14 = "0.2";
|
||||
invl0 = "3%BluePotion%1 3%Club%1 3%CrystalBluePotion%1 3%BroadSword%1 3%StuddedLeatherArmor%1 3%LeatherBoots%1 3%PickAxe%1 ";
|
||||
questdataT2RPG_WorldMap_QuestDeliveryQuest_1 = "0";
|
||||
prefix9 = "3";
|
||||
SkillCounter1 = "17.05";
|
||||
invcountClub_3_1 = "1";
|
||||
prefix4 = "3";
|
||||
PlayerSkill11 = "0.2";
|
||||
ClientDataGROUP = "Warrior";
|
||||
prefix5 = "3";
|
||||
idName6 = "StuddedLeatherArmor";
|
||||
idcount11 = "Granite";
|
||||
prefix13 = "3";
|
||||
prefix14 = "3";
|
||||
invcountLeatherBoots_3_1 = "1";
|
||||
idcount1 = "Pick Axe";
|
||||
countCrystalxBluexPotion = "4";
|
||||
ClientDataSP = "8";
|
||||
ClientDataBANK = "1532";
|
||||
PlayerSkill8 = "93";
|
||||
ClientDatanextOnHear = "3331.11";
|
||||
SkillCounter2 = "1";
|
||||
equipped8 = "0";
|
||||
idcount10 = "Clay";
|
||||
idcount12 = "Tin";
|
||||
SkillCounter13 = "0";
|
||||
idcount17 = "WarAxe";
|
||||
suffix18 = "1";
|
||||
idcount2 = "Blue Potion";
|
||||
prefix3 = "3";
|
||||
PlayerSkill5 = "1";
|
||||
ClientDatainsleepzone = "0";
|
||||
countShortSword = "7";
|
||||
suffix7 = "1";
|
||||
ClientDataNextHitCleave = "0";
|
||||
prefix15 = "2";
|
||||
idName16 = "LeatherBoots";
|
||||
ClientDataLCK = "14";
|
||||
PlayerSkill2 = "61.5";
|
||||
PlayerSkill21 = "1";
|
||||
idcount8 = "Knife";
|
||||
suffix9 = "1";
|
||||
suffix4 = "1";
|
||||
PlayerSkill18 = "0.8";
|
||||
countBroadSword = "5";
|
||||
suffix5 = "1";
|
||||
prefix6 = "3";
|
||||
ClientDatapartyOwned = "1";
|
||||
countCopper = "13";
|
||||
countQuartz = "14";
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
108
characters/0/Sunky.cs
Normal file
108
characters/0/Sunky.cs
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new ScriptObject(CDATA0) {
|
||||
|
||||
suffix2 = "1";
|
||||
idName4 = "CrystalBluePotion";
|
||||
PlayerSkill4 = "0.8";
|
||||
SkillCounter21 = "3";
|
||||
ClientDatatmpLastSaveVer = "1.47";
|
||||
PlayerSkill1 = "0.3";
|
||||
PlayerSkill20 = "7.5";
|
||||
questdataT2RPG_WorldMap_QuestFirstQuest_0 = "0";
|
||||
questdataT2RPG_WorldMap_QuestDeliveryQuest_0 = "0";
|
||||
ClientDataQuickBind0 = "#say hi";
|
||||
suffix5 = "1";
|
||||
invcountLeatherBoots_3_1 = "1";
|
||||
suffix7 = "1";
|
||||
SkillCounter9 = "1";
|
||||
idName3 = "Club";
|
||||
PlayerSkill17 = "0.7";
|
||||
equipped1 = "0";
|
||||
questdataT2RPG_WorldMap_QuestDeliveryQuest_1 = "0";
|
||||
invl0 = "3%BluePotion%1 3%CrystalBluePotion%1 3%BasicRobe%1 3%LeatherBoots%1 3%QuarterStaff%1 3%PickAxe%1 ";
|
||||
PlayerSkill14 = "0.1";
|
||||
ClientDatazone = "1591";
|
||||
invcountClub_3_1 = "0";
|
||||
prefix4 = "3";
|
||||
PlayerSkill11 = "0.1";
|
||||
idName6 = "LeatherBoots";
|
||||
idcount1 = "Pick Axe";
|
||||
countCrystalxBluexPotion = "4";
|
||||
ClientDataSP = "120";
|
||||
ClientDataBANK = "2500";
|
||||
PlayerSkill8 = "0.6";
|
||||
ClientDataCLASS = "Mage";
|
||||
ClientDatanextOnHear = "3100.66";
|
||||
idcount2 = "Blue Potion";
|
||||
prefix3 = "3";
|
||||
PlayerSkill5 = "2";
|
||||
equipped3 = "0";
|
||||
ClientDatainsleepzone = "0";
|
||||
invcountBasicRobe_3_1 = "1";
|
||||
ClientDataLCK = "13";
|
||||
PlayerSkill2 = "0.8";
|
||||
PlayerSkill21 = "1";
|
||||
idcount5 = "Basic Robe";
|
||||
idcount7 = "QuarterStaff";
|
||||
suffix4 = "1";
|
||||
PlayerSkill18 = "0.1";
|
||||
equipped = "0";
|
||||
prefix6 = "3";
|
||||
invcountQuarterStaff_3_1 = "1";
|
||||
PlayerSkill15 = "1";
|
||||
ClientDatatemplvl = "1";
|
||||
ClientDataguardzone = "1589";
|
||||
ClientDataQuickBind1 = "#cast fireball";
|
||||
idName1 = "PickAxe";
|
||||
invcountBluePotion_3_1 = "3";
|
||||
suffix3 = "1";
|
||||
ClientDataLCKconsequence = "death";
|
||||
ClientDatabounty = "0";
|
||||
PlayerSkill12 = "0.1";
|
||||
countLeatherxBoots = "6";
|
||||
invcountPickAxe_3_1 = "1";
|
||||
idName2 = "BluePotion";
|
||||
countClub = "3";
|
||||
ClientDataEXP = "0";
|
||||
PlayerSkill9 = "0.5";
|
||||
SkillCounter20 = "7";
|
||||
ClientDatalastzone = "1597";
|
||||
ClientDataRACE = "MaleHuman";
|
||||
ClientDataRankPoints = "0";
|
||||
PlayerSkill6 = "0.6";
|
||||
idName5 = "BasicRobe";
|
||||
suffix6 = "1";
|
||||
idName7 = "QuarterStaff";
|
||||
ClientDatatmpname = "Sunky";
|
||||
PlayerSkill3 = "1";
|
||||
ClientDatatmprecall = "0";
|
||||
ClientDataGROUP = "Wizard";
|
||||
randcount = "7";
|
||||
prefix1 = "3";
|
||||
invcountCrystalBluePotion_3_1 = "2";
|
||||
idcount4 = "Crystal Blue Potion";
|
||||
PlayerSkill19 = "1";
|
||||
countBasicxRobe = "5";
|
||||
ClientDataQuickBind2 = "#say buy";
|
||||
SkillCounter3 = "0.05";
|
||||
prefix2 = "3";
|
||||
PlayerSkill16 = "2";
|
||||
SkillCounter8 = "43";
|
||||
idcount3 = "Club";
|
||||
PlayerSkill13 = "0.1";
|
||||
prefix5 = "3";
|
||||
prefix7 = "3";
|
||||
PlayerSkill10 = "0.1";
|
||||
ClientDatacampPos = "289.35 -260.86 74.0268 0 0 1 0.509761";
|
||||
countQuarterStaff = "7";
|
||||
countPickxAxe = "1";
|
||||
suffix1 = "1";
|
||||
countBluexPotion = "2";
|
||||
ClientDataCOINS = "0";
|
||||
ClientDatadefaultTalk = "#global";
|
||||
PlayerSkill7 = "1.2";
|
||||
ClientDataHasLoadedAndSpawned = "1";
|
||||
idcount6 = "Leather Boots";
|
||||
invcount_0_1 = "-4";
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
BIN
characters/0/Sunky.cs.dso
Normal file
BIN
characters/0/Sunky.cs.dso
Normal file
Binary file not shown.
86
characters/2492457/shinji.cs
Normal file
86
characters/2492457/shinji.cs
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new ScriptObject(CDATA2492457) {
|
||||
|
||||
idcount3 = "Club";
|
||||
invcountClub_3_1 = "1";
|
||||
SkillCounter2 = "0.15";
|
||||
equipped1 = "1";
|
||||
questdataT2RPG_WorldMap_QuestDeliveryQuest_0 = "0";
|
||||
ClientDatatemplvl = "1";
|
||||
invl0 = "3%PickAxe%1 3%BluePotion%1 3%Club%1 3%CrystalBluePotion%1 ";
|
||||
ClientDataSP = "120";
|
||||
PlayerSkill3 = "1";
|
||||
PlayerSkill2 = "0.3";
|
||||
prefix1 = "3";
|
||||
ClientDataEXP = "0";
|
||||
PlayerSkill4 = "0.2";
|
||||
idName3 = "Club";
|
||||
ClientDataGROUP = "Wizard";
|
||||
ClientDataRACE = "DeathKnight";
|
||||
ClientDataCLASS = "Conjurer";
|
||||
ClientDataHasLoadedAndSpawned = "1";
|
||||
suffix3 = "1";
|
||||
ClientDatatmpLastSaveVer = "1.46";
|
||||
PlayerSkill8 = "0.9";
|
||||
idName2 = "BluePotion";
|
||||
PlayerSkill18 = "0.5";
|
||||
idName1 = "PickAxe";
|
||||
SkillCounter9 = "77";
|
||||
PlayerSkill11 = "0.1";
|
||||
suffix4 = "1";
|
||||
PlayerSkill14 = "0.1";
|
||||
SkillCounter8 = "42";
|
||||
ClientDatatmprecall = "0";
|
||||
PlayerSkill16 = "1.5";
|
||||
ClientDataQuickBind2 = "#admin babybackbunny";
|
||||
PlayerSkill12 = "0.1";
|
||||
PlayerSkill15 = "0.5";
|
||||
equipped = "0";
|
||||
ClientDataguardzone = "1591";
|
||||
PlayerSkill17 = "0.6";
|
||||
PlayerSkill5 = "2";
|
||||
ClientDatatmpname = "shinji";
|
||||
PlayerSkill9 = "0.6";
|
||||
invcountPickAxe_3_1 = "1";
|
||||
ClientDataRankPoints = "0";
|
||||
randcount = "4";
|
||||
PlayerSkill1 = "0.6";
|
||||
ClientDatabounty = "0";
|
||||
countBluexPotion = "2";
|
||||
ClientDatacampPos = "-353.213 954.579 51.2515 0 0 1 3.08549";
|
||||
questdataT2RPG_WorldMap_QuestDeliveryQuest_1 = "0";
|
||||
ClientDataSpellCastStep = "0";
|
||||
countPickxAxe = "1";
|
||||
invcountBluePotion_3_1 = "3";
|
||||
PlayerSkill6 = "0.1";
|
||||
ClientDataLCK = "14";
|
||||
suffix1 = "1";
|
||||
PlayerSkill20 = "1.9";
|
||||
PlayerSkill7 = "2";
|
||||
PlayerSkill13 = "0.8";
|
||||
ClientDataBANK = "2500";
|
||||
countCrystalxBluexPotion = "4";
|
||||
idcount1 = "Pick Axe";
|
||||
ClientDataQuickBind3 = "#human";
|
||||
prefix2 = "3";
|
||||
equipped3 = "0";
|
||||
idcount4 = "Crystal Blue Potion";
|
||||
prefix4 = "3";
|
||||
countClub = "3";
|
||||
ClientDatadefaultTalk = "#global";
|
||||
PlayerSkill19 = "0.9";
|
||||
questdataT2RPG_WorldMap_QuestFirstQuest_0 = "0";
|
||||
PlayerSkill21 = "1.3";
|
||||
idcount2 = "Blue Potion";
|
||||
prefix3 = "3";
|
||||
PlayerSkill10 = "0.1";
|
||||
ClientDatainsleepzone = "0";
|
||||
idName4 = "CrystalBluePotion";
|
||||
invcountCrystalBluePotion_3_1 = "2";
|
||||
ClientDataWeaponInHand = "1";
|
||||
ClientDataCOINS = "7500";
|
||||
ClientDataLCKconsequence = "death";
|
||||
suffix2 = "1";
|
||||
ClientDatazone = "1591";
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
BIN
characters/2492457/shinji.cs.dso
Normal file
BIN
characters/2492457/shinji.cs.dso
Normal file
Binary file not shown.
697
console_end.cs
Normal file
697
console_end.cs
Normal file
|
|
@ -0,0 +1,697 @@
|
|||
//$pref::input::mouseenabled = true;//enable mouse4 mouse5
|
||||
if ( $pref::Shell::lastBackground > 4 )
|
||||
$pref::Shell::lastBackground = 0;
|
||||
else
|
||||
$pref::Shell::lastBackground++;
|
||||
|
||||
// load default controls:
|
||||
exec("scripts/controlDefaults.cs");
|
||||
|
||||
// override with control settings
|
||||
if ( $pref::Input::ActiveConfig !$= "" )
|
||||
exec( "prefs/" @ $pref::Input::ActiveConfig @ ".cs", false, true );
|
||||
|
||||
// ---------------------------------------------------------------------------------
|
||||
// z0dd - ZOD, 5/8/02. Moved here so scripters can use the message callback feature.
|
||||
// message.cs is loaded so autoexec can add new message callbacks
|
||||
exec("scripts/message.cs");
|
||||
|
||||
//exec any user created .cs files found in scripts/autoexec (order is that returned by the OS)
|
||||
function loadCustomScripts()
|
||||
{
|
||||
%path = "scripts/autoexec/*.cs";
|
||||
for( %file = findFirstFile( %path ); %file !$= ""; %file = findNextFile( %path ) )
|
||||
exec( %file );
|
||||
}
|
||||
loadCustomScripts();
|
||||
|
||||
// override settings from autoexec.cs
|
||||
exec("autoexec.cs");
|
||||
$LoginName = "";
|
||||
$LoginPassword = "";
|
||||
|
||||
//TINMAN hack to add a command line option for starting a bot match...
|
||||
if ($CmdLineBotCount !$= "")
|
||||
{
|
||||
$Host::BotCount = $CmdLineBotCount;
|
||||
}
|
||||
|
||||
// message.cs is loaded so autoexec can add new message callbacks
|
||||
// z0dd - ZOD, 5/8/02. Moved so scripters can use the message callback feature.
|
||||
//exec("scripts/message.cs");
|
||||
|
||||
//function to be called when the game exits
|
||||
function onExit()
|
||||
{
|
||||
if ( !isDemo() && isObject($IRCClient.tcp) )
|
||||
IRCClient::quit();
|
||||
|
||||
echo("exporting pref::* to ClientPrefs.cs");
|
||||
export("$pref::*", "prefs/ClientPrefs.cs", False);
|
||||
BanList::Export("prefs/banlist.cs");
|
||||
if ( $PlayingOnline )
|
||||
savePlayerDatabase();
|
||||
}
|
||||
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
|
||||
exec("scripts/LaunchLanGui.cs");
|
||||
exec("scripts/GameGui.cs");
|
||||
exec("scripts/ChooseFilterDlg.cs");
|
||||
exec("scripts/TrainingGui.cs");
|
||||
exec("scripts/webstuff.cs");
|
||||
exec("scripts/webemail.cs");
|
||||
exec("scripts/webbrowser.cs");
|
||||
exec("scripts/webtest.cs");
|
||||
exec("scripts/weblinks.cs");
|
||||
exec("scripts/OptionsDlg.cs");
|
||||
exec("scripts/EditChatMenuGui.cs");
|
||||
exec("scripts/scoreList.cs");
|
||||
exec("scripts/LobbyGui.cs");
|
||||
exec("scripts/DebriefGui.cs");
|
||||
exec("scripts/commonDialogs.cs");
|
||||
exec("scripts/client.cs");
|
||||
exec("scripts/rpgclient.cs");
|
||||
exec("scripts/server.cs");
|
||||
exec("scripts/hud.cs");
|
||||
exec("scripts/objectiveHud.cs");
|
||||
exec("scripts/vehicles/clientVehicleHud.cs");
|
||||
exec("scripts/inventoryHud.cs");
|
||||
exec("scripts/chatMenuHud.cs");
|
||||
exec("scripts/scoreScreen.cs");
|
||||
exec("scripts/loadingGui.cs");
|
||||
exec("scripts/helpGuiText.cs");
|
||||
exec("scripts/voiceChat.cs");
|
||||
exec("scripts/clientTasks.cs");
|
||||
exec("scripts/targetManager.cs");
|
||||
exec("scripts/gameCanvas.cs");
|
||||
exec("scripts/centerPrint.cs");
|
||||
exec("scripts/CreditsGui.cs");
|
||||
if (isDemo())
|
||||
exec("scripts/DemoEndGui.cs");
|
||||
exec("scripts/ChatGui.cs");
|
||||
|
||||
// see if the mission and type are valid
|
||||
// if they are they will be assigned into $Host::Map and $Host::MissionType
|
||||
//if($mission !$= "" && $missionType !$= "")
|
||||
|
||||
//validateMissionAndType($mission, $missionType);
|
||||
if($missiontype !$= "" && $missiontype !$= "DM" && $missiontype !$= "T2RPG" && $missionType !$= "RPG")
|
||||
{
|
||||
$mission = "";
|
||||
$missionType = "";
|
||||
}
|
||||
else
|
||||
{
|
||||
$Host::Map = $Mission;
|
||||
$Host::MissionType = $missionType;
|
||||
}
|
||||
if($LaunchMode $= "DedicatedServer")
|
||||
{
|
||||
enableWinConsole(true);
|
||||
$Host::Dedicated = true;
|
||||
$HostGameType = "Online";
|
||||
$ServerName = $Host::GameName;
|
||||
setNetPort($Host::Port);
|
||||
CreateServer($Host::Map, $Host::MissionType);
|
||||
return;
|
||||
}
|
||||
else if($LaunchMode $= "Console")
|
||||
{
|
||||
enableWinConsole(true);
|
||||
$Host::Dedicated = true;
|
||||
return;
|
||||
}
|
||||
else if($LaunchMode $= "NavBuild")
|
||||
{
|
||||
enableWinConsole(true);
|
||||
$Host::Dedicated = true;
|
||||
$ServerName = $Host::GameName;
|
||||
$Host::MissionType = $missionType;
|
||||
$Host::Map = $Mission;
|
||||
setNetPort($Host::Port);
|
||||
CreateServer($Mission, $missionType);
|
||||
return;
|
||||
}
|
||||
else if($LaunchMode $= "SpnBuild")
|
||||
{
|
||||
enableWinConsole(true);
|
||||
$Host::Dedicated = true;
|
||||
$ServerName = $Host::GameName;
|
||||
$Host::MissionType = $missionType;
|
||||
$Host::Map = $Mission;
|
||||
setNetPort($Host::Port);
|
||||
CreateServer($Mission, $missionType);
|
||||
return;
|
||||
}
|
||||
|
||||
function recordMovie(%movieName, %fps)
|
||||
{
|
||||
$timeAdvance = 1000 / %fps;
|
||||
$screenGrabThread = schedule("movieGrabScreen(" @ %movieName @ ", 0);", $timeAdvance);
|
||||
}
|
||||
|
||||
function movieGrabScreen(%movieName, %frameNumber)
|
||||
{
|
||||
if(%frameNumber < 10)
|
||||
%frameNumber = "0" @ %frameNumber;
|
||||
if(%frameNumber < 100)
|
||||
%frameNumber = "0" @ %frameNumber;
|
||||
if(%frameNumber < 1000)
|
||||
%frameNumber = "0" @ %frameNumber;
|
||||
if(%frameNumber < 10000)
|
||||
%frameNumber = "0" @ %frameNumber;
|
||||
screenshot(%movieName @ %frameNumber @ ".png");
|
||||
$screenGrabThread = schedule("movieGrabScreen(" @ %movieName @ "," @ %frameNumber + 1 @ ");", $timeAdvance);
|
||||
}
|
||||
|
||||
function stopMovie()
|
||||
{
|
||||
cancel($screenGrabThread);
|
||||
}
|
||||
|
||||
function loadGui(%gui)
|
||||
{
|
||||
exec("gui/" @ %gui @ ".gui");
|
||||
}
|
||||
|
||||
exec("scripts/clientAudio.cs");
|
||||
exec("gui/guiProfiles.cs");
|
||||
exec("scripts/recordings.cs");
|
||||
|
||||
// tool guis
|
||||
loadGui("GuiEditorGui");
|
||||
loadGui("consoleDlg");
|
||||
loadGui("InspectDlg");
|
||||
loadGui("CommonLoadDlg");
|
||||
loadGui("CommonSaveDlg");
|
||||
loadGui("FrameOverlayGui");
|
||||
loadGui("TribeAdminMemberDlg");
|
||||
loadGui("TSShowGui");
|
||||
loadGui("TSShowLoadDlg");
|
||||
loadGui("TSShowMiscDlg");
|
||||
loadGui("TSShowThreadControlDlg");
|
||||
loadGui("TSShowEditScale");
|
||||
loadGui("TSShowLightDlg");
|
||||
loadGui("TSShowTransitionDlg");
|
||||
loadGui("TSShowTranDurEditDlg");
|
||||
loadGui("TSShowDetailControlDlg");
|
||||
|
||||
// debugger GUI's
|
||||
function Debugger()
|
||||
{
|
||||
if(!$DebuggerLoaded)
|
||||
{
|
||||
loadGui("debuggerGui");
|
||||
loadGui("DebuggerBreakConditionDlg");
|
||||
loadGui("DebuggerConnectDlg");
|
||||
loadGui("DebuggerEditWatchDlg");
|
||||
loadGui("DebuggerWatchDlg");
|
||||
loadGui("DebuggerFindDlg");
|
||||
exec("scripts/debuggerGui.cs");
|
||||
$DebuggerLoaded = true;
|
||||
}
|
||||
Canvas.setContent(DebuggerGui);
|
||||
}
|
||||
|
||||
// test GUIs
|
||||
loadGui("GuiTestGui");
|
||||
|
||||
// common shell dialogs:
|
||||
loadGui("MessageBoxDlg");
|
||||
loadGui("MessagePopupDlg");
|
||||
loadGui("ShellLoadFileDlg");
|
||||
loadGui("ShellSaveFileDlg");
|
||||
|
||||
// menus
|
||||
loadGui("AddressDlg");
|
||||
loadGui("GenDialog");
|
||||
loadGui("LaunchGui");
|
||||
loadGui("LaunchToolbarDlg");
|
||||
loadGui("GameGui");
|
||||
loadGui("ChooseFilterDlg");
|
||||
loadGui("ServerInfoDlg");
|
||||
loadGui("EnterIPDlg");
|
||||
loadGui("FindServerDlg");
|
||||
loadGui("AdvancedHostDlg");
|
||||
loadGui("NewWarriorDlg");
|
||||
loadGui("JoinChatDlg");
|
||||
loadGui("ChannelKeyDlg");
|
||||
loadGui("ChatOptionsDlg");
|
||||
loadGui("ChannelOptionsDlg");
|
||||
loadGui("ChannelBanDlg");
|
||||
loadGui("FilterEditDlg");
|
||||
loadGui("PasswordDlg");
|
||||
loadGui("OptionsDlg");
|
||||
loadGui("DriverInfoDlg");
|
||||
loadGui("RemapDlg");
|
||||
loadGui("MouseConfigDlg");
|
||||
loadGui("JoystickConfigDlg");
|
||||
loadGui("EditChatMenuGui");
|
||||
loadGui("EditChatMenuDlg");
|
||||
loadGui("EditChatCommandDlg");
|
||||
loadGui("ChatGui");
|
||||
loadGui("EmailGui");
|
||||
loadGui("EmailBlockDlg");
|
||||
loadGui("EmailComposeDlg");
|
||||
loadGui("TribeAndWarriorBrowserGui");
|
||||
loadGui("TribePropertiesDlg");
|
||||
loadGui("WarriorPropertiesDlg");
|
||||
loadGui("BrowserSearchDlg");
|
||||
loadGui("BrowserEditInfoDlg");
|
||||
loadGui("CreateTribeDlg");
|
||||
loadGui("RecordingsDlg");
|
||||
loadGui("DemoLoadProgressDlg");
|
||||
loadGui("DemoRenameFileDlg");
|
||||
loadGui("DemoPlaybackDlg");
|
||||
loadGui("TrainingGui");
|
||||
loadGui("SinglePlayerEscapeDlg");
|
||||
loadGui("LobbyGui");
|
||||
loadGui("DebriefGui");
|
||||
loadGui("CreditsGui");
|
||||
if (isDemo())
|
||||
loadGui("DemoEndGui");
|
||||
loadGui("MoveThreadDlg");
|
||||
loadGui("NewMissionGui");
|
||||
loadGui("ChatDlg");
|
||||
loadGui("PlayGui");
|
||||
loadGui("PanoramaGui");
|
||||
loadGui("LoadingGui");
|
||||
loadGui("TestGui");
|
||||
//exec IS gui!
|
||||
exec("gui/ISGameMenu.cs");
|
||||
exec("gui/RPGshopScreen.cs");
|
||||
exec("gui/RPGinventoryScreen.cs");//odd this one isnt loading correctly.
|
||||
exec("gui/RPGStatscreen.cs");
|
||||
exec("gui/RPGbottomprint.cs");
|
||||
exec("gui/GuildRegister.cs");
|
||||
exec("gui/GuildManagementGUI.cs");
|
||||
exec("gui/RPGQuickCastGui.cs");
|
||||
exec("scripts/ISCredits.cs");
|
||||
exec("scripts/RPGLoadscreen.cs");
|
||||
exec("scripts/RPGEscapeMenu.cs");
|
||||
exec("scripts/RPGEnterZone.cs");
|
||||
loadGui("RPGZoneEntry");
|
||||
loadGui("RPGLoadingScreen");
|
||||
loadGui("ISCredits");
|
||||
loadGui("RPGEscapeMenu");
|
||||
|
||||
// is specific client script load
|
||||
exec("scripts/playlist.cs");
|
||||
exec("prefs/RPGplaylist.cs");
|
||||
export("$Music::*", "prefs/RPGplaylist.cs");//export the music files
|
||||
|
||||
// HUD GUI's:
|
||||
loadGui("HUDDlgs");
|
||||
|
||||
// TR2 Huds - WE WILL NOT LOAD THESE FOR IS DUE TO PROBLEMS THEY MAY CAUSE
|
||||
//exec("prefs/TR2HudPrefs.cs");
|
||||
//exec("scripts/TR2BonusHud.cs");
|
||||
//exec("scripts/TR2EventHud.cs");
|
||||
//exec("scripts/TR2FlagToss.cs");
|
||||
|
||||
// terraformer GUI's
|
||||
loadGui("helpTextGui");
|
||||
|
||||
//
|
||||
|
||||
loadGui("InteriorPreviewGui");
|
||||
loadGui("InteriorDebug");
|
||||
exec("scripts/editor.cs");
|
||||
loadGui("SceneLightingGui");
|
||||
loadGui("InspectAddFieldDlg");
|
||||
|
||||
loadGui("PickTeamDlg");
|
||||
|
||||
loadGui("DetailSetDlg");
|
||||
|
||||
loadGui("IHVTest");
|
||||
|
||||
// Load material properties
|
||||
echo("Load Material Properties:");
|
||||
//exec("textures/badlands/badlandsPropMap.cs");
|
||||
//exec("textures/desert/desertPropMap.cs");
|
||||
//exec("textures/ice/icePropMap.cs");
|
||||
//exec("textures/lava/lavaPropMap.cs");
|
||||
//exec("textures/lush/lushPropMap.cs");
|
||||
exec("scripts/badlandsPropMap.cs");
|
||||
exec("scripts/desertPropMap.cs");
|
||||
exec("scripts/icePropMap.cs");
|
||||
exec("scripts/lavaPropMap.cs");
|
||||
exec("scripts/lushPropMap.cs");
|
||||
|
||||
// commander map
|
||||
//dont need the com map
|
||||
//exec("scripts/commanderProfiles.cs");
|
||||
//exec("scripts/commanderMap.cs");
|
||||
//exec("scripts/commanderMapHelpText.cs");
|
||||
|
||||
//loadGui(CommanderMapGui);
|
||||
loadGui(cmdMapHelpText);
|
||||
loadGui(TaskHudDlg);
|
||||
|
||||
|
||||
function frameCounter()
|
||||
{
|
||||
return " FPS: " @ $fps::real @
|
||||
" mspf: " @ 1000 / $fps::real;
|
||||
}
|
||||
|
||||
function terrMetrics()
|
||||
{
|
||||
return frameCounter() @
|
||||
" L0: " @ $T2::levelZeroCount @
|
||||
" FMC: " @ $T2::fullMipCount @
|
||||
" DTC: " @ $T2::dynamicTextureCount @
|
||||
" UNU: " @ $T2::unusedTextureCount @
|
||||
" STC: " @ $T2::staticTextureCount @
|
||||
" DTSU: " @ $T2::textureSpaceUsed @
|
||||
" STSU: " @ $T2::staticTSU @
|
||||
" FRB: " @ $T2::FogRejections;
|
||||
}
|
||||
|
||||
function triMetrics()
|
||||
{
|
||||
return frameCounter() @
|
||||
" TC: " @ $OpenGL::triCount0 + $OpenGL::triCount1 + $OpenGL::triCount2 + $OpenGL::triCount3 @
|
||||
" PC: " @ $OpenGL::primCount0 + $OpenGL::primCount1 + $OpenGL::primCount2 + $OpenGL::primCount3 @
|
||||
" T_T: " @ $OpenGL::triCount1 @
|
||||
" T_P: " @ $OpenGL::primCount1 @
|
||||
" I_T: " @ $OpenGL::triCount2 @
|
||||
" I_P: " @ $OpenGL::primCount2 @
|
||||
" TS_T: " @ $OpenGL::triCount3 @
|
||||
" TS_P: " @ $OpenGL::primCount3 @
|
||||
" ?_T: " @ $OpenGL::triCount0 @
|
||||
" ?_P: " @ $OpenGL::primCount0;
|
||||
}
|
||||
|
||||
function interiorMetrics()
|
||||
{
|
||||
return frameCounter() @
|
||||
" NTL: " @ $Video::numTexelsLoaded @
|
||||
" TRP: " @ $Video::texResidentPercentage @
|
||||
" INP: " @ $Metrics::Interior::numPrimitives @
|
||||
" INT: " @ $Matrics::Interior::numTexturesUsed @
|
||||
" INO: " @ $Metrics::Interior::numInteriors;
|
||||
}
|
||||
|
||||
function textureMetrics()
|
||||
{
|
||||
return frameCounter() @
|
||||
" NTL: " @ $Video::numTexelsLoaded @
|
||||
" TRP: " @ $Video::texResidentPercentage @
|
||||
" TCM: " @ $Video::textureCacheMisses;
|
||||
}
|
||||
|
||||
function waterMetrics()
|
||||
{
|
||||
return frameCounter() @
|
||||
" Tri#: " @ $T2::waterTriCount @
|
||||
" Pnt#: " @ $T2::waterPointCount @
|
||||
" Hz#: " @ $T2::waterHazePointCount;
|
||||
}
|
||||
|
||||
function timeMetrics()
|
||||
{
|
||||
return frameCounter() @ " Time: " @ getSimTime() @ " Mod: " @ getSimTime() % 32;
|
||||
}
|
||||
|
||||
function vehicleMetrics()
|
||||
{
|
||||
return frameCounter() @
|
||||
" R: " @ $Vehicle::retryCount @
|
||||
" C: " @ $Vehicle::searchCount @
|
||||
" P: " @ $Vehicle::polyCount @
|
||||
" V: " @ $Vehicle::vertexCount;
|
||||
}
|
||||
|
||||
function audioMetrics()
|
||||
{
|
||||
return frameCounter() @
|
||||
" OH: " @ $Audio::numOpenHandles @
|
||||
" OLH: " @ $Audio::numOpenLoopingHandles @
|
||||
" OVH: " @ $Audio::numOpenVoiceHandles @
|
||||
" AS: " @ $Audio::numActiveStreams @
|
||||
" NAS: " @ $Audio::numNullActiveStreams @
|
||||
" LAS: " @ $Audio::numActiveLoopingStreams @
|
||||
" VAS: " @ $Audio::numActiveVoiceStreams @
|
||||
" LS: " @ $Audio::numLoopingStreams @
|
||||
" ILS: " @ $Audio::numInactiveLoopingStreams @
|
||||
" CLS: " @ $Audio::numCulledLoopingStreams @
|
||||
" MEM: " @ $Audio::memUsage @
|
||||
" DYN: " @ $Audio::dynamicMemUsage @
|
||||
" / " @ $Audio::dynamicMemSize @
|
||||
" CNT: " @ $Audio::dynamicBufferCount @
|
||||
" / " @ $Audio::bufferCount;
|
||||
}
|
||||
|
||||
function DebugMetrics()
|
||||
{
|
||||
return frameCounter() @
|
||||
" NTL: " @ $Video::numTexelsLoaded @
|
||||
" TRP: " @ $Video::texResidentPercentage @
|
||||
" NP: " @ $Metrics::numPrimitives @
|
||||
" NT: " @ $Metrics::numTexturesUsed @
|
||||
" NO: " @ $Metrics::numObjectsRendered;
|
||||
}
|
||||
|
||||
function showMapperMetrics( %expr )
|
||||
{
|
||||
GLEnableMetrics( %expr );
|
||||
|
||||
if( Canvas.getContent() != PlayGui.getId() )
|
||||
metricsIMain.setVisible( %expr );
|
||||
else
|
||||
metricsMain.setVisible( %expr );
|
||||
}
|
||||
|
||||
function showTerr()
|
||||
{
|
||||
show("terrMetrics()");
|
||||
}
|
||||
|
||||
function showTri()
|
||||
{
|
||||
GLEnableMetrics(true);
|
||||
show("triMetrics()");
|
||||
}
|
||||
|
||||
function showTime()
|
||||
{
|
||||
show("timeMetrics()");
|
||||
}
|
||||
|
||||
function showWater()
|
||||
{
|
||||
show("waterMetrics()");
|
||||
}
|
||||
|
||||
function showTexture()
|
||||
{
|
||||
show("textureMetrics()");
|
||||
}
|
||||
|
||||
function showInterior()
|
||||
{
|
||||
$fps::virtual = 0;
|
||||
$Interior::numPolys = 0;
|
||||
$Interior::numTextures = 0;
|
||||
$Interior::numTexels = 0;
|
||||
$Interior::numLightmaps = 0;
|
||||
$Interior::numLumels = 0;
|
||||
show("interiorMetrics()");
|
||||
}
|
||||
|
||||
function showVehicle()
|
||||
{
|
||||
show("vehicleMetrics()");
|
||||
}
|
||||
|
||||
function showAudio()
|
||||
{
|
||||
show("audioMetrics()");
|
||||
}
|
||||
|
||||
function showDebug()
|
||||
{
|
||||
show("DebugMetrics()");
|
||||
}
|
||||
|
||||
|
||||
function show(%expr)
|
||||
{
|
||||
if(%expr $= "")
|
||||
{
|
||||
GLEnableMetrics(false);
|
||||
Canvas.popDialog(FrameOverlayGui);
|
||||
}
|
||||
else
|
||||
{
|
||||
Canvas.pushDialog(FrameOverlayGui, 1000);
|
||||
TextOverlayControl.setValue(%expr);
|
||||
}
|
||||
}
|
||||
//showInterior();
|
||||
|
||||
// check the launch mode:
|
||||
|
||||
Canvas.setCursor("DefaultCursor");
|
||||
|
||||
function dumpFile(%fileName)
|
||||
{
|
||||
%file = new FileObject();
|
||||
if(%file.openForRead(%fileName))
|
||||
{
|
||||
while(!%file.isEOF())
|
||||
echo(%file.readLine());
|
||||
}
|
||||
%file.delete();
|
||||
}
|
||||
|
||||
function doScreenShot(%val)
|
||||
{
|
||||
$pref::interior::showdetailmaps = false;
|
||||
if(!%val)
|
||||
screenShot("screen" @ $screenshotnum++ @ ".png");
|
||||
}
|
||||
|
||||
// set up the movement action map
|
||||
GlobalActionMap.bind(keyboard, "print", doScreenShot);
|
||||
GlobalActionMap.bindCmd(keyboard, "alt enter", "", "toggleFullScreen();");
|
||||
|
||||
// Get the joystick binding functions:
|
||||
exec( "scripts/joystickBind.cs" );
|
||||
|
||||
function clientCMDgetManagerID(%client)
|
||||
{
|
||||
$client = %client;
|
||||
}
|
||||
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- //
|
||||
|
||||
function abs(%val)
|
||||
{
|
||||
if (%val < 0)
|
||||
return %val * -1;
|
||||
else
|
||||
return %val;
|
||||
}
|
||||
|
||||
//##############################################################################
|
||||
//CreateServer(testmission);
|
||||
//LocalConnect(UberBob);
|
||||
//##############################################################################
|
||||
|
||||
function ServerConnectionAccepted()
|
||||
{
|
||||
if ( !isDemo() )
|
||||
{
|
||||
%info = GMJ_Browser.getServerInfoString();
|
||||
%desc = "joined a" SPC getField(%info,4) @ " game (" @ getField(%info,3) @ ") on the \"" @ getField(%info,0) @ "\" server.";
|
||||
|
||||
IRCClient::onJoinGame($JoinGameAddress,%desc);
|
||||
|
||||
if ( !$pref::Net::CheckEmail )
|
||||
CancelEmailCheck();
|
||||
|
||||
// if($pref::Net::DisconnectChat)
|
||||
// IRCClient::quit();
|
||||
}
|
||||
|
||||
checkGotLoadInfo();
|
||||
}
|
||||
|
||||
function LocalConnectionAccepted()
|
||||
{
|
||||
if ( !isDemo() )
|
||||
{
|
||||
%desc = $pref::IRCClient::hostmsg;
|
||||
|
||||
IRCClient::onJoinGame("", %desc);
|
||||
|
||||
if ( !$pref::Net::CheckEmail )
|
||||
CancelEmailCheck();
|
||||
|
||||
// if($pref::Net::DisconnectChat)
|
||||
// IRCClient::quit(); //this is screwed up right now ^^
|
||||
}
|
||||
|
||||
checkGotLoadInfo();
|
||||
}
|
||||
|
||||
function checkGotLoadInfo()
|
||||
{
|
||||
if ( LoadingGui.gotLoadInfo )
|
||||
Canvas.setContent( LoadingGui );
|
||||
else
|
||||
LoadingGui.checkSchedule = schedule( 500, 0, checkGotLoadInfo );
|
||||
}
|
||||
|
||||
function cancelLoadInfoCheck()
|
||||
{
|
||||
if ( LoadingGui.checkSchedule )
|
||||
{
|
||||
cancel( LoadingGui.checkSchedule );
|
||||
LoadingGui.checkSchedule = "";
|
||||
}
|
||||
}
|
||||
|
||||
function DispatchLaunchMode()
|
||||
{
|
||||
switch$($LaunchMode)
|
||||
{
|
||||
case "InteriorView":
|
||||
if ( isFile( "missions/interiorTest.mis" ) )
|
||||
{
|
||||
$InteriorArgument = $TestObjectFileName;
|
||||
$extension = fileExt( $TestObjectFileName );
|
||||
if ( stricmp( $extension, ".dif\"" ) == 0 )
|
||||
{
|
||||
// Have to adjust for quotes:
|
||||
$TestObjectFileName = getSubStr( $TestObjectFileName,
|
||||
1, strlen( $TestObjectFileName ) - 2 );
|
||||
}
|
||||
|
||||
if ( getSubStr( $TestObjectFileName, strlen( $TestObjectFileName ) - 6, 1 ) $= "_" )
|
||||
{
|
||||
// Strip the detail part off...
|
||||
$TestObjectFileName = getSubStr( $TestObjectFileName, 0, strlen( $TestObjectFileName ) - 6 ) @ ".dif";
|
||||
}
|
||||
|
||||
echo( $TestObjectFileName @ " is the file loaded" );
|
||||
|
||||
$ServerName = $Host::GameName;
|
||||
$Host::TimeLimit = 60;
|
||||
CreateServer( "interiorTest", "InteriorTest" );
|
||||
localConnect( "TestGuy" );
|
||||
}
|
||||
else
|
||||
MessageBoxOK( "FILE NOT FOUND", "You do not have the interior test mission in your mission folder.\nTalk to Brad or Tom to get it.", "quit();" );
|
||||
case "Connect":
|
||||
OnlineLogIn();
|
||||
setNetPort(0);
|
||||
JoinGame($JoinGameAddress);
|
||||
case "HostGame":
|
||||
$ServerName = $Host::GameName;
|
||||
$Host::MissionType = $MissionType;
|
||||
$Host::Map = $Mission;
|
||||
CreateServer($Mission, $MissionType);
|
||||
localConnect();
|
||||
case "Normal":
|
||||
OnlineLogIn();
|
||||
case "Offline":
|
||||
PlayOffline();
|
||||
case "TSShow":
|
||||
startShow();
|
||||
case "SceneLight":
|
||||
CreateServer($Mission);
|
||||
localConnect();
|
||||
case "Demo":
|
||||
LoopDemos();
|
||||
}
|
||||
}
|
||||
|
||||
// if($LaunchMode !$= "Demo")
|
||||
// VerifyCDCheck(DispatchLaunchMode);
|
||||
// else
|
||||
DispatchLaunchMode();
|
||||
BIN
console_end.cs.dso
Normal file
BIN
console_end.cs.dso
Normal file
Binary file not shown.
2
editor/newObject.cs
Normal file
2
editor/newObject.cs
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
ObjectBuilderGui.newObject = new Marker(BalanCryptIN2) {
|
||||
};
|
||||
BIN
editor/newObject.cs.dso
Normal file
BIN
editor/newObject.cs.dso
Normal file
Binary file not shown.
BIN
fonts/Arial Bold Italic_16.gft
Normal file
BIN
fonts/Arial Bold Italic_16.gft
Normal file
Binary file not shown.
BIN
fonts/Arial_15.gft
Normal file
BIN
fonts/Arial_15.gft
Normal file
Binary file not shown.
BIN
fonts/Arial_21.gft
Normal file
BIN
fonts/Arial_21.gft
Normal file
Binary file not shown.
BIN
fonts/Arial_25.gft
Normal file
BIN
fonts/Arial_25.gft
Normal file
Binary file not shown.
BIN
fonts/Arial_26.gft
Normal file
BIN
fonts/Arial_26.gft
Normal file
Binary file not shown.
BIN
fonts/Univers Condensed Bold_14.gft
Normal file
BIN
fonts/Univers Condensed Bold_14.gft
Normal file
Binary file not shown.
BIN
fonts/Univers Condensed Bold_18.gft
Normal file
BIN
fonts/Univers Condensed Bold_18.gft
Normal file
Binary file not shown.
BIN
fonts/Univers condensed_26.gft
Normal file
BIN
fonts/Univers condensed_26.gft
Normal file
Binary file not shown.
BIN
fonts/Verdana Bold_18.gft
Normal file
BIN
fonts/Verdana Bold_18.gft
Normal file
Binary file not shown.
BIN
fonts/Verdana Bold_20.gft
Normal file
BIN
fonts/Verdana Bold_20.gft
Normal file
Binary file not shown.
BIN
fonts/Verdana Bold_22.gft
Normal file
BIN
fonts/Verdana Bold_22.gft
Normal file
Binary file not shown.
BIN
fonts/Verdana Bold_30.gft
Normal file
BIN
fonts/Verdana Bold_30.gft
Normal file
Binary file not shown.
BIN
fonts/univers_15.gft
Normal file
BIN
fonts/univers_15.gft
Normal file
Binary file not shown.
517
gui/AIEButtonBarDlg.gui
Normal file
517
gui/AIEButtonBarDlg.gui
Normal file
|
|
@ -0,0 +1,517 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(AIEButtonBarDlg) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiChunkedBitmapCtrl() {
|
||||
profile = "EditorContentProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "height";
|
||||
position = "0 30";
|
||||
extent = "120 420";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiCheckBoxCtrl(ExteriorCheckBox) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "11 23";
|
||||
extent = "100 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "ExteriorCheckBox.updateCheckBox();";
|
||||
helpTag = "0";
|
||||
text = "Draw Ext";
|
||||
};
|
||||
new GuiCheckBoxCtrl(InteriorCheckBox) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "11 47";
|
||||
extent = "100 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "InteriorCheckBox.updateCheckBox();";
|
||||
helpTag = "0";
|
||||
text = "Draw Int";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "11 6";
|
||||
extent = "73 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "Visual Options:";
|
||||
};
|
||||
new GuiCheckBoxCtrl(JetConnectionsCheckBox) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "11 73";
|
||||
extent = "100 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "JetConnectionsCheckBox.updateCheckBox();";
|
||||
helpTag = "0";
|
||||
text = "Draw Jet";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "10 201";
|
||||
extent = "100 29";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "makeJettableGraph(Nav);";
|
||||
helpTag = "0";
|
||||
text = "Bot Graph";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "10 169";
|
||||
extent = "100 29";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "makeJettableGraph(Spawn);";
|
||||
helpTag = "0";
|
||||
text = "Spawn Graph";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "10 233";
|
||||
extent = "100 29";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "AIEButtonBarDlg.createLOSXref();";
|
||||
helpTag = "0";
|
||||
text = "Build LOS";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "10 265";
|
||||
extent = "100 29";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "navGraph.saveGraph();";
|
||||
helpTag = "0";
|
||||
text = "Save";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "11 151";
|
||||
extent = "56 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "Graph Build";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "11 315";
|
||||
extent = "64 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "AI Objectives";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "10 331";
|
||||
extent = "100 29";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "AICreateObjectives();";
|
||||
helpTag = "0";
|
||||
text = "Build Objectives";
|
||||
};
|
||||
new GuiPopUpMenuCtrl(ObjectiveList) {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "10 368";
|
||||
extent = "101 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "New Objective";
|
||||
maxPopupHeight = "200";
|
||||
};
|
||||
new GuiButtonCtrl() {
|
||||
profile = "GuiButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "10 395";
|
||||
extent = "100 29";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "AISaveMissionObjectives();";
|
||||
helpTag = "0";
|
||||
text = "Save";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "10 102";
|
||||
extent = "73 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "Camera speed:";
|
||||
};
|
||||
new GuiSliderCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "6 121";
|
||||
extent = "80 20";
|
||||
minExtent = "80 20";
|
||||
visible = "1";
|
||||
variable = "value";
|
||||
command = "$Camera::movementSpeed = $ThisControl.getValue();";
|
||||
helpTag = "0";
|
||||
range = "0.000000 200.000000";
|
||||
ticks = "10";
|
||||
value = "20";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Functions
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function makeUnbridgedGraph()
|
||||
{
|
||||
GraphCurrentOperation.setValue("Generating interior nodes...");
|
||||
Canvas.repaint();
|
||||
navGraph::generateInterior();
|
||||
dataProgress();
|
||||
|
||||
GraphCurrentOperation.setValue("Remaking graph...");
|
||||
Canvas.repaint();
|
||||
remakeTheGraph();
|
||||
dataProgress();
|
||||
}
|
||||
|
||||
function makeJettableGraph(%NAVorSPAWN)
|
||||
{
|
||||
AIworking(true);
|
||||
|
||||
$NavGraph::operations = 7;
|
||||
$NavGraph::operationsDone = 0;
|
||||
|
||||
navGraph.setGenMode(%NAVorSPAWN);
|
||||
navGraph::exteriorInspect();
|
||||
dataProgress();
|
||||
makeUnbridgedGraph();
|
||||
|
||||
GraphCurrentOperation.setValue("Beginning slow bridge finding pass");
|
||||
Canvas.repaint();
|
||||
|
||||
navGraph.assemble();
|
||||
|
||||
navGraph.cullIslands();
|
||||
remakeTheGraph();
|
||||
navGraph.pushBridges();
|
||||
navGraph.makeTables();
|
||||
dataProgress();
|
||||
|
||||
AIworking(false);
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function AIEButtonBarDlg::getPrefs(%this)
|
||||
{
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function AIEbuttonBarDlg::setPrefs(%this)
|
||||
{
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function AIEButtonBarDlg::init(%this)
|
||||
{
|
||||
InteriorCheckBox.setValue($pref::NavGraph::drawIndoor);
|
||||
ExteriorCheckBox.setValue($pref::NavGraph::drawOutdoor);
|
||||
|
||||
if(!$pref::NavGraph::drawIndoor)
|
||||
JetConnectionsCheckBox.visible = false;
|
||||
|
||||
JetConnectionsCheckBox.setValue($pref::NavGraph::drawJetEdges);
|
||||
|
||||
ObjectiveList.clear();
|
||||
ObjectiveList.setText("New Objective");
|
||||
ObjectiveList.add("Deploy Outdoor Turret", 1);
|
||||
ObjectiveList.add("Deploy Indoor Turret", 2);
|
||||
ObjectiveList.add("Deploy Inventory", 3);
|
||||
ObjectiveList.add("Touch FlipFlop", 4);
|
||||
ObjectiveList.add("Mortar Target", 5);
|
||||
ObjectiveList.add("Repair Equipment", 6);
|
||||
ObjectiveList.add("Attack Target", 7);
|
||||
ObjectiveList.add("Defend Location", 8);
|
||||
objectiveList.add("New Group", 9);
|
||||
|
||||
//ObjectivesList.sort();
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function AIEButtonBarDlg::onSleep(%this)
|
||||
{
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function AIEButtonBarDlg::onWake(%this)
|
||||
{
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function dataProgress()
|
||||
{
|
||||
$NavGraph::operationsDone++;
|
||||
%percent = $NavGraph::operationsDone / $NavGraph::operations;
|
||||
GraphBuildProgress.setValue(%percent);
|
||||
Canvas.repaint();
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function remakeTheGraph()
|
||||
{
|
||||
GraphCurrentOperation.setValue("making graph...");
|
||||
Canvas.repaint();
|
||||
navGraph.makeGraph();
|
||||
dataProgress();
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function AIEButtonBarDlg::createLOSXref()
|
||||
{
|
||||
AIworking(true);
|
||||
GraphCurrentOperation.setValue("Making LOS CrossRef Table...");
|
||||
GraphBuildProgress.setValue(0);
|
||||
|
||||
if(2.player)
|
||||
navGraph.prepLOS(2.player.getTransform());
|
||||
else
|
||||
navGraph.prepLOS("0 0 0");
|
||||
|
||||
while(navGraph.makeLOS())
|
||||
{
|
||||
GraphBuildProgress.setValue($graphProcessPercent);
|
||||
Canvas.repaint();
|
||||
}
|
||||
GraphBuildProgress.setValue(100);
|
||||
Canvas.repaint();
|
||||
AIworking(false);
|
||||
}
|
||||
|
||||
function ExteriorCheckBox::updateCheckBox()
|
||||
{
|
||||
$pref::NavGraph::drawOutdoor = !$pref::NavGraph::drawOutdoor;
|
||||
}
|
||||
|
||||
function InteriorCheckBox::updateCheckBox()
|
||||
{
|
||||
$pref::NavGraph::drawIndoor = !$pref::NavGraph::drawIndoor;
|
||||
|
||||
if(!$pref::NavGraph::drawIndoor)
|
||||
JetConnectionsCheckBox.visible = false;
|
||||
else
|
||||
jetConnectionsCheckBox.visible = true;
|
||||
}
|
||||
|
||||
function JetConnectionsCheckBox::updateCheckBox()
|
||||
{
|
||||
$pref::NavGraph::drawJetEdges = !$pref::NavGraph::drawJetEdges;
|
||||
}
|
||||
|
||||
function AISaveMissionObjectives()
|
||||
{
|
||||
// once we have created all objecitves, save out the mis file
|
||||
if(!isObject(MissionGroup))
|
||||
{
|
||||
error("No mission exists!");
|
||||
return;
|
||||
}
|
||||
|
||||
// check for read-only
|
||||
%file = "base/missions/" @ $MissionName;
|
||||
if(!isWriteableFileName(%file))
|
||||
{
|
||||
error("Mission file '" @ %file @ "' is not writeable.");
|
||||
return;
|
||||
}
|
||||
|
||||
// ok, were good to save.
|
||||
missionGroup.save("missions/" @ $MissionName);
|
||||
}
|
||||
|
||||
function AIObjectivesLock(%lock)
|
||||
{
|
||||
%numTeams = nameToId("MissionGroup/Teams").getCount();
|
||||
|
||||
for(%j = 0; %j < %numTeams; %j++)
|
||||
{
|
||||
%objGroup = nameToId("MissionGroup/Teams/team" @ %j @ "/AIObjectives");
|
||||
if(%objGroup == -1)
|
||||
continue;
|
||||
|
||||
%objCount = %objGroup.getCount();
|
||||
|
||||
for(%i = 0; %i < %objCount; %i++)
|
||||
{
|
||||
%obj = %objGroup.getObject(%i);
|
||||
%obj.locked = %lock;
|
||||
}
|
||||
}
|
||||
|
||||
// save
|
||||
AISaveMissionObjectives();
|
||||
}
|
||||
|
||||
function addNewObjective(%type)
|
||||
{
|
||||
if($AIEditor::inspectTeam == 1)
|
||||
%team = 1;
|
||||
else if($AIEditor::inspectTeam == 2)
|
||||
%team = 2;
|
||||
else
|
||||
%team = 1;
|
||||
|
||||
%tGroup = nameToId("MissionGroup/Teams/team" @ %team @ "/AIObjectives");
|
||||
|
||||
if(%tGroup < 1)
|
||||
return;
|
||||
|
||||
if($InstantGroup $= "MissionGroup")
|
||||
$InstantGroup = %tGroup;
|
||||
|
||||
switch$(%type)
|
||||
{
|
||||
case "Defend Location":
|
||||
%objective = new AIObjective(AIODefendLocation)
|
||||
{
|
||||
dataBlock = "AIObjectiveMarker";
|
||||
};
|
||||
case "Repair Equipment":
|
||||
%objective = new AIObjective(AIORepairObject)
|
||||
{
|
||||
dataBlock = "AIObjectiveMarker";
|
||||
};
|
||||
case "Deploy Outdoor Turret":
|
||||
%Objective = new AIObjective(AIODeployEquipment)
|
||||
{
|
||||
dataBlock = "AIObjectiveMarker";
|
||||
weightLevel1 = 4100;
|
||||
weightLevel2 = 0;
|
||||
description = "Deploy outdoor Turret";
|
||||
offense = false;
|
||||
defense = true;
|
||||
targetObjectId = -1;
|
||||
targetObject = -1;
|
||||
targetClientId = -1;
|
||||
equipment = "TurretOutdoorDeployable";
|
||||
buyEquipmentSet = "MediumOutdoorTurretSet";
|
||||
};
|
||||
case "Deploy Indoor Turret":
|
||||
%Objective = new AIObjective(AIODeployEquipment)
|
||||
{
|
||||
dataBlock = "AIObjectiveMarker";
|
||||
weightLevel1 = 4100;
|
||||
weightLevel2 = 0;
|
||||
description = "Deploy indoor Turret";
|
||||
offense = false;
|
||||
defense = true;
|
||||
targetObjectId = -1;
|
||||
targetObject = -1;
|
||||
targetClientId = -1;
|
||||
equipment = "TurretIndoorDeployable";
|
||||
buyEquipmentSet = "MediumIndoorTurretSet";
|
||||
};
|
||||
case "Attack Target":
|
||||
%objective = new AIObjective(AIOAttackObject)
|
||||
{
|
||||
dataBlock = "AIObjectiveMarker";
|
||||
};
|
||||
case "Touch FlipFlop":
|
||||
%objective = new AIObjective(AIOTouchObject)
|
||||
{
|
||||
dataBlock = "AIObjectiveMarker";
|
||||
};
|
||||
case "Mortar Target":
|
||||
%objective = new AIObjective(AIOMortarObject)
|
||||
{
|
||||
dataBlock = "AIObjectiveMarker";
|
||||
};
|
||||
case "Deploy Inventory":
|
||||
%Objective = new AIObjective(AIODeployEquipment)
|
||||
{
|
||||
dataBlock = "AIObjectiveMarker";
|
||||
weightLevel1 = 4100;
|
||||
weightLevel2 = 0;
|
||||
description = "Deploy Inventory Station";
|
||||
offense = false;
|
||||
defense = true;
|
||||
targetObjectId = -1;
|
||||
targetObject = -1;
|
||||
targetClientId = -1;
|
||||
equipment = "InventoryDeployable";
|
||||
buyEquipmentSet = "MediumInventorySet";
|
||||
};
|
||||
case "New Group":
|
||||
%set = new SimGroup("ObjectiveSet");
|
||||
%tGroup.add(%set);
|
||||
return;
|
||||
default:
|
||||
error("no defined type.");
|
||||
return;
|
||||
}
|
||||
|
||||
$InstantGroup.add(%objective);
|
||||
aiEdit.clearSelection();
|
||||
aiEdit.selectObject(%objective);
|
||||
aiEdit.dropSelection();
|
||||
%objective.location = %objective.getWorldBoxCenter();
|
||||
Inspector.inspect(%objective);
|
||||
InspectorNameEdit.setValue(%objective.getName());
|
||||
}
|
||||
|
||||
function ObjectiveList::onSelect(%this, %id, %text)
|
||||
{
|
||||
addNewObjective(%text);
|
||||
ObjectiveList.setText("New Objective");
|
||||
}
|
||||
162
gui/AIEFrameSetDlg.gui
Normal file
162
gui/AIEFrameSetDlg.gui
Normal file
|
|
@ -0,0 +1,162 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(AIEFrameSetDlg) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
activeToolCount = "0";
|
||||
|
||||
new GuiFrameSetCtrl(AIEFrameSet) {
|
||||
profile = "EditorContentProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "120 30";
|
||||
extent = "520 420";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
columns = "0";
|
||||
rows = "0";
|
||||
borderWidth = "4";
|
||||
borderColor = "206 206 206 206";
|
||||
borderEnable = "dynamic";
|
||||
borderMovable = "dynamic";
|
||||
autoBalance = "0";
|
||||
|
||||
new GuiControl(AIEFrame) {
|
||||
profile = "EditTSControlProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "520 420";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
borderWidth = "2";
|
||||
|
||||
};
|
||||
new GuiFrameSetCtrl(AIEToolFrameSet) {
|
||||
profile = "EditorContentProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "520 420";
|
||||
extent = "20 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
columns = "0";
|
||||
borderWidth = "3";
|
||||
borderColor = "206 206 206 206";
|
||||
borderEnable = "dynamic";
|
||||
borderMovable = "dynamic";
|
||||
autoBalance = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Functions
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function AIEFrameSetDlg::getPrefs(%this)
|
||||
{
|
||||
}
|
||||
|
||||
function AIEFrameSetDlg::setPrefs(%this)
|
||||
{
|
||||
}
|
||||
|
||||
function AIEFrameSetDlg::onWake(%this)
|
||||
{
|
||||
$AIEdit = true;
|
||||
AIEditorMap.push();
|
||||
aiEdit.clearIgnoreList();
|
||||
aiEdit.ignoreObjClass(AIObjective);
|
||||
aiEdit.toggleIgnoreList = true;
|
||||
aiEdit.renderNav = true;
|
||||
}
|
||||
|
||||
function AIEFrameSetDlg::onSleep(%this)
|
||||
{
|
||||
$AIEdit = false;
|
||||
AIEditorMap.pop();
|
||||
EditorTree.open("MissionGroup");
|
||||
}
|
||||
|
||||
function AIEFrameSetDlg::init(%this)
|
||||
{
|
||||
AIEFrame.add(aiEdit);
|
||||
%this.resetFrames();
|
||||
}
|
||||
|
||||
function AIEFrameSetDlg::update(%this)
|
||||
{
|
||||
// check the frame to see if it is visible
|
||||
if(AIEToolFrameSet.getCount())
|
||||
{
|
||||
%res = getResolution();
|
||||
|
||||
//90 = width of button bar
|
||||
%width = getWord(%res, 0) - 90;
|
||||
|
||||
if(AIEFrameSet.getColumnOffset(1) > %width - editor.minToolFrameWidth)
|
||||
AIEFrameSet.setColumnOffset(1, %width - editor.minToolFrameWidth);
|
||||
}
|
||||
}
|
||||
|
||||
function AIEFrameSetDlg::resetFrames(%this)
|
||||
{
|
||||
%tools = AIEToolFrameSet;
|
||||
while(%tools.getRowCount() > %tools.getCount())
|
||||
%tools.removeRow();
|
||||
while(%tools.getRowCount() < %tools.getCount())
|
||||
%tools.addRow();
|
||||
|
||||
%offset = 400;
|
||||
|
||||
// update the frame view
|
||||
%frameSet = AIEFrameSet;
|
||||
if(!%tools.getCount() && (%frameSet.getColumnCount() > 1))
|
||||
{
|
||||
%Offset = %frameSet.getColumnOffset(1);
|
||||
%frameSet.removeColumn();
|
||||
}
|
||||
if(%tools.getCount() && (%frameSet.getColumnCount() == 1))
|
||||
{
|
||||
%frameSet.addColumn();
|
||||
%frameSet.setColumnOffset(1, %offset);
|
||||
}
|
||||
|
||||
//if(%tools.getCount())
|
||||
//%this.toolPaneOffset = AIEFrameSet.getColumnOffset(1);
|
||||
%this.activeToolCount = %tools.getCount();
|
||||
}
|
||||
|
||||
function AIEFrameSetDlg::addTool(%this, %tool)
|
||||
{
|
||||
%group = nameToId("MissionGroup/Teams/team" @ $AIEditor::inspectTeam @ "/AIObjectives");
|
||||
|
||||
if(%group == -1)
|
||||
return false;
|
||||
|
||||
if($AIEditor::inspectTeam == 1)
|
||||
EditorTree.open("MissionGroup/Teams/team1/AIObjectives");
|
||||
else
|
||||
EditorTree.open("MissionGroup/Teams/team2/AIObjectives");
|
||||
|
||||
AIEToolFrameSet.add(%tool);
|
||||
%this.resetFrames();
|
||||
return true;
|
||||
}
|
||||
|
||||
function AIEFrameSetDlg::removeTool(%this, %tool)
|
||||
{
|
||||
AIEToolFrameSet.remove(%tool);
|
||||
%this.resetFrames();
|
||||
}
|
||||
|
||||
83
gui/AIEStatusbarDlg.gui
Normal file
83
gui/AIEStatusbarDlg.gui
Normal file
|
|
@ -0,0 +1,83 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(AIEStatusBarDlg) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
setFirstResponder = "0";
|
||||
modal = "0";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "EditorContentProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "top";
|
||||
position = "0 450";
|
||||
extent = "640 30";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
setFirstResponder = "0";
|
||||
modal = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "6 8";
|
||||
extent = "39 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
setFirstResponder = "0";
|
||||
modal = "1";
|
||||
helpTag = "0";
|
||||
text = "Mission:";
|
||||
};
|
||||
new GuiControl() {
|
||||
profile = "GuiContentProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "49 6";
|
||||
extent = "188 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
setFirstResponder = "0";
|
||||
modal = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiTextCtrl(AIEMissionNameText) {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "3 2";
|
||||
extent = "8 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
setFirstResponder = "0";
|
||||
modal = "1";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// Functions
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function AIEStatusBarDlg::init(%this)
|
||||
{
|
||||
%this.update();
|
||||
}
|
||||
|
||||
function AIEStatusBarDlg::update(%this)
|
||||
{
|
||||
if($MissionName $= "")
|
||||
AIEMissionNameText.setValue("<none>");
|
||||
else
|
||||
AIEMissionNameText.setValue($MissionName);
|
||||
}
|
||||
66
gui/AIEWorkingDlg.gui
Normal file
66
gui/AIEWorkingDlg.gui
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(AIEWorkingDlg) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
setFirstResponder = "0";
|
||||
modal = "0";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiChunkedBitmapCtrl() {
|
||||
profile = "GuiContentProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "top";
|
||||
position = "234 5";
|
||||
extent = "400 130";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
setFirstResponder = "0";
|
||||
modal = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellLargeLabelProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "16 10";
|
||||
extent = "378 40";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
setFirstResponder = "0";
|
||||
modal = "1";
|
||||
helpTag = "0";
|
||||
text = "Building Graph ...";
|
||||
};
|
||||
new GuiProgressCtrl(GraphBuildProgress) {
|
||||
profile = "ShellProgressBarProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "top";
|
||||
position = "29 50";
|
||||
extent = "342 31";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
setFirstResponder = "0";
|
||||
modal = "1";
|
||||
helpTag = "0";
|
||||
setValue = "0";
|
||||
};
|
||||
new GuiTextCtrl(GraphCurrentOperation) {
|
||||
profile = "GuiTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "35 96";
|
||||
extent = "8 18";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
setFirstResponder = "0";
|
||||
modal = "1";
|
||||
helpTag = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
46
gui/AIEditorGui.gui
Normal file
46
gui/AIEditorGui.gui
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
|
||||
new WorldEditor(aiEdit)
|
||||
{
|
||||
profile = "";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "520 420";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
setFirstResponder = "0";
|
||||
modal = "1";
|
||||
};
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
function AIworking(%working)
|
||||
{
|
||||
if(%working)
|
||||
{
|
||||
Canvas.pushDialog(AIEWorkingDlg);
|
||||
GraphBuildProgress.setValue(0.0);
|
||||
}
|
||||
else
|
||||
Canvas.popDialog(AIEWorkingDlg);
|
||||
|
||||
Canvas.repaint();
|
||||
}
|
||||
|
||||
new ActionMap(AIEditorMap);
|
||||
//AIEditorMap.bindCmd(keyboard, "space", "aiEdit.nextMode();", "");
|
||||
|
||||
AIEditorMap.bindCmd(keyboard, "ctrl c", "aiEdit.copySelection();", "");
|
||||
AIEditorMap.bindCmd(keyboard, "ctrl x", "aiEdit.copySelection();aiEdit.deleteSelection();", "");
|
||||
AIEditorMap.bindCmd(keyboard, "delete", "aiEdit.copySelection();aiEdit.deleteSelection();", "");
|
||||
AIEditorMap.bindCmd(keyboard, "ctrl v", "aiEdit.pasteSelection();", "");
|
||||
AIEditorMap.bindCmd(keyboard, "ctrl h", "aiEdit.hideSelection(true);", "");
|
||||
AIEditorMap.bindCmd(keyboard, "alt h", "aiEdit.hideSelection(false);", "");
|
||||
AIEditorMap.bindCmd(keyboard, "i", "Canvas.pushDialog(interiorDebugDialog);", "");
|
||||
AIEditorMap.bindCmd(keyboard, "ctrl d", "aiEdit.dropSelection();", "");
|
||||
AIEditorMap.bindCmd(keyboard, "ctrl q", "aiEdit.dropCameraToSelection();", "");
|
||||
AIEditorMap.bindCmd(keyboard, "ctrl m", "aiEdit.moveSelectionInPlace();", "");
|
||||
AIEditorMap.bindCmd(keyboard, "ctrl r", "aiEdit.resetTransforms();", "");
|
||||
AIEditorMap.bindCmd(keyboard, "space", "aiEdit.nextMode();", "");
|
||||
|
||||
|
||||
90
gui/AIEditorToolBar.gui
Normal file
90
gui/AIEditorToolBar.gui
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(AIEditorToolBar) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiControl() {
|
||||
profile = "EditorContentProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 30";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiCheckBoxCtrl(AIEditorObjectivesTree1CheckBox) {
|
||||
profile = "GuiRadioProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "290 5";
|
||||
extent = "114 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "AIEditorObjectivesTree1CheckBox.setTreeGui(1);";
|
||||
helpTag = "0";
|
||||
text = "Objectives Team 1";
|
||||
};
|
||||
new GuiCheckBoxCtrl(AIEditorObjectivesTree2CheckBox) {
|
||||
profile = "GuiRadioProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "405 5";
|
||||
extent = "114 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "AIEditorObjectivesTree2CheckBox.setTreeGui(2);";
|
||||
helpTag = "0";
|
||||
text = "Objectives Team 2";
|
||||
};
|
||||
new GuiCheckBoxCtrl(AIEditorObjectivesInspectorCheckBox) {
|
||||
profile = "GuiRadioProfile";
|
||||
horizSizing = "left";
|
||||
vertSizing = "bottom";
|
||||
position = "520 5";
|
||||
extent = "114 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
command = "if($ThisControl.getValue()) AIEFrameSetDlg.addTool(EditorToolInspectorGui); else AIEFrameSetDlg.removeTool(EditorToolInspectorGui);";
|
||||
helpTag = "0";
|
||||
text = "Objectives Inspector";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
|
||||
function AIEditorToolBar::init(%this)
|
||||
{
|
||||
}
|
||||
|
||||
function AIEditorObjectivesTree1CheckBox::setTreeGui(%this, %team)
|
||||
{
|
||||
$AIEditor::inspectTeam = %team;
|
||||
AIEditorObjectivesTree2CheckBox.setValue(false);
|
||||
|
||||
if($ThisControl.getValue())
|
||||
%isSet = AIEFrameSetDlg.addTool(EditorToolTreeViewGui);
|
||||
else
|
||||
%isSet = AIEFrameSetDlg.removeTool(EditorToolTreeViewGui);
|
||||
|
||||
$ThisControl.setValue(%isSet);
|
||||
}
|
||||
|
||||
function AIEditorObjectivesTree2CheckBox::setTreeGui(%this, %team)
|
||||
{
|
||||
$AIEditor::inspectTeam = %team;
|
||||
AIEditorObjectivesTree1CheckBox.setValue(false);
|
||||
|
||||
if($ThisControl.getValue())
|
||||
%isSet = AIEFrameSetDlg.addTool(EditorToolTreeViewGui);
|
||||
else
|
||||
%isSet = AIEFrameSetDlg.removeTool(EditorToolTreeViewGui);
|
||||
|
||||
$ThisControl.setValue(%isSet);
|
||||
}
|
||||
338
gui/AddressDlg.gui
Normal file
338
gui/AddressDlg.gui
Normal file
|
|
@ -0,0 +1,338 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(AddressDlg) {
|
||||
profile = "DlgBackProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lbstate = "buddylist";
|
||||
msg = "Request Processed";
|
||||
lbline = "6";
|
||||
DestList = "1";
|
||||
key = "28";
|
||||
state = "noprocess";
|
||||
lbcount = "6";
|
||||
blstate = "DONE";
|
||||
useVariable = "0";
|
||||
doRefresh = "1";
|
||||
SrcList = "2";
|
||||
err = "0";
|
||||
|
||||
new ShellPaneCtrl() {
|
||||
profile = "ShellDlgPaneProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "79 68";
|
||||
extent = "481 344";
|
||||
minExtent = "48 92";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "LIST CONTROL";
|
||||
noTitleBar = "0";
|
||||
|
||||
new ShellBitmapButton(LC_CCListBtn) {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "219 178";
|
||||
extent = "75 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "AddressDlg.AddCC();";
|
||||
helpTag = "0";
|
||||
text = "DEL";
|
||||
simpleStyle = "0";
|
||||
direction = "1";
|
||||
};
|
||||
new ShellScrollCtrl() {
|
||||
profile = "NewScrollCtrlProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "30 115";
|
||||
extent = "183 178";
|
||||
minExtent = "24 52";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
defaultLineHeight = "15";
|
||||
childMargin = "0 3";
|
||||
fieldBase = "gui/shll_field";
|
||||
|
||||
new GuiScrollContentCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "4 7";
|
||||
extent = "159 164";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new ShellTextList(LC_BigList) {
|
||||
profile = "ShellTextArrayProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "159 8";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
variable = "$LCBigList";
|
||||
command = "AddressDlg.onClick(\"BIGLIST\");";
|
||||
altCommand = "AddressDlg.onDblClick(0);";
|
||||
helpTag = "0";
|
||||
enumerate = "1";
|
||||
resizeCell = "1";
|
||||
columns = "0";
|
||||
fitParentWidth = "1";
|
||||
clipColumnText = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
new ShellBitmapButton(LC_ToListBtn) {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "219 38";
|
||||
extent = "75 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "AddressDlg.AddTo();";
|
||||
helpTag = "0";
|
||||
text = "DEL";
|
||||
simpleStyle = "0";
|
||||
direction = "1";
|
||||
};
|
||||
new ShellScrollCtrl() {
|
||||
profile = "NewScrollCtrlProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "284 40";
|
||||
extent = "168 119";
|
||||
minExtent = "24 52";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
defaultLineHeight = "15";
|
||||
childMargin = "0 3";
|
||||
fieldBase = "gui/shll_field";
|
||||
|
||||
new GuiScrollContentCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "4 7";
|
||||
extent = "144 105";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new ShellTextList(LC_ToList) {
|
||||
profile = "ShellTextArrayProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "144 8";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
variable = "$LCToList";
|
||||
command = "AddressDlg.onClick(\"TOLIST\");";
|
||||
altCommand = "AddressDlg.onDblClick(1);";
|
||||
helpTag = "0";
|
||||
enumerate = "1";
|
||||
resizeCell = "1";
|
||||
columns = "0";
|
||||
fitParentWidth = "1";
|
||||
clipColumnText = "0";
|
||||
direction = "1";
|
||||
};
|
||||
};
|
||||
};
|
||||
new ShellBitmapButton(LC_BuddyListBtn) {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "24 288";
|
||||
extent = "194 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "AddressDlg.AddBuddyList();";
|
||||
helpTag = "0";
|
||||
text = "ADD TO BUDDYLIST";
|
||||
simpleStyle = "0";
|
||||
direction = "0";
|
||||
};
|
||||
new ShellScrollCtrl() {
|
||||
profile = "NewScrollCtrlProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "284 175";
|
||||
extent = "168 118";
|
||||
minExtent = "24 52";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
defaultLineHeight = "15";
|
||||
childMargin = "0 3";
|
||||
fieldBase = "gui/shll_field";
|
||||
|
||||
new GuiScrollContentCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "4 7";
|
||||
extent = "144 104";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new ShellTextList(LC_CCList) {
|
||||
profile = "ShellTextArrayProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "144 8";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
variable = "$LCCCList";
|
||||
command = "AddressDlg.OnClick(\"CCLIST\");";
|
||||
altCommand = "AddressDlg.onDblClick(2);";
|
||||
helpTag = "0";
|
||||
enumerate = "1";
|
||||
resizeCell = "1";
|
||||
columns = "0";
|
||||
fitParentWidth = "1";
|
||||
clipColumnText = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
new ShellBitmapButton(LC_OKBtn) {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "368 288";
|
||||
extent = "89 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "AddressDlg.OK();";
|
||||
helpTag = "0";
|
||||
text = "OK";
|
||||
simpleStyle = "0";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "288 29";
|
||||
extent = "40 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "TO List:";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "288 163";
|
||||
extent = "41 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "CC List:";
|
||||
};
|
||||
new ShellBitmapButton(LC_CancelBtn) {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "278 288";
|
||||
extent = "89 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "AddressDlg.Cancel();";
|
||||
accelerator = "escape";
|
||||
helpTag = "0";
|
||||
text = "CANCEL";
|
||||
simpleStyle = "0";
|
||||
};
|
||||
new ShellPopupMenu(LC_ListBox) {
|
||||
profile = "ShellPopupProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "27 76";
|
||||
extent = "193 36";
|
||||
minExtent = "49 36";
|
||||
visible = "1";
|
||||
command = "AddressDlg.onClick(\"LISTBOX\");";
|
||||
helpTag = "0";
|
||||
maxPopupHeight = "200";
|
||||
buttonBitmap = "gui/shll_pulldown";
|
||||
rolloverBarBitmap = "gui/shll_pulldownbar_rol";
|
||||
selectedBarBitmap = "gui/shll_pulldownbar_act";
|
||||
noButtonStyle = "0";
|
||||
};
|
||||
new ShellTextEditCtrl(LC_Search) {
|
||||
profile = "NewTextEditProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "25 38";
|
||||
extent = "158 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
variable = "$LCSearch";
|
||||
command = "AddressDlg.onClick(\"SEARCHBOX\");";
|
||||
helpTag = "0";
|
||||
historySize = "0";
|
||||
maxLength = "255";
|
||||
password = "0";
|
||||
glowOffset = "9 9";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "37 29";
|
||||
extent = "38 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "Search:";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "37 68";
|
||||
extent = "22 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "List:";
|
||||
};
|
||||
new ShellBitmapButton(LC_GoSearchBtn) {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "167 38";
|
||||
extent = "53 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "AddressDlg.GoSearch();";
|
||||
helpTag = "0";
|
||||
text = "GO";
|
||||
simpleStyle = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
561
gui/AdvancedHostDlg.gui
Normal file
561
gui/AdvancedHostDlg.gui
Normal file
|
|
@ -0,0 +1,561 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(AdvancedHostDlg) {
|
||||
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 = "50 30";
|
||||
extent = "540 420";
|
||||
minExtent = "48 92";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "ADVANCED HOST OPTIONS";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
noTitleBar = "0";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextRightProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "31 40";
|
||||
extent = "40 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "Port:";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new ShellTextEditCtrl(AH_HostPort) {
|
||||
profile = "NewTextEditNumericProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
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";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextRightProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "166 40";
|
||||
extent = "64 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "Time Limit:";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new ShellTextEditCtrl(AH_TimeLimit) {
|
||||
profile = "NewTextEditNumericProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
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";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "292 40";
|
||||
extent = "41 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "Minutes";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextRightProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "40 70";
|
||||
extent = "110 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "Admin Password:";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new ShellTextEditCtrl(AH_AdminPassword) {
|
||||
profile = "NewTextEditProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
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 = "32 106";
|
||||
extent = "150 30";
|
||||
minExtent = "26 27";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "DEDICATED";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new ShellToggleButton(AH_PureServerTgl) {
|
||||
profile = "ShellRadioProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "195 106";
|
||||
extent = "150 30";
|
||||
minExtent = "26 27";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
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) {
|
||||
profile = "ShellRadioProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "32 136";
|
||||
extent = "150 30";
|
||||
minExtent = "26 27";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "TOURNAMENT MODE";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new ShellToggleButton(AH_AdminVoteTgl) {
|
||||
profile = "ShellRadioProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "195 136";
|
||||
extent = "150 30";
|
||||
minExtent = "26 27";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "ALLOW ADMIN VOTES";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new ShellToggleButton(AH_AllowSmurfTgl) {
|
||||
profile = "ShellRadioProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "358 136";
|
||||
extent = "150 30";
|
||||
minExtent = "26 27";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "ALLOW ALIASES";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "79 174";
|
||||
extent = "114 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "Vote Pass Percentage:";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new GuiTextCtrl(AH_VotePassText) {
|
||||
profile = "ShellAltTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "198 175";
|
||||
extent = "29 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "60%";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new ShellSliderCtrl(AH_VotePassSlider) {
|
||||
profile = "ShellSliderProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "89 189";
|
||||
extent = "170 24";
|
||||
minExtent = "12 24";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
variable = "value";
|
||||
altCommand = "AH_VotePassText.update();";
|
||||
helpTag = "0";
|
||||
range = "50.000000 100.000000";
|
||||
ticks = "51";
|
||||
value = "70";
|
||||
usePlusMinus = "1";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "79 214";
|
||||
extent = "54 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "Vote Time:";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new GuiTextCtrl(AH_VoteTimeText) {
|
||||
profile = "ShellAltTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "138 215";
|
||||
extent = "69 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "20 seconds";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new ShellSliderCtrl(AH_VoteTimeSlider) {
|
||||
profile = "ShellSliderProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "89 229";
|
||||
extent = "170 24";
|
||||
minExtent = "12 24";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
variable = "value";
|
||||
altCommand = "AH_VoteTimeText.update();";
|
||||
helpTag = "0";
|
||||
range = "10.000000 60.000000";
|
||||
ticks = "51";
|
||||
value = "20";
|
||||
usePlusMinus = "1";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "277 175";
|
||||
extent = "93 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "Observer Timeout:";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new GuiTextCtrl(AH_RespawnText) {
|
||||
profile = "ShellAltTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "375 176";
|
||||
extent = "69 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "30 seconds";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new ShellSliderCtrl(AH_RespawnSlider) {
|
||||
profile = "ShellSliderProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "287 190";
|
||||
extent = "170 24";
|
||||
minExtent = "12 24";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
variable = "value";
|
||||
altCommand = "AH_RespawnText.update();";
|
||||
helpTag = "0";
|
||||
range = "10.000000 60.000000";
|
||||
ticks = "51";
|
||||
value = "45";
|
||||
usePlusMinus = "1";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "277 215";
|
||||
extent = "72 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "Warmup Time:";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new GuiTextCtrl(AH_WarmupText) {
|
||||
profile = "ShellAltTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "354 216";
|
||||
extent = "69 20";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "30 seconds";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new ShellSliderCtrl(AH_WarmupSlider) {
|
||||
profile = "ShellSliderProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "287 230";
|
||||
extent = "170 24";
|
||||
minExtent = "12 24";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
variable = "value";
|
||||
altCommand = "AH_WarmupText.update();";
|
||||
helpTag = "0";
|
||||
range = "0.000000 30.000000";
|
||||
ticks = "31";
|
||||
value = "20";
|
||||
usePlusMinus = "1";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "top";
|
||||
position = "143 262";
|
||||
extent = "58 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
text = "Server Info:";
|
||||
longTextBuffer = "0";
|
||||
maxLength = "255";
|
||||
};
|
||||
new ShellScrollCtrl() {
|
||||
profile = "NewScrollCtrlProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "top";
|
||||
position = "140 275";
|
||||
extent = "260 85";
|
||||
minExtent = "24 52";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
defaultLineHeight = "15";
|
||||
childMargin = "3 3";
|
||||
fieldBase = "gui/shll_field";
|
||||
|
||||
new GuiScrollContentCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "7 7";
|
||||
extent = "230 71";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextEditCtrl(AH_ServerInfo) {
|
||||
profile = "ShellMessageTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "230 71";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "0";
|
||||
maxChars = "-1";
|
||||
deniedSound = "InputDeniedSound";
|
||||
};
|
||||
};
|
||||
};
|
||||
new ShellBitmapButton() {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "top";
|
||||
position = "95 365";
|
||||
extent = "128 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
command = "Canvas.popDialog( AdvancedHostDlg );";
|
||||
accelerator = "escape";
|
||||
helpTag = "0";
|
||||
text = "CANCEL";
|
||||
simpleStyle = "0";
|
||||
};
|
||||
new ShellBitmapButton() {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "top";
|
||||
position = "317 365";
|
||||
extent = "128 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
hideCursor = "0";
|
||||
bypassHideCursor = "0";
|
||||
command = "AdvancedHostDlg.Accept();";
|
||||
helpTag = "0";
|
||||
text = "SAVE";
|
||||
simpleStyle = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
96
gui/BrowserEditInfoDlg.gui
Normal file
96
gui/BrowserEditInfoDlg.gui
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(BrowserEditInfoDlg) {
|
||||
profile = "DlgBackProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new ShellPaneCtrl() {
|
||||
profile = "ShellDlgPaneProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "70 80";
|
||||
extent = "500 320";
|
||||
minExtent = "48 92";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "EDIT DESCRIPTION";
|
||||
maxLength = "255";
|
||||
noTitleBar = "0";
|
||||
|
||||
new ShellBitmapButton() {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "81 265";
|
||||
extent = "128 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "TribePropertiesDlg.pendingChanges = \"\";WarriorPropertiesDlg.pendingChanges = \"\";Canvas.popDialog(BrowserEditInfoDlg);";
|
||||
accelerator = "escape";
|
||||
helpTag = "0";
|
||||
text = "CANCEL";
|
||||
simpleStyle = "0";
|
||||
};
|
||||
new ShellScrollCtrl() {
|
||||
profile = "NewScrollCtrlProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "height";
|
||||
position = "25 34";
|
||||
extent = "449 233";
|
||||
minExtent = "24 52";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
defaultLineHeight = "15";
|
||||
childMargin = "3 3";
|
||||
fieldBase = "gui/shll_field";
|
||||
|
||||
new GuiScrollContentCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "7 7";
|
||||
extent = "419 219";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextEditCtrl(EditDescriptionText) {
|
||||
profile = "ShellMessageTextProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "419 219";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "2";
|
||||
allowColorChars = "1";
|
||||
maxChars = "3600";
|
||||
};
|
||||
};
|
||||
};
|
||||
new ShellBitmapButton() {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "291 265";
|
||||
extent = "128 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "EditDescriptionApply();";
|
||||
helpTag = "0";
|
||||
text = "APPLY";
|
||||
simpleStyle = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
147
gui/BrowserSearchDlg.gui
Normal file
147
gui/BrowserSearchDlg.gui
Normal file
|
|
@ -0,0 +1,147 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(BrowserSearchDlg) {
|
||||
profile = "DlgBackProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new ShellPaneCtrl(BrowserSearchPane) {
|
||||
profile = "ShellDlgPaneProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "120 61";
|
||||
extent = "399 358";
|
||||
minExtent = "48 92";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
noTitleBar = "0";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "97 46";
|
||||
extent = "44 16";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "Search:";
|
||||
};
|
||||
new ShellScrollCtrl() {
|
||||
profile = "NewScrollCtrlProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "84 93";
|
||||
extent = "226 187";
|
||||
minExtent = "24 52";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
willFirstRespond = "1";
|
||||
hScrollBar = "alwaysOff";
|
||||
vScrollBar = "alwaysOn";
|
||||
constantThumbHeight = "0";
|
||||
defaultLineHeight = "15";
|
||||
childMargin = "0 3";
|
||||
fieldBase = "gui/shll_field";
|
||||
|
||||
new GuiScrollContentCtrl() {
|
||||
profile = "GuiDefaultProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "4 7";
|
||||
extent = "202 173";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new ShellTextList(BrowserSearchMatchList) {
|
||||
profile = "ShellTextArrayProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "202 8";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
altCommand = "BrowserSearchDone();";
|
||||
helpTag = "0";
|
||||
enumerate = "0";
|
||||
resizeCell = "1";
|
||||
columns = "0";
|
||||
fitParentWidth = "1";
|
||||
};
|
||||
};
|
||||
};
|
||||
new ShellBitmapButton(BSearchOKBtn) {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "201 288";
|
||||
extent = "115 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "BrowserSearchDone();";
|
||||
helpTag = "0";
|
||||
text = "OK";
|
||||
simpleStyle = "0";
|
||||
};
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "172 80";
|
||||
extent = "47 16";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "Matches:";
|
||||
};
|
||||
new ShellTextEditCtrl(Search_EditField) {
|
||||
profile = "NewTextEditProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "139 33";
|
||||
extent = "133 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
variable = "$BrowserSearchField";
|
||||
altCommand = "BrowserStartSearch();";
|
||||
helpTag = "0";
|
||||
historySize = "0";
|
||||
maxLength = "255";
|
||||
password = "0";
|
||||
glowOffset = "9 9";
|
||||
};
|
||||
new ShellBitmapButton() {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "80 288";
|
||||
extent = "116 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "Canvas.popDialog(BrowserSearchDlg);";
|
||||
accelerator = "escape";
|
||||
helpTag = "0";
|
||||
text = "CANCEL";
|
||||
simpleStyle = "0";
|
||||
};
|
||||
new ShellBitmapButton() {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "262 33";
|
||||
extent = "51 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "BrowserStartSearch();";
|
||||
helpTag = "0";
|
||||
text = "GO";
|
||||
simpleStyle = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
26
gui/CenterPrint.gui
Normal file
26
gui/CenterPrint.gui
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(CenterPrintDlg) {
|
||||
profile = "GuiModelessDialogProfile";
|
||||
horizSizing = "width";
|
||||
vertSizing = "height";
|
||||
position = "0 0";
|
||||
extent = "638 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new GuiMLTextCtrl(CenterPrintText) {
|
||||
profile = "ShellProgressBarTextProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "300 240";
|
||||
extent = "640 128";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
lineSpacing = "6";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
//--- OBJECT WRITE END ---
|
||||
107
gui/ChannelBanDlg.gui
Normal file
107
gui/ChannelBanDlg.gui
Normal file
|
|
@ -0,0 +1,107 @@
|
|||
//--- OBJECT WRITE BEGIN ---
|
||||
new GuiControl(ChannelBanDlg) {
|
||||
profile = "DlgBackProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "640 480";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new ShellPaneCtrl(ChannelBanPane) {
|
||||
profile = "ShellDlgPaneProfile";
|
||||
horizSizing = "center";
|
||||
vertSizing = "center";
|
||||
position = "154 65";
|
||||
extent = "332 346";
|
||||
minExtent = "48 92";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "EDIT BAN LIST";
|
||||
noTitleBar = "0";
|
||||
|
||||
new GuiTextCtrl() {
|
||||
profile = "ShellTextProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "27 28";
|
||||
extent = "72 22";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
text = "Warrior Name:";
|
||||
};
|
||||
new ShellScrollCtrl() {
|
||||
profile = "NewScrollCtrlProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "height";
|
||||
position = "22 42";
|
||||
extent = "287 248";
|
||||
minExtent = "24 52";
|
||||
visible = "1";
|
||||
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 = "279 234";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
|
||||
new ShellChatMemberList(ChannelBanList) {
|
||||
profile = "ShellChatMemberListProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "bottom";
|
||||
position = "0 0";
|
||||
extent = "263 8";
|
||||
minExtent = "8 8";
|
||||
visible = "1";
|
||||
helpTag = "0";
|
||||
enumerate = "0";
|
||||
resizeCell = "1";
|
||||
columns = "0 169";
|
||||
fitParentWidth = "1";
|
||||
clipColumnText = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
new ShellBitmapButton(ChannelBanRemoveBtn) {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "top";
|
||||
position = "32 291";
|
||||
extent = "128 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "ChannelRemoveBan();";
|
||||
helpTag = "0";
|
||||
text = "REMOVE BAN";
|
||||
simpleStyle = "0";
|
||||
};
|
||||
new ShellBitmapButton() {
|
||||
profile = "ShellButtonProfile";
|
||||
horizSizing = "right";
|
||||
vertSizing = "top";
|
||||
position = "169 291";
|
||||
extent = "128 38";
|
||||
minExtent = "32 38";
|
||||
visible = "1";
|
||||
command = "Canvas.popDialog(ChannelBanDlg);";
|
||||
helpTag = "0";
|
||||
text = "DONE";
|
||||
simpleStyle = "0";
|
||||
};
|
||||
};
|
||||
};
|
||||
//--- OBJECT WRITE END ---
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue