1.16.1 · Index · Add Address · Statistics · Reference · About

 ?  Address 0x0058CE24
 ?  Player ID 2736 (Byte Offset: 00)
 ?  Version 1.16.1
 ?  Name SC Technologies Available (0-23)
 ?  Size 24
 ?  Length 12
 ?  SC:Remaster Simple Data
 ?  Description % Table layout is reverse compared to deaths/kills table. 1 row per player, 24 bytes per row, 1 byte per tech. BW techs are elsewhere. Offset: 24 * Player + Offs SC Techs: | ID | Offs. | Name | Address | BitMask | | --- | ----- | -------------------- | ---------- | ---------- | | 00 | + 0 | Stim Packs | 0x0058CE24 | 0xFF000000 | | 02 | + 2 | EMP Shockwave | + 1 | 0x00FF0000 | | 01 | + 1 | Lockdown | + 2 | 0x0000FF00 | | 03 | + 3 | Spider Mines | + 3 | 0x000000FF | | 04 | + 4 | Scanner Sweep | 0x0058CE28 | | | 05 | + 5 | Tank Siege Mode | + 1 | | | 06 | + 6 | Defensive Matrix | + 2 | | | 07 | + 7 | Irradiate | + 3 | | | 08 | + 8 | Yamato Gun | 0x0058CE32 | | | 09 | + 9 | Cloaking Field | + 1 | | | 10 | +10 | Personnel Cloaking | + 2 | | | 11 | +11 | Burrowing | + 3 | | | 12 | +12 | Infestation | 0x0058CE36 | | | 13 | +13 | Spawn Broodlings | + 1 | | | 14 | +14 | Dark Swarm | + 2 | | | 15 | +15 | Plague | + 3 | | | 16 | +16 | Consume | 0x0058CE40 | | | 17 | +17 | Ensnare | + 1 | | | 18 | +18 | Parasite | + 2 | | | 19 | +19 | Psionic Storm | + 3 | | | 20 | +20 | Hallucination | 0x0058CE44 | | | 21 | +21 | Recall | + 1 | | | 22 | +22 | Stasis Field | + 2 | | | 23 | +23 | Archon Warp | + 3 | | | | | **Techno Research?** | | | | 00 | + 0 | Stim Packs | 0x0058CF44 | 0xFF000000 | | 01 | + 1 | EMP Shockwave | | 0x00FF0000 | | .. | ... | ... | ... | ... | | 23 | +23 | Archon Warp | +3 | 0x000000FF | Usage :: 内存用法 (**up: 22-11-19**) ```C EPD(2736 + (PlayerID * 24 + TechID*0.25), /*Its size is not divisible by 4, so use bitmask. */ Modify, Value) MemoryX(0x0058CE24 + (PlayerID * 24 + TechID * 4, Modify, // At least | At most | Equal // >= | <= | == // 大于 | 小于 | 等于 Value, // 0x00 is not available for player .: 玩家 不可用 // 0x01 is available for player .: 玩家 可用 0xFF000000 >>(TechID % 4)) /* SIZE = 24, you need use bitmask :: 需要使用位掩码 */ SetMemoryX(0x0058CE24 + (PlayerID * 24 + TechID * 4, Modify, // Set To | Add | Substract :: 设为;增加;减少 // = | += | -= Value, 0xFF000000 >>(TechID % 4)) /* where Value is 0x00 not available :: 不可用* * 0x01 available :: 可用*/ ``` You also control all tech settings in one way 你也可以只用一种方式去控制所有科技设定 ```C MemoryX(0x0058CE24 + Type * 288 + PlayerID * 24 + TechID * 4, Modify, Value, 0xFF000000 >>(TechID % 4)) ``` Where Type/Value is :: 其中,类型/值 是 |Type| mean | value | mean | zh | |----|---------------------|-------|-------------|--------| | 0 | available? | 0x00 | unavailable | 不可用 | | | | 0x01 | available | 可用 | | 1 | already researched? | 0x00 | not already | 未研究 | | | | 0x01 | already | 已研究 |
Edit
Links: full · short · direct