home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 79 / CDPowerplay79Disc1.iso / Demos / MobileForcesDemo_2002.05.07.exe / System / RageGame.u / aBot_RageCaptainsMessage_ScriptText.TextBuffer < prev    next >
Unknown  |  2002-05-07  |  2.4 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 71 26 2f 2f 0d 0a 2f 2f |........|q&//..//|
|00000010| 20 43 54 46 20 4d 65 73 | 73 61 67 65 73 0d 0a 2f | CTF Mes|sages../|
|00000020| 2f 0d 0a 2f 2f 20 53 77 | 69 74 63 68 20 30 3a 20 |/..// Sw|itch 0: |
|00000030| 43 61 70 74 61 69 6e 20 | 4b 69 6c 6c 65 64 20 4d |Captain |Killed M|
|00000040| 65 73 73 61 67 65 0d 0a | 2f 2f 09 52 65 6c 61 74 |essage..|//.Relat|
|00000050| 65 64 50 52 49 5f 31 20 | 69 73 20 74 68 65 20 73 |edPRI_1 |is the s|
|00000060| 63 6f 72 65 72 2e 0d 0a | 2f 2f 09 4f 70 74 69 6f |corer...|//.Optio|
|00000070| 6e 61 6c 4f 62 6a 65 63 | 74 20 69 73 20 74 68 65 |nalObjec|t is the|
|00000080| 20 66 6c 61 67 2e 0d 0a | 2f 2f 0d 0a 2f 2f 20 53 | flag...|//..// S|
|00000090| 77 69 74 63 68 20 31 3a | 20 4e 65 77 20 43 61 70 |witch 1:| New Cap|
|000000a0| 74 61 69 6e 20 4d 65 73 | 73 61 67 65 0d 0a 2f 2f |tain Mes|sage..//|
|000000b0| 09 52 65 6c 61 74 65 64 | 50 52 49 5f 31 20 69 73 |.Related|PRI_1 is|
|000000c0| 20 74 68 65 20 73 63 6f | 72 65 72 2e 0d 0a 2f 2f | the sco|rer...//|
|000000d0| 09 4f 70 74 69 6f 6e 61 | 6c 4f 62 6a 65 63 74 20 |.Optiona|lObject |
|000000e0| 69 73 20 74 68 65 20 66 | 6c 61 67 2e 0d 0a 0d 0a |is the f|lag.....|
|000000f0| 63 6c 61 73 73 20 52 61 | 67 65 43 61 70 74 61 69 |class Ra|geCaptai|
|00000100| 6e 73 4d 65 73 73 61 67 | 65 20 65 78 74 65 6e 64 |nsMessag|e extend|
|00000110| 73 20 52 61 67 65 4d 65 | 73 73 61 67 65 43 72 69 |s RageMe|ssageCri|
|00000120| 74 69 63 61 6c 45 76 65 | 6e 74 3b 0d 0a 0d 0a 76 |ticalEve|nt;....v|
|00000130| 61 72 20 6c 6f 63 61 6c | 69 7a 65 64 20 73 74 72 |ar local|ized str|
|00000140| 69 6e 67 20 4b 69 6c 6c | 65 64 42 6c 75 65 2c 20 |ing Kill|edBlue, |
|00000150| 4b 69 6c 6c 65 64 52 65 | 64 3b 0d 0a 76 61 72 20 |KilledRe|d;..var |
|00000160| 6c 6f 63 61 6c 69 7a 65 | 64 20 73 74 72 69 6e 67 |localize|d string|
|00000170| 20 4e 65 77 42 6c 75 65 | 2c 20 4e 65 77 52 65 64 | NewBlue|, NewRed|
|00000180| 3b 0d 0a 0d 0a 76 61 72 | 20 73 6f 75 6e 64 20 4b |;....var| sound K|
|00000190| 69 6c 6c 65 64 53 6f 75 | 6e 64 5b 32 5d 3b 0d 0a |illedSou|nd[2];..|
|000001a0| 0d 0a 73 74 61 74 69 63 | 20 66 75 6e 63 74 69 6f |..static| functio|
|000001b0| 6e 20 73 74 72 69 6e 67 | 20 47 65 74 53 74 72 69 |n string| GetStri|
|000001c0| 6e 67 28 0d 0a 09 6f 70 | 74 69 6f 6e 61 6c 20 69 |ng(...op|tional i|
|000001d0| 6e 74 20 53 77 69 74 63 | 68 2c 0d 0a 09 6f 70 74 |nt Switc|h,...opt|
|000001e0| 69 6f 6e 61 6c 20 50 6c | 61 79 65 72 52 65 70 6c |ional Pl|ayerRepl|
|000001f0| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 20 52 65 6c 61 |icationI|nfo Rela|
|00000200| 74 65 64 50 52 49 5f 31 | 2c 20 0d 0a 09 6f 70 74 |tedPRI_1|, ...opt|
|00000210| 69 6f 6e 61 6c 20 50 6c | 61 79 65 72 52 65 70 6c |ional Pl|ayerRepl|
|00000220| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 20 52 65 6c 61 |icationI|nfo Rela|
|00000230| 74 65 64 50 52 49 5f 32 | 2c 0d 0a 09 6f 70 74 69 |tedPRI_2|,...opti|
|00000240| 6f 6e 61 6c 20 4f 62 6a | 65 63 74 20 4f 70 74 69 |onal Obj|ect Opti|
|00000250| 6f 6e 61 6c 4f 62 6a 65 | 63 74 0d 0a 09 29 0d 0a |onalObje|ct...)..|
|00000260| 7b 0d 0a 09 73 77 69 74 | 63 68 20 28 53 77 69 74 |{...swit|ch (Swit|
|00000270| 63 68 29 0d 0a 09 7b 0d | 0a 09 09 2f 2f 20 6b 69 |ch)...{.|...// ki|
|00000280| 6c 6c 65 64 20 65 6e 65 | 6d 79 20 63 61 70 74 61 |lled ene|my capta|
|00000290| 69 6e 2e 0d 0a 09 09 63 | 61 73 65 20 30 3a 0d 0a |in.....c|ase 0:..|
|000002a0| 09 09 09 69 66 20 28 52 | 65 6c 61 74 65 64 50 52 |...if (R|elatedPR|
|000002b0| 49 5f 31 20 3d 3d 20 4e | 6f 6e 65 29 0d 0a 09 09 |I_1 == N|one)....|
|000002c0| 09 09 72 65 74 75 72 6e | 20 22 22 3b 0d 0a 09 09 |..return| "";....|
|000002d0| 09 69 66 20 28 20 52 65 | 6c 61 74 65 64 50 52 49 |.if ( Re|latedPRI|
|000002e0| 5f 32 20 3d 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 09 |_2 == No|ne )....|
|000002f0| 09 09 72 65 74 75 72 6e | 20 22 22 3b 0d 0a 0d 0a |..return| "";....|
|00000300| 09 09 09 69 66 20 28 20 | 52 65 6c 61 74 65 64 50 |...if ( |RelatedP|
|00000310| 52 49 5f 32 2e 54 65 61 | 6d 20 3d 3d 20 30 20 29 |RI_2.Tea|m == 0 )|
|00000320| 0d 0a 09 09 09 09 72 65 | 74 75 72 6e 20 52 65 6c |......re|turn Rel|
|00000330| 61 74 65 64 50 52 49 5f | 31 2e 50 6c 61 79 65 72 |atedPRI_|1.Player|
|00000340| 4e 61 6d 65 40 44 65 66 | 61 75 6c 74 2e 4b 69 6c |Name@Def|ault.Kil|
|00000350| 6c 65 64 42 6c 75 65 40 | 52 65 6c 61 74 65 64 50 |ledBlue@|RelatedP|
|00000360| 52 49 5f 32 2e 50 6c 61 | 79 65 72 4e 61 6d 65 3b |RI_2.Pla|yerName;|
|00000370| 0d 0a 09 09 09 65 6c 73 | 65 0d 0a 09 09 09 09 72 |.....els|e......r|
|00000380| 65 74 75 72 6e 20 52 65 | 6c 61 74 65 64 50 52 49 |eturn Re|latedPRI|
|00000390| 5f 31 2e 50 6c 61 79 65 | 72 4e 61 6d 65 40 44 65 |_1.Playe|rName@De|
|000003a0| 66 61 75 6c 74 2e 4b 69 | 6c 6c 65 64 52 65 64 40 |fault.Ki|lledRed@|
|000003b0| 52 65 6c 61 74 65 64 50 | 52 49 5f 32 2e 50 6c 61 |RelatedP|RI_2.Pla|
|000003c0| 79 65 72 4e 61 6d 65 3b | 0d 0a 09 09 09 62 72 65 |yerName;|.....bre|
|000003d0| 61 6b 3b 0d 0a 0d 0a 09 | 09 2f 2f 20 4e 65 77 20 |ak;.....|.// New |
|000003e0| 43 61 70 74 61 69 6e 20 | 73 65 6c 65 63 74 65 64 |Captain |selected|
|000003f0| 0d 0a 09 09 63 61 73 65 | 20 31 3a 0d 0a 09 09 09 |....case| 1:.....|
|00000400| 69 66 20 28 52 65 6c 61 | 74 65 64 50 52 49 5f 31 |if (Rela|tedPRI_1|
|00000410| 20 3d 3d 20 4e 6f 6e 65 | 29 0d 0a 09 09 09 09 72 | == None|)......r|
|00000420| 65 74 75 72 6e 20 22 22 | 3b 0d 0a 0d 0a 09 09 09 |eturn ""|;.......|
|00000430| 69 66 20 28 20 52 65 6c | 61 74 65 64 50 52 49 5f |if ( Rel|atedPRI_|
|00000440| 31 2e 54 65 61 6d 20 3d | 3d 20 30 20 29 0d 0a 09 |1.Team =|= 0 )...|
|00000450| 09 09 09 72 65 74 75 72 | 6e 20 52 65 6c 61 74 65 |...retur|n Relate|
|00000460| 64 50 52 49 5f 31 2e 50 | 6c 61 79 65 72 4e 61 6d |dPRI_1.P|layerNam|
|00000470| 65 40 44 65 66 61 75 6c | 74 2e 4e 65 77 42 6c 75 |e@Defaul|t.NewBlu|
|00000480| 65 3b 0d 0a 09 09 09 65 | 6c 73 65 0d 0a 09 09 09 |e;.....e|lse.....|
|00000490| 09 72 65 74 75 72 6e 20 | 52 65 6c 61 74 65 64 50 |.return |RelatedP|
|000004a0| 52 49 5f 31 2e 50 6c 61 | 79 65 72 4e 61 6d 65 40 |RI_1.Pla|yerName@|
|000004b0| 44 65 66 61 75 6c 74 2e | 4e 65 77 52 65 64 3b 0d |Default.|NewRed;.|
|000004c0| 0a 09 09 09 62 72 65 61 | 6b 3b 0d 0a 09 7d 0d 0a |....brea|k;...}..|
|000004d0| 09 72 65 74 75 72 6e 20 | 22 22 3b 0d 0a 7d 0d 0a |.return |"";..}..|
|000004e0| 0d 0a 73 74 61 74 69 63 | 20 73 69 6d 75 6c 61 74 |..static| simulat|
|000004f0| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 43 6c 69 65 |ed funct|ion Clie|
|00000500| 6e 74 52 65 63 65 69 76 | 65 28 20 0d 0a 09 50 6c |ntReceiv|e( ...Pl|
|00000510| 61 79 65 72 50 61 77 6e | 20 50 2c 0d 0a 09 6f 70 |ayerPawn| P,...op|
|00000520| 74 69 6f 6e 61 6c 20 69 | 6e 74 20 53 77 69 74 63 |tional i|nt Switc|
|00000530| 68 2c 0d 0a 09 6f 70 74 | 69 6f 6e 61 6c 20 50 6c |h,...opt|ional Pl|
|00000540| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00000550| 6e 66 6f 20 52 65 6c 61 | 74 65 64 50 52 49 5f 31 |nfo Rela|tedPRI_1|
|00000560| 2c 20 0d 0a 09 6f 70 74 | 69 6f 6e 61 6c 20 50 6c |, ...opt|ional Pl|
|00000570| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00000580| 6e 66 6f 20 52 65 6c 61 | 74 65 64 50 52 49 5f 32 |nfo Rela|tedPRI_2|
|00000590| 2c 0d 0a 09 6f 70 74 69 | 6f 6e 61 6c 20 4f 62 6a |,...opti|onal Obj|
|000005a0| 65 63 74 20 4f 70 74 69 | 6f 6e 61 6c 4f 62 6a 65 |ect Opti|onalObje|
|000005b0| 63 74 0d 0a 09 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |ct...)..|{...loca|
|000005c0| 6c 20 53 6f 75 6e 64 20 | 53 6f 75 6e 64 54 6f 50 |l Sound |SoundToP|
|000005d0| 6c 61 79 3b 0d 0a 09 6c | 6f 63 61 6c 20 41 63 74 |lay;...l|ocal Act|
|000005e0| 6f 72 20 53 6f 75 6e 64 | 50 6c 61 79 65 72 3b 0d |or Sound|Player;.|
|000005f0| 0a 0d 0a 09 53 75 70 65 | 72 2e 43 6c 69 65 6e 74 |....Supe|r.Client|
|00000600| 52 65 63 65 69 76 65 28 | 50 2c 20 53 77 69 74 63 |Receive(|P, Switc|
|00000610| 68 2c 20 52 65 6c 61 74 | 65 64 50 52 49 5f 31 2c |h, Relat|edPRI_1,|
|00000620| 20 52 65 6c 61 74 65 64 | 50 52 49 5f 32 2c 20 4f | Related|PRI_2, O|
|00000630| 70 74 69 6f 6e 61 6c 4f | 62 6a 65 63 74 29 3b 0d |ptionalO|bject);.|
|00000640| 0a 0d 0a 09 73 77 69 74 | 63 68 20 28 53 77 69 74 |....swit|ch (Swit|
|00000650| 63 68 29 0d 0a 09 7b 0d | 0a 09 09 63 61 73 65 20 |ch)...{.|...case |
|00000660| 30 3a 0d 0a 09 09 09 69 | 66 20 28 52 65 6c 61 74 |0:.....i|f (Relat|
|00000670| 65 64 50 52 49 5f 31 20 | 3d 3d 20 4e 6f 6e 65 29 |edPRI_1 |== None)|
|00000680| 0d 0a 09 09 09 09 72 65 | 74 75 72 6e 3b 0d 0a 09 |......re|turn;...|
|00000690| 09 09 69 66 20 28 20 52 | 65 6c 61 74 65 64 50 52 |..if ( R|elatedPR|
|000006a0| 49 5f 32 20 3d 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |I_2 == N|one )...|
|000006b0| 09 09 09 72 65 74 75 72 | 6e 3b 0d 0a 0d 0a 09 09 |...retur|n;......|
|000006c0| 09 69 66 20 28 20 52 65 | 6c 61 74 65 64 50 52 49 |.if ( Re|latedPRI|
|000006d0| 5f 32 2e 54 65 61 6d 20 | 3d 3d 20 31 20 29 0d 0a |_2.Team |== 1 )..|
|000006e0| 09 09 09 09 53 6f 75 6e | 64 54 6f 50 6c 61 79 20 |....Soun|dToPlay |
|000006f0| 3d 20 44 65 66 61 75 6c | 74 2e 4b 69 6c 6c 65 64 |= Defaul|t.Killed|
|00000700| 53 6f 75 6e 64 5b 30 5d | 3b 0d 0a 09 09 09 65 6c |Sound[0]|;.....el|
|00000710| 73 65 0d 0a 09 09 09 09 | 53 6f 75 6e 64 54 6f 50 |se......|SoundToP|
|00000720| 6c 61 79 20 3d 20 44 65 | 66 61 75 6c 74 2e 4b 69 |lay = De|fault.Ki|
|00000730| 6c 6c 65 64 53 6f 75 6e | 64 5b 31 5d 3b 0d 0a 09 |lledSoun|d[1];...|
|00000740| 09 09 62 72 65 61 6b 3b | 0d 0a 09 7d 0d 0a 0d 0a |..break;|...}....|
|00000750| 09 69 66 20 28 53 6f 75 | 6e 64 54 6f 50 6c 61 79 |.if (Sou|ndToPlay|
|00000760| 20 3d 3d 20 4e 6f 6e 65 | 29 0d 0a 09 09 72 65 74 | == None|)....ret|
|00000770| 75 72 6e 3b 0d 0a 0d 0a | 09 69 66 20 28 20 50 2e |urn;....|.if ( P.|
|00000780| 56 69 65 77 54 61 72 67 | 65 74 20 21 3d 20 4e 6f |ViewTarg|et != No|
|00000790| 6e 65 20 29 0d 0a 09 09 | 53 6f 75 6e 64 50 6c 61 |ne )....|SoundPla|
|000007a0| 79 65 72 20 3d 20 50 2e | 56 69 65 77 54 61 72 67 |yer = P.|ViewTarg|
|000007b0| 65 74 3b 0d 0a 09 65 6c | 73 65 0d 0a 09 09 53 6f |et;...el|se....So|
|000007c0| 75 6e 64 50 6c 61 79 65 | 72 20 3d 20 50 3b 0d 0a |undPlaye|r = P;..|
|000007d0| 0d 0a 09 69 66 20 28 20 | 52 50 6c 61 79 65 72 28 |...if ( |RPlayer(|
|000007e0| 50 29 20 3d 3d 20 4e 6f | 6e 65 20 7c 7c 20 52 50 |P) == No|ne || RP|
|000007f0| 6c 61 79 65 72 28 50 29 | 2e 41 6e 6e 6f 75 6e 63 |layer(P)|.Announc|
|00000800| 65 72 56 6f 6c 75 6d 65 | 20 3d 3d 20 30 20 29 0d |erVolume| == 0 ).|
|00000810| 0a 09 09 72 65 74 75 72 | 6e 3b 0d 0a 09 53 6f 75 |...retur|n;...Sou|
|00000820| 6e 64 50 6c 61 79 65 72 | 2e 50 6c 61 79 53 6f 75 |ndPlayer|.PlaySou|
|00000830| 6e 64 28 53 6f 75 6e 64 | 54 6f 50 6c 61 79 2c 20 |nd(Sound|ToPlay, |
|00000840| 53 4c 4f 54 5f 4e 6f 6e | 65 2c 20 31 36 2e 30 2c |SLOT_Non|e, 16.0,|
|00000850| 20 74 72 75 65 29 3b 0d | 0a 09 69 66 20 28 20 52 | true);.|..if ( R|
|00000860| 50 6c 61 79 65 72 28 50 | 29 2e 41 6e 6e 6f 75 6e |Player(P|).Announ|
|00000870| 63 65 72 56 6f 6c 75 6d | 65 20 3d 3d 20 31 20 29 |cerVolum|e == 1 )|
|00000880| 0d 0a 09 09 72 65 74 75 | 72 6e 3b 0d 0a 09 53 6f |....retu|rn;...So|
|00000890| 75 6e 64 50 6c 61 79 65 | 72 2e 50 6c 61 79 53 6f |undPlaye|r.PlaySo|
|000008a0| 75 6e 64 28 53 6f 75 6e | 64 54 6f 50 6c 61 79 2c |und(Soun|dToPlay,|
|000008b0| 20 53 4c 4f 54 5f 49 6e | 74 65 72 66 61 63 65 2c | SLOT_In|terface,|
|000008c0| 20 31 36 2e 30 2c 20 74 | 72 75 65 29 3b 0d 0a 09 | 16.0, t|rue);...|
|000008d0| 69 66 20 28 20 52 50 6c | 61 79 65 72 28 50 29 2e |if ( RPl|ayer(P).|
|000008e0| 41 6e 6e 6f 75 6e 63 65 | 72 56 6f 6c 75 6d 65 20 |Announce|rVolume |
|000008f0| 3d 3d 20 32 20 29 0d 0a | 09 09 72 65 74 75 72 6e |== 2 )..|..return|
|00000900| 3b 0d 0a 09 53 6f 75 6e | 64 50 6c 61 79 65 72 2e |;...Soun|dPlayer.|
|00000910| 50 6c 61 79 53 6f 75 6e | 64 28 53 6f 75 6e 64 54 |PlaySoun|d(SoundT|
|00000920| 6f 50 6c 61 79 2c 20 53 | 4c 4f 54 5f 4d 69 73 63 |oPlay, S|LOT_Misc|
|00000930| 2c 20 31 36 2e 30 2c 20 | 74 72 75 65 29 3b 0d 0a |, 16.0, |true);..|
|00000940| 09 69 66 20 28 20 52 50 | 6c 61 79 65 72 28 50 29 |.if ( RP|layer(P)|
|00000950| 2e 41 6e 6e 6f 75 6e 63 | 65 72 56 6f 6c 75 6d 65 |.Announc|erVolume|
|00000960| 20 3d 3d 20 33 20 29 0d | 0a 09 09 72 65 74 75 72 | == 3 ).|...retur|
|00000970| 6e 3b 0d 0a 09 53 6f 75 | 6e 64 50 6c 61 79 65 72 |n;...Sou|ndPlayer|
|00000980| 2e 50 6c 61 79 53 6f 75 | 6e 64 28 53 6f 75 6e 64 |.PlaySou|nd(Sound|
|00000990| 54 6f 50 6c 61 79 2c 20 | 53 4c 4f 54 5f 54 61 6c |ToPlay, |SLOT_Tal|
|000009a0| 6b 2c 20 31 36 2e 30 2c | 20 74 72 75 65 29 3b 0d |k, 16.0,| true);.|
|000009b0| 0a 0d 0a 0d 0a 7d 0d 0a | 0d 0a 00 |.....}..|... |
+--------+-------------------------+-------------------------+--------+--------+