2 registered members (AndrewAMD, VoroneTZ),
740
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Dynamic Tree Solution
[Re: Why_Do_I_Die]
#53563
09/20/05 00:46
09/20/05 00:46
|
Joined: Sep 2004
Posts: 260 UB,Mongolia
Olzii
OP
Member
|
OP
Member
Joined: Sep 2004
Posts: 260
UB,Mongolia
|
Hi guys,
I have uploaded it again. You can download it now.
Olzii
The Empire of the Mongols comprised the largest continuous land empire ever, reaching from Korea to Poland
|
|
|
Re: Dynamic Tree Solution
[Re: Why_Do_I_Die]
#53566
09/21/05 03:37
09/21/05 03:37
|
Joined: Sep 2004
Posts: 260 UB,Mongolia
Olzii
OP
Member
|
OP
Member
Joined: Sep 2004
Posts: 260
UB,Mongolia
|
I think that your each level has separate .wmp level file. Using my functions you may write each level's entities to different files : lvl_1_tree.ini, lvl_2_tree.ini, lvl_3_tree.ini ,...
The Empire of the Mongols comprised the largest continuous land empire ever, reaching from Korea to Poland
|
|
|
Re: Dynamic Tree Solution
[Re: Olzii]
#53567
09/22/05 09:26
09/22/05 09:26
|
Joined: Sep 2004
Posts: 1,214 Austin, Texas
Josh_Arldt
Senior Developer
|
Senior Developer
Joined: Sep 2004
Posts: 1,214
Austin, Texas
|
Pretty nifty idea Olzii. This should prove usefull. Thanks for contributing it.
|
|
|
Re: Dynamic Tree Solution
[Re: Josh_Arldt]
#53568
10/09/05 17:53
10/09/05 17:53
|
Joined: May 2005
Posts: 50
dead_poet
Junior Member
|
Junior Member
Joined: May 2005
Posts: 50
|
a little speed issue... instead of Code:
vec_sub(my.skill4,vector(Trees[TreeArrRows*i],Trees[TreeArrRows*i+1],Trees[TreeArrRows*i+2])); you can use Code:
vec_sub(my.skill4,Trees[TreeArrRows*i+0]); if i am not wrong... the vector command is very slow, i noticed..
|
|
|
Re: Dynamic Tree Solution
[Re: Why_Do_I_Die]
#53569
10/23/05 00:10
10/23/05 00:10
|
Joined: Oct 2002
Posts: 2,256 Oz
Locoweed
Expert
|
Expert
Joined: Oct 2002
Posts: 2,256
Oz
|
The link is actually up.
Is there a simple example level with source that anyone has made showing this code working? Someone ask me some questions on how plausible it would be to use in certain situations, but it would be nice to see it in action before I can reply to them.
Professional A8.30 Spoils of War - East Coast Games
|
|
|
Re: Dynamic Tree Solution
[Re: Locoweed]
#53570
10/24/05 02:42
10/24/05 02:42
|
Joined: Sep 2004
Posts: 260 UB,Mongolia
Olzii
OP
Member
|
OP
Member
Joined: Sep 2004
Posts: 260
UB,Mongolia
|
Hi friend! Here is my car example : demo If you want to see how dynamic tree script is working, please run this demo and wait 2 minutes /Until it generates thousands of random tree positions/. I think my dynamic tree script's link is not dead, may be server was down. You can download it now. Olzii
The Empire of the Mongols comprised the largest continuous land empire ever, reaching from Korea to Poland
|
|
|
Re: Dynamic Tree Solution
[Re: Olzii]
#53571
10/24/05 19:03
10/24/05 19:03
|
Joined: Oct 2003
Posts: 218 USA
frozenbaby
Member
|
Member
Joined: Oct 2003
Posts: 218
USA
|
Ok ... this one I DON'T get - d/l'ed your demo. Loaded it and waited the 2 minutes (actually 5) and didn't see a single entity created? Level was kinda "kewl" (cool) - and the car's reactions were fine - 'cept when I rolled the car and it continued to "play" on it's side.
Guess my question is - what did this have to do with tree creation when I didn't see any dynamic trees created? Or am I missing something?
Some electrons may have been harmed in transmission, but most were caught in the "electronic condom" and recycled.
|
|
|
Re: Dynamic Tree Solution
[Re: frozenbaby]
#53572
10/25/05 07:03
10/25/05 07:03
|
Joined: Sep 2004
Posts: 260 UB,Mongolia
Olzii
OP
Member
|
OP
Member
Joined: Sep 2004
Posts: 260
UB,Mongolia
|
Hi frozenbaby,
May be you should wait until it generating thousands of random posiitions using trace /3600 tree positions/, you can see counting number for tree positions . After waiting for 5-10 minutes, you should drive around, then you will see these trees.
The Empire of the Mongols comprised the largest continuous land empire ever, reaching from Korea to Poland
|
|
|
|