Path experiments

You must understand the Game Editor concepts, before post here.

Path experiments

Postby Troodon » Sat Aug 25, 2007 6:35 pm

Hi everybody,
I've started to do some experiments how to generate actor paths mathematically with formulas as simple as possible. (No for example the "jurassic" calibration method) So far I've made just something very basic; I made a code which generates a random "hill map" without using the path function of GE. Here is the exe file and of course I can publish the ged script (which I call unofficially GEysir) too if somebody gets interested. With the current method it eats all the fps so I must find tomorrow a better solution. However, what do you think about it? The draw actor code for the map generating ball is just 3 lines.

EDIT: Be carefull with low RAM computers. I have 1GB of RAM and the fps gets down when the 2nd hill begins.
Attachments
pathexperiment01.zip
Random hill map generator 1 (ultra simple)
(751.85 KiB) Downloaded 167 times
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Re: Path experiments

Postby d-soldier » Sat Aug 25, 2007 6:45 pm

Interesting... The ball-count most be pretty intense to eat away so much fps...
User avatar
d-soldier
 
Posts: 703
Joined: Sun Apr 08, 2007 2:13 am
Score: 61 Give a positive score

Re: Path experiments

Postby Troodon » Sat Aug 25, 2007 6:56 pm

Yeah, that's the fps problem. I'll try to upload better fps version as soon as possible. I will also add the "dead mans switch" to the next version just in case. "Dead mans switch" is just my small CTD avoiding thing that I add to my games. It quits the game when the fps value is in 0. (I had crash to desktop problems with my old Win98 so it became a habit for me to add dead mans switch) :wink:
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score

Re: Path experiments

Postby Troodon » Sun Aug 26, 2007 1:34 pm

Here is the updated version!
It's much better for fps. But when the fps is low it makes uglier hills for some weird reason.
Attachments
pathexperiment02.zip
Random hill map generator 2 (ultra-simple)
(752.29 KiB) Downloaded 151 times
I can't die, I already tried
~on the forums since GE 1.3.3~
User avatar
Troodon
 
Posts: 1539
Joined: Thu Jan 12, 2006 3:29 pm
Location: HELL
Score: 56 Give a positive score


Return to Advanced Topics

Who is online

Users browsing this forum: No registered users and 1 guest