You must be logged in to post messages.
Please login or register

The University
Moderated by Popeychops, Leif Ericson

Hop to:    
Welcome! You are not logged in. Please Login or Register.10 replies
Age of Kings Heaven » Forums » The University » Generating Random Numbers/Results Without AI (Approved)
Bottom
Topic Subject:Generating Random Numbers/Results Without AI (Approved)
Impeached
VIP (Reverie World Studios)
(id: MeGaIdIoT)
posted 09-07-08 09:17 PM CT (US)         
This article has been approved and can also be read at the University. - Luke

Revised. View post 7.

me

[This message has been edited by Leif Ericson (edited 10-16-2010 @ 02:31 AM).]

AuthorReplies:
Luke Gevaerts
Squire
posted 09-08-08 00:43 AM CT (US)     1 / 10       
Hey Impeached,

I like the article, but... Do you have permission to repost this? I hate to be anal about this, but I need an e-mail of some sort that says you can.

Also, the screenshot and (download) links aren't included. You may want to track those down, since I'm assuming they'll further illustrate the techniques described in the article. If those are hosted somewhere else, we'll need permission to re-host them here, too.

Luke Gevaerts Website YouTube Backloggery

"Some scientists claim that hydrogen, because it is so plentiful, is the basic building block of the universe. I dispute that.
I say there is more stupidity than hydrogen, and that is the basic building block of the universe." - Frank Zappa

OD AoKH
Impeached
VIP (Reverie World Studios)
(id: MeGaIdIoT)
posted 09-08-08 08:55 AM CT (US)     2 / 10       
Strange, the images and links were just working about a week ago. Death General must've just taken them down from his site.

And I'm sure DG would say yes, he and I used to know each other pretty well (online).

I'll try to contact him at his site.

me

[This message has been edited by Impeached (edited 09-08-2008 @ 08:56 AM).]

Impeached
VIP (Reverie World Studios)
(id: MeGaIdIoT)
posted 09-09-08 08:29 AM CT (US)     3 / 10       
By the way, the chance he'll contact me back is slim. His site ( http://conanhq.com) is just about a ghost town.

me
YoshiX100000
Squire
posted 09-13-08 05:03 PM CT (US)     4 / 10       
IMO, this article could be a lot more help to people if your either a) fixed the links, or b) described each method. 'A' is what you're trying I can see above, but a lot of people don't like having to go to tons of different pages to find parts of your article (myself included-I'd rather read one long article). 'B' would probably be a better choice for making this a worthwhile read, since chances are most people who know how to do this are able to tell for themselves which is better anyways. If you want you could post a second seperate article containing instructions, but overall that would be better than having a bunch of links IMO.

YoshiX100000~AoKH's Official Playtester of All Short, Funny Viking Cutscenes by Varied Equine Species, PhD-Emeritus-Magna-cum-Laude-Esq.
Now in Fuschia!!

"I wish I knew what Yoshi's doing on the roof, especially in winter." ~Sissi
"Yoshi lived up to his name and split into 100000." ~Rocking Doom
Luke Gevaerts
Squire
posted 09-17-08 05:19 PM CT (US)     5 / 10       
Okay - we've talked about the whole copyright and referal stuff, and we'll just be uploading the articles for now. However -
A utility-scenario demonstrating the basic ungarrison derived randomizer is shown HERE.
Proper examples are covered further along in a thread HERE.
Download a demonstration of this technique HERE.
I'd really like to see those links and downloads restored. If that's impossible, it would help to go into more detail.

Luke Gevaerts Website YouTube Backloggery

"Some scientists claim that hydrogen, because it is so plentiful, is the basic building block of the universe. I dispute that.
I say there is more stupidity than hydrogen, and that is the basic building block of the universe." - Frank Zappa

OD AoKH
Impeached
VIP (Reverie World Studios)
(id: MeGaIdIoT)
posted 09-17-08 05:43 PM CT (US)     6 / 10       
Ah, yes I forgot I had pasted the links and not fixed them.

I'll look into making some utility scenarios or going in more depth.

me
Impeached
VIP (Reverie World Studios)
(id: MeGaIdIoT)
posted 10-05-08 02:15 PM CT (US)     7 / 10       
Ok Luke, I decided to get off my lazy ass and write a simpler version with an example scenario:
Retrieving Random Results Without AI


Ever wanted to get a random result in a multiplayer scenario, or want random results without using a custom AI? Then you need look no further than here.

There is a way to get a random choice out of predefined results that is infinitely re-usable.

Simply obey the following instructions (note: this will only show you how to choose from eight possible results, but changing to more is simple):

1. Place five transports in a layout similar to this. Make sure no player units are able to see the transports and never will be able to see them.
2. Create a trigger which will, at the start, change the transports to gaia.
3. Create a trigger which will start your random choice: it will create a gaia unit beside the middle transport (note, in the screenshot in step 1, there is a tile of shallow to the left. Create it here). After creating the unit, the trigger will task that unit to the adjacent transport and unload the transport under itself.
4. Detect where the unit lands, then do step #3 for the corresponding transport, as in this picture.
5. Once it has landed in one of the outer shallows spots, you can determine which choice has been picked and it will have been picked randomly.

Here is an example scenario. It also contains a count of how many times each possible result has been chosen, for your viewing pleasure.
Luke, could you upload the scenario on AoKH so it doesn't get deleted sometime?

me

[This message has been edited by Impeached (edited 10-05-2008 @ 02:28 PM).]

Luke Gevaerts
Squire
posted 10-06-08 05:03 PM CT (US)     8 / 10       
Luke, could you upload the scenario on AoKH so it doesn't get deleted sometime?
Saved both the images and the scenario, so consider it done.

Luke Gevaerts Website YouTube Backloggery

"Some scientists claim that hydrogen, because it is so plentiful, is the basic building block of the universe. I dispute that.
I say there is more stupidity than hydrogen, and that is the basic building block of the universe." - Frank Zappa

OD AoKH
Luke Gevaerts
Squire
posted 10-23-08 08:07 PM CT (US)     9 / 10       
Approved.

Luke Gevaerts Website YouTube Backloggery

"Some scientists claim that hydrogen, because it is so plentiful, is the basic building block of the universe. I dispute that.
I say there is more stupidity than hydrogen, and that is the basic building block of the universe." - Frank Zappa

OD AoKH
Insomnia_KiN
Squire
posted 12-09-17 12:03 PM CT (US)     10 / 10       

http://www.voobly.com/forum/thread/279144


Here is the problem I am having Need help with random trigger design. I have all triggers in place but nothing happens. Insomniakin on steam. I am trying to recreate the random spawns triggers free carto and no houses on the map that is played on steam. It has frustrated me for 3 days so I am asking for help.
You must be logged in to post messages.
Please login or register

Hop to:    

Age of Kings Heaven | HeavenGames