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.
[06:40 am]
Oh_Man -- true
[03:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[01:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[01:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
[01:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[01:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: jun3hong