a couple qs

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

a couple qs

Post by elfie »

1. how do you change the weapon fire sound?
2. how do you eliminate laggynes in a map?
woner11
Sith
Sith
Posts: 1361
Joined: Tue Sep 18, 2007 10:17 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The lost world of pickels
Contact:

Re: a couple qs

Post by woner11 »

1. You go into the odf and you change the sound file being called.
2. If you're on multiplayer type in the admin waitlate command.
Caleb1117
2008 Most Original Avatar
Posts: 3096
Joined: Sun Aug 20, 2006 5:55 pm
Projects :: No Mod project currently.
xbox live or psn: No gamertag set
Location: X-Fire: caleb1117 ಠ_ಠ

Re: a couple qs

Post by Caleb1117 »

If your map has alot of grass or other foliage, that can cause lots of lag.
Fog is another big lag maker.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: a couple qs

Post by MercuryNoodles »

The unfortunate problem with lag is that multiple factors have to be considered. Since hardware capability, and the engine itself are things that can't be dealt with effectively, I'll move onto the level design.

- The number of objects, and the complexity of the models are a major factor. The more the computer has to render at one time, the slower it's going to work. This is usually dealt with by using low-poly count models, and keeping objects present on a map to a minimum.

- The textures themselves also play a role. It's often overlooked, but textures take up a lot of graphic memory. Well, with newer graphics cards using unified architecture this won't be as much of a problem. The problem is usually worked around with using low resolution textures.

- Effects also come into play. The more effects you use, the more the system has to render.

- Portals and sectors can be used to reduce lag, as I recall. I'm not too familiar with it, but I believe it keeps the system from rendering things you can't see.

- The amount of AI may also affect lag. The best thing to do is only utilize as many bots as you need to achieve your vision. Just throwing hundreds of AI in for no reason doesn't really make for a good level. Hoth from the campaign would be a good example of this.

This is all I can tell from the top of my head, anyway.
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

Re: a couple qs

Post by MercuryNoodles »

Spacecraft cockpits aer simply commented out in the odf. All you have to do is uncomment the line, unless you want to use new cockpits. For ground vehicles, it's a bit more complex, and not entirely possible to do.
User avatar
elfie
Field Commander
Field Commander
Posts: 931
Joined: Fri Jan 25, 2008 8:26 pm
Games I'm Playing :: no games
xbox live or psn: no live
Location: Coruscant, Jedi Temple
Contact:

Re: a couple qs

Post by elfie »

so i delete the line that says what cockpit it is associated with in the odf file?
Taivyx
2008 Best Games Related Avatar
Posts: 1706
Joined: Thu Jun 07, 2007 3:34 pm
Projects :: Terra Strife - discontinued
Games I'm Playing :: none
xbox live or psn: No gamertag set
Contact:

Re: a couple qs

Post by Taivyx »

elfie wrote:1. how do you change the weapon fire sound?
2. how do you eliminate laggynes in a map?
I'll answer the second one since it's a quick answer. Cut down on effects defined in .fx files, reduce the amount of foliage if you have any, reduce the number of lights.

The first one is not that easy.
This tutorial pertains to adding custom weapon sounds, which is what you're doing I'm assuming.
http://www.gametoast.com/forums/viewtop ... t=#p101277
and make SURE you've read Rend's tutorial on adding missing shipped sounds.
Post Reply