Trigger effect feature - randomize

Suggestions about the gameplay, the controls, buttons and so on.
Post Reply
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

Trigger effect feature - randomize

Post by Stratego (dev) »

if you could randomize the triggers you might get random things
- you could set in the "message text part" extra info, this:

Code: Select all

RND1(10)
    - RND1 - be random effect in effect group: 1 (among effects that are marked with RNDx where x = 1)
    - (10) 10 weight to that it comes out

so sample

- condition
- effect1 text:"RND1(10)"
- effect2 text:"RND1(30)"
- effect3 text:"RND1(20)"
- effect4 text:"RND2(10)"
- effect5 text:"RND2(10)"

here 2 effects will fire:
1. effect1 OR effect2 OR effect3 (with chances: 20%, 60%, 40% respectively)
2. effect4 OR effect5 (each with 50-50% chance)



what do you think? would you use it?
User avatar
DoomCarrot
Posts: 3096
Joined: Wed Mar 18, 2015 6:04 pm
Location: Commanding General's quarters, a tall keep above the mighty city of Carrot's Point

Re: Trigger effect feature - randomize

Post by DoomCarrot »

This is cool, would definately help make the Ai hard to predict. Impossible, actually. :)
The day is coming when a single carrot, freshly observed, will set off a revolution.
User avatar
COOLguy
Posts: 4005
Joined: Sat Jul 12, 2014 2:58 am
Location: Nenuial, Arnor

Re: Trigger effect feature - randomize

Post by COOLguy »

Cool. Never would have thought of it.
Thanks!
Josh
User avatar
Disco
Posts: 219
Joined: Sat Feb 27, 2016 4:37 pm
Location: UK

Re: Trigger effect feature - randomize

Post by Disco »

Very nice!
Although, could someone explain the effects please?

Is it movement/power/sight/speed/armour(s) etc?
or all of the above, and anything in between ;)
User avatar
DoomCarrot
Posts: 3096
Joined: Wed Mar 18, 2015 6:04 pm
Location: Commanding General's quarters, a tall keep above the mighty city of Carrot's Point

Re: Trigger effect feature - randomize

Post by DoomCarrot »

Basically, the effect can be anything basically. So you could have up to ten possible effects, and the randomizer picks one at, well, random. :)
The day is coming when a single carrot, freshly observed, will set off a revolution.
User avatar
Disco
Posts: 219
Joined: Sat Feb 27, 2016 4:37 pm
Location: UK

Re: Trigger effect feature - randomize

Post by Disco »

Thanks mate :) Should be fun experimenting with!
tamtam12345
Posts: 767
Joined: Wed Mar 30, 2016 8:41 am

Re: Trigger effect feature - randomize

Post by tamtam12345 »

Is this trigger can use now?
Post Reply

Return to “Gameplay & UI”