Gamestudio Links
Zorro Links
Newest Posts
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
3 registered members (AbrahamR, AndrewAMD, ozgur), 763 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ent_create(... NULL) - why no ent_morph(... NULL)? #275362
07/01/09 06:31
07/01/09 06:31
Joined: Oct 2006
Posts: 175
G
Gumby22don Offline OP
Member
Gumby22don  Offline OP
Member
G

Joined: Oct 2006
Posts: 175
I'm trying to set up my own basic navmesh setup on the fly, and running off entities as a first attempt.

I found I can create entities as NULL, so as not to render them, but then for debugging I am morphing them to a "dummy.mdl" cube, fading them in, then fading them out. Then I try to morph them back to NULL, but found I can't do it. I guess I can demolish the entity and recreate a NULL, but that seems silly.

Can anyone tell me something I should be doing instead, or a better way to have non-rendered entities (in the 1000's)? Or should I just be using my own struct without running in the engine at all? (lots more custom functions required)

Don
have a great day

Re: ent_create(... NULL) - why no ent_morph(... NULL)? [Re: Gumby22don] #275485
07/01/09 13:55
07/01/09 13:55
Joined: Apr 2006
Posts: 737
Ottawa, Canada
O
Ottawa Offline
User
Ottawa  Offline
User
O

Joined: Apr 2006
Posts: 737
Ottawa, Canada
Hi!

You could have all your entities "invisible" until you need them.
They would be there all the time.


Hope this helps!
Ottawa laugh

Ver 7.86.2 Pro and Lite-C
Re: ent_create(... NULL) - why no ent_morph(... NULL)? [Re: Ottawa] #275500
07/01/09 14:40
07/01/09 14:40
Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
VeT Offline

Serious User
VeT  Offline

Serious User

Joined: Aug 2004
Posts: 1,345
Kyiv, Ukraine
yes, just make unused entities invisible, and you'll save your FPS smile


1st prize: Lite-C and Newton 2.17 by Vasilenko Vitaliy

Newton2 videos: http://tinyurl.com/NewtonVideos
LiteC+Newton2 discussion: http://tinyurl.com/NewtonWrapperDiscussion
Latest LiteC+Newton2 version(v23, from 29.10.2009): http://depositfiles.com/files/ae1l0tpro
Re: ent_create(... NULL) - why no ent_morph(... NULL)? [Re: VeT] #275610
07/02/09 00:35
07/02/09 00:35
Joined: Feb 2008
Posts: 3,232
Australia
EvilSOB Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Or if you are trying to reduce their memory consumption, morph them
to a mdl file that just contains a single vertex.


"There is no fate but what WE make." - CEO Cyberdyne Systems Corp.
A8.30.5 Commercial
Re: ent_create(... NULL) - why no ent_morph(... NULL)? [Re: EvilSOB] #275623
07/02/09 01:29
07/02/09 01:29
Joined: Oct 2006
Posts: 175
G
Gumby22don Offline OP
Member
Gumby22don  Offline OP
Member
G

Joined: Oct 2006
Posts: 175
heh, i think i had set(my,INVISIBLE) originally. Must have changed it when I had some other bug in there. I'll go back to that.

Thanks,

Don
have a great day


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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