home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-05-10 | 4.3 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.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 4a 44 2f 2f 3d 3d 3d 3d |........|JD//====|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 2f 2f 20 44 65 |========|=..// De|
|00000060| 6d 6f 52 65 63 53 70 65 | 63 74 61 74 6f 72 20 2d |moRecSpe|ctator -|
|00000070| 20 73 70 65 63 74 61 74 | 6f 72 20 66 6f 72 20 64 | spectat|or for d|
|00000080| 65 6d 6f 20 72 65 63 6f | 72 64 69 6e 67 73 20 74 |emo reco|rdings t|
|00000090| 6f 20 72 65 70 6c 69 63 | 61 74 65 20 43 6c 69 65 |o replic|ate Clie|
|000000a0| 6e 74 4d 65 73 73 61 67 | 65 73 0d 0a 2f 2f 3d 3d |ntMessag|es..//==|
|000000b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0d 0a 0d 0a 63 |========|===....c|
|00000100| 6c 61 73 73 20 44 65 6d | 6f 52 65 63 53 70 65 63 |lass Dem|oRecSpec|
|00000110| 74 61 74 6f 72 20 65 78 | 74 65 6e 64 73 20 55 6e |tator ex|tends Un|
|00000120| 72 65 61 6c 50 6c 61 79 | 65 72 3b 0d 0a 0d 0a 76 |realPlay|er;....v|
|00000130| 61 72 20 62 6f 6f 6c 20 | 62 54 65 6d 70 42 65 68 |ar bool |bTempBeh|
|00000140| 69 6e 64 56 69 65 77 3b | 0d 0a 76 61 72 20 62 6f |indView;|..var bo|
|00000150| 6f 6c 20 62 46 6f 75 6e | 64 50 6c 61 79 65 72 3b |ol bFoun|dPlayer;|
|00000160| 0d 0a 76 61 72 20 73 74 | 72 69 6e 67 20 52 65 6d |..var st|ring Rem|
|00000170| 6f 74 65 56 69 65 77 54 | 61 72 67 65 74 3b 09 2f |oteViewT|arget;./|
|00000180| 2f 20 55 73 65 64 20 74 | 6f 20 74 72 61 63 6b 20 |/ Used t|o track |
|00000190| 74 61 72 67 65 74 73 20 | 77 69 74 68 6f 75 74 20 |targets |without |
|000001a0| 61 20 63 6f 6e 74 72 6f | 6c 6c 65 72 0d 0a 0d 0a |a contro|ller....|
|000001b0| 65 76 65 6e 74 20 50 6f | 73 74 42 65 67 69 6e 50 |event Po|stBeginP|
|000001c0| 6c 61 79 28 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |lay()..{|...local|
|000001d0| 20 63 6c 61 73 73 3c 48 | 55 44 3e 20 48 75 64 43 | class<H|UD> HudC|
|000001e0| 6c 61 73 73 3b 0d 0a 09 | 6c 6f 63 61 6c 20 63 6c |lass;...|local cl|
|000001f0| 61 73 73 3c 53 63 6f 72 | 65 62 6f 61 72 64 3e 20 |ass<Scor|eboard> |
|00000200| 53 63 6f 72 65 62 6f 61 | 72 64 43 6c 61 73 73 3b |Scoreboa|rdClass;|
|00000210| 0d 0a 0d 0a 09 2f 2f 20 | 57 65 27 72 65 20 63 75 |.....// |We're cu|
|00000220| 72 72 65 6e 74 6c 79 20 | 64 6f 69 6e 67 20 64 65 |rrently |doing de|
|00000230| 6d 6f 20 72 65 63 6f 72 | 64 69 6e 67 0d 0a 09 69 |mo recor|ding...i|
|00000240| 66 28 20 52 6f 6c 65 20 | 3d 3d 20 52 4f 4c 45 5f |f( Role |== ROLE_|
|00000250| 41 75 74 68 6f 72 69 74 | 79 20 26 26 20 4c 65 76 |Authorit|y && Lev|
|00000260| 65 6c 2e 47 61 6d 65 20 | 21 3d 20 4e 6f 6e 65 20 |el.Game |!= None |
|00000270| 29 0d 0a 09 7b 0d 0a 09 | 09 48 75 64 43 6c 61 73 |)...{...|.HudClas|
|00000280| 73 20 3d 20 63 6c 61 73 | 73 3c 48 55 44 3e 28 44 |s = clas|s<HUD>(D|
|00000290| 79 6e 61 6d 69 63 4c 6f | 61 64 4f 62 6a 65 63 74 |ynamicLo|adObject|
|000002a0| 28 4c 65 76 65 6c 2e 47 | 61 6d 65 2e 48 55 44 54 |(Level.G|ame.HUDT|
|000002b0| 79 70 65 2c 20 63 6c 61 | 73 73 27 43 6c 61 73 73 |ype, cla|ss'Class|
|000002c0| 27 29 29 3b 0d 0a 09 09 | 69 66 28 20 48 75 64 43 |'));....|if( HudC|
|000002d0| 6c 61 73 73 20 3d 3d 20 | 4e 6f 6e 65 20 29 0d 0a |lass == |None )..|
|000002e0| 09 09 09 6c 6f 67 28 20 | 22 43 61 6e 27 74 20 66 |...log( |"Can't f|
|000002f0| 69 6e 64 20 48 55 44 20 | 63 6c 61 73 73 20 22 24 |ind HUD |class "$|
|00000300| 4c 65 76 65 6c 2e 47 61 | 6d 65 2e 48 55 44 54 79 |Level.Ga|me.HUDTy|
|00000310| 70 65 2c 20 27 45 72 72 | 6f 72 27 20 29 3b 0d 0a |pe, 'Err|or' );..|
|00000320| 20 20 20 20 20 20 20 20 | 53 63 6f 72 65 62 6f 61 | |Scoreboa|
|00000330| 72 64 43 6c 61 73 73 20 | 3d 20 63 6c 61 73 73 3c |rdClass |= class<|
|00000340| 53 63 6f 72 65 62 6f 61 | 72 64 3e 28 44 79 6e 61 |Scoreboa|rd>(Dyna|
|00000350| 6d 69 63 4c 6f 61 64 4f | 62 6a 65 63 74 28 4c 65 |micLoadO|bject(Le|
|00000360| 76 65 6c 2e 47 61 6d 65 | 2e 53 63 6f 72 65 42 6f |vel.Game|.ScoreBo|
|00000370| 61 72 64 54 79 70 65 2c | 20 63 6c 61 73 73 27 43 |ardType,| class'C|
|00000380| 6c 61 73 73 27 29 29 3b | 0d 0a 09 09 69 66 28 20 |lass'));|....if( |
|00000390| 53 63 6f 72 65 62 6f 61 | 72 64 43 6c 61 73 73 20 |Scoreboa|rdClass |
|000003a0| 3d 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 09 09 6c 6f |== None |).....lo|
|000003b0| 67 28 20 22 43 61 6e 27 | 74 20 66 69 6e 64 20 48 |g( "Can'|t find H|
|000003c0| 55 44 20 63 6c 61 73 73 | 20 22 24 4c 65 76 65 6c |UD class| "$Level|
|000003d0| 2e 47 61 6d 65 2e 53 63 | 6f 72 65 42 6f 61 72 64 |.Game.Sc|oreBoard|
|000003e0| 54 79 70 65 2c 20 27 45 | 72 72 6f 72 27 20 29 3b |Type, 'E|rror' );|
|000003f0| 0d 0a 09 09 43 6c 69 65 | 6e 74 53 65 74 48 55 44 |....Clie|ntSetHUD|
|00000400| 28 20 48 75 64 43 6c 61 | 73 73 2c 20 53 63 6f 72 |( HudCla|ss, Scor|
|00000410| 65 62 6f 61 72 64 43 6c | 61 73 73 20 29 3b 0d 0a |eboardCl|ass );..|
|00000420| 09 7d 0d 0a 0d 0a 09 53 | 75 70 65 72 2e 50 6f 73 |.}.....S|uper.Pos|
|00000430| 74 42 65 67 69 6e 50 6c | 61 79 28 29 3b 0d 0a 0d |tBeginPl|ay();...|
|00000440| 0a 09 69 66 20 28 20 50 | 6c 61 79 65 72 52 65 70 |..if ( P|layerRep|
|00000450| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 20 21 3d 20 |lication|Info != |
|00000460| 4e 6f 6e 65 20 29 0d 0a | 09 09 50 6c 61 79 65 72 |None )..|..Player|
|00000470| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00000480| 62 4f 75 74 4f 66 4c 69 | 76 65 73 20 3d 20 74 72 |bOutOfLi|ves = tr|
|00000490| 75 65 3b 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |ue;..}..|..functi|
|000004a0| 6f 6e 20 49 6e 69 74 50 | 6c 61 79 65 72 52 65 70 |on InitP|layerRep|
|000004b0| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 28 29 0d 0a |lication|Info()..|
|000004c0| 7b 0d 0a 09 53 75 70 65 | 72 2e 49 6e 69 74 50 6c |{...Supe|r.InitPl|
|000004d0| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|000004e0| 6e 66 6f 28 29 3b 0d 0a | 09 50 6c 61 79 65 72 52 |nfo();..|.PlayerR|
|000004f0| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 2e 50 |eplicati|onInfo.P|
|00000500| 6c 61 79 65 72 4e 61 6d | 65 3d 22 44 65 6d 6f 52 |layerNam|e="DemoR|
|00000510| 65 63 53 70 65 63 74 61 | 74 6f 72 22 3b 0d 0a 09 |ecSpecta|tor";...|
|00000520| 50 6c 61 79 65 72 52 65 | 70 6c 69 63 61 74 69 6f |PlayerRe|plicatio|
|00000530| 6e 49 6e 66 6f 2e 62 49 | 73 53 70 65 63 74 61 74 |nInfo.bI|sSpectat|
|00000540| 6f 72 20 3d 20 74 72 75 | 65 3b 0d 0a 09 50 6c 61 |or = tru|e;...Pla|
|00000550| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00000560| 66 6f 2e 62 4f 6e 6c 79 | 53 70 65 63 74 61 74 6f |fo.bOnly|Spectato|
|00000570| 72 20 3d 20 74 72 75 65 | 3b 0d 0a 09 50 6c 61 79 |r = true|;...Play|
|00000580| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00000590| 6f 2e 62 4f 75 74 4f 66 | 4c 69 76 65 73 20 3d 20 |o.bOutOf|Lives = |
|000005a0| 74 72 75 65 3b 0d 0a 09 | 50 6c 61 79 65 72 52 65 |true;...|PlayerRe|
|000005b0| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 2e 62 57 |plicatio|nInfo.bW|
|000005c0| 61 69 74 69 6e 67 50 6c | 61 79 65 72 20 3d 20 66 |aitingPl|ayer = f|
|000005d0| 61 6c 73 65 3b 0d 0a 7d | 0d 0a 0d 0a 65 78 65 63 |alse;..}|....exec|
|000005e0| 20 66 75 6e 63 74 69 6f | 6e 20 56 69 65 77 43 6c | functio|n ViewCl|
|000005f0| 61 73 73 28 20 63 6c 61 | 73 73 3c 61 63 74 6f 72 |ass( cla|ss<actor|
|00000600| 3e 20 61 43 6c 61 73 73 | 2c 20 6f 70 74 69 6f 6e |> aClass|, option|
|00000610| 61 6c 20 62 6f 6f 6c 20 | 62 51 75 69 65 74 2c 20 |al bool |bQuiet, |
|00000620| 6f 70 74 69 6f 6e 61 6c | 20 62 6f 6f 6c 20 62 43 |optional| bool bC|
|00000630| 68 65 61 74 20 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |heat )..|{...loca|
|00000640| 6c 20 61 63 74 6f 72 20 | 6f 74 68 65 72 2c 20 66 |l actor |other, f|
|00000650| 69 72 73 74 3b 0d 0a 09 | 6c 6f 63 61 6c 20 62 6f |irst;...|local bo|
|00000660| 6f 6c 20 62 46 6f 75 6e | 64 3b 0d 0a 0d 0a 09 66 |ol bFoun|d;.....f|
|00000670| 69 72 73 74 20 3d 20 4e | 6f 6e 65 3b 0d 0a 0d 0a |irst = N|one;....|
|00000680| 09 46 6f 72 45 61 63 68 | 20 41 6c 6c 41 63 74 6f |.ForEach| AllActo|
|00000690| 72 73 28 20 61 43 6c 61 | 73 73 2c 20 6f 74 68 65 |rs( aCla|ss, othe|
|000006a0| 72 20 29 0d 0a 09 7b 0d | 0a 09 09 69 66 20 28 20 |r )...{.|...if ( |
|000006b0| 62 46 6f 75 6e 64 20 7c | 7c 20 28 66 69 72 73 74 |bFound ||| (first|
|000006c0| 20 3d 3d 20 4e 6f 6e 65 | 29 20 29 0d 0a 09 09 7b | == None|) )....{|
|000006d0| 0d 0a 09 09 09 66 69 72 | 73 74 20 3d 20 6f 74 68 |.....fir|st = oth|
|000006e0| 65 72 3b 0d 0a 09 09 09 | 69 66 20 28 20 62 46 6f |er;.....|if ( bFo|
|000006f0| 75 6e 64 20 29 0d 0a 09 | 09 09 09 62 72 65 61 6b |und )...|...break|
|00000700| 3b 0d 0a 09 09 7d 0d 0a | 09 09 69 66 20 28 20 6f |;....}..|..if ( o|
|00000710| 74 68 65 72 20 3d 3d 20 | 56 69 65 77 54 61 72 67 |ther == |ViewTarg|
|00000720| 65 74 20 29 0d 0a 09 09 | 09 62 46 6f 75 6e 64 20 |et )....|.bFound |
|00000730| 3d 20 74 72 75 65 3b 0d | 0a 09 7d 0d 0a 0d 0a 09 |= true;.|..}.....|
|00000740| 69 66 20 28 20 66 69 72 | 73 74 20 21 3d 20 4e 6f |if ( fir|st != No|
|00000750| 6e 65 20 29 0d 0a 09 7b | 0d 0a 09 09 53 65 74 56 |ne )...{|....SetV|
|00000760| 69 65 77 54 61 72 67 65 | 74 28 66 69 72 73 74 29 |iewTarge|t(first)|
|00000770| 3b 0d 0a 09 09 62 42 65 | 68 69 6e 64 56 69 65 77 |;....bBe|hindView|
|00000780| 20 3d 20 28 20 56 69 65 | 77 54 61 72 67 65 74 20 | = ( Vie|wTarget |
|00000790| 21 3d 20 73 65 6c 66 20 | 29 3b 0d 0a 0d 0a 09 09 |!= self |);......|
|000007a0| 69 66 20 28 20 62 42 65 | 68 69 6e 64 56 69 65 77 |if ( bBe|hindView|
|000007b0| 20 29 0d 0a 09 09 09 56 | 69 65 77 54 61 72 67 65 | ).....V|iewTarge|
|000007c0| 74 2e 42 65 63 6f 6d 65 | 56 69 65 77 54 61 72 67 |t.Become|ViewTarg|
|000007d0| 65 74 28 29 3b 0d 0a 09 | 7d 0d 0a 09 65 6c 73 65 |et();...|}...else|
|000007e0| 0d 0a 09 09 53 65 74 56 | 69 65 77 54 61 72 67 65 |....SetV|iewTarge|
|000007f0| 74 28 73 65 6c 66 29 3b | 0d 0a 7d 0d 0a 0d 0a 2f |t(self);|..}..../|
|00000800| 2f 3d 3d 3d 3d 20 43 61 | 6c 6c 65 64 20 64 75 72 |/==== Ca|lled dur|
|00000810| 69 6e 67 20 64 65 6d 6f | 20 70 6c 61 79 62 61 63 |ing demo| playbac|
|00000820| 6b 20 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |k ======|========|
|00000830| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000840| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0d 0a |========|======..|
|00000850| 0d 0a 65 78 65 63 20 66 | 75 6e 63 74 69 6f 6e 20 |..exec f|unction |
|00000860| 44 65 6d 6f 56 69 65 77 | 4e 65 78 74 50 6c 61 79 |DemoView|NextPlay|
|00000870| 65 72 28 29 0d 0a 7b 0d | 0a 20 20 20 20 6c 6f 63 |er()..{.|. loc|
|00000880| 61 6c 20 43 6f 6e 74 72 | 6f 6c 6c 65 72 20 43 2c |al Contr|oller C,|
|00000890| 20 50 69 63 6b 3b 0d 0a | 20 20 20 20 6c 6f 63 61 | Pick;..| loca|
|000008a0| 6c 20 62 6f 6f 6c 20 62 | 46 6f 75 6e 64 3b 0d 0a |l bool b|Found;..|
|000008b0| 0d 0a 20 20 20 20 2f 2f | 20 76 69 65 77 20 6e 65 |.. //| view ne|
|000008c0| 78 74 20 70 6c 61 79 65 | 72 0d 0a 20 20 20 20 69 |xt playe|r.. i|
|000008d0| 66 20 28 20 50 6c 61 79 | 65 72 43 6f 6e 74 72 6f |f ( Play|erContro|
|000008e0| 6c 6c 65 72 28 52 65 61 | 6c 56 69 65 77 54 61 72 |ller(Rea|lViewTar|
|000008f0| 67 65 74 29 20 21 3d 20 | 4e 6f 6e 65 20 29 0d 0a |get) != |None )..|
|00000900| 09 09 50 6c 61 79 65 72 | 43 6f 6e 74 72 6f 6c 6c |..Player|Controll|
|00000910| 65 72 28 52 65 61 6c 56 | 69 65 77 54 61 72 67 65 |er(RealV|iewTarge|
|00000920| 74 29 2e 44 65 6d 6f 56 | 69 65 77 65 72 20 3d 20 |t).DemoV|iewer = |
|00000930| 4e 6f 6e 65 3b 0d 0a 0d | 0a 09 66 6f 72 65 61 63 |None;...|..foreac|
|00000940| 68 20 44 79 6e 61 6d 69 | 63 41 63 74 6f 72 73 28 |h Dynami|cActors(|
|00000950| 63 6c 61 73 73 27 43 6f | 6e 74 72 6f 6c 6c 65 72 |class'Co|ntroller|
|00000960| 27 2c 20 43 29 0d 0a 09 | 09 69 66 20 28 20 28 43 |', C)...|.if ( (C|
|00000970| 20 3d 3d 20 73 65 6c 66 | 29 20 7c 7c 20 28 50 6c | == self|) || (Pl|
|00000980| 61 79 65 72 43 6f 6e 74 | 72 6f 6c 6c 65 72 28 43 |ayerCont|roller(C|
|00000990| 29 20 3d 3d 20 4e 6f 6e | 65 29 20 7c 7c 20 21 50 |) == Non|e) || !P|
|000009a0| 6c 61 79 65 72 43 6f 6e | 74 72 6f 6c 6c 65 72 28 |layerCon|troller(|
|000009b0| 43 29 2e 49 73 53 70 65 | 63 74 61 74 69 6e 67 28 |C).IsSpe|ctating(|
|000009c0| 29 20 29 0d 0a 09 09 7b | 0d 0a 09 09 09 69 66 20 |) )....{|.....if |
|000009d0| 28 20 28 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |( (GameR|eplicati|
|000009e0| 6f 6e 49 6e 66 6f 20 3d | 3d 20 4e 6f 6e 65 29 20 |onInfo =|= None) |
|000009f0| 26 26 20 28 50 6c 61 79 | 65 72 43 6f 6e 74 72 6f |&& (Play|erContro|
|00000a00| 6c 6c 65 72 28 43 29 20 | 21 3d 20 4e 6f 6e 65 29 |ller(C) |!= None)|
|00000a10| 20 29 0d 0a 09 09 09 09 | 47 61 6d 65 52 65 70 6c | )......|GameRepl|
|00000a20| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 20 3d 20 50 6c |icationI|nfo = Pl|
|00000a30| 61 79 65 72 43 6f 6e 74 | 72 6f 6c 6c 65 72 28 43 |ayerCont|roller(C|
|00000a40| 29 2e 47 61 6d 65 52 65 | 70 6c 69 63 61 74 69 6f |).GameRe|plicatio|
|00000a50| 6e 49 6e 66 6f 3b 0d 0a | 09 09 09 69 66 20 28 20 |nInfo;..|...if ( |
|00000a60| 50 69 63 6b 20 3d 3d 20 | 4e 6f 6e 65 20 29 0d 0a |Pick == |None )..|
|00000a70| 09 09 09 09 50 69 63 6b | 20 3d 20 43 3b 0d 0a 09 |....Pick| = C;...|
|00000a80| 09 09 69 66 20 28 20 62 | 46 6f 75 6e 64 20 29 0d |..if ( b|Found ).|
|00000a90| 0a 09 09 09 7b 0d 0a 09 | 09 09 09 50 69 63 6b 20 |....{...|...Pick |
|00000aa0| 3d 20 43 3b 0d 0a 09 09 | 09 09 62 72 65 61 6b 3b |= C;....|..break;|
|00000ab0| 0d 0a 09 09 09 7d 0d 0a | 09 09 09 65 6c 73 65 0d |.....}..|...else.|
|00000ac0| 0a 09 09 09 09 62 46 6f | 75 6e 64 20 3d 20 28 20 |.....bFo|und = ( |
|00000ad0| 28 52 65 61 6c 56 69 65 | 77 54 61 72 67 65 74 20 |(RealVie|wTarget |
|00000ae0| 3d 3d 20 43 29 20 7c 7c | 20 28 56 69 65 77 54 61 |== C) ||| (ViewTa|
|00000af0| 72 67 65 74 20 3d 3d 20 | 43 29 20 29 3b 0d 0a 09 |rget == |C) );...|
|00000b00| 09 7d 0d 0a 0d 0a 20 20 | 20 20 53 65 74 56 69 65 |.}.... | SetVie|
|00000b10| 77 54 61 72 67 65 74 28 | 50 69 63 6b 29 3b 0d 0a |wTarget(|Pick);..|
|00000b20| 20 20 20 20 69 66 20 28 | 20 50 6c 61 79 65 72 43 | if (| PlayerC|
|00000b30| 6f 6e 74 72 6f 6c 6c 65 | 72 28 52 65 61 6c 56 69 |ontrolle|r(RealVi|
|00000b40| 65 77 54 61 72 67 65 74 | 29 20 21 3d 20 4e 6f 6e |ewTarget|) != Non|
|00000b50| 65 20 29 0d 0a 09 09 50 | 6c 61 79 65 72 43 6f 6e |e )....P|layerCon|
|00000b60| 74 72 6f 6c 6c 65 72 28 | 52 65 61 6c 56 69 65 77 |troller(|RealView|
|00000b70| 54 61 72 67 65 74 29 2e | 44 65 6d 6f 56 69 65 77 |Target).|DemoView|
|00000b80| 65 72 20 3d 20 73 65 6c | 66 3b 0d 0a 7d 0d 0a 0d |er = sel|f;..}...|
|00000b90| 0a 61 75 74 6f 20 73 74 | 61 74 65 20 53 70 65 63 |.auto st|ate Spec|
|00000ba0| 74 61 74 69 6e 67 0d 0a | 7b 0d 0a 20 20 20 20 65 |tating..|{.. e|
|00000bb0| 78 65 63 20 66 75 6e 63 | 74 69 6f 6e 20 46 69 72 |xec func|tion Fir|
|00000bc0| 65 28 20 6f 70 74 69 6f | 6e 61 6c 20 66 6c 6f 61 |e( optio|nal floa|
|00000bd0| 74 20 46 20 29 0d 0a 20 | 20 20 20 7b 0d 0a 20 20 |t F ).. | {.. |
|00000be0| 20 20 20 20 20 20 62 42 | 65 68 69 6e 64 56 69 65 | bB|ehindVie|
|00000bf0| 77 20 3d 20 66 61 6c 73 | 65 3b 0d 0a 20 20 20 20 |w = fals|e;.. |
|00000c00| 20 20 20 20 64 65 6d 6f | 56 69 65 77 4e 65 78 74 | demo|ViewNext|
|00000c10| 50 6c 61 79 65 72 28 29 | 3b 0d 0a 20 20 20 20 7d |Player()|;.. }|
|00000c20| 0d 0a 0d 0a 20 20 20 20 | 65 78 65 63 20 66 75 6e |.... |exec fun|
|00000c30| 63 74 69 6f 6e 20 41 6c | 74 46 69 72 65 28 20 6f |ction Al|tFire( o|
|00000c40| 70 74 69 6f 6e 61 6c 20 | 66 6c 6f 61 74 20 46 20 |ptional |float F |
|00000c50| 29 0d 0a 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 |).. {|.. |
|00000c60| 20 20 62 42 65 68 69 6e | 64 56 69 65 77 20 3d 20 | bBehin|dView = |
|00000c70| 21 62 42 65 68 69 6e 64 | 56 69 65 77 3b 0d 0a 20 |!bBehind|View;.. |
|00000c80| 20 20 20 7d 0d 0a 0d 0a | 09 65 76 65 6e 74 20 50 | }....|.event P|
|00000c90| 6c 61 79 65 72 54 69 63 | 6b 28 20 66 6c 6f 61 74 |layerTic|k( float|
|00000ca0| 20 44 65 6c 74 61 54 69 | 6d 65 20 29 0d 0a 09 7b | DeltaTi|me )...{|
|00000cb0| 0d 0a 09 09 53 75 70 65 | 72 2e 50 6c 61 79 65 72 |....Supe|r.Player|
|00000cc0| 54 69 63 6b 28 20 44 65 | 6c 74 61 54 69 6d 65 20 |Tick( De|ltaTime |
|00000cd0| 29 3b 0d 0a 0d 0a 09 09 | 2f 2f 20 61 74 74 65 6d |);......|// attem|
|00000ce0| 70 74 20 74 6f 20 66 69 | 6e 64 20 61 20 70 6c 61 |pt to fi|nd a pla|
|00000cf0| 79 65 72 20 74 6f 20 76 | 69 65 77 2e 0d 0a 09 09 |yer to v|iew.....|
|00000d00| 69 66 28 20 52 6f 6c 65 | 20 3d 3d 20 52 4f 4c 45 |if( Role| == ROLE|
|00000d10| 5f 41 75 74 6f 6e 6f 6d | 6f 75 73 50 72 6f 78 79 |_Autonom|ousProxy|
|00000d20| 20 26 26 20 28 52 65 61 | 6c 56 69 65 77 54 61 72 | && (Rea|lViewTar|
|00000d30| 67 65 74 3d 3d 4e 6f 6e | 65 20 7c 7c 20 52 65 61 |get==Non|e || Rea|
|00000d40| 6c 56 69 65 77 54 61 72 | 67 65 74 3d 3d 53 65 6c |lViewTar|get==Sel|
|00000d50| 66 29 20 26 26 20 21 62 | 46 6f 75 6e 64 50 6c 61 |f) && !b|FoundPla|
|00000d60| 79 65 72 20 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 44 |yer )...|.{.....D|
|00000d70| 65 6d 6f 56 69 65 77 4e | 65 78 74 50 6c 61 79 65 |emoViewN|extPlaye|
|00000d80| 72 28 29 3b 0d 0a 09 09 | 09 69 66 28 20 52 65 61 |r();....|.if( Rea|
|00000d90| 6c 56 69 65 77 54 61 72 | 67 65 74 21 3d 4e 6f 6e |lViewTar|get!=Non|
|00000da0| 65 20 26 26 20 52 65 61 | 6c 56 69 65 77 54 61 72 |e && Rea|lViewTar|
|00000db0| 67 65 74 21 3d 53 65 6c | 66 20 29 0d 0a 09 09 09 |get!=Sel|f ).....|
|00000dc0| 09 62 46 6f 75 6e 64 50 | 6c 61 79 65 72 20 3d 20 |.bFoundP|layer = |
|00000dd0| 74 72 75 65 3b 0d 0a 09 | 09 7d 0d 0a 0d 0a 09 09 |true;...|.}......|
|00000de0| 2f 2f 20 68 61 63 6b 20 | 74 6f 20 67 6f 20 74 6f |// hack |to go to|
|00000df0| 20 33 72 64 20 70 65 72 | 73 6f 6e 20 64 75 72 69 | 3rd per|son duri|
|00000e00| 6e 67 20 64 65 61 74 68 | 73 0d 0a 09 09 69 66 28 |ng death|s....if(|
|00000e10| 20 52 65 61 6c 56 69 65 | 77 54 61 72 67 65 74 21 | RealVie|wTarget!|
|00000e20| 3d 4e 6f 6e 65 20 26 26 | 20 52 65 61 6c 56 69 65 |=None &&| RealVie|
|00000e30| 77 54 61 72 67 65 74 2e | 50 61 77 6e 3d 3d 4e 6f |wTarget.|Pawn==No|
|00000e40| 6e 65 20 29 0d 0a 09 09 | 7b 0d 0a 09 09 09 69 66 |ne )....|{.....if|
|00000e50| 28 20 21 62 54 65 6d 70 | 42 65 68 69 6e 64 56 69 |( !bTemp|BehindVi|
|00000e60| 65 77 20 29 0d 0a 09 09 | 09 7b 0d 0a 09 09 09 09 |ew )....|.{......|
|00000e70| 62 54 65 6d 70 42 65 68 | 69 6e 64 56 69 65 77 20 |bTempBeh|indView |
|00000e80| 3d 20 74 72 75 65 3b 0d | 0a 09 09 09 09 62 42 65 |= true;.|.....bBe|
|00000e90| 68 69 6e 64 56 69 65 77 | 20 3d 20 74 72 75 65 3b |hindView| = true;|
|00000ea0| 0d 0a 09 09 09 7d 0d 0a | 09 09 7d 0d 0a 09 09 65 |.....}..|..}....e|
|00000eb0| 6c 73 65 0d 0a 09 09 69 | 66 28 20 62 54 65 6d 70 |lse....i|f( bTemp|
|00000ec0| 42 65 68 69 6e 64 56 69 | 65 77 20 29 0d 0a 09 09 |BehindVi|ew )....|
|00000ed0| 7b 0d 0a 09 09 09 62 42 | 65 68 69 6e 64 56 69 65 |{.....bB|ehindVie|
|00000ee0| 77 20 3d 20 66 61 6c 73 | 65 3b 0d 0a 09 09 09 62 |w = fals|e;.....b|
|00000ef0| 54 65 6d 70 42 65 68 69 | 6e 64 56 69 65 77 20 3d |TempBehi|ndView =|
|00000f00| 20 66 61 6c 73 65 3b 0d | 0a 09 09 7d 0d 0a 09 7d | false;.|...}...}|
|00000f10| 0d 0a 7d 0d 0a 0d 0a 65 | 76 65 6e 74 20 50 6c 61 |..}....e|vent Pla|
|00000f20| 79 65 72 43 61 6c 63 56 | 69 65 77 28 6f 75 74 20 |yerCalcV|iew(out |
|00000f30| 61 63 74 6f 72 20 56 69 | 65 77 41 63 74 6f 72 2c |actor Vi|ewActor,|
|00000f40| 20 6f 75 74 20 76 65 63 | 74 6f 72 20 43 61 6d 65 | out vec|tor Came|
|00000f50| 72 61 4c 6f 63 61 74 69 | 6f 6e 2c 20 6f 75 74 20 |raLocati|on, out |
|00000f60| 72 6f 74 61 74 6f 72 20 | 43 61 6d 65 72 61 52 6f |rotator |CameraRo|
|00000f70| 74 61 74 69 6f 6e 20 29 | 0d 0a 7b 0d 0a 09 6c 6f |tation )|..{...lo|
|00000f80| 63 61 6c 20 52 6f 74 61 | 74 6f 72 20 52 3b 0d 0a |cal Rota|tor R;..|
|00000f90| 0d 0a 09 69 66 28 20 52 | 65 61 6c 56 69 65 77 54 |...if( R|ealViewT|
|00000fa0| 61 72 67 65 74 20 21 3d | 20 4e 6f 6e 65 20 29 0d |arget !=| None ).|
|00000fb0| 0a 09 7b 0d 0a 09 09 52 | 20 3d 20 52 65 61 6c 56 |..{....R| = RealV|
|00000fc0| 69 65 77 54 61 72 67 65 | 74 2e 52 6f 74 61 74 69 |iewTarge|t.Rotati|
|00000fd0| 6f 6e 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 53 75 70 65 |on;...}.|....Supe|
|00000fe0| 72 2e 50 6c 61 79 65 72 | 43 61 6c 63 56 69 65 77 |r.Player|CalcView|
|00000ff0| 28 56 69 65 77 41 63 74 | 6f 72 2c 20 43 61 6d 65 |(ViewAct|or, Came|
|00001000| 72 61 4c 6f 63 61 74 69 | 6f 6e 2c 20 43 61 6d 65 |raLocati|on, Came|
|00001010| 72 61 52 6f 74 61 74 69 | 6f 6e 20 29 3b 0d 0a 0d |raRotati|on );...|
|00001020| 0a 09 69 66 28 20 52 65 | 61 6c 56 69 65 77 54 61 |..if( Re|alViewTa|
|00001030| 72 67 65 74 20 21 3d 20 | 4e 6f 6e 65 20 29 0d 0a |rget != |None )..|
|00001040| 09 7b 0d 0a 09 09 69 66 | 20 28 20 21 62 42 65 68 |.{....if| ( !bBeh|
|00001050| 69 6e 64 56 69 65 77 20 | 29 0d 0a 09 09 7b 0d 0a |indView |)....{..|
|00001060| 09 09 09 43 61 6d 65 72 | 61 52 6f 74 61 74 69 6f |...Camer|aRotatio|
|00001070| 6e 20 3d 20 52 3b 0d 0a | 09 09 09 69 66 20 28 20 |n = R;..|...if ( |
|00001080| 50 61 77 6e 28 56 69 65 | 77 54 61 72 67 65 74 29 |Pawn(Vie|wTarget)|
|00001090| 20 21 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 09 09 09 | != None| )......|
|000010a0| 43 61 6d 65 72 61 4c 6f | 63 61 74 69 6f 6e 2e 5a |CameraLo|cation.Z|
|000010b0| 20 2b 3d 20 50 61 77 6e | 28 56 69 65 77 54 61 72 | += Pawn|(ViewTar|
|000010c0| 67 65 74 29 2e 42 61 73 | 65 45 79 65 48 65 69 67 |get).Bas|eEyeHeig|
|000010d0| 68 74 3b 20 2f 2f 20 46 | 49 58 4d 45 20 54 45 4d |ht; // F|IXME TEM|
|000010e0| 50 0d 0a 09 09 7d 0d 0a | 09 09 52 65 61 6c 56 69 |P....}..|..RealVi|
|000010f0| 65 77 54 61 72 67 65 74 | 2e 53 65 74 52 6f 74 61 |ewTarget|.SetRota|
|00001100| 74 69 6f 6e 28 52 29 3b | 0d 0a 09 7d 0d 0a 7d 0d |tion(R);|...}..}.|
|00001110| 0a 0d 0a 00 | |.... | |
+--------+-------------------------+-------------------------+--------+--------+