Where are my asteroids? [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
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Where are my asteroids? [Solved]

Post by Noobasaurus »

I get the files from the Polis Massa assets and put them in the correct folers and then load them into ZE. They load perfectly in ZE and look wonderful but when I munge and play they aren't there. Is there something special that I have to with asteroids or what?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Where are my asteroids?

Post by AQT »

Try loading them in your world's REQ file:

Code: Select all

    	REQN
    	{
        "class"
            "pol1_prop_asteroid_01"
	    "pol1_prop_asteroid_02"
	    "pol1_prop_asteroid_03"
    	}
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Where are my asteroids?

Post by Noobasaurus »

AQT wrote:Try loading them in your world's REQ file:

Code: Select all

 REQN
{
"class"
"pol1_prop_asteroid_01"
"pol1_prop_asteroid_02"
"pol1_prop_asteroid_03"
}
I added in those after the class part, but it didn't work. Oddly, the sky started working... :|
Do I have to add in a completely new section for that or can I just add it in to that section?

EDIT: It says:

Code: Select all

Message Severity: 2
C:\Battlefront2\main\Battlefront2\Source\Asteroid.cpp(481)
Could not build asteroid
about twenty times...What might it mean?
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: Where are my asteroids?

Post by AQT »

Ah, of course. Asteroids are similar to flags and such, so you need to fill their memory pool/add in the memory pool line in your .lua file(s):

Code: Select all

        SetMemoryPoolSize ("Asteroid", X)
Where X is the number of asteroids. Just use a high number if you don't want to count the asteroids.
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Where are my asteroids?

Post by Noobasaurus »

Ahhh, thank you! It worked, and now there's asteroids spinning in the sky! :D
Post Reply