|
Post by gp1628 on Apr 3, 2012 15:39:48 GMT -5
IMPORTANT NOTE: According to Johan, the template (and apparently the manual) for the codes 10 thru 20 should say "give OR TAKE" resources. So code 10 should read # Give/take gold 10 <player> <amount>
Why is this an important note? Because I didnt realize that we charge 200 gold for a War Elephant, or accept 200 Diamond gems to get an Iron Dragon, or even with some care be able to charge to upgrade someone to the next level (I really slapped my forehead. I cant believe I didnt try putting a negative number there but it does work)
|
|
|
Post by hunter on Apr 3, 2012 17:22:15 GMT -5
There is just the matter of explaining all this to the player and allowing him to make a choice. It seems that the choice might be to either take a square or not?
Have we asked for the ability to give the player a dialogue, Y/N or 1,2,3?
|
|
|
Post by gp1628 on Apr 3, 2012 18:38:23 GMT -5
Not yet. When the next patch drops I want to test the chained events and provide as complete a "shop" thing as I can work up. Then let Johan try to spruce it up. Simple dialog was one, and a non-combative unit was another. I can place a Merchant there but the only choices are that you own it or you fight it
|
|
|
Post by gp1628 on Apr 10, 2012 22:38:56 GMT -5
OK heads up people. This code works in the beta patch...
ownslocevent 1 2 0 7 "triggered" maybechainevent 99 7 0 "and maybechain'd 9" chainevent 2 -2 -2 "Elephant" chainevent 3 "Ele 9" maybechainevent 88 7 0 "and maybechain'd 8" chainevent 2 -2 -2 0 "Elephant" chainevent 3 "Ele 8" maybechainevent 77 7 0 "and maybechain'd 7" chainevent 2 -2 -2 0 "Elephant" chainevent 3 "Ele 7" maybechainevent 66 7 0 "and maybechain'd 6" chainevent 2 -2 -2 0 "Elephant" chainevent 3 "Ele 6" maybechainevent 55 7 0 "and maybechain'd 5" chainevent 2 -2 -2 0 "Elephant" chainevent 3 "Ele 5" maybechainevent 44 7 0 "and maybechain'd 4" chainevent 2 -2 -2 0 "Elephant" chainevent 3 "Ele 4" maybechainevent 33 7 0 "and maybechain'd 3" chainevent 2 -2 -2 0 "Elephant" chainevent 3 "Ele 3" maybechainevent 22 7 0 "and maybechain'd 2" chainevent 2 -2 -2 0 "Elephant" chainevent 3 "Ele 2" maybechainevent 11 7 0 "and maybechain'd 1" chainevent 2 -2 -2 0 "Elephant" chainevent 3 "Ele 1"
This was to get an idea of how the new commands of "chain event" and "maybe chain event" might work. The results were interesting.
The "owns location" event said when player 0 takes location 1 2 then a message (7) of "triggered" gets sent to him.
The next one "maybe chain" of 99% to send a message (7) to player 0 that it worked then if that happened, place an elephant using the new -2 -2 switch for random locations then name the elephant "Ele 9"
Then another "maybe chain" of 88% and if that happens then place a random elephant and name it "Ele 8"
and so one down the list. Event, then maybe chain, chain, chain. Then maybe chain, chain chain, etc etc.
Now the interesting thing is that WHEN player 0 captured location 1 2 I would get start of turn messages like "triggered" "and maybechain'd 9" "and maybechain'd 8" "and maybechain'd 7"
I never got messages for a series like 9,8,6,3. They were not checked separate, only in chain. So apparently the entire group of commands would kick off on the first ownslocevent and would continue as long as the next maybechainevent worked. As soon as one of those missed, the whole block of commands quit.
So basically we can have "open dice rolls" on our events like the game does. I predict some fun things with all this.
|
|
|
Post by gp1628 on Apr 11, 2012 9:00:11 GMT -5
I keep wanting to update the template this thread is based on but I cant seem to get to it.
Now I realize that with the massive changes coming, maybe it would be best to create a Map Editing category to the Wiki, and put the template under that (along with the tiles page). That way each item on the template can be a link to a further page giving specifics and an example. It would also be easier to keep updated
|
|
|
Post by vladikus on Apr 15, 2012 13:01:23 GMT -5
I went ahead and updated the template as well as fixed some typos. The first post of this thread has been updated with the changed links. You can downlod the .coem of the template by clicking here. You can preview a .txt of the template by clicking here.
|
|
|
Post by gp1628 on Apr 16, 2012 9:33:26 GMT -5
Until the manual catches up, here are some changes: MAPS Event pos -4 p (to have event at the home citadel of player p.) MAPS New triggers: chainevent, maybechainevent. MAPS New trigger: ownslocterr. MAPS Map editing: Event position -1,-1 = last location, -2,-2 = random location, -3,-3 = random land location. MAPS Max number of events for a map increased 1000 -> 3000.
|
|