RPG Spell Idea
Nov 29 2008, 7:35 pm
By: RISKED911  

Nov 30 2008, 7:49 pm Biophysicist Post #21



How do you find the size of a unit's collision box? Or, do you know what an SCV's collision box size is?



None.

Nov 30 2008, 8:28 pm RISKED911 Post #22



Yes, very small. And to find collision you use the debug check show unit collision sizes.



None.

Dec 1 2008, 12:09 am SelfPossessed Post #23



@ TassadarZeratul

Return Cargo is bad as it requires two keyboard presses. You'd have to press a number for the hotkey, C for the action, then another number to go back to the original unit. That's 3 actions on the left hand. Compare that to the movement detection system, whereby you press a number for the hotkey, right click for the action, then another number to go back to the original unit. The second is FAR faster as your left hand doesn't even have to move from its position to switch between two numbers.

Sizes for inverted locations can be determined via DatEdit. Open it up. Find your unit. Under the unit tab, click the sub-tab Graphics. There should be a section called Unit Dimensions. Then use this formula, where LEFT is the left of the location, left is the left of the unit dimension, and min is the minimum of the two parameters.
LEFT = 2 * min(left, right) -1
TOP = 2 * min(up, down) -1
RIGHT = 0
BOTTOM = 0
Now center the location on your unit. You're done. Note that some units like the Science Vessel won't have perfect detection for movement as their graphic size isn't a square. This is also far FAR superior to 0x0 locations in terms of speed.

I also mentioned HP for the spellcasting units, which is something simple that should be done much more often than it is. Everyone was wowed by how Spellsword did it and I couldn't help but shake my head sadly and sigh. In Spellsword, I never looked at my main character. Instead, I stared at my spellcasting units and the burning building blocking them to see how freaking long it would take for the spell to cool down. I could then cast spells at the maximum speed possible. Whereas it was effective, is was...pretty freaking boring.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[02:36 pm]
Wing Zero -- Bop em
[02:36 pm]
Wing Zero -- Mods
[2024-5-29. : 9:40 pm]
Ultraviolet -- :wob:
[2024-5-28. : 8:43 am]
TheHappy115 -- Yea, thats the issue. Thanks. It would also explain why my deleted map couldn't get updated. Updated version reduced collision on units (only thing added) since was dodging game (players collide with each other)
[2024-5-28. : 5:26 am]
Ultraviolet -- If so, I'd just focus on getting them on scmscx.com and then you can link to that in the showcase thread for your maps
[2024-5-28. : 5:25 am]
Ultraviolet -- I can't upload my EUD maps, I think the DLDB has some issue with handling them. Are you trying to upload EUD maps?
[2024-5-28. : 2:06 am]
TheHappy115 -- Its been awhile but ever since I requested one of the Maps I posted to be deleted since I couldn't delete it myself (or update it), I haven't been able to upload any more maps. Any reason for that?
[2024-5-26. : 7:14 pm]
Kyradax -- Hi
[2024-5-26. : 5:05 pm]
O)FaRTy1billion[MM] -- :wob:
[2024-5-25. : 9:22 am]
Zycorax -- :wob:
Please log in to shout.


Members Online: ManCubuS, Roy