Page 14 of 24

Re: New Dynamic Script Ideas

PostPosted: 07 Feb 2014, 13:16
by RandomLyrics
Actions.UnitSetColor(aColor: string); - untis still is under control of original player, it only affects the color of unit.

Re: New Dynamic Script Ideas

PostPosted: 07 Feb 2014, 15:07
by Lewin
Actions.UnitSetColor(aColor: string); - untis still is under control of original player, it only affects the color of unit.
Sounds inconsistent if some of the player's units are not his own color, especially if that color was taken by another player. What's the purpose of it anyway?

Re: New Dynamic Script Ideas

PostPosted: 07 Feb 2014, 15:14
by The Dark Lord
It's great for using in a single player sneak/spy mission! :D

Re: New Dynamic Script Ideas

PostPosted: 07 Feb 2014, 15:52
by RandomLyrics
It's great for using in a single player sneak/spy mission! :D
something like that :D (find the murder, 8 players, all players same color they dont know who is who) but after reconsider better idea is to Block Control for groups. That will allow to do map like this: Player builds houses, houses produce army, army automatically attacks (AI, script(player cannot control own groups)) but Kills are still counting for player.
https://www.youtube.com/watch?v=Oa2KTjDM74k

Re: New Dynamic Script Ideas

PostPosted: 08 Feb 2014, 01:35
by Lewin
I still think it's very confusing for the player. How would you know which unit was yours? You'd have to move your mouse over each one and see which one it changes on.

Re: New Dynamic Script Ideas

PostPosted: 08 Feb 2014, 14:52
by The Dark Lord
Well you could put it in a control group. And if it's just one single unit it's very easy to recognize as the AI usually doesn't have much lonely soldiers. It's not really a big problem and actually a concern for the map maker anyway. If you want to troll there are enough scripts out there to do it anyway. :P

Re: New Dynamic Script Ideas

PostPosted: 08 Feb 2014, 16:59
by RandomLyrics
Army thats is not under your control will be always moving, besides if player knows that he cant control own army from start( he knows the specific type of map that he could only build ) so it isnt large problem.
Yea there a lot of script u can troll player, but its not the point of map making, besides player who dont know how to play just stops playing it again...

Re: New Dynamic Script Ideas

PostPosted: 09 Feb 2014, 00:55
by Lewin
I'm just not convinced it's necessary sorry. It also wouldn't be trivial to implement since at the moment we assume the player's colour is the same for all his assets, so we'd have to store the colour for every single unit and make sure to use that in the right places (rendering, interfaces, highlight, etc.).

Re: New Dynamic Script Ideas

PostPosted: 09 Feb 2014, 01:01
by RandomLyrics
ok, it was just idea to use in future (after new offc release or later) :)

Re: New Dynamic Script Ideas

PostPosted: 20 Feb 2014, 12:35
by RandomLyrics
States.HouseUncloked(aPlayer, aType: integer) - returns true if specific player can build specific type.
i have question, is it will be okay with lag if i repeat 6 times ~80 actions.overlaytext every 1 sec? for now i have only 1 repeat but i need it to be changed.

Re: New Dynamic Script Ideas

PostPosted: 20 Feb 2014, 14:35
by The Dark Lord
States.HouseUncloked(aPlayer, aType: integer) - returns true if specific player can build specific type.
What would you need it for? Can't you just detect whether a player has the previous building in the unlock order?

Re: New Dynamic Script Ideas

PostPosted: 20 Feb 2014, 14:53
by RandomLyrics
i unlock and lock by script, the houses that player own havnt nothing common with this.

Re: New Dynamic Script Ideas

PostPosted: 20 Feb 2014, 16:46
by The Dark Lord
But if you unlock by script, then you already know when a building gets unlocked... But ok, ignore my ignorance. :P

Re: New Dynamic Script Ideas

PostPosted: 20 Feb 2014, 22:08
by RandomLyrics
But if you unlock by script, then you already know when a building gets unlocked... But ok, ignore my ignorance. :P
Okay ill try it in other way :)

Re: New Dynamic Script Ideas

PostPosted: 22 Feb 2014, 07:59
by Ben
Hey, how's the progress on highlighting buttons/commands? I'd very much like them to make a better tutorial! :D