• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Trigger] Random Environments

Status
Not open for further replies.
Level 5
Joined
Apr 11, 2011
Messages
107
heres what ive got so far, is there a more efficient way to do this? Will this cause problems besides accessibility issues? any help is appreciated..

note: ive only done the 8 regions. (eventually the whole map will be covered)
 

Attachments

Simplicity, is your friend.

  • VarSet
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set REGION[1] = 1 <gen>
      • Set REGION[2] = 2 <gen>
      • Set REGION[3] = 3 <gen>
      • Set REGION[4] = 4 <gen>
      • Set REGION[5] = 5 <gen>
      • Set REGION[6] = 6 <gen>
      • Set REGION[7] = 7 <gen>
      • Set REGION[8] = 8 <gen>
      • Set MAX_REGION = 8
      • -------- ------- --------
      • Set Doodad[1] = Outland Tree Wall
      • Set Doodad[2] = Rock Chunks
      • -------- ------- --------
        • Do Multiple ActionsFor each (Integer A) from 1 to MAX_REGION, do (Actions)
          • Loop - Actions
            • Destructible - Create a Doodad[1] at (Random point in REGION[(Integer A)]) facing (Random angle) with scale (Random real number between 0.50 and 1.00) and variation (Random integer number between 1 and 10)
            • Destructible - Create a Doodad[2] at (Random point in REGION[(Integer A)]) facing (Random angle) with scale (Random real number between 0.50 and 1.00) and variation (Random integer number between 1 and 10)
 
Thanks a lot, never woulda thought of that. Any idea how to do a movement system similar advance wars for the gameboy advance?
 
You click a unit, it shades all the squares the unit is able to move to in red, difficult terrain cost double, so movement past them is halved. I was considering using circle of powers to mark moveable squares. All in all this map is going to be a turn based rts.
 
Well, you can terrain the map like tiles of chess. 2 alternating squares. And you could do a loop of checking the regions around the unit, and then if those squares are movable create a Circle of power on those regions to show the moves, and then after the move remove the CoP.
 
I was going to use an "invisible" chessboard out of regions. Lable then abc's by 123's. Each of the units have a predetermined number of squares they can move, varying from unit to unit. After the unit has moved, it becomes paused and can't be used till your next turn.
 
Cool! Well, yea use the regions thing.
Btw cool concept I'd like to test it with you.

Also why don't you make this an official Map project! Go to Map Development and display your project so people can help you and follow your project! And get a bigger fan base :)

This could be an interesting game :)
 
ill consider making it a project once im father along. and the two camps youve shown, me, are pretty close to what i had in mind. ill post back on here once ive got more of a foothold. thanks to both of you!
 
Status
Not open for further replies.
Back
Top