you need this function:
click move
Events
UI - Player Any Player clicks Right mouse button Down.
Local Variables
time = 0.0 <Real>
player = (Triggering player) <Integer>
Conditions
slide bool array[player] == true
Actions
Variable - Set last move[player] = (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))
Point - Make last move[player] face (Angle from (Position of player units[player]) to last move[player]) degrees
Variable - Set time = (Facing of player units[player])
Variable - Set time = (time - (Facing of last move[player]))
Variable - Set time = (time / 300.0)
Variable - Set time = (Abs(time))
UI - Display (Text(time) with Any Precision decimal places) for (All players) to Subtitle area
Unit - Order player units[player] to ( Stop) (Replace Existing Orders)
Unit - Make player units[player] face last move[player] over time seconds
and one like this:
slide
Events
Timer - Every 0.01 seconds of Game Time
Local Variables
i = 0 <Integer>
Conditions
Actions
General - For each integer i from 0 to 8 with increment 1, do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
slide bool array[i] == true
Then
Unit - Move player units[i] instantly to ((Position of player units[i]) offset by 0.2 towards (Facing of player units[i]) degrees) (Blend)
Else
So, Dragonguard (hes on the forums as well) and me are currently developing a card game map for sc2.
The game is pretty much like the card game except for a few changes.
Features:
Map Design - done
Stage System - 90% done. Stuff like displayed text still missing
Card Design - done.
Card Spawning System - done
Decks to choose from - done
Card shop to buy new cards - storing values in bank files done, buying boosters done, booster design done.
adding cards - next on list.
As you can see we have multiple decks to choose from (one for basic cards you will always get, 5 decks where you can choose from one at mapstart).
Also theres a card shop which gives the map a bit more replay value.
What we need now are card ideas... lots of them. If you want, you can help us here!
Cards in our game work like that:
4 types of cards: unit cards, rare unit cards, ability cards, rare ability cards
6 types of decks: commander, engineer, flight deck officer, weapons specialist, place holder, basic cards
100 cards per type/deck (so 400 max per deck but thats just a maximum).
If you want to send us your idea just reply to the post! Make sure to include the following:
What type is it?
For what deck?
What does it cost? (Minerals, Vespene, Terrazine. Most cards should only cost Vespene gas. Dont include a value, just the type)
Name
Image
Description
The Unit/Abilitys features.
So an entry should look like this:
Rare Unit/Flight Deck Officer
Vespene gas
Valkyrie Picture
Elite Fighter
Those guys know how to handle a fight.
Spawns a valkyrie that can also shoot ground units.
or
Rare Ability/Weapon specialist
Vespene gas/minerals
Bomb
<imagine a link to a picture on the web (not copyrighted) here/imagine an uploaded pic (not copyrighted) here>
Don't look at it... that might trigger it.
Spawns a bomb wherever the player clicks on the field. Damages units 5 seconds after spawning it.
Unit/Rare unit cards are only units!
Ability/rare ability cards can be/do anything. Like placing bombs/nukes, buffing units, whatever you think of! Be creative.
I would appreciate it if you can post a few ideas!
We plan to release a first version of the map within the next 2 weeks! Still needs polishing and the card shop ;) then we will release a first version on the battle net.
0
I made a slider too ;)
you need this function:
click move
Events
UI - Player Any Player clicks Right mouse button Down.
Local Variables
time = 0.0 <Real>
player = (Triggering player) <Integer>
Conditions
slide bool array[player] == true
Actions
Variable - Set last move[player] = (Point((Mouse X position clicked in the world), (Mouse Y position clicked in the world)))
Point - Make last move[player] face (Angle from (Position of player units[player]) to last move[player]) degrees
Variable - Set time = (Facing of player units[player])
Variable - Set time = (time - (Facing of last move[player]))
Variable - Set time = (time / 300.0)
Variable - Set time = (Abs(time))
UI - Display (Text(time) with Any Precision decimal places) for (All players) to Subtitle area
Unit - Order player units[player] to ( Stop) (Replace Existing Orders)
Unit - Make player units[player] face last move[player] over time seconds
and one like this:
slide
Events
Timer - Every 0.01 seconds of Game Time
Local Variables
i = 0 <Integer>
Conditions
Actions
General - For each integer i from 0 to 8 with increment 1, do (Actions)
Actions
General - If (Conditions) then do (Actions) else do (Actions)
If
slide bool array[i] == true
Then
Unit - Move player units[i] instantly to ((Position of player units[i]) offset by 0.2 towards (Facing of player units[i]) degrees) (Blend)
Else
0
So, Dragonguard (hes on the forums as well) and me are currently developing a card game map for sc2. The game is pretty much like the card game except for a few changes.
Features:
As you can see we have multiple decks to choose from (one for basic cards you will always get, 5 decks where you can choose from one at mapstart). Also theres a card shop which gives the map a bit more replay value.
What we need now are card ideas... lots of them. If you want, you can help us here! Cards in our game work like that:
If you want to send us your idea just reply to the post! Make sure to include the following:
So an entry should look like this:
or
Unit/Rare unit cards are only units! Ability/rare ability cards can be/do anything. Like placing bombs/nukes, buffing units, whatever you think of! Be creative. I would appreciate it if you can post a few ideas!
We plan to release a first version of the map within the next 2 weeks! Still needs polishing and the card shop ;) then we will release a first version on the battle net.