Gamestudio Links
Zorro Links
Newest Posts
ZorroGPT
by TipmyPip. 03/06/26 07:18
zorro with ccxt?
by opm. 03/03/26 03:17
WFO Training with parallel cores Zorro64
by Martin_HH. 02/26/26 16:03
Zorro version 3.0 prerelease!
by TipmyPip. 02/25/26 16:38
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 5,267 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
the1, alx, ApprenticeInMuc, PatrickH90, USER0328
19200 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: A8 2 possible issues ent_animate and map entities [Re: Rich] #332870
07/12/10 15:33
07/12/10 15:33
Joined: Jul 2000
Posts: 28,077
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,077
Frankfurt
Ok. I guess for skills etc. you need to use an entity. But regions are faster to detect than passable maps. Region detection is medium, while entity detection is slow.

Re: A8 2 possible issues ent_animate and map entities [Re: jcl] #333397
07/16/10 05:56
07/16/10 05:56
Joined: Jan 2002
Posts: 300
Usa
Rich Offline OP
Senior Member
Rich  Offline OP
Senior Member

Joined: Jan 2002
Posts: 300
Usa
Ok I just wanted to update to respond to the last suggestion about using regions, After this I will let the topic retire.

I started to test out the possibility of using regions, but this also would require as many region checks as their are types of regions. For instance, If I had 20 different regions set up with different behaviors, that would be 20 region checks each frame. Where as detecting passable_ent was only once c_trace / c_move, which were already being called by the movement code. This was also more flexible as the skills could be used to change the behavior, with limitless combinations. Helghast's solution would work great, if that event would trigger when inside of another entity.

Perhaps if c_trace could return region information, or if a function could be created like ent_region, which returns the name of a region a specific entity is in... But alas, I would prefer passable entity / block detection with the new format. Thanks for reading and replies laugh

Last edited by Rich; 07/16/10 05:58.
Re: A8 2 possible issues ent_animate and map entities [Re: Rich] #333399
07/16/10 07:18
07/16/10 07:18
Joined: Jul 2000
Posts: 28,077
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 28,077
Frankfurt
Ok, but you can believe me that regions are much faster than c_trace. You won't need 20 region checks for finding a region to a certain position, you need maybe 2 or 3, dependent on the location in the ABT.

Page 2 of 2 1 2

Moderated by  jcl, Nems, Spirit, Tobias 

Gamestudio download | 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