Board Game Unit Pathing (was: Some questions)

Tyman2007

Ya Rly >.
Reaction score
74
Board Game Unit Pathing

Well, I guess this is for the more advanced people. If something like this takes jass, then I'm fine with that.

Well, I want to make a kindof unit movement, where there are squares and you click on a square to make the unit go there, but move onto the other squares before hand.

Well, Think of it like a board game pathing. (Thank the contest for the idea of making a board game :p Never thought of that. I'm not good enough to compete with most of the people here really) You roll 2 dice, then you get that many turns. Each space you move is 1 turn. Now how would I go about making that kindof pathing?


call MakeQuestionSolved(The other question is with the dice system. The dice system will always have the same rolls. Similar to something like this
1 and 2
2 and 3
3 and 4
4 and 5
and if you restart the game you'll get those numbers (It really isn't those numbers, but it's the concept that the rolls will always be the same no matter how many times you restart the game)
How do I make the numbers actually random?)

Thank you for your time. Helpers will be [del]raped[/del] repped. :p
Anyone who tries to help out with something solved will be [del]repped[/del] raped.
 

Shura

New Member
Reaction score
45
For the second question, go to File > Preferences and under Test Map unclick Use Fixed Random Seed.
 

Nherwyziant

Be better than you were yesterday :D
Reaction score
96
Well, I want to make a kindof unit movement, where there are squares and you click on a square to make the unit go there, but move onto the other squares before hand.

Well, Think of it like a board game pathing. (Thank the contest for the idea of making a board game Never thought of that. I'm not good enough to compete with most of the people here really) You roll 2 dice, then you get that many turns. Each space you move is 1 turn. Now how would I go about making that kindof pathing?

I think your already requesting for a game board map :p
 

Tyman2007

Ya Rly >.
Reaction score
74
It's not only for my map, it's for the possible uses in the future. I can come up with a million games that can use something like this.

Also I did mention that this map was inspired by the contest.. And I know what some people are going to do and I cannot compete for the life of me.

Would just be something really fun to do :p
 

tooltiperror

Super Moderator
Reaction score
231
Why would someone make most of the system of the game for you, when they could just make it and enter themselves?
 

Jonnycakes

New Member
Reaction score
6
Because they are nice? You might as well ask why anyone on this forum gives anyone else help when they could just use their time for something self-centered instead.
 

Tyman2007

Ya Rly >.
Reaction score
74
Becaause this is a help forum.. And people who need help with something they don't know how to do should ask.. And I want at least an idea. If you briefly explain it in 3 sentences it should be fine.
 

tooltiperror

Super Moderator
Reaction score
231
Okay, in answer to the two above posts, this would require TREMENDOUS effort. Hours and hours of coding. You would have to make a completely different code for each piece.

Anyway, in theory, all you have to do is make trackables. Which is impossible in GUI. Then, you have to use IF/THEN/ELSE to see if it can indeed move there. Then you have to somehow make the rects perfect to the squares.
 

Conal

Member
Reaction score
12
You could write a little trigger to generate points for every board tile knowing that each tile is spaced apart evenly. Then check to see if the terrain type is whatever board tile you want and create a region centered at the point.

As for movement, you'd need a Tile_Next and Tile_Last for each player. For each region the actions would include those variables and changing them would allow the region triggers to be dynamic since you probably would want to create them all at init. After that, you can just run a bunch of if statements to find out the next tile based on the direction of the Tile_Last or available tile(s) around the unit. Pop the next tile into the variable so when your unit enters it, the region triggers will know to continue doing their thing.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Helper The Helper:
    So what it really is me trying to implement some kind of better site navigation not change the whole theme of the site
  • Varine Varine:
    How can you tell the difference between real traffic and indexing or AI generation bots?
  • The Helper The Helper:
    The bots will show up as users online in the forum software but they do not show up in my stats tracking. I am sure there are bots in the stats but the way alot of the bots treat the site do not show up on the stats
  • Varine Varine:
    I want to build a filtration system for my 3d printer, and that shit is so much more complicated than I thought it would be
  • Varine Varine:
    Apparently ABS emits styrene particulates which can be like .2 micrometers, which idk if the VOC detectors I have can even catch that
  • Varine Varine:
    Anyway I need to get some of those sensors and two air pressure sensors installed before an after the filters, which I need to figure out how to calculate the necessary pressure for and I have yet to find anything that tells me how to actually do that, just the cfm ratings
  • Varine Varine:
    And then I have to set up an arduino board to read those sensors, which I also don't know very much about but I have a whole bunch of crash course things for that
  • Varine Varine:
    These sensors are also a lot more than I thought they would be. Like 5 to 10 each, idk why but I assumed they would be like 2 dollars
  • Varine Varine:
    Another issue I'm learning is that a lot of the air quality sensors don't work at very high ambient temperatures. I'm planning on heating this enclosure to like 60C or so, and that's the upper limit of their functionality
  • Varine Varine:
    Although I don't know if I need to actually actively heat it or just let the plate and hotend bring the ambient temp to whatever it will, but even then I need to figure out an exfiltration for hot air. I think I kind of know what to do but it's still fucking confusing
  • The Helper The Helper:
    Maybe you could find some of that information from AC tech - like how they detect freon and such
  • Varine Varine:
    That's mostly what I've been looking at
  • Varine Varine:
    I don't think I'm dealing with quite the same pressures though, at the very least its a significantly smaller system. For the time being I'm just going to put together a quick scrubby box though and hope it works good enough to not make my house toxic
  • Varine Varine:
    I mean I don't use this enough to pose any significant danger I don't think, but I would still rather not be throwing styrene all over the air
  • The Helper The Helper:
    New dessert added to recipes Southern Pecan Praline Cake https://www.thehelper.net/threads/recipe-southern-pecan-praline-cake.193555/
  • The Helper The Helper:
    Another bot invasion 493 members online most of them bots that do not show up on stats
  • Varine Varine:
    I'm looking at a solid 378 guests, but 3 members. Of which two are me and VSNES. The third is unlisted, which makes me think its a ghost.
    +1
  • The Helper The Helper:
    Some members choose invisibility mode
    +1
  • The Helper The Helper:
    I bitch about Xenforo sometimes but it really is full featured you just have to really know what you are doing to get the most out of it.
  • The Helper The Helper:
    It is just not easy to fix styles and customize but it definitely can be done
  • The Helper The Helper:
    I do know this - xenforo dropped the ball by not keeping the vbulletin reputation comments as a feature. The loss of the Reputation comments data when we switched to Xenforo really was the death knell for the site when it came to all the users that left. I know I missed it so much and I got way less interested in the site when that feature was gone and I run the site.
  • Blackveiled Blackveiled:
    People love rep, lol
    +1
  • The Helper The Helper:
    The recipe today is Sloppy Joe Casserole - one of my faves LOL https://www.thehelper.net/threads/sloppy-joe-casserole-with-manwich.193585/

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top