|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2018-2-18. : 2:43 am] thekian -- By the way, I've heard of SFE maps for Brood War, but couldn't find any.[2018-2-18. : 2:43 am] O)FaRTy1billion[MM] -- it just sort of copies all the game data into a buffer somewhere, so that's probably going to be tricky[2018-2-18. : 2:42 am] thekian -- And maybe figure out how to make it possible to save without the game crashing.[2018-2-18. : 2:42 am] O)FaRTy1billion[MM] -- there's only 2 or 3 .dat files I need to add, and then I need to hammer out all the quirks with units.dat and any others that pop up[2018-2-18. : 2:41 am] O)FaRTy1billion[MM] -- I haven't worked on it in a while, but images, sprites and flingies seem to work well XD I've used it to play around with adding SC:R graphics to 1.16.1[2018-2-18. : 2:40 am] O)FaRTy1billion[MM] -- so if you need to do more than 1, you need to either have a unique location for each beacon or cycle through by disabling and then giving it to a different player[2018-2-18. : 2:39 am] O)FaRTy1billion[MM] -- however, it will only work on 1 unit at that specific location[2018-2-18. : 2:39 am] O)FaRTy1billion[MM] -- ya, just disable doodad state of whatever beacon at whatever location[2018-2-18. : 2:36 am] thekian -- Looks like you just disable the particular doodad at whatever location you want.[2018-2-18. : 1:38 am] Psychic_Genius -- Hey guys, do you remember how was the trigger to cloak a beacon? i remember it was disabling doodad state, but i dont remember how it was done. the link http://www.staredit.net/wiki/index.php/Set_Doodad_State is not very specific of how to make the trigger.[2018-2-18. : 1:12 am] O)FaRTy1billion[MM] -- but the triggers it outputs are easily converted to SCMD triggers in any case[2018-2-18. : 1:12 am] O)FaRTy1billion[MM] -- I don't think the triggers it outputs work directly in SCMD though, but I think I've heard they work in trigedit plus? I'm not sure[2018-2-18. : 1:11 am] thekian -- All I want is to make an EUD that lets siege tanks target air units...[2018-2-18. : 1:10 am] Suicidal Insanity -- If I ever have time and motivation to look into options available for autocomplete + syntax highlighting editors, such as whatever VS open sourced, I may make a new one. But that is a big if ;([2018-2-18. : 1:03 am] Suicidal Insanity -- thekianthekian shouted: Does SCMDraft have a trigger option other than "Classic Triggers"? It should include a very basic text trigger editor by default, and various others are available[2018-2-18. : 1:02 am] poiuy_qwert -- yay terrain looks correct now my unit rendering is still off though ![]() [2018-2-18. : 1:01 am] O)FaRTy1billion[MM] -- http://farty1billion.dyndns.org/mapexp/(4)Blood%20Bath.scm.png xD[2018-2-18. : 12:59 am] O)FaRTy1billion[MM] -- so rather than having like 30 copies of it I made it a macro to just be like whatever(tile ID, index)[2018-2-18. : 12:58 am] O)FaRTy1billion[MM] -- oh, I remember why. It was for MapExp, and I support scaling beyond 64x64, so it can have up to 4x4 pixels per tile XD[2018-2-18. : 12:56 am] Suicidal Insanity -- FaRTy1billionFaRTy1billion shouted: I defined it as a macro or something silly, though Don't think that's silly. A while ago I replaced a bunch of locations where I did tileGroup = tileIndex / 16 with a static function that basically does exactly the same thing. And the uint16s with typedefs for group and index. Just to make sure types aren't mixed up and I can find the code faster[2018-2-18. : 12:53 am] O)FaRTy1billion[MM] -- I'm pretty sure I do it with &0xFFFE though, so who knows XD[2018-2-18. : 12:52 am] Suicidal Insanity -- FaRTy1billionFaRTy1billion shouted: Suicidal Insanity basically what SC does, ecxept it does &0xFFFE instead of >> 1 Ya the optimizer may be canceling out the >> 1 and accounting for array step size in the lookup[2018-2-18. : 12:52 am] O)FaRTy1billion[MM] -- I guess column-order makes sense in an array, because like thing[8][5] would be weird to do as thing[x][y][2018-2-18. : 12:50 am] Suicidal Insanity -- FaRTy1billionFaRTy1billion shouted: Suicidal Insanity that sounds horrible Strictly speaking, one based by default, but you can also make em 0 based or 42 based or anything.[2018-2-18. : 12:47 am] O)FaRTy1billion[MM] -- struct tile { unsigned short flipped : 1, id : 15; } or whatever[2018-2-18. : 12:45 am] O)FaRTy1billion[MM] -- Suicidal InsanitySuicidal Insanity shouted: So: colors[0] = microTileGFX[64 * (microTileGFXIndexii[tileID * 16 + 0] >> 1) + 55]; basically what SC does, ecxept it does &0xFFFE instead of >> 1[2018-2-18. : 12:43 am] O)FaRTy1billion[MM] -- Suicidal InsanitySuicidal Insanity shouted: Try SAFEARRAYs .... one based and column major I think that sounds horrible[2018-2-18. : 12:42 am] Suicidal Insanity -- Anytime I have array indices such as X and X + 1, I write X + 0 to A: make it line up; and B: make it explicit that there isn't a + 1 missing[2018-2-18. : 12:42 am] Suicidal Insanity -- To make the code line up with the other 3 indices for the other three microtiles[2018-2-18. : 12:33 am] Suicidal Insanity -- So: colors[0] = microTileGFX[64 * (microTileGFXIndexii[tileID * 16 + 0] >> 1) + 55];[2018-2-18. : 12:33 am] Suicidal Insanity -- FaRTy1billionFaRTy1billion shouted: or 0, 4, 1, 5 FaRTy1billionFaRTy1billion shouted: ya, (0,0), (1,0), (0,1), (1,1) Nowadays I would probably explicitly include the calculation in the code as pseudo documentation. When I wrote the function, I just used absolute indices everywhere[2018-2-18. : 12:30 am] O)FaRTy1billion[MM] -- idk, I usually just use absolute indexes, especially for something as small as 4x4 XD[2018-2-18. : 12:23 am] O)FaRTy1billion[MM] -- Suicidal InsanitySuicidal Insanity shouted: FaRTy1billion Good point. Too much row major matlab code lately FaRTy1billionFaRTy1billion shouted: ya, (0,0), (1,0), (0,1), (1,1) and now I am confusing coordinate systems ><[2018-2-18. : 12:22 am] O)FaRTy1billion[MM] -- MOVZX EDX,WORD PTR DS:[EDX+ESI] ... MOVZX EDX,WORD PTR DS:[EDX+ESI+8] ... MOVZX EDX,WORD PTR DS:[EDX+ESI+2] ... MOVZX EDX,WORD PTR DS:[EDX+ESI+A][2018-2-18. : 12:22 am] Suicidal Insanity -- FaRTy1billionFaRTy1billion shouted: Suicidal Insanity jjf28 are you doing (x,y) or (row,column)? Good point. Too much row major matlab code lately![]() [2018-2-18. : 12:20 am] O)FaRTy1billion[MM] -- Suicidal InsanitySuicidal Insanity shouted: jjf28 Sure its not 6,7 ? jjf28jjf28 shouted: Suicidal Insanity pretty sure, compared with sc at least oncr are you doing (x,y) or (row,column)? ![]() [2018-2-18. : 12:19 am] O)FaRTy1billion[MM] -- EAX is vr4 pointer, EDX is the tile offset ((ID&0xFFFE) << 5)[2018-2-18. : 12:18 am] thekian -- Hey, anyone know whether setting a build time to 0 in StarEdit/SCMDraft/etc. makes the game crash like it would with DatEdit? |