home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 July & August / Gamestar_64_2004-07-08_dvd.iso / Patche / ut2004-winpatch3204.exe / UT2004-Patch / System / UnrealGame.u / Bot_RosterEntry_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-05-10  |  2.4 KB

view JSON data     |     view as text     |     open on a Mac     |     open on a PC

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 | 77 25 63 6c 61 73 73 20 |........|w%class |
|00000010| 52 6f 73 74 65 72 45 6e | 74 72 79 20 65 78 74 65 |RosterEn|try exte|
|00000020| 6e 64 73 20 4f 62 6a 65 | 63 74 0d 0a 09 09 65 64 |nds Obje|ct....ed|
|00000030| 69 74 69 6e 6c 69 6e 65 | 6e 65 77 3b 0d 0a 0d 0a |itinline|new;....|
|00000040| 76 61 72 28 29 20 63 6c | 61 73 73 3c 55 6e 72 65 |var() cl|ass<Unre|
|00000050| 61 6c 50 61 77 6e 3e 20 | 50 61 77 6e 43 6c 61 73 |alPawn> |PawnClas|
|00000060| 73 3b 0d 0a 76 61 72 28 | 29 20 73 74 72 69 6e 67 |s;..var(|) string|
|00000070| 20 50 61 77 6e 43 6c 61 | 73 73 4e 61 6d 65 3b 0d | PawnCla|ssName;.|
|00000080| 0a 76 61 72 28 29 20 73 | 74 72 69 6e 67 20 50 6c |.var() s|tring Pl|
|00000090| 61 79 65 72 4e 61 6d 65 | 3b 0d 0a 76 61 72 28 29 |ayerName|;..var()|
|000000a0| 20 73 74 72 69 6e 67 20 | 4d 6f 64 69 66 69 65 64 | string |Modified|
|000000b0| 50 6c 61 79 65 72 4e 61 | 6d 65 3b 0d 0a 76 61 72 |PlayerNa|me;..var|
|000000c0| 28 29 20 73 74 72 69 6e | 67 20 56 6f 69 63 65 54 |() strin|g VoiceT|
|000000d0| 79 70 65 4e 61 6d 65 3b | 0d 0a 76 61 72 28 29 20 |ypeName;|..var() |
|000000e0| 65 6e 75 6d 20 45 4f 72 | 64 65 72 73 0d 0a 7b 0d |enum EOr|ders..{.|
|000000f0| 0a 09 4f 52 44 45 52 53 | 5f 4e 6f 6e 65 2c 0d 0a |..ORDERS|_None,..|
|00000100| 09 4f 52 44 45 52 53 5f | 41 74 74 61 63 6b 2c 0d |.ORDERS_|Attack,.|
|00000110| 0a 09 4f 52 44 45 52 53 | 5f 44 65 66 65 6e 64 2c |..ORDERS|_Defend,|
|00000120| 0d 0a 09 4f 52 44 45 52 | 53 5f 46 72 65 65 6c 61 |...ORDER|S_Freela|
|00000130| 6e 63 65 2c 0d 0a 09 4f | 52 44 45 52 53 5f 53 75 |nce,...O|RDERS_Su|
|00000140| 70 70 6f 72 74 2c 0d 0a | 09 4f 52 44 45 52 53 5f |pport,..|.ORDERS_|
|00000150| 52 6f 61 6d 0d 0a 7d 20 | 4f 72 64 65 72 73 3b 0d |Roam..} |Orders;.|
|00000160| 0a 76 61 72 28 29 20 62 | 6f 6f 6c 20 62 54 61 6b |.var() b|ool bTak|
|00000170| 65 6e 3b 0d 0a 0d 0a 76 | 61 72 28 29 20 63 6c 61 |en;....v|ar() cla|
|00000180| 73 73 3c 57 65 61 70 6f | 6e 3e 20 46 61 76 6f 72 |ss<Weapo|n> Favor|
|00000190| 69 74 65 57 65 61 70 6f | 6e 3b 0d 0a 76 61 72 28 |iteWeapo|n;..var(|
|000001a0| 29 20 66 6c 6f 61 74 20 | 41 67 67 72 65 73 73 69 |) float |Aggressi|
|000001b0| 76 65 6e 65 73 73 3b 09 | 09 2f 2f 20 30 20 74 6f |veness;.|.// 0 to|
|000001c0| 20 31 20 28 30 2e 33 20 | 64 65 66 61 75 6c 74 2c | 1 (0.3 |default,|
|000001d0| 20 68 69 67 68 65 72 20 | 69 73 20 6d 6f 72 65 20 | higher |is more |
|000001e0| 61 67 67 72 65 73 73 69 | 76 65 29 0d 0a 76 61 72 |aggressi|ve)..var|
|000001f0| 28 29 20 66 6c 6f 61 74 | 20 41 63 63 75 72 61 63 |() float| Accurac|
|00000200| 79 3b 09 09 09 2f 2f 20 | 2d 31 20 74 6f 20 31 20 |y;...// |-1 to 1 |
|00000210| 28 30 20 69 73 20 64 65 | 66 61 75 6c 74 2c 20 68 |(0 is de|fault, h|
|00000220| 69 67 68 65 72 20 69 73 | 20 6d 6f 72 65 20 61 63 |igher is| more ac|
|00000230| 63 75 72 61 74 65 29 0d | 0a 76 61 72 28 29 20 66 |curate).|.var() f|
|00000240| 6c 6f 61 74 20 43 6f 6d | 62 61 74 53 74 79 6c 65 |loat Com|batStyle|
|00000250| 3b 09 09 2f 2f 20 30 20 | 74 6f 20 31 20 28 30 3d |;..// 0 |to 1 (0=|
|00000260| 20 73 74 61 79 20 62 61 | 63 6b 20 6d 6f 72 65 2c | stay ba|ck more,|
|00000270| 20 31 20 3d 20 63 68 61 | 72 67 65 20 6d 6f 72 65 | 1 = cha|rge more|
|00000280| 29 0d 0a 76 61 72 28 29 | 20 66 6c 6f 61 74 20 53 |)..var()| float S|
|00000290| 74 72 61 66 69 6e 67 41 | 62 69 6c 69 74 79 3b 09 |trafingA|bility;.|
|000002a0| 2f 2f 20 2d 31 20 74 6f | 20 31 20 28 68 69 67 68 |// -1 to| 1 (high|
|000002b0| 65 72 20 75 73 65 73 20 | 73 74 72 61 66 69 6e 67 |er uses |strafing|
|000002c0| 20 6d 6f 72 65 29 0d 0a | 76 61 72 28 29 20 66 6c | more)..|var() fl|
|000002d0| 6f 61 74 20 54 61 63 74 | 69 63 73 3b 09 09 09 2f |oat Tact|ics;.../|
|000002e0| 2f 20 2d 31 20 74 6f 20 | 31 20 28 68 69 67 68 65 |/ -1 to |1 (highe|
|000002f0| 72 20 75 73 65 73 20 62 | 65 74 74 65 72 20 74 65 |r uses b|etter te|
|00000300| 61 6d 20 74 61 63 74 69 | 63 73 29 0d 0a 76 61 72 |am tacti|cs)..var|
|00000310| 28 29 20 66 6c 6f 61 74 | 20 52 65 61 63 74 69 6f |() float| Reactio|
|00000320| 6e 54 69 6d 65 3b 0d 0a | 76 61 72 28 29 20 66 6c |nTime;..|var() fl|
|00000330| 6f 61 74 20 4a 75 6d 70 | 69 6e 65 73 73 3b 09 09 |oat Jump|iness;..|
|00000340| 09 2f 2f 20 2d 31 20 74 | 6f 20 31 0d 0a 76 61 72 |.// -1 t|o 1..var|
|00000350| 20 62 6f 6f 6c 20 62 4a | 75 6d 70 79 3b 09 09 09 | bool bJ|umpy;...|
|00000360| 09 2f 2f 20 4f 42 53 4f | 4c 45 54 45 0d 0a 0d 0a |.// OBSO|LETE....|
|00000370| 66 75 6e 63 74 69 6f 6e | 20 49 6e 69 74 28 29 20 |function| Init() |
|00000380| 2f 2f 61 6d 62 0d 0a 7b | 0d 0a 20 20 20 20 69 66 |//amb..{|.. if|
|00000390| 28 20 50 61 77 6e 43 6c | 61 73 73 4e 61 6d 65 20 |( PawnCl|assName |
|000003a0| 21 3d 20 22 22 20 29 20 | 0d 0a 20 20 20 20 20 20 |!= "" ) |.. |
|000003b0| 20 20 50 61 77 6e 43 6c | 61 73 73 20 3d 20 63 6c | PawnCl|ass = cl|
|000003c0| 61 73 73 3c 55 6e 72 65 | 61 6c 50 61 77 6e 3e 28 |ass<Unre|alPawn>(|
|000003d0| 44 79 6e 61 6d 69 63 4c | 6f 61 64 4f 62 6a 65 63 |DynamicL|oadObjec|
|000003e0| 74 28 50 61 77 6e 43 6c | 61 73 73 4e 61 6d 65 2c |t(PawnCl|assName,|
|000003f0| 20 63 6c 61 73 73 27 63 | 6c 61 73 73 27 29 29 3b | class'c|lass'));|
|00000400| 0d 0a 20 20 20 20 2f 2f | 6c 6f 67 28 73 65 6c 66 |.. //|log(self|
|00000410| 24 22 20 50 61 77 6e 43 | 6c 61 73 73 3d 22 24 50 |$" PawnC|lass="$P|
|00000420| 61 77 6e 43 6c 61 73 73 | 29 3b 0d 0a 7d 0d 0a 0d |awnClass|);..}...|
|00000430| 0a 66 75 6e 63 74 69 6f | 6e 20 50 72 65 63 61 63 |.functio|n Precac|
|00000440| 68 65 52 6f 73 74 65 72 | 46 6f 72 28 55 6e 72 65 |heRoster|For(Unre|
|00000450| 61 6c 54 65 61 6d 49 6e | 66 6f 20 54 29 3b 0d 0a |alTeamIn|fo T);..|
|00000460| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 65 74 4f 72 |..functi|on SetOr|
|00000470| 64 65 72 73 28 20 47 61 | 6d 65 50 72 6f 66 69 6c |ders( Ga|meProfil|
|00000480| 65 2e 45 50 6c 61 79 65 | 72 50 6f 73 20 50 6f 73 |e.EPlaye|rPos Pos|
|00000490| 69 74 69 6f 6e 29 0d 0a | 7b 0d 0a 09 73 77 69 74 |ition)..|{...swit|
|000004a0| 63 68 20 28 20 50 6f 73 | 69 74 69 6f 6e 20 29 0d |ch ( Pos|ition ).|
|000004b0| 0a 09 7b 0d 0a 09 09 63 | 61 73 65 20 50 4f 53 5f |..{....c|ase POS_|
|000004c0| 44 65 66 65 6e 73 65 3a | 0d 0a 09 09 09 4f 72 64 |Defense:|.....Ord|
|000004d0| 65 72 73 20 3d 20 4f 52 | 44 45 52 53 5f 44 65 66 |ers = OR|DERS_Def|
|000004e0| 65 6e 64 3b 0d 0a 09 09 | 09 62 72 65 61 6b 3b 0d |end;....|.break;.|
|000004f0| 0a 09 09 63 61 73 65 20 | 50 4f 53 5f 4f 66 66 65 |...case |POS_Offe|
|00000500| 6e 73 65 3a 0d 0a 09 09 | 09 4f 72 64 65 72 73 20 |nse:....|.Orders |
|00000510| 3d 20 4f 52 44 45 52 53 | 5f 41 74 74 61 63 6b 3b |= ORDERS|_Attack;|
|00000520| 0d 0a 09 09 09 62 72 65 | 61 6b 3b 0d 0a 09 09 63 |.....bre|ak;....c|
|00000530| 61 73 65 20 50 4f 53 5f | 52 6f 61 6d 3a 0d 0a 09 |ase POS_|Roam:...|
|00000540| 09 09 4f 72 64 65 72 73 | 20 3d 20 4f 52 44 45 52 |..Orders| = ORDER|
|00000550| 53 5f 46 72 65 65 6c 61 | 6e 63 65 3b 0d 0a 09 09 |S_Freela|nce;....|
|00000560| 09 62 72 65 61 6b 3b 0d | 0a 09 09 63 61 73 65 20 |.break;.|...case |
|00000570| 50 4f 53 5f 53 75 70 70 | 6f 72 74 69 6e 67 3a 0d |POS_Supp|orting:.|
|00000580| 0a 09 09 09 4f 72 64 65 | 72 73 20 3d 20 4f 52 44 |....Orde|rs = ORD|
|00000590| 45 52 53 5f 53 75 70 70 | 6f 72 74 3b 0d 0a 09 09 |ERS_Supp|ort;....|
|000005a0| 09 62 72 65 61 6b 3b 0d | 0a 09 7d 0d 0a 7d 09 09 |.break;.|..}..}..|
|000005b0| 0d 0a 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 62 6f 6f |....func|tion boo|
|000005c0| 6c 20 52 65 63 6f 6d 6d | 65 6e 64 53 75 70 70 6f |l Recomm|endSuppo|
|000005d0| 72 74 28 29 0d 0a 7b 0d | 0a 09 72 65 74 75 72 6e |rt()..{.|..return|
|000005e0| 20 28 20 4f 72 64 65 72 | 73 20 3d 3d 20 4f 52 44 | ( Order|s == ORD|
|000005f0| 45 52 53 5f 53 75 70 70 | 6f 72 74 20 29 3b 0d 0a |ERS_Supp|ort );..|
|00000600| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 62 6f |}....fun|ction bo|
|00000610| 6f 6c 20 4e 6f 52 65 63 | 6f 6d 6d 65 6e 64 61 74 |ol NoRec|ommendat|
|00000620| 69 6f 6e 28 29 0d 0a 7b | 0d 0a 09 72 65 74 75 72 |ion()..{|...retur|
|00000630| 6e 20 28 20 4f 72 64 65 | 72 73 20 3d 3d 20 4f 52 |n ( Orde|rs == OR|
|00000640| 44 45 52 53 5f 4e 6f 6e | 65 20 29 3b 0d 0a 7d 0d |DERS_Non|e );..}.|
|00000650| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 62 6f 6f 6c |...funct|ion bool|
|00000660| 20 52 65 63 6f 6d 6d 65 | 6e 64 44 65 66 65 6e 73 | Recomme|ndDefens|
|00000670| 65 28 29 0d 0a 7b 0d 0a | 09 72 65 74 75 72 6e 20 |e()..{..|.return |
|00000680| 28 20 4f 72 64 65 72 73 | 20 3d 3d 20 4f 52 44 45 |( Orders| == ORDE|
|00000690| 52 53 5f 44 65 66 65 6e | 64 20 29 3b 0d 0a 7d 0d |RS_Defen|d );..}.|
|000006a0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 62 6f 6f 6c |...funct|ion bool|
|000006b0| 20 52 65 63 6f 6d 6d 65 | 6e 64 46 72 65 65 6c 61 | Recomme|ndFreela|
|000006c0| 6e 63 65 28 29 0d 0a 7b | 0d 0a 09 72 65 74 75 72 |nce()..{|...retur|
|000006d0| 6e 20 28 20 4f 72 64 65 | 72 73 20 3d 3d 20 4f 52 |n ( Orde|rs == OR|
|000006e0| 44 45 52 53 5f 46 72 65 | 65 6c 61 6e 63 65 20 29 |DERS_Fre|elance )|
|000006f0| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00000700| 20 62 6f 6f 6c 20 52 65 | 63 6f 6d 6d 65 6e 64 41 | bool Re|commendA|
|00000710| 74 74 61 63 6b 28 29 0d | 0a 7b 0d 0a 09 72 65 74 |ttack().|.{...ret|
|00000720| 75 72 6e 20 28 20 4f 72 | 64 65 72 73 20 3d 3d 20 |urn ( Or|ders == |
|00000730| 4f 52 44 45 52 53 5f 41 | 74 74 61 63 6b 20 29 3b |ORDERS_A|ttack );|
|00000740| 0d 0a 7d 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |..}....f|unction |
|00000750| 49 6e 69 74 42 6f 74 28 | 42 6f 74 20 42 29 0d 0a |InitBot(|Bot B)..|
|00000760| 7b 0d 0a 20 20 20 20 63 | 6c 61 73 73 27 43 75 73 |{.. c|lass'Cus|
|00000770| 74 6f 6d 42 6f 74 43 6f | 6e 66 69 67 27 2e 73 74 |tomBotCo|nfig'.st|
|00000780| 61 74 69 63 2e 43 75 73 | 74 6f 6d 69 7a 65 28 73 |atic.Cus|tomize(s|
|00000790| 65 6c 66 29 3b 0d 0a 0d | 0a 09 42 2e 46 61 76 6f |elf);...|..B.Favo|
|000007a0| 72 69 74 65 57 65 61 70 | 6f 6e 20 3d 20 46 61 76 |riteWeap|on = Fav|
|000007b0| 6f 72 69 74 65 57 65 61 | 70 6f 6e 3b 0d 0a 09 42 |oriteWea|pon;...B|
|000007c0| 2e 41 67 67 72 65 73 73 | 69 76 65 6e 65 73 73 20 |.Aggress|iveness |
|000007d0| 3d 20 46 43 6c 61 6d 70 | 28 41 67 67 72 65 73 73 |= FClamp|(Aggress|
|000007e0| 69 76 65 6e 65 73 73 2c | 20 30 2c 20 31 29 3b 0d |iveness,| 0, 1);.|
|000007f0| 0a 09 42 2e 42 61 73 65 | 41 67 67 72 65 73 73 69 |..B.Base|Aggressi|
|00000800| 76 65 6e 65 73 73 20 3d | 20 42 2e 41 67 67 72 65 |veness =| B.Aggre|
|00000810| 73 73 69 76 65 6e 65 73 | 73 3b 0d 0a 09 42 2e 41 |ssivenes|s;...B.A|
|00000820| 63 63 75 72 61 63 79 20 | 3d 20 46 43 6c 61 6d 70 |ccuracy |= FClamp|
|00000830| 28 41 63 63 75 72 61 63 | 79 2c 20 2d 35 2c 20 35 |(Accurac|y, -5, 5|
|00000840| 29 3b 0d 0a 09 42 2e 53 | 74 72 61 66 69 6e 67 41 |);...B.S|trafingA|
|00000850| 62 69 6c 69 74 79 20 3d | 20 46 43 6c 61 6d 70 28 |bility =| FClamp(|
|00000860| 53 74 72 61 66 69 6e 67 | 41 62 69 6c 69 74 79 2c |Strafing|Ability,|
|00000870| 20 2d 35 2c 20 35 29 3b | 0d 0a 09 42 2e 43 6f 6d | -5, 5);|...B.Com|
|00000880| 62 61 74 53 74 79 6c 65 | 20 3d 20 46 43 6c 61 6d |batStyle| = FClam|
|00000890| 70 28 43 6f 6d 62 61 74 | 53 74 79 6c 65 2c 20 30 |p(Combat|Style, 0|
|000008a0| 2c 20 31 29 3b 0d 0a 09 | 42 2e 54 61 63 74 69 63 |, 1);...|B.Tactic|
|000008b0| 73 20 3d 20 46 43 6c 61 | 6d 70 28 54 61 63 74 69 |s = FCla|mp(Tacti|
|000008c0| 63 73 2c 20 2d 35 2c 20 | 35 29 3b 0d 0a 09 42 2e |cs, -5, |5);...B.|
|000008d0| 52 65 61 63 74 69 6f 6e | 54 69 6d 65 20 3d 20 46 |Reaction|Time = F|
|000008e0| 43 6c 61 6d 70 28 52 65 | 61 63 74 69 6f 6e 54 69 |Clamp(Re|actionTi|
|000008f0| 6d 65 2c 20 2d 35 2c 20 | 35 29 3b 0d 0a 09 42 2e |me, -5, |5);...B.|
|00000900| 4a 75 6d 70 69 6e 65 73 | 73 20 3d 20 4a 75 6d 70 |Jumpines|s = Jump|
|00000910| 69 6e 65 73 73 3b 0d 0a | 09 69 66 20 28 20 42 2e |iness;..|.if ( B.|
|00000920| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00000930| 6e 49 6e 66 6f 20 21 3d | 20 4e 6f 6e 65 20 29 0d |nInfo !=| None ).|
|00000940| 0a 09 09 42 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |...B.Pla|yerRepli|
|00000950| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 56 6f 69 63 65 |cationIn|fo.Voice|
|00000960| 54 79 70 65 4e 61 6d 65 | 20 3d 20 56 6f 69 63 65 |TypeName| = Voice|
|00000970| 54 79 70 65 4e 61 6d 65 | 3b 0d 0a 7d 0d 0a 0d 0a |TypeName|;..}....|
|00000980| 00 | |. | |
+--------+-------------------------+-------------------------+--------+--------+