How would i do this

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
TheSackMaster
Private Recruit
Posts: 23
Joined: Sat Jan 16, 2016 12:59 am
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

How would i do this

Post by TheSackMaster »

i want to create a map like you know in the return of the jedi where luke tells darth vader to turn to the light side and darth vader doesnt well i want to create a map where what if darth vader did turn to the light side. so what i want to do is have luke and darth vader go take down the emperor and the storm troopers i guess on the death star map i would also want to be able to have darth vaders name be anakin skywalker since you know he turned to the light side. and also i would also like to put the movie clip in before you play the map where luke says to vader to turn to the light side if thats possible if not thats fine. i know how to mod a little bit but not that much but i would really like to know how to do this
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: How would i do this

Post by AnthonyBF2 »

Whoa there, slick...

I don't know where to begin with this so I'll just make separate points...

1) Adding video clips is possible but would probably be illegal (a custom movie is fine but not clips from real movies)
2) You can change any name of any menu item of playable entity in Battlefront 2. See about using the localize tool in your mod map folder.
3) You could load Luke and Vader on the same team against Palpatine and storm troopers in your Lua script for your mod map.
4) A custom Death Star map is probably going to require you learn how to make models and stuff in 3D design programs. You can load the stock death star in your mod map instead.
TheSackMaster
Private Recruit
Posts: 23
Joined: Sat Jan 16, 2016 12:59 am
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Re: How would i do this

Post by TheSackMaster »

how do i load luke and vader on the same team
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: How would i do this

Post by AnthonyBF2 »

Study the default Lua map scripts located in assets\scripts\

Vader is loaded from maps like Hoth, while Luke on maps like Coruscant.

In your map script data_mod\common\scripts\mod open your Lua file and put the lines in that load Luke and Vader that you found on the stock scripts.

Then in your map script edit the part of the code under setup_teams and put the character names you want to be with and against who and that will actually make your teams from the characters you've loaded from the side files.
TheSackMaster
Private Recruit
Posts: 23
Joined: Sat Jan 16, 2016 12:59 am
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Re: How would i do this

Post by TheSackMaster »

already did that but when i munge it doesnt work

EDIT
like it doesnt give me any files in my battlefront directry and when i load into the game it is named LNV%s_%s and it gives a error and i already have patch 1.1 installed

Double posting is against the RULES; please EDIT your post instead -Staff
Post Reply