Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Random Generation
Random Generation [message #29703] Wed, 09 July 2003 08:14 Go to next message
Gernader8 is currently offline  Gernader8
Messages: 273
Registered: February 2003
Location: I live in my own world, d...
Karma: 0
Recruit

I was wondering if it is possible to create a box, and give the box certain properties so that a certain object would be created randomly inside the box. See what I am working on right now, I'm trying to make a field with some tall grass. Now, I can create field but it does look right at an angle. I want to achieve some randomness in the field, but not do it by hand.

Creator of the 'Reborn Bashing' smilie http://www.n00bstories.com/image.fetch.php?id=1402449341 (My claim to fame)

Have a question give me an E-mail:
MrSFX1@aol.com
AIM:MrSFX1 or pastorofpizzahvn
ICQ:164119684
Random Generation [message #29717] Wed, 09 July 2003 08:42 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
As you may know that computers are unable to generate random things. However you can let it pick out of a group of things. You can make a spawner and set a list of items that may be spawned the more frequent the item appears in the list the more chance it has of being picked for spawn. It basically a weapon spawner except it can be nearly anything to spawn.

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Random Generation [message #29719] Wed, 09 July 2003 09:06 Go to previous messageGo to next message
Gernader8 is currently offline  Gernader8
Messages: 273
Registered: February 2003
Location: I live in my own world, d...
Karma: 0
Recruit

Well I need to do this inside of Renx, and usually a "random generation" is a pattern a computer creates with set variables Razz

Creator of the 'Reborn Bashing' smilie http://www.n00bstories.com/image.fetch.php?id=1402449341 (My claim to fame)

Have a question give me an E-mail:
MrSFX1@aol.com
AIM:MrSFX1 or pastorofpizzahvn
ICQ:164119684
Random Generation [message #29736] Wed, 09 July 2003 09:56 Go to previous messageGo to next message
Sir Phoenixx is currently offline  Sir Phoenixx
Messages: 2510
Registered: February 2003
Location: Behind You!
Karma: 0
General (2 Stars)

General Havoc

As you may know that computers are unable to generate random things.


Wrong. Razz


.:Red Alert: A Path Beyond Modeler:.
E-mail: sirphoenixx@gmail.com
AIM: Sir Phoenixx
ICQ: 339325768
MSN: sirphoenixx@hotmail.com
Yahoo: sirphoenix86
If anyone needs any help with using 3dsmax, or gmax feel free to contact me.

My Gallery: sir-phoenixx.deviantart.com/gallery
Random Generation [message #29737] Wed, 09 July 2003 09:57 Go to previous messageGo to next message
pulverizer is currently offline  pulverizer
Messages: 439
Registered: March 2003
Location: the Netherlands
Karma: 0
Commander
or you have to programm it first, I think.

Random Generation [message #29738] Wed, 09 July 2003 09:58 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Well it is possible to use multiple sets of terrain in one map. You make say like 10 fields and then make a spawner to spawn one of them when the game starts and it will be picked randomly.

What i meant by computers not being able to generate random numbers is that they can't to a certain extent. I.E. there is a process it follows for obtaining the number like pick a number after 10 cycles of number pattern.

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Random Generation [message #29739] Wed, 09 July 2003 10:06 Go to previous messageGo to next message
Sir Phoenixx is currently offline  Sir Phoenixx
Messages: 2510
Registered: February 2003
Location: Behind You!
Karma: 0
General (2 Stars)

General Havoc

What i meant by computers not being able to generate random numbers is that they can't to a certain extent. I.E. there is a process it follows for obtaining the number like pick a number after 10 cycles of number pattern.


You said that computers cannot create/generate random numbers, that they are unable to. The process by which a computers comes up with a random number doesn't matter, it's still generating random numbers.


.:Red Alert: A Path Beyond Modeler:.
E-mail: sirphoenixx@gmail.com
AIM: Sir Phoenixx
ICQ: 339325768
MSN: sirphoenixx@hotmail.com
Yahoo: sirphoenix86
If anyone needs any help with using 3dsmax, or gmax feel free to contact me.

My Gallery: sir-phoenixx.deviantart.com/gallery
Random Generation [message #29746] Wed, 09 July 2003 10:22 Go to previous messageGo to next message
Gernader8 is currently offline  Gernader8
Messages: 273
Registered: February 2003
Location: I live in my own world, d...
Karma: 0
Recruit

http://www.n00bstories.com/image.fetch.php?id=1364432238

I am trying to make a field as I said. If you can see it, the texture repeats, and you can see the "planes." The only reason I want it to generate ramdomly is so I will not get this repeating look.


Creator of the 'Reborn Bashing' smilie http://www.n00bstories.com/image.fetch.php?id=1402449341 (My claim to fame)

Have a question give me an E-mail:
MrSFX1@aol.com
AIM:MrSFX1 or pastorofpizzahvn
ICQ:164119684
Random Generation [message #29751] Wed, 09 July 2003 10:30 Go to previous messageGo to next message
Captkurt
Messages: 488
Registered: February 2003
Karma: 0
Commander
Gernader8

http://www.n00bstories.com/image.fetch.php?id=1364432238

I am trying to make a field as I said. If you can see it, the texture repeats, and you can see the "planes." The only reason I want it to generate ramdomly is so I will not get this repeating look.

So manually rotate some of the field pieces.
Random Generation [message #29754] Wed, 09 July 2003 10:35 Go to previous messageGo to next message
ohmybad is currently offline  ohmybad
Messages: 506
Registered: March 2003
Location: Fort Myers Florida
Karma: 0
Colonel
Captkurt


So manually rotate some of the field pieces.


Gernader8

I want to achieve some randomness in the field, but not do it by hand.

:rolleyes:


http://www.n00bstories.com/image.view.php?id=1157983911
Random Generation [message #29755] Wed, 09 July 2003 10:36 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
What i'm trying to say is that the generated number will NEVER be truly random. They follow a method of selection so it is not truly random. However they are normally adequate for most things that need a random input.

I have studied this topic before see http://www.fourmilab.ch/hotbits/

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Random Generation [message #29757] Wed, 09 July 2003 10:41 Go to previous messageGo to next message
ohmybad is currently offline  ohmybad
Messages: 506
Registered: March 2003
Location: Fort Myers Florida
Karma: 0
Colonel
Oooh I think you just want to shuffle them around. Confused

http://www.n00bstories.com/image.view.php?id=1157983911
Random Generation [message #29760] Wed, 09 July 2003 10:45 Go to previous messageGo to next message
General Havoc is currently offline  General Havoc
Messages: 1564
Registered: February 2003
Location: Birmingham, England, Unit...
Karma: 0
General (1 Star)
Use one of those nois modifiers to make the terrain slightly bumpy so it doen't look so uniform. Also you can select different pices of grass and scale them up or down a bit same with the rotate tool. Also you could offset them from the x and y location so there not in line.

_General Havoc


Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer

Computer Science Bsc
Aston University in Birmingham, UK
Random Generation [message #29864] Thu, 10 July 2003 15:28 Go to previous messageGo to next message
SomeRhino is currently offline  SomeRhino
Messages: 260
Registered: February 2003
Karma: 0
Recruit
gMax doesn't have the scatter tool like Max, but you could apply a noise modifier as GH said. Be sure to check fractal. I've been experimenting with tall grass like this as well.

Random Generation [message #29867] Thu, 10 July 2003 16:11 Go to previous messageGo to next message
boma57 is currently offline  boma57
Messages: 581
Registered: April 2003
Karma: 0
Colonel
Sir Phoenixx

The process by which a computers comes up with a random number doesn't matter, it's still generating random numbers.


True random items involve no process. If there is any sort of process involved in the picking of the item or number, then it is not truly random - which is why a computer generates pseudo-random numbers instead of a truly random number.

It would take a sentient A.I. to pick a non-pseudo random number.

Random is defined as having no pattern or purpose, and you can make the pattern the computer uses to find the number more complicated to make the number seem more random, but there is still a process.
Random Generation [message #29909] Thu, 10 July 2003 22:07 Go to previous messageGo to next message
Dante
Messages: 1039
Registered: February 2003
Karma: 0
General (1 Star)
you will never achieve what you are looking for, and the total amount of time you probably spent looking for a shortcut, it could have been done by hand.


not to knock your work, but only spending the time to get it right will seperate you from every other shortcut taking modeling n00b in the world.


Random Generation [message #29956] Fri, 11 July 2003 08:32 Go to previous message
Gernader8 is currently offline  Gernader8
Messages: 273
Registered: February 2003
Location: I live in my own world, d...
Karma: 0
Recruit

Dante

you will never achieve what you are looking for, and the total amount of time you probably spent looking for a shortcut, it could have been done by hand.


not to knock your work, but only spending the time to get it right will seperate you from every other shortcut taking modeling n00b in the world.


I was doing it way before this, I was just curious.


Creator of the 'Reborn Bashing' smilie http://www.n00bstories.com/image.fetch.php?id=1402449341 (My claim to fame)

Have a question give me an E-mail:
MrSFX1@aol.com
AIM:MrSFX1 or pastorofpizzahvn
ICQ:164119684
Previous Topic: anti vehicle theft
Next Topic: Bryce 5
Goto Forum:
  


Current Time: Wed Dec 18 15:59:24 MST 2024

Total time taken to generate the page: 0.01513 seconds