Jump to content
opiumhautopium1

need help to write a funktion with colors in certain intervals

Recommended Posts

nur so.JPG

Hi i have a question

i want to identify the ships witch are in the yelow circle and i want to intefy them at the distance of the red points

so how coud i write the funktion ....

in the game are may be 100 ship clases so it is not easy

i think i need a reference point ( i dont know how to set) near the yellow cirkle

 

from the reference point

scar should look in a distance if it find the same blue color ( dont know if it is better left or right or better in a cirkle)

 

then I want to create a list to identefy the ships like

1 if find blue color there there there and there it is the ice pearl

.

2 if find blue color there there there and there it is the ice pearl

.

3

.

.

.

100

 

i think it is not easy but i hope you can help me

thx a lot ^^

eggdocktor

Link to comment
Share on other sites

In order to classify all of the ships you will probably need to have a full resolution image of each one. Then you could create a ship's profile by a color on the ship(hopefully unique). If each ship doesn't have a unique color then you can just do a CountColor on a section of the ship. Also, do colors change much in this game?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
  • Create New...