[Plugin]Board, Layout2Board [Behavior] Grid Move

Post your completed addons to share with the community

Post » Mon Nov 24, 2014 2:56 am

@winkr7

Thanks. I had fixed it, please download rex_board plugin again.
B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

Post » Mon Nov 24, 2014 12:59 pm

Thankyou rexrainbow. By the way, is there a way to get the nearest chess (by nearest in terms of total SLGmovement cost) that meets a function SLGcriterion? Ie whats the ChessUID of the nearest Chess that has a value of at least 20 from the function SlgCriterion (excluding any chess at the Origin) This kind of tells the AI where is the nearest weak monster? It could also tell the AI things like where is the nearest (0r furthest) monster that uses ranged combat.



Thankyou for you time.
I think the plugins are great!
B
22
S
6
G
2
Posts: 146
Reputation: 2,257

Post » Mon Nov 24, 2014 4:15 pm

@winkr7

I had added a new feature in rex_slg_movement plugin. Hope it could help you.

Edit:
Another possible feature is "get moving path to nearest tile". I will add it later.
B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

Post » Mon Nov 24, 2014 4:29 pm

rexrainbow;
Great. I can use this as my "distance" measure.

Thanks for your time and help.
B
22
S
6
G
2
Posts: 146
Reputation: 2,257

Post » Tue Dec 30, 2014 4:37 pm

Is there a quick and dirty way, I can do a condition "Are neighbors (UID)" but by chess?

Essentially, I'd like to check if the neighbors are like this:

..Y
YXY
..Y

instead of
YYY
YXY
YYY

Thanks!
B
46
S
15
G
3
Posts: 199
Reputation: 4,584

Post » Tue Dec 30, 2014 5:32 pm

@Nitro187

Try set "Directions" property at rex_board_squareTx object to "'8 directions", to test neighbors in 8 directions.
B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

Post » Tue Dec 30, 2014 6:24 pm

rexrainbow wrote:@Nitro187

Try set "Directions" property at rex_board_squareTx object to "'8 directions", to test neighbors in 8 directions.


It's currently set to 4 directions, which is what I want... I don't want diagonal, I only want 4 directions... but the "nearest neighbor" is showing diagonal positions as well for some reason.
B
46
S
15
G
3
Posts: 199
Reputation: 4,584

Post » Wed Dec 31, 2014 2:44 am

@Nitro187

Thanks, I had fixed this bug. Please download rex_board_squareTx again. And keep the directions to "4 directions".
B
97
S
22
G
178
Posts: 4,120
Reputation: 104,047

Post » Wed Dec 31, 2014 4:25 am

Awesome... thank you so much! :)
B
46
S
15
G
3
Posts: 199
Reputation: 4,584

Post » Wed Dec 31, 2014 3:54 pm

Hate to be a debbie-downer, lol... but doing that fix that you did yesterday, may have caused another issue... unless it's just me. Now when you have 8 directions turned on, it can't find any matches at all. 4 directions works fine, but 8 directions nothing is found. If you can't see this bug, let me know, I can whip up an example.

Thanks! :)
B
46
S
15
G
3
Posts: 199
Reputation: 4,584

PreviousNext

Return to Completed Addons

Who is online

Users browsing this forum: gamecorpstudio and 2 guests