Post: possible to clear entity of death body and bullets?
10-15-2017, 02:47 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); Hi,


It is possible to clear the entity body and bullets ? it's for my zombieland because for exemple on drone I have 570 size entity and after 5 min 650*
and I don't want to clear all brush and all entity to don't loose all my model*

Thank if it's possible
10-16-2017, 10:07 PM #2
Patrick
League Champion
Originally posted by Link033 View Post
Hi,


It is possible to clear the entity body and bullets ? it's for my zombieland because for exemple on drone I have 570 size entity and after 5 min 650*
and I don't want to clear all brush and all entity to don't loose all my model*

Thank if it's possible


Bodies delete after x amount of time/deaths

The following user thanked Patrick for this useful post:

Link033
10-16-2017, 11:25 PM #3
SC58
Former Staff
Originally posted by Link033 View Post
Hi,


It is possible to clear the entity body and bullets ? it's for my zombieland because for exemple on drone I have 570 size entity and after 5 min 650*
and I don't want to clear all brush and all entity to don't loose all my model*

Thank if it's possible


yeah its possible and also possible to remove entity on the map that are kinda pointless for your zombieland or whatever you may need

The following user thanked SC58 for this useful post:

Link033
10-17-2017, 07:48 AM #4
Originally posted by Patrick View Post
Bodies delete after x amount of time/deaths


oh okay thank because after 3-4 minutes of the game, the entity

Originally posted by SC58 View Post
yeah its possible and also possible to remove entity on the map that are kinda pointless for your zombieland or whatever you may need


Yes it's done for that :Smile I put remove entity and brush ^^ and I win 90-100 entity size on drone and nuketown ^^
10-17-2017, 09:16 AM #5
SC58
Former Staff
Originally posted by Link033 View Post
oh okay thank because after 3-4 minutes of the game, the entity



Yes it's done for that :Smile I put remove entity and brush ^^ and I win 90-100 entity size on drone and nuketown ^^


you could also allocate more memory in real time to have as much of entity size as you want

The following user thanked SC58 for this useful post:

Link033
10-17-2017, 09:34 AM #6
Originally posted by SC58 View Post
you could also allocate more memory in real time to have as much of entity size as you want


oh Gasp really ? can you say me how to doing that please ? because after 600 size entity the game is so laggy
10-17-2017, 12:58 PM #7
SC58
Former Staff
Originally posted by Link033 View Post
oh Gasp really ? can you say me how to doing that please ? because after 600 size entity the game is so laggy


may have to rebuild everything linked with gentity_s in elf or just mess with G_Spawn, max num of entity is 1022 or something like that, changing this will just cause a buffer overflow into another struct in the game after a few entity spawned after max value i'm sure
10-17-2017, 02:45 PM #8
oh okay thank ^^
10-19-2017, 12:55 PM #9
Patrick
League Champion
Originally posted by Link033 View Post
oh okay thank because after 3-4 minutes of the game, the entity



Yes it's done for that :Smile I put remove entity and brush ^^ and I win 90-100 entity size on drone and nuketown ^^


you can free up all entity space and use 1022 custom spawned models, they cap at around 600 then they go invisible, they do that so collisions can be placed etc.
    deleteMapModels()
{
array = [];
array = getEntArray();
for(e=0;e<array.size;e++)
array[e] delete();
}

The following user thanked Patrick for this useful post:

Link033
10-19-2017, 02:07 PM #10
Originally posted by Patrick View Post
you can free up all entity space and use 1022 custom spawned models, they cap at around 600 then they go invisible, they do that so collisions can be placed etc.
    deleteMapModels()
{
array = [];
array = getEntArray();
for(e=0;e<array.size;e++)
array[e] delete();
}

Oh okay than you ^^ but when I have more than 550 entity size and more than 9-10 players the game is so laggy and sometimes crash / freeze. Maybe because I need to fix more thing with oferflowfix no? Or it's because the map(s) have a lot of entity?
Last edited by Link033 ; 10-19-2017 at 02:10 PM.

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo