Rapture
Posting Freak
Posts: 1,078
Threads: 79
Joined: May 2011
Reputation:
30
|
Map Size Questions
I'm working on a new project. Then I noticed that the filesize for my first map was already 10MB. Biggest filesize for a map so far I've seen.
My map is fairly large, very detailed with entities and stuff. But I feel like its gotten so big really fast.
So my questions are...
1) Should I cut down on the number of stuff in my map so the map is smaller in file size. I am not putting my entire story in one map, its just very detailed and large I suppose.
2) Am I doing something wrong somehow? I only have about 10 billboards, 30 light sources, 30 particle systems (water mist + light dust) and just a crap load of entities, static objects, etc...
(This post was last modified: 07-30-2011, 01:43 PM by Rapture.)
|
|
07-28-2011, 01:20 AM |
|
ZyLogicX
Member
Posts: 245
Threads: 24
Joined: May 2011
Reputation:
6
|
RE: Map Size Questions
I think the problem is in the particle systems... but yeah... I mean La Caza was like what 30 mb?
|
|
07-28-2011, 01:23 AM |
|
Kyle
Posting Freak
Posts: 911
Threads: 36
Joined: Sep 2010
Reputation:
7
|
RE: Map Size Questions
I would say that decals also tends to rack up the bytes really fast.
|
|
07-28-2011, 01:29 AM |
|
MrBigzy
Senior Member
Posts: 616
Threads: 18
Joined: Mar 2011
Reputation:
8
|
RE: Map Size Questions
I don't think map size really determines how it will perform on a computer. The only reason it's a large file is usually because of particles and enemies and such (because they're animated and/or have large poly counts). The map file itself doesn't contain any of the resources, only information on them. That might not translate to having problems while playing the game. Just make sure to include all your preloads. Of course, you will eventually have problems if it becomes TOO big...
(This post was last modified: 07-28-2011, 02:24 AM by MrBigzy.)
|
|
07-28-2011, 02:22 AM |
|
Juby
Senior Member
Posts: 290
Threads: 2
Joined: May 2011
Reputation:
5
|
RE: Map Size Questions
(07-28-2011, 01:29 AM)Kyle Wrote: I would say that decals also tends to rack up the bytes really fast.
Yeah, one multi-surface decal took up 47 KB for me, decals do cost alot of KBs
Insanity. Static.
|
|
07-28-2011, 03:32 AM |
|
Rapture
Posting Freak
Posts: 1,078
Threads: 79
Joined: May 2011
Reputation:
30
|
RE: Map Size Questions
(07-28-2011, 02:22 AM)MrBigzy Wrote: I don't think map size really determines how it will perform on a computer. The only reason it's a large file is usually because of particles and enemies and such (because they're animated and/or have large poly counts). The map file itself doesn't contain any of the resources, only information on them. That might not translate to having problems while playing the game. Just make sure to include all your preloads. Of course, you will eventually have problems if it becomes TOO big... What do you mean by including all your preloads?
|
|
07-28-2011, 04:01 AM |
|
Kyle
Posting Freak
Posts: 911
Threads: 36
Joined: Sep 2010
Reputation:
7
|
RE: Map Size Questions
(07-28-2011, 04:01 AM)Rapture Wrote: (07-28-2011, 02:22 AM)MrBigzy Wrote: I don't think map size really determines how it will perform on a computer. The only reason it's a large file is usually because of particles and enemies and such (because they're animated and/or have large poly counts). The map file itself doesn't contain any of the resources, only information on them. That might not translate to having problems while playing the game. Just make sure to include all your preloads. Of course, you will eventually have problems if it becomes TOO big... What do you mean by including all your preloads?
PreloadParticleSystem(string& asPSFile);
Preloads a particle system. Extension: .ps
PreloadSound(string& asSoundFile);
Preloads a sound. Extension: .snt
Something like this.
|
|
07-28-2011, 04:09 AM |
|
Rapture
Posting Freak
Posts: 1,078
Threads: 79
Joined: May 2011
Reputation:
30
|
RE: Map Size Questions
I forgot to include. What do they do. Do I write it all in script, and on startup it will create them all? So as to save space while uploading files or startup lag?
|
|
07-28-2011, 05:04 AM |
|
MrBigzy
Senior Member
Posts: 616
Threads: 18
Joined: Mar 2011
Reputation:
8
|
RE: Map Size Questions
They are script functions. You write them to preload whatever sound/particle files you want into memory. You should put these in OnStart so they're preloaded when the level starts. That way they are loaded into memory during level load as opposed to when you, for example, enter a script area.
So basically, any particles/sounds you use in that level, put a preload function for each one in OnStart.
|
|
07-30-2011, 01:30 AM |
|
Your Computer
SCAN ME!
Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation:
235
|
RE: Map Size Questions
*.map files are just text files. How on earth did you reach 10mbs with a text file? Even if you went all out with decals and particles, i would even doubt that you made it to 1mb.
|
|
07-30-2011, 01:25 PM |
|
|