Map Database  •  FAQ  •  RSS  •  Login

New Dynamic Script Ideas

<<

RandomLyrics

User avatar

Sword Fighter

Posts: 298

Joined: 21 Jul 2013, 02:15

KaM Skill Level: Fair

Post 07 Feb 2014, 13:16

Re: New Dynamic Script Ideas

Actions.UnitSetColor(aColor: string); - untis still is under control of original player, it only affects the color of unit.
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 07 Feb 2014, 15:07

Re: New Dynamic Script Ideas

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?
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 07 Feb 2014, 15:14

Re: New Dynamic Script Ideas

It's great for using in a single player sneak/spy mission! :D
<<

RandomLyrics

User avatar

Sword Fighter

Posts: 298

Joined: 21 Jul 2013, 02:15

KaM Skill Level: Fair

Post 07 Feb 2014, 15:52

Re: New Dynamic Script Ideas

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
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 08 Feb 2014, 01:35

Re: New Dynamic Script Ideas

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.
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 08 Feb 2014, 14:52

Re: New Dynamic Script Ideas

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
<<

RandomLyrics

User avatar

Sword Fighter

Posts: 298

Joined: 21 Jul 2013, 02:15

KaM Skill Level: Fair

Post 08 Feb 2014, 16:59

Re: New Dynamic Script Ideas

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...
<<

Lewin

User avatar

KaM Remake Developer

Posts: 3822

Joined: 16 Sep 2007, 22:00

KaM Skill Level: Skilled

ICQ: 269127056

Website: http://lewin.hodgman.id.au

Yahoo Messenger: lewinlewinhodgman

Location: Australia

Post 09 Feb 2014, 00:55

Re: New Dynamic Script Ideas

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.).
<<

RandomLyrics

User avatar

Sword Fighter

Posts: 298

Joined: 21 Jul 2013, 02:15

KaM Skill Level: Fair

Post 09 Feb 2014, 01:01

Re: New Dynamic Script Ideas

ok, it was just idea to use in future (after new offc release or later) :)
<<

RandomLyrics

User avatar

Sword Fighter

Posts: 298

Joined: 21 Jul 2013, 02:15

KaM Skill Level: Fair

Post 20 Feb 2014, 12:35

Re: New Dynamic Script Ideas

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.
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 20 Feb 2014, 14:35

Re: New Dynamic Script Ideas

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?
<<

RandomLyrics

User avatar

Sword Fighter

Posts: 298

Joined: 21 Jul 2013, 02:15

KaM Skill Level: Fair

Post 20 Feb 2014, 14:53

Re: New Dynamic Script Ideas

i unlock and lock by script, the houses that player own havnt nothing common with this.
<<

The Dark Lord

User avatar

King Karolus Servant

Posts: 2154

Joined: 29 Aug 2007, 22:00

KaM Skill Level: Veteran

Location: In his dark thunderstormy castle

Post 20 Feb 2014, 16:46

Re: New Dynamic Script Ideas

But if you unlock by script, then you already know when a building gets unlocked... But ok, ignore my ignorance. :P
<<

RandomLyrics

User avatar

Sword Fighter

Posts: 298

Joined: 21 Jul 2013, 02:15

KaM Skill Level: Fair

Post 20 Feb 2014, 22:08

Re: New Dynamic Script Ideas

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 :)
<<

Ben

User avatar

Former Site Admin

Posts: 3814

Joined: 08 Jan 2009, 23:00

Location: California - Pacific Time (UTC -8/-7 Summer Time)

Post 22 Feb 2014, 07:59

Re: New Dynamic Script Ideas

Hey, how's the progress on highlighting buttons/commands? I'd very much like them to make a better tutorial! :D
I used to spam this forum so much...

Return to “Ideas / Suggestions”

Who is online

Users browsing this forum: No registered users and 10 guests