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 / XGame.u / xPawn_VampireGameRules_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-05-10  |  1.2 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 | 62 13 63 6c 61 73 73 20 |........|b.class |
|00000010| 56 61 6d 70 69 72 65 47 | 61 6d 65 52 75 6c 65 73 |VampireG|ameRules|
|00000020| 20 65 78 74 65 6e 64 73 | 20 47 61 6d 65 52 75 6c | extends| GameRul|
|00000030| 65 73 3b 0d 0a 0d 0a 76 | 61 72 28 29 20 66 6c 6f |es;....v|ar() flo|
|00000040| 61 74 20 43 6f 6e 76 65 | 72 73 69 6f 6e 52 61 74 |at Conve|rsionRat|
|00000050| 69 6f 3b 0d 0a 09 09 0d | 0a 66 75 6e 63 74 69 6f |io;.....|.functio|
|00000060| 6e 20 69 6e 74 20 4e 65 | 74 44 61 6d 61 67 65 28 |n int Ne|tDamage(|
|00000070| 20 69 6e 74 20 4f 72 69 | 67 69 6e 61 6c 44 61 6d | int Ori|ginalDam|
|00000080| 61 67 65 2c 20 69 6e 74 | 20 44 61 6d 61 67 65 2c |age, int| Damage,|
|00000090| 20 70 61 77 6e 20 69 6e | 6a 75 72 65 64 2c 20 70 | pawn in|jured, p|
|000000a0| 61 77 6e 20 69 6e 73 74 | 69 67 61 74 65 64 42 79 |awn inst|igatedBy|
|000000b0| 2c 20 76 65 63 74 6f 72 | 20 48 69 74 4c 6f 63 61 |, vector| HitLoca|
|000000c0| 74 69 6f 6e 2c 20 6f 75 | 74 20 76 65 63 74 6f 72 |tion, ou|t vector|
|000000d0| 20 4d 6f 6d 65 6e 74 75 | 6d 2c 20 63 6c 61 73 73 | Momentu|m, class|
|000000e0| 3c 44 61 6d 61 67 65 54 | 79 70 65 3e 20 44 61 6d |<DamageT|ype> Dam|
|000000f0| 61 67 65 54 79 70 65 20 | 29 0d 0a 7b 0d 0a 09 69 |ageType |)..{...i|
|00000100| 66 20 28 20 4e 65 78 74 | 47 61 6d 65 52 75 6c 65 |f ( Next|GameRule|
|00000110| 73 20 21 3d 20 4e 6f 6e | 65 20 29 0d 0a 09 09 72 |s != Non|e )....r|
|00000120| 65 74 75 72 6e 20 4e 65 | 78 74 47 61 6d 65 52 75 |eturn Ne|xtGameRu|
|00000130| 6c 65 73 2e 4e 65 74 44 | 61 6d 61 67 65 28 20 4f |les.NetD|amage( O|
|00000140| 72 69 67 69 6e 61 6c 44 | 61 6d 61 67 65 2c 44 61 |riginalD|amage,Da|
|00000150| 6d 61 67 65 2c 69 6e 6a | 75 72 65 64 2c 69 6e 73 |mage,inj|ured,ins|
|00000160| 74 69 67 61 74 65 64 42 | 79 2c 48 69 74 4c 6f 63 |tigatedB|y,HitLoc|
|00000170| 61 74 69 6f 6e 2c 4d 6f | 6d 65 6e 74 75 6d 2c 44 |ation,Mo|mentum,D|
|00000180| 61 6d 61 67 65 54 79 70 | 65 20 29 3b 0d 0a 09 69 |amageTyp|e );...i|
|00000190| 66 20 28 20 28 49 6e 73 | 74 69 67 61 74 65 64 42 |f ( (Ins|tigatedB|
|000001a0| 79 20 21 3d 20 49 6e 6a | 75 72 65 64 29 20 26 26 |y != Inj|ured) &&|
|000001b0| 20 28 49 6e 73 74 69 67 | 61 74 65 64 42 79 20 21 | (Instig|atedBy !|
|000001c0| 3d 20 4e 6f 6e 65 29 20 | 26 26 20 28 49 6e 73 74 |= None) |&& (Inst|
|000001d0| 69 67 61 74 65 64 42 79 | 2e 48 65 61 6c 74 68 20 |igatedBy|.Health |
|000001e0| 3e 20 30 29 20 0d 0a 09 | 09 26 26 20 28 49 6e 73 |> 0) ...|.&& (Ins|
|000001f0| 74 69 67 61 74 65 64 42 | 79 2e 50 6c 61 79 65 72 |tigatedB|y.Player|
|00000200| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 20 |Replicat|ionInfo |
|00000210| 21 3d 20 4e 6f 6e 65 29 | 20 26 26 20 28 49 6e 6a |!= None)| && (Inj|
|00000220| 75 72 65 64 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |ured.Pla|yerRepli|
|00000230| 63 61 74 69 6f 6e 49 6e | 66 6f 20 21 3d 20 4e 6f |cationIn|fo != No|
|00000240| 6e 65 29 20 0d 0a 09 09 | 26 26 20 28 28 49 6e 73 |ne) ....|&& ((Ins|
|00000250| 74 69 67 61 74 65 64 42 | 79 2e 50 6c 61 79 65 72 |tigatedB|y.Player|
|00000260| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|00000270| 54 65 61 6d 20 3d 3d 20 | 4e 6f 6e 65 29 20 7c 7c |Team == |None) |||
|00000280| 20 28 49 6e 73 74 69 67 | 61 74 65 64 42 79 2e 50 | (Instig|atedBy.P|
|00000290| 6c 61 79 65 72 52 65 70 | 6c 69 63 61 74 69 6f 6e |layerRep|lication|
|000002a0| 49 6e 66 6f 2e 54 65 61 | 6d 20 21 3d 20 49 6e 6a |Info.Tea|m != Inj|
|000002b0| 75 72 65 64 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |ured.Pla|yerRepli|
|000002c0| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 54 65 61 6d 29 |cationIn|fo.Team)|
|000002d0| 29 20 29 0d 0a 09 09 49 | 6e 73 74 69 67 61 74 65 |) )....I|nstigate|
|000002e0| 64 42 79 2e 48 65 61 6c | 74 68 20 3d 20 4d 69 6e |dBy.Heal|th = Min|
|000002f0| 28 20 49 6e 73 74 69 67 | 61 74 65 64 42 79 2e 48 |( Instig|atedBy.H|
|00000300| 65 61 6c 74 68 2b 44 61 | 6d 61 67 65 2a 43 6f 6e |ealth+Da|mage*Con|
|00000310| 76 65 72 73 69 6f 6e 52 | 61 74 69 6f 2c 20 4d 61 |versionR|atio, Ma|
|00000320| 78 28 49 6e 73 74 69 67 | 61 74 65 64 42 79 2e 48 |x(Instig|atedBy.H|
|00000330| 65 61 6c 74 68 2c 49 6e | 73 74 69 67 61 74 65 64 |ealth,In|stigated|
|00000340| 42 79 2e 48 65 61 6c 74 | 68 4d 61 78 29 20 29 3b |By.Healt|hMax) );|
|00000350| 0d 0a 09 72 65 74 75 72 | 6e 20 44 61 6d 61 67 65 |...retur|n Damage|
|00000360| 3b 0d 0a 7d 0d 0a 0d 0a | 2f 2f 0d 0a 2f 2f 20 73 |;..}....|//..// s|
|00000370| 65 72 76 65 72 20 71 75 | 65 72 79 69 6e 67 0d 0a |erver qu|erying..|
|00000380| 2f 2f 0d 0a 66 75 6e 63 | 74 69 6f 6e 20 47 65 74 |//..func|tion Get|
|00000390| 53 65 72 76 65 72 44 65 | 74 61 69 6c 73 28 20 6f |ServerDe|tails( o|
|000003a0| 75 74 20 47 61 6d 65 49 | 6e 66 6f 2e 53 65 72 76 |ut GameI|nfo.Serv|
|000003b0| 65 72 52 65 73 70 6f 6e | 73 65 4c 69 6e 65 20 53 |erRespon|seLine S|
|000003c0| 65 72 76 65 72 53 74 61 | 74 65 20 29 0d 0a 7b 0d |erverSta|te )..{.|
|000003d0| 0a 09 2f 2f 20 61 70 70 | 65 6e 64 20 74 68 65 20 |..// app|end the |
|000003e0| 67 61 6d 65 72 75 6c 65 | 73 20 6e 61 6d 65 2d 20 |gamerule|s name- |
|000003f0| 6f 6e 6c 79 20 75 73 65 | 64 20 69 66 20 6d 75 74 |only use|d if mut|
|00000400| 61 74 6f 72 20 61 64 64 | 73 20 6d 65 20 61 6e 64 |ator add|s me and|
|00000410| 20 64 65 6c 65 74 65 73 | 20 69 74 73 65 6c 66 2e | deletes| itself.|
|00000420| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 69 3b 0d |...local| int i;.|
|00000430| 0a 09 69 20 3d 20 53 65 | 72 76 65 72 53 74 61 74 |..i = Se|rverStat|
|00000440| 65 2e 53 65 72 76 65 72 | 49 6e 66 6f 2e 4c 65 6e |e.Server|Info.Len|
|00000450| 67 74 68 3b 0d 0a 09 53 | 65 72 76 65 72 53 74 61 |gth;...S|erverSta|
|00000460| 74 65 2e 53 65 72 76 65 | 72 49 6e 66 6f 2e 4c 65 |te.Serve|rInfo.Le|
|00000470| 6e 67 74 68 20 3d 20 69 | 2b 31 3b 0d 0a 09 53 65 |ngth = i|+1;...Se|
|00000480| 72 76 65 72 53 74 61 74 | 65 2e 53 65 72 76 65 72 |rverStat|e.Server|
|00000490| 49 6e 66 6f 5b 69 5d 2e | 4b 65 79 20 3d 20 22 4d |Info[i].|Key = "M|
|000004a0| 75 74 61 74 6f 72 22 3b | 0d 0a 09 53 65 72 76 65 |utator";|...Serve|
|000004b0| 72 53 74 61 74 65 2e 53 | 65 72 76 65 72 49 6e 66 |rState.S|erverInf|
|000004c0| 6f 5b 69 5d 2e 56 61 6c | 75 65 20 3d 20 47 65 74 |o[i].Val|ue = Get|
|000004d0| 48 75 6d 61 6e 52 65 61 | 64 61 62 6c 65 4e 61 6d |HumanRea|dableNam|
|000004e0| 65 28 29 3b 0d 0a 7d 0d | 0a 0d 0a 00 |e();..}.|.... |
+--------+-------------------------+-------------------------+--------+--------+