Cstrike
2010-07-12 12:40:55
Too long; dont read [tl;dr] at the bottom
Lets say I'm walking to the Battlefield in members, and for all you F2P, see the nice map below:
[sorry map is huge :(]

Red = Where I MAY end up
Blue = where I will travel
Other colors = Reference
^^ I'm stuck on the references.
Here is my question:
How do I make a script that will detect these trees/rocks on the minimap without knowing the color because they change? DDTM?
This is the only thing hindering me at the moment. The stupid color changing is making my life a living hell. I know how to AutoColor a road of my choosing, but I can't make it find the rock too well because my spot keeps changing.
… or are rocks/trees objects that don't change color too much?
… or, if I get a generic color, is there a way to add enough tolerance so it will find that color?
Could I [D]DTM between the two trees/rocks?
All that I need is the ability to flawlessly (for the most part, I don't need some advanced script) detect the desired minimap markers. I have reflection but I need failsafes and want a script to work if reflection blows up again. Actually the trees seem like a bad idea because they arent the same that much, but any input is greatly appreciated.
Thanks
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
tl;dr
How can I autocolor the rocks/trees so my character knows he's at the right point? Since the colors change, and my char may not end up on the same spot, meaning I can't always do GetColor (at some point) since the coordinates will be off always due to randomness?
Lets say I'm walking to the Battlefield in members, and for all you F2P, see the nice map below:
[sorry map is huge :(]

Red = Where I MAY end up
Blue = where I will travel
Other colors = Reference
^^ I'm stuck on the references.
Here is my question:
How do I make a script that will detect these trees/rocks on the minimap without knowing the color because they change? DDTM?
This is the only thing hindering me at the moment. The stupid color changing is making my life a living hell. I know how to AutoColor a road of my choosing, but I can't make it find the rock too well because my spot keeps changing.
… or are rocks/trees objects that don't change color too much?
… or, if I get a generic color, is there a way to add enough tolerance so it will find that color?
Could I [D]DTM between the two trees/rocks?
All that I need is the ability to flawlessly (for the most part, I don't need some advanced script) detect the desired minimap markers. I have reflection but I need failsafes and want a script to work if reflection blows up again. Actually the trees seem like a bad idea because they arent the same that much, but any input is greatly appreciated.
Thanks
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
tl;dr
How can I autocolor the rocks/trees so my character knows he's at the right point? Since the colors change, and my char may not end up on the same spot, meaning I can't always do GetColor (at some point) since the coordinates will be off always due to randomness?