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_ProjectileSpawner_ScriptText.TextBuffer < prev    next >
Unknown  |  2004-05-10  |  1.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.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 79 14 0d 0a 63 6c 61 73 |........|y...clas|
|00000010| 73 20 50 72 6f 6a 65 63 | 74 69 6c 65 53 70 61 77 |s Projec|tileSpaw|
|00000020| 6e 65 72 20 65 78 74 65 | 6e 64 73 20 41 63 74 6f |ner exte|nds Acto|
|00000030| 72 0d 0a 20 20 20 20 70 | 6c 61 63 65 61 62 6c 65 |r.. p|laceable|
|00000040| 3b 0d 0a 0d 0a 76 61 72 | 28 29 20 66 6c 6f 61 74 |;....var|() float|
|00000050| 20 50 72 6f 6a 65 63 74 | 69 6c 65 53 70 65 65 64 | Project|ileSpeed|
|00000060| 3b 0d 0a 76 61 72 28 29 | 20 66 6c 6f 61 74 20 53 |;..var()| float S|
|00000070| 70 61 77 6e 52 61 74 65 | 4d 69 6e 3b 0d 0a 76 61 |pawnRate|Min;..va|
|00000080| 72 28 29 20 66 6c 6f 61 | 74 20 53 70 61 77 6e 52 |r() floa|t SpawnR|
|00000090| 61 74 65 4d 61 78 3b 0d | 0a 76 61 72 28 29 20 63 |ateMax;.|.var() c|
|000000a0| 6c 61 73 73 3c 78 45 6d | 69 74 74 65 72 3e 20 54 |lass<xEm|itter> T|
|000000b0| 72 61 69 6c 45 6d 69 74 | 74 65 72 3b 0d 0a 76 61 |railEmit|ter;..va|
|000000c0| 72 28 29 20 63 6c 61 73 | 73 3c 78 45 6d 69 74 74 |r() clas|s<xEmitt|
|000000d0| 65 72 3e 20 45 78 70 6c | 6f 73 69 6f 6e 45 6d 69 |er> Expl|osionEmi|
|000000e0| 74 74 65 72 3b 0d 0a 76 | 61 72 28 29 20 4d 65 73 |tter;..v|ar() Mes|
|000000f0| 68 20 50 72 6f 6a 65 63 | 74 69 6c 65 4d 65 73 68 |h Projec|tileMesh|
|00000100| 3b 0d 0a 76 61 72 28 29 | 20 66 6c 6f 61 74 20 50 |;..var()| float P|
|00000110| 72 6f 6a 65 63 74 69 6c | 65 4d 65 73 68 53 63 61 |rojectil|eMeshSca|
|00000120| 6c 65 3b 0d 0a 76 61 72 | 28 29 20 53 6f 75 6e 64 |le;..var|() Sound|
|00000130| 20 53 70 61 77 6e 53 6f | 75 6e 64 3b 0d 0a 76 61 | SpawnSo|und;..va|
|00000140| 72 28 29 20 53 6f 75 6e | 64 20 45 78 70 6c 6f 73 |r() Soun|d Explos|
|00000150| 69 6f 6e 53 6f 75 6e 64 | 3b 0d 0a 76 61 72 28 29 |ionSound|;..var()|
|00000160| 20 66 6c 6f 61 74 20 44 | 61 6d 61 67 65 3b 0d 0a | float D|amage;..|
|00000170| 76 61 72 28 29 20 66 6c | 6f 61 74 20 44 61 6d 61 |var() fl|oat Dama|
|00000180| 67 65 52 61 64 69 75 73 | 3b 0d 0a 76 61 72 28 29 |geRadius|;..var()|
|00000190| 20 63 6c 61 73 73 3c 44 | 61 6d 61 67 65 54 79 70 | class<D|amageTyp|
|000001a0| 65 3e 20 44 61 6d 61 67 | 65 54 79 70 65 3b 0d 0a |e> Damag|eType;..|
|000001b0| 76 61 72 28 29 20 66 6c | 6f 61 74 20 50 72 6f 6a |var() fl|oat Proj|
|000001c0| 65 63 74 69 6c 65 4c 69 | 66 65 53 70 61 6e 3b 0d |ectileLi|feSpan;.|
|000001d0| 0a 76 61 72 28 29 20 66 | 6c 6f 61 74 20 52 61 6e |.var() f|loat Ran|
|000001e0| 64 6f 6d 53 74 61 72 74 | 44 65 6c 61 79 3b 0d 0a |domStart|Delay;..|
|000001f0| 76 61 72 28 29 20 62 6f | 6f 6c 20 47 72 61 76 69 |var() bo|ol Gravi|
|00000200| 74 79 41 66 66 65 63 74 | 65 64 3b 0d 0a 0d 0a 72 |tyAffect|ed;....r|
|00000210| 65 70 6c 69 63 61 74 69 | 6f 6e 0d 0a 7b 0d 0a 09 |eplicati|on..{...|
|00000220| 72 65 6c 69 61 62 6c 65 | 20 69 66 28 20 62 4e 65 |reliable| if( bNe|
|00000230| 74 49 6e 69 74 69 61 6c | 20 26 26 20 52 6f 6c 65 |tInitial| && Role|
|00000240| 3d 3d 52 4f 4c 45 5f 41 | 75 74 68 6f 72 69 74 79 |==ROLE_A|uthority|
|00000250| 20 29 0d 0a 20 20 20 20 | 20 20 20 20 45 78 70 6c | ).. | Expl|
|00000260| 6f 73 69 6f 6e 45 6d 69 | 74 74 65 72 2c 20 54 72 |osionEmi|tter, Tr|
|00000270| 61 69 6c 45 6d 69 74 74 | 65 72 2c 20 50 72 6f 6a |ailEmitt|er, Proj|
|00000280| 65 63 74 69 6c 65 4d 65 | 73 68 2c 20 45 78 70 6c |ectileMe|sh, Expl|
|00000290| 6f 73 69 6f 6e 53 6f 75 | 6e 64 2c 20 50 72 6f 6a |osionSou|nd, Proj|
|000002a0| 65 63 74 69 6c 65 4d 65 | 73 68 53 63 61 6c 65 2c |ectileMe|shScale,|
|000002b0| 20 50 72 6f 6a 65 63 74 | 69 6c 65 4c 69 66 65 53 | Project|ileLifeS|
|000002c0| 70 61 6e 3b 0d 0a 7d 0d | 0a 0d 0a 66 75 6e 63 74 |pan;..}.|...funct|
|000002d0| 69 6f 6e 20 50 6f 73 74 | 42 65 67 69 6e 50 6c 61 |ion Post|BeginPla|
|000002e0| 79 28 29 0d 0a 7b 0d 0a | 20 20 20 20 69 66 20 28 |y()..{..| if (|
|000002f0| 53 70 61 77 6e 52 61 74 | 65 4d 69 6e 20 3e 20 30 |SpawnRat|eMin > 0|
|00000300| 29 0d 0a 20 20 20 20 20 | 20 20 20 53 65 74 54 69 |).. | SetTi|
|00000310| 6d 65 72 28 31 2e 30 2f | 53 70 61 77 6e 52 61 74 |mer(1.0/|SpawnRat|
|00000320| 65 4d 69 6e 2b 52 61 6e | 64 6f 6d 53 74 61 72 74 |eMin+Ran|domStart|
|00000330| 44 65 6c 61 79 2a 46 52 | 61 6e 64 28 29 2c 20 66 |Delay*FR|and(), f|
|00000340| 61 6c 73 65 29 3b 0d 0a | 7d 0d 0a 0d 0a 66 75 6e |alse);..|}....fun|
|00000350| 63 74 69 6f 6e 20 54 69 | 6d 65 72 28 29 0d 0a 7b |ction Ti|mer()..{|
|00000360| 0d 0a 20 20 20 20 53 70 | 61 77 6e 50 72 6f 6a 65 |.. Sp|awnProje|
|00000370| 63 74 69 6c 65 28 29 3b | 0d 0a 20 20 20 20 69 66 |ctile();|.. if|
|00000380| 20 28 53 70 61 77 6e 52 | 61 74 65 4d 69 6e 20 3e | (SpawnR|ateMin >|
|00000390| 20 30 20 26 26 20 53 70 | 61 77 6e 52 61 74 65 4d | 0 && Sp|awnRateM|
|000003a0| 61 78 20 3e 20 30 29 0d | 0a 20 20 20 20 20 20 20 |ax > 0).|. |
|000003b0| 20 53 65 74 54 69 6d 65 | 72 28 31 2e 30 2f 52 61 | SetTime|r(1.0/Ra|
|000003c0| 6e 64 52 61 6e 67 65 28 | 53 70 61 77 6e 52 61 74 |ndRange(|SpawnRat|
|000003d0| 65 4d 69 6e 2c 20 53 70 | 61 77 6e 52 61 74 65 4d |eMin, Sp|awnRateM|
|000003e0| 61 78 29 2c 20 66 61 6c | 73 65 29 3b 0d 0a 7d 0d |ax), fal|se);..}.|
|000003f0| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 53 70 61 77 |...funct|ion Spaw|
|00000400| 6e 50 72 6f 6a 65 63 74 | 69 6c 65 28 29 0d 0a 7b |nProject|ile()..{|
|00000410| 0d 0a 20 20 20 20 6c 6f | 63 61 6c 20 53 70 61 77 |.. lo|cal Spaw|
|00000420| 6e 65 72 50 72 6f 6a 65 | 63 74 69 6c 65 20 50 72 |nerProje|ctile Pr|
|00000430| 6f 6a 3b 0d 0a 0d 0a 20 | 20 20 20 50 72 6f 6a 20 |oj;.... | Proj |
|00000440| 3d 20 53 70 61 77 6e 28 | 63 6c 61 73 73 27 53 70 |= Spawn(|class'Sp|
|00000450| 61 77 6e 65 72 50 72 6f | 6a 65 63 74 69 6c 65 27 |awnerPro|jectile'|
|00000460| 2c 20 73 65 6c 66 2c 2c | 20 4c 6f 63 61 74 69 6f |, self,,| Locatio|
|00000470| 6e 2c 20 52 6f 74 61 74 | 69 6f 6e 29 3b 0d 0a 20 |n, Rotat|ion);.. |
|00000480| 20 20 20 50 72 6f 6a 2e | 53 70 61 77 6e 65 72 20 | Proj.|Spawner |
|00000490| 3d 20 73 65 6c 66 3b 0d | 0a 0d 0a 20 20 20 20 69 |= self;.|... i|
|000004a0| 66 20 28 53 70 61 77 6e | 53 6f 75 6e 64 20 21 3d |f (Spawn|Sound !=|
|000004b0| 20 4e 6f 6e 65 29 0d 0a | 20 20 20 20 7b 0d 0a 20 | None)..| {.. |
|000004c0| 20 20 20 20 20 20 20 50 | 6c 61 79 53 6f 75 6e 64 | P|laySound|
|000004d0| 28 53 70 61 77 6e 53 6f | 75 6e 64 29 3b 0d 0a 20 |(SpawnSo|und);.. |
|000004e0| 20 20 20 7d 0d 0a 7d 0d | 0a 0d 0a 0d 0a 66 75 6e | }..}.|.....fun|
|000004f0| 63 74 69 6f 6e 20 54 72 | 69 67 67 65 72 28 41 63 |ction Tr|igger(Ac|
|00000500| 74 6f 72 20 4f 74 68 65 | 72 2c 20 50 61 77 6e 20 |tor Othe|r, Pawn |
|00000510| 45 76 65 6e 74 49 6e 73 | 74 69 67 61 74 6f 72 29 |EventIns|tigator)|
|00000520| 0d 0a 7b 0d 0a 20 20 20 | 20 53 70 61 77 6e 50 72 |..{.. | SpawnPr|
|00000530| 6f 6a 65 63 74 69 6c 65 | 28 29 3b 0d 0a 7d 0d 0a |ojectile|();..}..|
|00000540| 0d 0a 00 | |... | |
+--------+-------------------------+-------------------------+--------+--------+