General Joined: 3/8/2016(UTC) Posts: 1,156 Thanks: 312 times Was thanked: 185 time(s) in 149 post(s)
|
Um i want to improved the performance by fixing the ai scripts
a man tell me to get the scripts check for seconds not check per frame -is this will gonna improved the performance ?
need a tip pls |
|
|
|
|
Colonel Joined: 10/13/2008(UTC) Posts: 782
Thanks: 7 times Was thanked: 201 time(s) in 147 post(s)
|
You have to be more specific.
You can't just change a bunch of scripts to "once per second" and expect the whole map to still work. Some conditions only work with "once per frame". Most frame counter scripts for example.
|
1 user thanked i^love^mixery for this useful post.
|
|
|
Major Joined: 3/22/2017(UTC) Posts: 278 Location: Some where on Earth
Thanks: 123 times Was thanked: 69 time(s) in 59 post(s)
|
Just try to replace some scripts which will take most of map's performance ... 1. Hunt { if enemy is far away , you know the deal with your performance } I've used 5 scripts for paths , attack in areas , hunt at the time , etc ... instead of only hunt , and it now carries 100% less lag . 2. Try minimizing when ever you can { minimize your scripts when you can do it by 2 scripts instead of 3-10 scripts } 3. Some other that game engine can not support easily |
Asking is Not a Problem , Problem is Not to Know Something .
Operation : Dark Angel Static : Launch Delayed Reason : Uncool Terrain - Old Logic in use - Lack of Performance Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300% |
1 user thanked Unknown Editor for this useful post.
|
|
|
Users browsing this topic |
Guest
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.