BF1 Assets not showing up [Solved]

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
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 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: Building a railway to Coruscant
Contact:

BF1 Assets not showing up [Solved]

Post by trainmaster611 »

I've moved all the necessary odf and msh files from BFBuilder to my Data_GM8 folder but when I open up ZE, they appear grey and wihtout any textures.

I also had one other similar problem: I added some asteroids that were Space and Polis Massa Props and they looked fine in ZE but they don't appear in game :?
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

RE: BF1 Assets not showing up

Post by FragMe! »

trainmaster
Ipod had the same question about asteroids here is a link to the topic. You can read the whole thing but the answer is in the second last post.
http://www.gametoast.com/index.php?name ... highlight=

Hope it helps
FragMe!
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 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: Building a railway to Coruscant
Contact:

RE: BF1 Assets not showing up

Post by trainmaster611 »

FragMe! wrote:What it all comes down to is...
the line SetMemoryPoolSize("Asteroid", kNumAstLrg) is all you need, as matter of fact you can just put in 80
instead of the kNumAstLrg as it is just a variable, the thing is it HAS to be right up with the other SetMemoryPoolSize
lines so right after the last one should work. The kNum things is for populating the map for Felucia and if you
look at the lua and also the paths in ZE for Polis Masa they actually have lines in there for asteroid paths although I don't
think they got it working as it is commented out.
I'm sorry. I had an extremely hard time following that :?

So exactly what lines get put where? Like what exactly am I supposed to be adding (the exact codes) to which document and where in the document are they inserted?
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

RE: BF1 Assets not showing up

Post by FragMe! »

Okay I copied bits from the topic find this part of the LUA
and add the highlighted parts if they are not already there.


-- Level Stats
-- ClearWalkers()
AddWalkerType(0, 4) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(2, 0) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 2) -- 3x2 (3 pairs of legs)
local weaponCnt = 1024
SetMemoryPoolSize("Aimer", 75)
SetMemoryPoolSize("AmmoCounter", weaponCnt)
SetMemoryPoolSize("BaseHint", 1024)
SetMemoryPoolSize("EnergyBar", weaponCnt)
SetMemoryPoolSize("EntityCloth", 32)
SetMemoryPoolSize("EntityFlyer", 32)
SetMemoryPoolSize("EntityHover", 32)
SetMemoryPoolSize("EntityLight", 200)
SetMemoryPoolSize("EntitySoundStream", 4)
SetMemoryPoolSize("EntitySoundStatic", 32)
SetMemoryPoolSize("MountedTurret", 32)
SetMemoryPoolSize("Navigator", 128)
SetMemoryPoolSize("Obstacle", 1024)
SetMemoryPoolSize("PathNode", 1024)
SetMemoryPoolSize("SoundSpaceRegion", 64)
SetMemoryPoolSize("TreeGridStack", 1024)
SetMemoryPoolSize("UnitAgent", 128)
SetMemoryPoolSize("UnitController", 128)
SetMemoryPoolSize("Weapon", weaponCnt)
SetMemoryPoolSize("CommandWalker", 2)
SetSpawnDelay(10.0, 0.25)
--ReadDataFile("dc:RD5\\RD5.lvl", "RD5_conquest")
ReadDataFile("dc:RD5\\RD5.lvl", "RD5_conquest")
SetDenseEnvironment("false")

-- asteroids
local kNumAstLrg = 80
SetMemoryPoolSize("Asteroid", kNumAstLrg)
SetParticleLODBias(15000)



Hope that is better.

FragMe!
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 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: Building a railway to Coruscant
Contact:

RE: BF1 Assets not showing up

Post by trainmaster611 »

Code: Select all

