Server Totals
Underdark - (4)
Mikona - (2)
Le'Or - (1)
M'Chek - (1)
Visimontium - (0)
Elysia - (0)
Ferrell - (0)
Wilderness - (0)
Deglos - (0)
Total players: 8
Gallery

Links Menu

Minimize lag when building areas?

Moderators: Nighthawk4, Dungeon Masters

Minimize lag when building areas?

PostAuthor: 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
User avatar
Eldar
Knight of Useless Drivel
 
Posts: 74
Joined: Tue Jan 25, 2005 11:43 pm
Location: Sweden (GMT +2 (DST))

PostAuthor: 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.

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

PostAuthor: Havoulov » Thu May 26, 2005 7:15 am

Does the same count for non interactive placeables like bloodstains and the like?
User avatar
Havoulov
Team Member; Retired with Honors
 
Posts: 3429
Joined: Sun Mar 21, 2004 9:22 pm
Location: Just behind you!((Norway)) GMT+2

PostAuthor: 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.

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

PostAuthor: 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've spent most of my money on beer, fast women, and fast cars. The rest I just wasted .
User avatar
Vichan Lyonsen
CCC
CCC
 
Posts: 3610
Joined: Sat Jul 12, 2003 5:23 am
Location: San Diego PST >GMT-8<
Timezone: pacific

PostAuthor: 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
Krator
Elder Sage
 
Posts: 4947
Joined: Thu Jun 10, 2004 6:44 pm
Location: Amsterdam
Timezone: GMT

PostAuthor: Eldar » Thu May 26, 2005 7:21 pm

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

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


Return to NWN Scripting

Who is online

Registered users: Bing [Bot], Google [Bot]