Sky, ATTE & Localizing

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
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Sky, ATTE & Localizing

Post by sampip »

Ok, well exactly what the name of this topic says:
1. Sky. I know how to change the sky, you replace the ***.sky in yours with a sky from another world, and copy all the assets in the world file from the sky over aswell. I did that, nothing happens. The sky doesn't change at all.
2. In my map, I have put a vehicle spawn for an ATTE. It spawns miles away from any command post. Does this matter, because the ATTE is not spawning.... The walker part in my script looks like this:
Hidden/Spoiler:
-- Level Stats
ClearWalkers()
AddWalkerType(0, 4) -- special -> droidekas
AddWalkerType(1, 0) -- 1x2 (1 pair of legs)
AddWalkerType(0, 1) -- 2x2 (2 pairs of legs)
AddWalkerType(3, 1) -- 3x2 (3 pairs of legs)
What have I done wrong?
3. I can't get the localize tool to work on my locals. In the tutorial on the FAQ/Everything you Need, it says you need to create a new fkey in your level part, called ***.lvl (*** being the name of your map), and then right click on that to create a new scope called ***** (***** being whatever you want your locals to be called). When I right clicked on it, the only thing that came up was: Add Key or Delete key, so I went up to the Keys button at the top, and from there clicked on Add Scope. The tutorial states, that when you click on your new scope, the boxes on the right should become ungrayed. They did not. Does anyone know why, or another way I can localize my wookiees?
User avatar
lucasfart
Sith
Sith
Posts: 1440
Joined: Tue Feb 24, 2009 5:32 am
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: Australia

Re: Sky, ATTE & Localizing

Post by lucasfart »

with the atte problem you have to add

Code: Select all

SetMemoryPoolSize ("CommandWalker", #)
near all the other setmemorypoolsize ones, preferably just after the aimer one. of course, # is the number of atte's you have. i think someone needs to make a tut or a sticky on how to add command vehicles since almost everyone has this issue at least once i think......
User avatar
B.I.G_Cookie
High General
High General
Posts: 839
Joined: Sun Feb 22, 2009 4:28 pm
Games I'm Playing :: Battlefield 4
Location: Frankfurt, Germany

Re: Sky, ATTE & Localizing

Post by B.I.G_Cookie »

With the sky:

delete all files with yav.sky and all yavin sky textures. Then copy you new sky folders.
the MSHs the TGAs etc. I'll take Geonosis as an example. So copy all GEO sky textures and so.
in the world1 file

Then go in your Kashyyyk file to world1 again, now search XXX.sky open it with notepad, delete the text. Now go to the assets in any world1 folder, and search for GEO.sky ( just an example )

open the GEO.sky and copy the text, go to you XXX.sky and make the copied Geonosis sky text in you XXX.sky and save

XXX = Your World, Kashyyyk
GEO = example
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Sky, ATTE & Localizing

Post by sampip »

Thanks! So with the AT-TE, I shoudnt get the same thing with the AT-RT, or with a dwarf spider droid?
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

Re: Sky, ATTE & Localizing

Post by DarthD.U.C.K. »

its a commandvehicle, you have to define an extracommandopst for it in the lua
User avatar
sampip
General
General
Posts: 792
Joined: Mon Mar 16, 2009 12:08 pm
Projects :: Something big. And exciting.
Games I'm Playing :: Battlefield 3
xbox live or psn: masowner66
Location: Zebra

Re: Sky, ATTE & Localizing

Post by sampip »

I didnt and it still worked, though, strangely enough, as soon as i put it, although I had put over 30 spawn points at base 2, only me and one other unit spawned there.!!! Is the ATTE to do with this?
Post Reply