|
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.
[2016-6-15. : 8:20 pm] Corbo -- like, all of this allows me to just do (in gptp) do like ActiveTile currentTile; currentTile.hasCreep;[2016-6-15. : 8:18 pm] Corbo -- and this: inline ActiveTile& getActiveTileAt(s32 x, s32 y) { return (*activeTileArray)[(x / 32) + mapTileSize->width * (y / 32)]; }[2016-6-15. : 8:18 pm] Corbo -- like, I think I'd need a line like this: SCBW_DATA(ActiveTile**, activeTileArray, 0x006D1260);[2016-6-15. : 8:17 pm] Corbo -- but I don't know how to implement it so I can write a function that allows me to know when X unit is on top of X tile.[2016-6-15. : 8:14 pm] poiuy_qwert -- CorboCorbo shouted: jjf28 but I don't know how to do that Maybe this is the offset you need: http://farty1billion.dyndns.org/euddb/?pg=entry&addr=0x006D5EA0&ver=1.16.0&plat=win![]() [2016-6-15. : 8:01 pm] Corbo -- jjf28jjf28 shouted: Corbo just get the tile number and traverse the tileset structs yourself but I don't know how to do that ![]() [2016-6-15. : 7:53 pm] jjf28 -- apologies Zoko-TkZ, just got a job offer so Ima push UnitViewer back 2 days ![]() [2016-6-15. : 7:52 pm] jjf28 -- CorboCorbo shouted: ActiveTile seems to have a different struct than Tile anyway, so I can't use this function. D: just get the tile number and traverse the tileset structs yourself[2016-6-15. : 6:18 pm] KYSXD -- CorboCorbo shouted: I'm trying to make some sort of physics simulation where units would slide when walking on ice, or have special effects on them like burn + gain acceleration when walking on lava, etc... Maybe you could just assume alwaysUnbuildable+walkable tiles are your desired tiles and set a modifier based on tilesetType[2016-6-15. : 5:59 pm] Corbo -- ActiveTile seems to have a different struct than Tile anyway, so I can't use this function. D:[2016-6-15. : 5:56 pm] poiuy_qwert -- CorboCorbo shouted: is index something embedded in tile properties? no, its just its index in the array of tiles[2016-6-15. : 5:40 pm] poiuy_qwert -- I think it might be because your cv5 has an uppercase extension. Try renaming it to .cv5 instead of .CV5[2016-6-15. : 5:36 pm] poiuy_qwert -- not sure, can't really look into it 'till i'm home from work. i'll reply then[2016-6-15. : 5:31 pm] poiuy_qwert -- Yeah I doubt there is an easy way. Adding something custom to an unknown is probably the best bet other then hardcoding a list of all the tiles you want :X[2016-6-15. : 5:01 pm] Corbo -- but there are unknowns which I can edit with something and check them and then check for the flag active in the code. That's cool. So it's very possible to do what I a trying to do.[2016-6-15. : 4:49 pm] Corbo -- I can getTileX() and getTileY() easily but unless I know the tile type I can do nothing for that unless I preprogram for an specific map and calculate when a unit is in X area of the map and program stuff accordingly[2016-6-15. : 4:48 pm] Corbo -- I'm trying to make some sort of physics simulation where units would slide when walking on ice, or have special effects on them like burn + gain acceleration when walking on lava, etc...[2016-6-15. : 4:18 pm] jjf28 -- you can also find nearby collisions & stuff by creating/moving and checking for units; otherwise you'd have to calc the coordinates and use hardcoded tile info[2016-6-15. : 1:53 pm] Valadorn -- um . . . maybe if u have some free time , wanna give it a try ? : )[2016-6-15. : 1:51 pm] Valadorn -- I did upload it to " maps - Others " in .Zip file , is that okey ? :S[2016-6-15. : 1:50 pm] Valadorn -- It is complete in my oppinion , I need some feedback with it so i an improve ![]() [2016-6-15. : 1:49 pm] BeatMeistro -- I guess you could put it in the map showcase then. If it's complete that is.[2016-6-15. : 1:47 pm] Valadorn -- Its just a simple Campaign , with as many Voice Overs as i could ve done ![]() [2016-6-15. : 1:35 pm] BeatMeistro -- Does the Campaign come with a mod? Then you could put it in the modding projects.[2016-6-15. : 1:01 pm] poiuy_qwert -- ValadornValadorn shouted: Is there any 1 willing to try out my Campaign pls ? Post a thread, someone will play it. you can also check out www.campaigncreations.org![]() [2016-6-15. : 2:10 am] jjf28 -- FaRTy1billionFaRTy1billion shouted: tell them elevator malfunctions are usually fatal ![]() [2016-6-15. : 1:56 am] Dem0n -- I heard them talking to the elevator tech and they were like, "HELLO!! HELLO!! WE'RE IN HERE!!!"[2016-6-15. : 1:53 am] Moose -- Gone now and gone forever, so that the rest of us may ride elevators in peace. |