Gamestudio Links
Zorro Links
Newest Posts
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, VoroneTZ), 740 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 3 of 4 1 2 3 4
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 Offline OP
Member
Olzii  Offline 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: Olzii] #53564
09/20/05 15:28
09/20/05 15:28
Joined: May 2005
Posts: 819
U.S.
Why_Do_I_Die Offline
Warned
Why_Do_I_Die  Offline
Warned

Joined: May 2005
Posts: 819
U.S.
Thnx Olzii

Re: Dynamic Tree Solution [Re: Why_Do_I_Die] #53565
09/20/05 16:24
09/20/05 16:24
Joined: May 2005
Posts: 819
U.S.
Why_Do_I_Die Offline
Warned
Why_Do_I_Die  Offline
Warned

Joined: May 2005
Posts: 819
U.S.
btw , can anyone who know scripting explain how to add it to multiple levels , or how to save the position and scale of each entity ?

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 Offline OP
Member
Olzii  Offline 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 Offline
Senior Developer
Josh_Arldt  Offline
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
D
dead_poet Offline
Junior Member
dead_poet  Offline
Junior Member
D

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
L
Locoweed Offline
Expert
Locoweed  Offline
Expert
L

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 Offline OP
Member
Olzii  Offline 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 Offline
Member
frozenbaby  Offline
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 Offline OP
Member
Olzii  Offline 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
Page 3 of 4 1 2 3 4

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1