local weaponCnt = 1024
    SetMemoryPoolSize("Aimer", 75)
    SetMemoryPoolSize("AmmoCounter", weaponCnt)
    SetMemoryPoolSize("BaseHint", 1024)
    SetMemoryPoolSize("EnergyBar", weaponCnt)
	SetMemoryPoolSize("EntityCloth", 32)
	SetMemoryPoolSize("EntityFlyer", 32)
    SetMemoryPoolSize("EntityHover", 32)
    SetMemoryPoolSize("EntityLight", 200)
    SetMemoryPoolSize("EntitySoundStream", 4)
    SetMemoryPoolSize("EntitySoundStatic", 32)
    SetMemoryPoolSize("MountedTurret", 32)
	SetMemoryPoolSize("Navigator", 128)
    SetMemoryPoolSize("Obstacle", 1024)
	SetMemoryPoolSize("PathNode", 1024)
    SetMemoryPoolSize("SoundSpaceRegion", 64)
    SetMemoryPoolSize("TreeGridStack", 1024)
	SetMemoryPoolSize("UnitAgent", 128)
	SetMemoryPoolSize("UnitController", 128)
	SetMemoryPoolSize("Weapon", weaponCnt)

    SetSpawnDelay(10.0, 0.25)
    ReadDataFile("dc:GM8\\GM8.lvl", "GM8_conquest")
    SetDenseEnvironment("false")

   -- asteroids
local kNumAstLrg = 80
SetMemoryPoolSize("Asteroid", kNumAstLrg)
SetParticleLODBias (15000)
Is that right? :?

And can someone tell me how to fix the BF1 assets? :P
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

RE: BF1 Assets not showing up

Post by FragMe! »

With the assests the obvious question to ask you did copy all the TGA files too correct.
You did mentioned moving the odfs and msh files. The most common cause for grey
models is missing TGA files. You should be copying all the directories in the BF1 assets
data folder for the world you want to use. This includes effects and munged folders if the
world has them.

Re: asteroids yes that looks correct, the only way to find out though is to munge and play.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 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: Building a railway to Coruscant
Contact:

RE: BF1 Assets not showing up

Post by trainmaster611 »

Thanks for the asteroid help. :P

And yes I copied all of the msh files (including TGA) over to my Data_GM8 folder. THese are just simple buildings without any animation or anything weird like that so I don't know what's wrong. I actually copied those msh files over 3 times just to be sure. :?

EDIT
Ok I put the asteroids into the GCW Conquest game and it crashed :(
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

RE: BF1 Assets not showing up

Post by FragMe! »

How many did you try to put in? Try just 1 or 2 to start
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 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: Building a railway to Coruscant
Contact:

RE: BF1 Assets not showing up

Post by trainmaster611 »

Oh...I did about 30 :lol:
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

RE: BF1 Assets not showing up

Post by FragMe! »

If you increase the 80 in the asteroid memorypoolsize higher you may be able to get 30.
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 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: Building a railway to Coruscant
Contact:

RE: BF1 Assets not showing up

Post by trainmaster611 »

Code: Select all

local kNumAstLrg = 80 
You mean that line? What number should I be raising it to?

And just kind of a side question:

Code: Select all

   -- asteroids
How many spaces (if any at all) do I put in front of the two dashes? :?
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

RE: BF1 Assets not showing up

Post by FragMe! »

You don't have to do anything to the asteroid line it is just a comment line.
Yes the 80 in the local kNumAstLrg = is the number you increase
User avatar
trainmaster611
Sith Lord
Sith Lord
Posts: 1779
Joined: Thu Aug 24, 2006 5:22 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: Building a railway to Coruscant
Contact:

RE: BF1 Assets not showing up

Post by trainmaster611 »

But what number am I supposed to be increasing it to??? :?
FragMe!
Gametoast Staff
Gametoast Staff
Posts: 2244
Joined: Sat May 13, 2006 12:34 am
Projects :: Not sure keep changing my mind.
Games I'm Playing :: F1 and SWBF
xbox live or psn: No gamertag set
Location: Origin name GT_FragMe
Contact:

RE: BF1 Assets not showing up

Post by FragMe! »

Trial and error, I am not sure how much to increase it to sorry but Felucia had at least 10
asteroids with that number I believe so try tripling it to 240 and see if that works for 30
asteroids. I am guessing you made 1 or 2 appear yes? If you did and it crashes with 30
then increase the number again but remember there is only a certain amount of memory
so if need be you may have to decrease the number of asteroids.

Good luck
Post Reply