Minimize lag when building areas?

Moderator: Event DM

Post Reply
User avatar
Eldar
Knight of Useless Drivel
Posts: 74
Joined: Tue Jan 25, 2005 11:43 pm
Location: Sweden (GMT +2 (DST))

Minimize lag when building areas?

Post by Eldar » Thu May 26, 2005 6:33 am

I was wondering if there are some kind of recommended maximum number of placeables in an area to minimize lag / loading time etc?

Are there any other things to think about when creating an area that can minimize lag?

Regards
Eldar
Alustriel
Apprentice Scholar
Posts: 853
Joined: Mon Apr 07, 2003 12:08 pm
Location: GMT+1/+2 dst
Contact:

Post by Alustriel » Thu May 26, 2005 7:12 am

Bioware said once that 3 to 4 placeabes on 1 tile is the maximum, if you use that as average you'll do fine.
If you need more, make smaller areas, 12*12 with a zillion of placeables is no good, a 5*5 area should be fine.

Also don't place placeables on tile seams, this will double - or more - the time needed for pathfinding of npc's and pc's.
If you have dark areas, caves, grotto's, dungeon, it is hard to see, so placables won't change much to the atmosphere, keep those to a minimum as well.

Check the Merchant Rest Inn in Elysia, the area looks lovely but has far to many placeables, it takes ages to load, and I can imagine people with slower connection can't load that specific area, although never had complaints about it, and therefor the area is as it is and not toned down or split in 2.
User avatar
Havoulov
Team Member; Retired with Honors
Posts: 3428
Joined: Sun Mar 21, 2004 9:22 pm
Location: Just behind you!((Norway)) GMT+2

Post by Havoulov » Thu May 26, 2005 7:15 am

Does the same count for non interactive placeables like bloodstains and the like?
Alustriel
Apprentice Scholar
Posts: 853
Joined: Mon Apr 07, 2003 12:08 pm
Location: GMT+1/+2 dst
Contact:

Post by Alustriel » Thu May 26, 2005 7:56 am

Yes, every placeable, you can't usually walk through them. Not sure with the ones you can walk over though, hard to test these things on a stand-alone machine, it usually only shows with many people in the same area.
But all little bits help.

The pathfinding scripts need to find a way past these obstacles so a pc/npc can walk.

Scripts play an important role as well, esp heartbeats. Caching scripts into memory does help a lot for scripts fired often, so look into that as well. Profiler is a major help in this.
User avatar
Vichan Lyonsen
CCC
CCC
Posts: 3886
Joined: Sat Jul 12, 2003 5:23 am
Timezone: pacific
Location: San Diego PST >GMT-8<

Post by Vichan Lyonsen » Thu May 26, 2005 1:04 pm

If you think of any single inn in Avlis this is broken, One table and 4 chairs is 5 placeables and often there is more than that on one tile - you will also not though that NPC's will almost never successfully negotiate that tile.

the one thing to realise though is an inn is a small area, compared to say a city marketplace...try to be reasonable with placeables - walkable one like rugs still take processing cycles to load but i dont think they effect pathfinding at all.
I'm embracing my inner curmudgeon.

Player of;
Sh'Meara (Samara) Gwenever
Kala Dall
User avatar
Krator
Elder Sage
Posts: 4935
Joined: Thu Jun 10, 2004 6:44 pm
Timezone: GMT
Location: Amsterdam

Post by Krator » Thu May 26, 2005 1:12 pm

Just do whatever you like. The only thing that you should avoid overusing is placeables with lights and animations (I learned that the heard way: *points at Mennallin enterprises in Elysia*), and placeables of more than one tile big.
User avatar
Eldar
Knight of Useless Drivel
Posts: 74
Joined: Tue Jan 25, 2005 11:43 pm
Location: Sweden (GMT +2 (DST))

Post by Eldar » Thu May 26, 2005 7:21 pm

Thanks a lot for the answers. I will use this as a guideline.

/Eldar
Post Reply