- Joined
- Jul 24, 2007
- Messages
- 308
I use the following system to make a random terrain each game :
I think some of you will suggest using the function :
please help me.
-
Random Deformation
- Events
- Conditions
-
Actions
- -------- Deformation --------
-
For each (Integer A) from 1 to 128, do (Actions)
-
Loop - Actions
- Set Random_Position = (Random point in (Entire map))
- Environment - Create a 0.01 second Permanent crater deformation at Random_Position with radius (Random real number between 512.00 and 1024.00) and depth (Random real number between -150.00 and 150.00)
- Custom script: call RemoveLocation (udg_Random_Position)
-
Loop - Actions
-
For each (Integer A) from 1 to 256, do (Actions)
-
Loop - Actions
- Set Random_Position = (Random point in (Entire map))
- Environment - Create a 0.01 second Permanent crater deformation at Random_Position with radius (Random real number between 256.00 and 512.00) and depth (Random real number between -75.00 and 75.00)
- Custom script: call RemoveLocation (udg_Random_Position)
-
Loop - Actions
-
For each (Integer A) from 1 to 512, do (Actions)
-
Loop - Actions
- Set Random_Position = (Random point in (Entire map))
- Environment - Create a 0.01 second Permanent crater deformation at Random_Position with radius (Random real number between 128.00 and 256.00) and depth (Random real number between -50.00 and 50.00)
- Custom script: call RemoveLocation (udg_Random_Position)
-
Loop - Actions
-
For each (Integer A) from 1 to 8, do (Actions)
-
Loop - Actions
- Set Random_Position = (Random point in (Entire map))
- Environment - Create a 0.01 second Permanent crater deformation at Random_Position with radius (Random real number between 2048.00 and 4096.00) and depth (Random real number between 400.00 and 1000.00)
- Custom script: call RemoveLocation (udg_Random_Position)
-
Loop - Actions
I think some of you will suggest using the function :
- Camera - Set (Picked player)'s camera Far Z to 1000000000.00 over 0.00 seconds
please help me.