home *** CD-ROM | disk | FTP | other *** search
Unknown | 2003-04-16 | 4.2 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.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 56 43 2f 2f 3d 3d 3d 3d |........|VC//====|
|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 0d 0a 65 76 65 6e | 74 20 50 6f 73 74 42 65 |....even|t PostBe|
|00000170| 67 69 6e 50 6c 61 79 28 | 29 0d 0a 7b 0d 0a 09 6c |ginPlay(|)..{...l|
|00000180| 6f 63 61 6c 20 63 6c 61 | 73 73 3c 48 55 44 3e 20 |ocal cla|ss<HUD> |
|00000190| 48 75 64 43 6c 61 73 73 | 3b 0d 0a 09 6c 6f 63 61 |HudClass|;...loca|
|000001a0| 6c 20 63 6c 61 73 73 3c | 53 63 6f 72 65 62 6f 61 |l class<|Scoreboa|
|000001b0| 72 64 3e 20 53 63 6f 72 | 65 62 6f 61 72 64 43 6c |rd> Scor|eboardCl|
|000001c0| 61 73 73 3b 0d 0a 0d 0a | 09 2f 2f 20 57 65 27 72 |ass;....|.// We'r|
|000001d0| 65 20 63 75 72 72 65 6e | 74 6c 79 20 64 6f 69 6e |e curren|tly doin|
|000001e0| 67 20 64 65 6d 6f 20 72 | 65 63 6f 72 64 69 6e 67 |g demo r|ecording|
|000001f0| 0d 0a 09 69 66 28 20 52 | 6f 6c 65 20 3d 3d 20 52 |...if( R|ole == R|
|00000200| 4f 4c 45 5f 41 75 74 68 | 6f 72 69 74 79 20 26 26 |OLE_Auth|ority &&|
|00000210| 20 4c 65 76 65 6c 2e 47 | 61 6d 65 20 21 3d 20 4e | Level.G|ame != N|
|00000220| 6f 6e 65 20 29 0d 0a 09 | 7b 0d 0a 09 09 48 75 64 |one )...|{....Hud|
|00000230| 43 6c 61 73 73 20 3d 20 | 63 6c 61 73 73 3c 48 55 |Class = |class<HU|
|00000240| 44 3e 28 44 79 6e 61 6d | 69 63 4c 6f 61 64 4f 62 |D>(Dynam|icLoadOb|
|00000250| 6a 65 63 74 28 4c 65 76 | 65 6c 2e 47 61 6d 65 2e |ject(Lev|el.Game.|
|00000260| 48 55 44 54 79 70 65 2c | 20 63 6c 61 73 73 27 43 |HUDType,| class'C|
|00000270| 6c 61 73 73 27 29 29 3b | 0d 0a 09 09 69 66 28 20 |lass'));|....if( |
|00000280| 48 75 64 43 6c 61 73 73 | 20 3d 3d 20 4e 6f 6e 65 |HudClass| == None|
|00000290| 20 29 0d 0a 09 09 09 6c | 6f 67 28 20 22 43 61 6e | ).....l|og( "Can|
|000002a0| 27 74 20 66 69 6e 64 20 | 48 55 44 20 63 6c 61 73 |'t find |HUD clas|
|000002b0| 73 20 22 24 4c 65 76 65 | 6c 2e 47 61 6d 65 2e 48 |s "$Leve|l.Game.H|
|000002c0| 55 44 54 79 70 65 2c 20 | 27 45 72 72 6f 72 27 20 |UDType, |'Error' |
|000002d0| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 53 63 6f 72 |);.. | Scor|
|000002e0| 65 62 6f 61 72 64 43 6c | 61 73 73 20 3d 20 63 6c |eboardCl|ass = cl|
|000002f0| 61 73 73 3c 53 63 6f 72 | 65 62 6f 61 72 64 3e 28 |ass<Scor|eboard>(|
|00000300| 44 79 6e 61 6d 69 63 4c | 6f 61 64 4f 62 6a 65 63 |DynamicL|oadObjec|
|00000310| 74 28 4c 65 76 65 6c 2e | 47 61 6d 65 2e 53 63 6f |t(Level.|Game.Sco|
|00000320| 72 65 42 6f 61 72 64 54 | 79 70 65 2c 20 63 6c 61 |reBoardT|ype, cla|
|00000330| 73 73 27 43 6c 61 73 73 | 27 29 29 3b 0d 0a 09 09 |ss'Class|'));....|
|00000340| 69 66 28 20 53 63 6f 72 | 65 62 6f 61 72 64 43 6c |if( Scor|eboardCl|
|00000350| 61 73 73 20 3d 3d 20 4e | 6f 6e 65 20 29 0d 0a 09 |ass == N|one )...|
|00000360| 09 09 6c 6f 67 28 20 22 | 43 61 6e 27 74 20 66 69 |..log( "|Can't fi|
|00000370| 6e 64 20 48 55 44 20 63 | 6c 61 73 73 20 22 24 4c |nd HUD c|lass "$L|
|00000380| 65 76 65 6c 2e 47 61 6d | 65 2e 53 63 6f 72 65 42 |evel.Gam|e.ScoreB|
|00000390| 6f 61 72 64 54 79 70 65 | 2c 20 27 45 72 72 6f 72 |oardType|, 'Error|
|000003a0| 27 20 29 3b 0d 0a 09 09 | 43 6c 69 65 6e 74 53 65 |' );....|ClientSe|
|000003b0| 74 48 55 44 28 20 48 75 | 64 43 6c 61 73 73 2c 20 |tHUD( Hu|dClass, |
|000003c0| 53 63 6f 72 65 62 6f 61 | 72 64 43 6c 61 73 73 20 |Scoreboa|rdClass |
|000003d0| 29 3b 0d 0a 09 7d 0d 0a | 0d 0a 09 53 75 70 65 72 |);...}..|...Super|
|000003e0| 2e 50 6f 73 74 42 65 67 | 69 6e 50 6c 61 79 28 29 |.PostBeg|inPlay()|
|000003f0| 3b 0d 0a 09 0d 0a 09 69 | 66 20 28 20 50 6c 61 79 |;......i|f ( Play|
|00000400| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00000410| 6f 20 21 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 09 50 |o != Non|e )....P|
|00000420| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|00000430| 49 6e 66 6f 2e 62 4f 75 | 74 4f 66 4c 69 76 65 73 |Info.bOu|tOfLives|
|00000440| 20 3d 20 74 72 75 65 3b | 0d 0a 7d 0d 0a 0d 0a 66 | = true;|..}....f|
|00000450| 75 6e 63 74 69 6f 6e 20 | 49 6e 69 74 50 6c 61 79 |unction |InitPlay|
|00000460| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|00000470| 6f 28 29 0d 0a 7b 0d 0a | 09 53 75 70 65 72 2e 49 |o()..{..|.Super.I|
|00000480| 6e 69 74 50 6c 61 79 65 | 72 52 65 70 6c 69 63 61 |nitPlaye|rReplica|
|00000490| 74 69 6f 6e 49 6e 66 6f | 28 29 3b 0d 0a 09 50 6c |tionInfo|();...Pl|
|000004a0| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|000004b0| 6e 66 6f 2e 50 6c 61 79 | 65 72 4e 61 6d 65 3d 22 |nfo.Play|erName="|
|000004c0| 44 65 6d 6f 52 65 63 53 | 70 65 63 74 61 74 6f 72 |DemoRecS|pectator|
|000004d0| 22 3b 0d 0a 09 50 6c 61 | 79 65 72 52 65 70 6c 69 |";...Pla|yerRepli|
|000004e0| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 62 49 73 53 70 |cationIn|fo.bIsSp|
|000004f0| 65 63 74 61 74 6f 72 20 | 3d 20 74 72 75 65 3b 0d |ectator |= true;.|
|00000500| 0a 09 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |..Player|Replicat|
|00000510| 69 6f 6e 49 6e 66 6f 2e | 62 4f 6e 6c 79 53 70 65 |ionInfo.|bOnlySpe|
|00000520| 63 74 61 74 6f 72 20 3d | 20 74 72 75 65 3b 0d 0a |ctator =| true;..|
|00000530| 09 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 |.PlayerR|eplicati|
|00000540| 6f 6e 49 6e 66 6f 2e 62 | 4f 75 74 4f 66 4c 69 76 |onInfo.b|OutOfLiv|
|00000550| 65 73 20 3d 20 74 72 75 | 65 3b 0d 0a 09 50 6c 61 |es = tru|e;...Pla|
|00000560| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00000570| 66 6f 2e 62 57 61 69 74 | 69 6e 67 50 6c 61 79 65 |fo.bWait|ingPlaye|
|00000580| 72 20 3d 20 66 61 6c 73 | 65 3b 0d 0a 7d 0d 0a 0d |r = fals|e;..}...|
|00000590| 0a 65 78 65 63 20 66 75 | 6e 63 74 69 6f 6e 20 56 |.exec fu|nction V|
|000005a0| 69 65 77 43 6c 61 73 73 | 28 20 63 6c 61 73 73 3c |iewClass|( class<|
|000005b0| 61 63 74 6f 72 3e 20 61 | 43 6c 61 73 73 2c 20 6f |actor> a|Class, o|
|000005c0| 70 74 69 6f 6e 61 6c 20 | 62 6f 6f 6c 20 62 51 75 |ptional |bool bQu|
|000005d0| 69 65 74 2c 20 6f 70 74 | 69 6f 6e 61 6c 20 62 6f |iet, opt|ional bo|
|000005e0| 6f 6c 20 62 43 68 65 61 | 74 20 29 0d 0a 7b 0d 0a |ol bChea|t )..{..|
|000005f0| 09 6c 6f 63 61 6c 20 61 | 63 74 6f 72 20 6f 74 68 |.local a|ctor oth|
|00000600| 65 72 2c 20 66 69 72 73 | 74 3b 0d 0a 09 6c 6f 63 |er, firs|t;...loc|
|00000610| 61 6c 20 62 6f 6f 6c 20 | 62 46 6f 75 6e 64 3b 0d |al bool |bFound;.|
|00000620| 0a 0d 0a 09 66 69 72 73 | 74 20 3d 20 4e 6f 6e 65 |....firs|t = None|
|00000630| 3b 0d 0a 0d 0a 09 46 6f | 72 45 61 63 68 20 41 6c |;.....Fo|rEach Al|
|00000640| 6c 41 63 74 6f 72 73 28 | 20 61 43 6c 61 73 73 2c |lActors(| aClass,|
|00000650| 20 6f 74 68 65 72 20 29 | 0d 0a 09 7b 0d 0a 09 09 | other )|...{....|
|00000660| 69 66 20 28 20 62 46 6f | 75 6e 64 20 7c 7c 20 28 |if ( bFo|und || (|
|00000670| 66 69 72 73 74 20 3d 3d | 20 4e 6f 6e 65 29 20 29 |first ==| None) )|
|00000680| 0d 0a 09 09 7b 0d 0a 09 | 09 09 66 69 72 73 74 20 |....{...|..first |
|00000690| 3d 20 6f 74 68 65 72 3b | 0d 0a 09 09 09 69 66 20 |= other;|.....if |
|000006a0| 28 20 62 46 6f 75 6e 64 | 20 29 0d 0a 09 09 09 09 |( bFound| )......|
|000006b0| 62 72 65 61 6b 3b 0d 0a | 09 09 7d 0d 0a 09 09 69 |break;..|..}....i|
|000006c0| 66 20 28 20 6f 74 68 65 | 72 20 3d 3d 20 56 69 65 |f ( othe|r == Vie|
|000006d0| 77 54 61 72 67 65 74 20 | 29 20 0d 0a 09 09 09 62 |wTarget |) .....b|
|000006e0| 46 6f 75 6e 64 20 3d 20 | 74 72 75 65 3b 0d 0a 09 |Found = |true;...|
|000006f0| 7d 20 20 0d 0a 0d 0a 09 | 69 66 20 28 20 66 69 72 |} .....|if ( fir|
|00000700| 73 74 20 21 3d 20 4e 6f | 6e 65 20 29 0d 0a 09 7b |st != No|ne )...{|
|00000710| 0d 0a 09 09 53 65 74 56 | 69 65 77 54 61 72 67 65 |....SetV|iewTarge|
|00000720| 74 28 66 69 72 73 74 29 | 3b 0d 0a 09 09 62 42 65 |t(first)|;....bBe|
|00000730| 68 69 6e 64 56 69 65 77 | 20 3d 20 28 20 56 69 65 |hindView| = ( Vie|
|00000740| 77 54 61 72 67 65 74 20 | 21 3d 20 73 65 6c 66 20 |wTarget |!= self |
|00000750| 29 3b 0d 0a 0d 0a 09 09 | 69 66 20 28 20 62 42 65 |);......|if ( bBe|
|00000760| 68 69 6e 64 56 69 65 77 | 20 29 0d 0a 09 09 09 56 |hindView| ).....V|
|00000770| 69 65 77 54 61 72 67 65 | 74 2e 42 65 63 6f 6d 65 |iewTarge|t.Become|
|00000780| 56 69 65 77 54 61 72 67 | 65 74 28 29 3b 0d 0a 09 |ViewTarg|et();...|
|00000790| 7d 0d 0a 09 65 6c 73 65 | 0d 0a 09 09 53 65 74 56 |}...else|....SetV|
|000007a0| 69 65 77 54 61 72 67 65 | 74 28 73 65 6c 66 29 3b |iewTarge|t(self);|
|000007b0| 0d 0a 7d 0d 0a 0d 0a 2f | 2f 3d 3d 3d 3d 20 43 61 |..}..../|/==== Ca|
|000007c0| 6c 6c 65 64 20 64 75 72 | 69 6e 67 20 64 65 6d 6f |lled dur|ing demo|
|000007d0| 20 70 6c 61 79 62 61 63 | 6b 20 3d 3d 3d 3d 3d 3d | playbac|k ======|
|000007e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000007f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000800| 3d 3d 3d 3d 3d 3d 0d 0a | 0d 0a 65 78 65 63 20 66 |======..|..exec f|
|00000810| 75 6e 63 74 69 6f 6e 20 | 44 65 6d 6f 56 69 65 77 |unction |DemoView|
|00000820| 4e 65 78 74 50 6c 61 79 | 65 72 28 29 0d 0a 7b 0d |NextPlay|er()..{.|
|00000830| 0a 20 20 20 20 6c 6f 63 | 61 6c 20 43 6f 6e 74 72 |. loc|al Contr|
|00000840| 6f 6c 6c 65 72 20 43 2c | 20 50 69 63 6b 3b 0d 0a |oller C,| Pick;..|
|00000850| 20 20 20 20 6c 6f 63 61 | 6c 20 62 6f 6f 6c 20 62 | loca|l bool b|
|00000860| 46 6f 75 6e 64 3b 0d 0a | 0d 0a 20 20 20 20 2f 2f |Found;..|.. //|
|00000870| 20 76 69 65 77 20 6e 65 | 78 74 20 70 6c 61 79 65 | view ne|xt playe|
|00000880| 72 0d 0a 20 20 20 20 69 | 66 20 28 20 50 6c 61 79 |r.. i|f ( Play|
|00000890| 65 72 43 6f 6e 74 72 6f | 6c 6c 65 72 28 52 65 61 |erContro|ller(Rea|
|000008a0| 6c 56 69 65 77 54 61 72 | 67 65 74 29 20 21 3d 20 |lViewTar|get) != |
|000008b0| 4e 6f 6e 65 20 29 0d 0a | 09 09 50 6c 61 79 65 72 |None )..|..Player|
|000008c0| 43 6f 6e 74 72 6f 6c 6c | 65 72 28 52 65 61 6c 56 |Controll|er(RealV|
|000008d0| 69 65 77 54 61 72 67 65 | 74 29 2e 44 65 6d 6f 56 |iewTarge|t).DemoV|
|000008e0| 69 65 77 65 72 20 3d 20 | 4e 6f 6e 65 3b 0d 0a 0d |iewer = |None;...|
|000008f0| 0a 09 66 6f 72 65 61 63 | 68 20 44 79 6e 61 6d 69 |..foreac|h Dynami|
|00000900| 63 41 63 74 6f 72 73 28 | 63 6c 61 73 73 27 43 6f |cActors(|class'Co|
|00000910| 6e 74 72 6f 6c 6c 65 72 | 27 2c 20 43 29 0d 0a 09 |ntroller|', C)...|
|00000920| 09 69 66 20 28 20 28 43 | 20 3d 3d 20 73 65 6c 66 |.if ( (C| == self|
|00000930| 29 20 7c 7c 20 28 50 6c | 61 79 65 72 43 6f 6e 74 |) || (Pl|ayerCont|
|00000940| 72 6f 6c 6c 65 72 28 43 | 29 20 3d 3d 20 4e 6f 6e |roller(C|) == Non|
|00000950| 65 29 20 7c 7c 20 21 50 | 6c 61 79 65 72 43 6f 6e |e) || !P|layerCon|
|00000960| 74 72 6f 6c 6c 65 72 28 | 43 29 2e 49 73 53 70 65 |troller(|C).IsSpe|
|00000970| 63 74 61 74 69 6e 67 28 | 29 20 29 0d 0a 09 09 7b |ctating(|) )....{|
|00000980| 0d 0a 09 09 09 69 66 20 | 28 20 28 47 61 6d 65 52 |.....if |( (GameR|
|00000990| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 20 3d |eplicati|onInfo =|
|000009a0| 3d 20 4e 6f 6e 65 29 20 | 26 26 20 28 50 6c 61 79 |= None) |&& (Play|
|000009b0| 65 72 43 6f 6e 74 72 6f | 6c 6c 65 72 28 43 29 20 |erContro|ller(C) |
|000009c0| 21 3d 20 4e 6f 6e 65 29 | 20 29 0d 0a 09 09 09 09 |!= None)| )......|
|000009d0| 47 61 6d 65 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |GameRepl|icationI|
|000009e0| 6e 66 6f 20 3d 20 50 6c | 61 79 65 72 43 6f 6e 74 |nfo = Pl|ayerCont|
|000009f0| 72 6f 6c 6c 65 72 28 43 | 29 2e 47 61 6d 65 52 65 |roller(C|).GameRe|
|00000a00| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 3b 0d 0a |plicatio|nInfo;..|
|00000a10| 09 09 09 69 66 20 28 20 | 50 69 63 6b 20 3d 3d 20 |...if ( |Pick == |
|00000a20| 4e 6f 6e 65 20 29 0d 0a | 09 09 09 09 50 69 63 6b |None )..|....Pick|
|00000a30| 20 3d 20 43 3b 0d 0a 09 | 09 09 69 66 20 28 20 62 | = C;...|..if ( b|
|00000a40| 46 6f 75 6e 64 20 29 0d | 0a 09 09 09 7b 0d 0a 09 |Found ).|....{...|
|00000a50| 09 09 09 50 69 63 6b 20 | 3d 20 43 3b 0d 0a 09 09 |...Pick |= C;....|
|00000a60| 09 09 62 72 65 61 6b 3b | 0d 0a 09 09 09 7d 0d 0a |..break;|.....}..|
|00000a70| 09 09 09 65 6c 73 65 0d | 0a 09 09 09 09 62 46 6f |...else.|.....bFo|
|00000a80| 75 6e 64 20 3d 20 28 20 | 28 52 65 61 6c 56 69 65 |und = ( |(RealVie|
|00000a90| 77 54 61 72 67 65 74 20 | 3d 3d 20 43 29 20 7c 7c |wTarget |== C) |||
|00000aa0| 20 28 56 69 65 77 54 61 | 72 67 65 74 20 3d 3d 20 | (ViewTa|rget == |
|00000ab0| 43 29 20 29 3b 0d 0a 09 | 09 7d 0d 0a 20 20 20 20 |C) );...|.}.. |
|00000ac0| 0d 0a 20 20 20 20 53 65 | 74 56 69 65 77 54 61 72 |.. Se|tViewTar|
|00000ad0| 67 65 74 28 50 69 63 6b | 29 3b 0d 0a 20 20 20 20 |get(Pick|);.. |
|00000ae0| 69 66 20 28 20 50 6c 61 | 79 65 72 43 6f 6e 74 72 |if ( Pla|yerContr|
|00000af0| 6f 6c 6c 65 72 28 52 65 | 61 6c 56 69 65 77 54 61 |oller(Re|alViewTa|
|00000b00| 72 67 65 74 29 20 21 3d | 20 4e 6f 6e 65 20 29 0d |rget) !=| None ).|
|00000b10| 0a 09 09 50 6c 61 79 65 | 72 43 6f 6e 74 72 6f 6c |...Playe|rControl|
|00000b20| 6c 65 72 28 52 65 61 6c | 56 69 65 77 54 61 72 67 |ler(Real|ViewTarg|
|00000b30| 65 74 29 2e 44 65 6d 6f | 56 69 65 77 65 72 20 3d |et).Demo|Viewer =|
|00000b40| 20 73 65 6c 66 3b 0d 0a | 7d 0d 0a 0d 0a 61 75 74 | self;..|}....aut|
|00000b50| 6f 20 73 74 61 74 65 20 | 53 70 65 63 74 61 74 69 |o state |Spectati|
|00000b60| 6e 67 0d 0a 7b 0d 0a 20 | 20 20 20 65 78 65 63 20 |ng..{.. | exec |
|00000b70| 66 75 6e 63 74 69 6f 6e | 20 46 69 72 65 28 20 6f |function| Fire( o|
|00000b80| 70 74 69 6f 6e 61 6c 20 | 66 6c 6f 61 74 20 46 20 |ptional |float F |
|00000b90| 29 0d 0a 20 20 20 20 7b | 0d 0a 20 20 20 20 20 20 |).. {|.. |
|00000ba0| 20 20 62 42 65 68 69 6e | 64 56 69 65 77 20 3d 20 | bBehin|dView = |
|00000bb0| 66 61 6c 73 65 3b 0d 0a | 20 20 20 20 20 20 20 20 |false;..| |
|00000bc0| 64 65 6d 6f 56 69 65 77 | 4e 65 78 74 50 6c 61 79 |demoView|NextPlay|
|00000bd0| 65 72 28 29 3b 0d 0a 20 | 20 20 20 7d 0d 0a 0d 0a |er();.. | }....|
|00000be0| 20 20 20 20 65 78 65 63 | 20 66 75 6e 63 74 69 6f | exec| functio|
|00000bf0| 6e 20 41 6c 74 46 69 72 | 65 28 20 6f 70 74 69 6f |n AltFir|e( optio|
|00000c00| 6e 61 6c 20 66 6c 6f 61 | 74 20 46 20 29 0d 0a 20 |nal floa|t F ).. |
|00000c10| 20 20 20 7b 0d 0a 20 20 | 20 20 20 20 20 20 62 42 | {.. | bB|
|00000c20| 65 68 69 6e 64 56 69 65 | 77 20 3d 20 21 62 42 65 |ehindVie|w = !bBe|
|00000c30| 68 69 6e 64 56 69 65 77 | 3b 0d 0a 20 20 20 20 7d |hindView|;.. }|
|00000c40| 0d 0a 20 20 20 20 0d 0a | 09 65 76 65 6e 74 20 50 |.. ..|.event P|
|00000c50| 6c 61 79 65 72 54 69 63 | 6b 28 20 66 6c 6f 61 74 |layerTic|k( float|
|00000c60| 20 44 65 6c 74 61 54 69 | 6d 65 20 29 0d 0a 09 7b | DeltaTi|me )...{|
|00000c70| 0d 0a 09 09 53 75 70 65 | 72 2e 50 6c 61 79 65 72 |....Supe|r.Player|
|00000c80| 54 69 63 6b 28 20 44 65 | 6c 74 61 54 69 6d 65 20 |Tick( De|ltaTime |
|00000c90| 29 3b 0d 0a 0d 0a 09 09 | 2f 2f 20 61 74 74 65 6d |);......|// attem|
|00000ca0| 70 74 20 74 6f 20 66 69 | 6e 64 20 61 20 70 6c 61 |pt to fi|nd a pla|
|00000cb0| 79 65 72 20 74 6f 20 76 | 69 65 77 2e 0d 0a 09 09 |yer to v|iew.....|
|00000cc0| 69 66 28 20 52 6f 6c 65 | 20 3d 3d 20 52 4f 4c 45 |if( Role| == ROLE|
|00000cd0| 5f 41 75 74 6f 6e 6f 6d | 6f 75 73 50 72 6f 78 79 |_Autonom|ousProxy|
|00000ce0| 20 26 26 20 28 52 65 61 | 6c 56 69 65 77 54 61 72 | && (Rea|lViewTar|
|00000cf0| 67 65 74 3d 3d 4e 6f 6e | 65 20 7c 7c 20 52 65 61 |get==Non|e || Rea|
|00000d00| 6c 56 69 65 77 54 61 72 | 67 65 74 3d 3d 53 65 6c |lViewTar|get==Sel|
|00000d10| 66 29 20 26 26 20 21 62 | 46 6f 75 6e 64 50 6c 61 |f) && !b|FoundPla|
|00000d20| 79 65 72 20 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 44 |yer )...|.{.....D|
|00000d30| 65 6d 6f 56 69 65 77 4e | 65 78 74 50 6c 61 79 65 |emoViewN|extPlaye|
|00000d40| 72 28 29 3b 0d 0a 09 09 | 09 69 66 28 20 52 65 61 |r();....|.if( Rea|
|00000d50| 6c 56 69 65 77 54 61 72 | 67 65 74 21 3d 4e 6f 6e |lViewTar|get!=Non|
|00000d60| 65 20 26 26 20 52 65 61 | 6c 56 69 65 77 54 61 72 |e && Rea|lViewTar|
|00000d70| 67 65 74 21 3d 53 65 6c | 66 20 29 20 0d 0a 09 09 |get!=Sel|f ) ....|
|00000d80| 09 09 62 46 6f 75 6e 64 | 50 6c 61 79 65 72 20 3d |..bFound|Player =|
|00000d90| 20 74 72 75 65 3b 09 09 | 0d 0a 09 09 7d 0d 0a 09 | true;..|....}...|
|00000da0| 09 09 0d 0a 09 09 2f 2f | 20 68 61 63 6b 20 74 6f |......//| hack to|
|00000db0| 20 67 6f 20 74 6f 20 33 | 72 64 20 70 65 72 73 6f | go to 3|rd perso|
|00000dc0| 6e 20 64 75 72 69 6e 67 | 20 64 65 61 74 68 73 0d |n during| deaths.|
|00000dd0| 0a 09 09 69 66 28 20 52 | 65 61 6c 56 69 65 77 54 |...if( R|ealViewT|
|00000de0| 61 72 67 65 74 21 3d 4e | 6f 6e 65 20 26 26 20 52 |arget!=N|one && R|
|00000df0| 65 61 6c 56 69 65 77 54 | 61 72 67 65 74 2e 50 61 |ealViewT|arget.Pa|
|00000e00| 77 6e 3d 3d 4e 6f 6e 65 | 20 29 0d 0a 09 09 7b 0d |wn==None| )....{.|
|00000e10| 0a 09 09 09 69 66 28 20 | 21 62 54 65 6d 70 42 65 |....if( |!bTempBe|
|00000e20| 68 69 6e 64 56 69 65 77 | 20 29 0d 0a 09 09 09 7b |hindView| ).....{|
|00000e30| 0d 0a 09 09 09 09 62 54 | 65 6d 70 42 65 68 69 6e |......bT|empBehin|
|00000e40| 64 56 69 65 77 20 3d 20 | 74 72 75 65 3b 0d 0a 09 |dView = |true;...|
|00000e50| 09 09 09 62 42 65 68 69 | 6e 64 56 69 65 77 20 3d |...bBehi|ndView =|
|00000e60| 20 74 72 75 65 3b 0d 0a | 09 09 09 7d 0d 0a 09 09 | true;..|...}....|
|00000e70| 7d 0d 0a 09 09 65 6c 73 | 65 0d 0a 09 09 69 66 28 |}....els|e....if(|
|00000e80| 20 62 54 65 6d 70 42 65 | 68 69 6e 64 56 69 65 77 | bTempBe|hindView|
|00000e90| 20 29 0d 0a 09 09 7b 0d | 0a 09 09 09 62 42 65 68 | )....{.|....bBeh|
|00000ea0| 69 6e 64 56 69 65 77 20 | 3d 20 66 61 6c 73 65 3b |indView |= false;|
|00000eb0| 0d 0a 09 09 09 62 54 65 | 6d 70 42 65 68 69 6e 64 |.....bTe|mpBehind|
|00000ec0| 56 69 65 77 20 3d 20 66 | 61 6c 73 65 3b 0d 0a 09 |View = f|alse;...|
|00000ed0| 09 7d 0d 0a 09 7d 20 20 | 20 0d 0a 7d 0d 0a 0d 0a |.}...} | ..}....|
|00000ee0| 65 76 65 6e 74 20 50 6c | 61 79 65 72 43 61 6c 63 |event Pl|ayerCalc|
|00000ef0| 56 69 65 77 28 6f 75 74 | 20 61 63 74 6f 72 20 56 |View(out| actor V|
|00000f00| 69 65 77 41 63 74 6f 72 | 2c 20 6f 75 74 20 76 65 |iewActor|, out ve|
|00000f10| 63 74 6f 72 20 43 61 6d | 65 72 61 4c 6f 63 61 74 |ctor Cam|eraLocat|
|00000f20| 69 6f 6e 2c 20 6f 75 74 | 20 72 6f 74 61 74 6f 72 |ion, out| rotator|
|00000f30| 20 43 61 6d 65 72 61 52 | 6f 74 61 74 69 6f 6e 20 | CameraR|otation |
|00000f40| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 52 6f 74 |)..{...l|ocal Rot|
|00000f50| 61 74 6f 72 20 52 3b 0d | 0a 09 0d 0a 09 69 66 28 |ator R;.|.....if(|
|00000f60| 20 52 65 61 6c 56 69 65 | 77 54 61 72 67 65 74 20 | RealVie|wTarget |
|00000f70| 21 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 7b 0d 0a 09 |!= None |)...{...|
|00000f80| 09 52 20 3d 20 52 65 61 | 6c 56 69 65 77 54 61 72 |.R = Rea|lViewTar|
|00000f90| 67 65 74 2e 52 6f 74 61 | 74 69 6f 6e 3b 0d 0a 09 |get.Rota|tion;...|
|00000fa0| 7d 0d 0a 09 0d 0a 09 53 | 75 70 65 72 2e 50 6c 61 |}......S|uper.Pla|
|00000fb0| 79 65 72 43 61 6c 63 56 | 69 65 77 28 56 69 65 77 |yerCalcV|iew(View|
|00000fc0| 41 63 74 6f 72 2c 20 43 | 61 6d 65 72 61 4c 6f 63 |Actor, C|ameraLoc|
|00000fd0| 61 74 69 6f 6e 2c 20 43 | 61 6d 65 72 61 52 6f 74 |ation, C|ameraRot|
|00000fe0| 61 74 69 6f 6e 20 29 3b | 0d 0a 09 0d 0a 09 69 66 |ation );|......if|
|00000ff0| 28 20 52 65 61 6c 56 69 | 65 77 54 61 72 67 65 74 |( RealVi|ewTarget|
|00001000| 20 21 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 7b 0d 0a | != None| )...{..|
|00001010| 09 09 69 66 20 28 20 21 | 62 42 65 68 69 6e 64 56 |..if ( !|bBehindV|
|00001020| 69 65 77 20 29 0d 0a 09 | 09 7b 0d 0a 09 09 09 43 |iew )...|.{.....C|
|00001030| 61 6d 65 72 61 52 6f 74 | 61 74 69 6f 6e 20 3d 20 |ameraRot|ation = |
|00001040| 52 3b 0d 0a 09 09 09 69 | 66 20 28 20 50 61 77 6e |R;.....i|f ( Pawn|
|00001050| 28 56 69 65 77 54 61 72 | 67 65 74 29 20 21 3d 20 |(ViewTar|get) != |
|00001060| 4e 6f 6e 65 20 29 0d 0a | 09 09 09 09 43 61 6d 65 |None )..|....Came|
|00001070| 72 61 4c 6f 63 61 74 69 | 6f 6e 2e 5a 20 2b 3d 20 |raLocati|on.Z += |
|00001080| 50 61 77 6e 28 56 69 65 | 77 54 61 72 67 65 74 29 |Pawn(Vie|wTarget)|
|00001090| 2e 42 61 73 65 45 79 65 | 48 65 69 67 68 74 3b 20 |.BaseEye|Height; |
|000010a0| 2f 2f 20 46 49 58 4d 45 | 20 54 45 4d 50 0d 0a 09 |// FIXME| TEMP...|
|000010b0| 09 7d 0d 0a 09 09 52 65 | 61 6c 56 69 65 77 54 61 |.}....Re|alViewTa|
|000010c0| 72 67 65 74 2e 53 65 74 | 52 6f 74 61 74 69 6f 6e |rget.Set|Rotation|
|000010d0| 28 52 29 3b 0d 0a 09 7d | 0d 0a 7d 0d 0a 0d 0a 00 |(R);...}|..}.....|
+--------+-------------------------+-------------------------+--------+--------+