Deleting the originals?

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
sharp
Private Third Class
Posts: 45
Joined: Sat Apr 18, 2015 7:46 am
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Deleting the originals?

Post by sharp »

I want to remove the original era from the game (first of all just from the instant action) - so that there are only the modded eras (like SWBFExtreme) are left.

--> How do I do that?
User avatar
AnthonyBF2
Sith
Sith
Posts: 1255
Joined: Wed Aug 21, 2013 3:55 pm
Projects :: PS2+PSP Overhaul

Re: Deleting the originals?

Post by AnthonyBF2 »

I think stock era and modes are in the shell.lvl, and if you replace that it will break 1.3 patch.
thelegend
Sith
Sith
Posts: 1433
Joined: Thu Jan 23, 2014 6:01 am
Projects :: Star Wars - Battlefront III Legacy
Games I'm Playing :: Swbf GTA CoD LoL KH
xbox live or psn: El_Fabricio#
Location: Right behind you :)

Re: Deleting the originals?

Post by thelegend »

You will probably need to remove them in your addme.lua. Or do you want to remove them from all stock maps? Then I have no idea how. But it's totally simple to remove eras and modes from custom maps.
User avatar
[RDH]Zerted
Gametoast Staff
Gametoast Staff
Posts: 2982
Joined: Sun Feb 26, 2006 7:36 am
Projects :: Bos Wars AI - a RTS game
Games I'm Playing :: SWBF2 and Bos Wars
xbox live or psn: No gamertag set
Location: USA
Contact:

Re: Deleting the originals?

Post by [RDH]Zerted »

Create an addme that loads before all the other addme.luas. So name that map AAAAA or something similar. In the addme, blank out the two mission lists:

Code: Select all

sp_missionselect_listbox_contents = []
mp_missionselect_listbox_contents = []
I think that'll work. Are you just trying to hide them or trying to increase the amount of space available for mod missions?

Maps that use AddNewGameModes() to add their missions will not longer work as those maps are no longer in the mission lists.
sharp
Private Third Class
Posts: 45
Joined: Sat Apr 18, 2015 7:46 am
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Re: Deleting the originals?

Post by sharp »

Thanks so far, I'm going to test it out the next view days :)

I just want to remove it from all stock maps (I thought of course that there would be more space available after that). Another possibility would be to replace the stock side with the battlefront extreme side (and all its effects) and then to delete the bfx mod. But I don't know how.

--Edit--
It's nothing about SWBF2, I have a problem to send messages :D they don't get out of the Outbox, haha, I have no idea why. And yes, I'm serious...
Noobasaurus
Droid Pilot Assassin
Droid Pilot Assassin
Posts: 2006
Joined: Tue Aug 17, 2010 5:56 pm

Re: Deleting the originals?

Post by Noobasaurus »

Offtopic: If they stay in your outbox, it means that the recipient hasn't read them, not that they haven't been sent. When they're still in the outbox, you can edit them before the recipient sees them.
sharp
Private Third Class
Posts: 45
Joined: Sat Apr 18, 2015 7:46 am
Projects :: No Mod project currently.
xbox live or psn: No gamertag set

Re: Deleting the originals?

Post by sharp »

@Noobasaurus: Ah haha, thank you very much
Post Reply