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:33 am]
Symmetry -- LLMS aren't intelligent and neither are most people :hurr:
[01:24 am]
Moose -- It's okay, I don't have "real" intelligence either because I'm retarded
[11:30 pm]
Zoan -- ya totes
[10:52 pm]
NudeRaider -- one thing I find fascinating is how sure many people are AI is not "real" intelligence. "It's just a probability machine". Well yes, but who told you your brain isn't?
[09:05 pm]
Zoan -- beep beep
[09:05 pm]
Zoan -- btw speaking of movies we saw Coyote vs Acme last night; that movie was great imo
[09:04 pm]
Zoan -- I threw in more of my thoughts, get ur popcorn ready
[07:59 pm]
Zycorax -- Damn, the popcorn smiley was just in my imagination :hurr:
[07:32 pm]
NudeRaider -- Oh_Man
Oh_Man shouted: An SD thread on AI? omg YES inject that shit directly into my veins
looks like a whole lot of popcorn is needed. Interesting how ai - that soulless thing - can stir so much emotion in us humans. :awesome:
[03:42 pm]
Vrael -- time to suppress its visibility by finally responding in the Free Will topic :D
Please log in to shout.


Members Online: SigmaRaven, Sie_Sayoka, GregoryHolden, MobMob, Sprunki