Remove a few things.

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
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 :)

Remove a few things.

Post by thelegend »

Hey all,
In my mod there are a few disturbing things I'd like to remove. But I don't know how so I ask here:
1) How I can remove the point counter? For example if you kill an enemy or a friend you won't lose/ or earn any points.
2) How I can remove the 'damage reduction' and the other one? Or just all the awards you can earn.

Thanks for any help.
User avatar
Anakin
Master of the Force
Master of the Force
Posts: 4817
Joined: Sat Sep 19, 2009 11:37 am
Projects :: RC Side Mod - Remastered - SWBF3 Legacy
Location: Mos Espa (germany)

Re: Remove a few things.

Post by Anakin »

just the glowing or the whole award??
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: Remove a few things.

Post by thelegend »

Better the whole award.
User avatar
Locutus
1st Lieutenant
1st Lieutenant
Posts: 420
Joined: Fri Jun 04, 2010 10:08 am
Projects :: Stargate Battlefront Pegasus
Location: Germany
Contact:

Re: Remove a few things.

Post by Locutus »

1)
To get rid of reinforcement count changes for all modes: Objective.lua:
Delete line 184: AddReinforcements(charTeam, -1)

To get rid of points for the player awarded by kills: points.lua:
Set every point gain to 0.


2) To remove the award effects, see FAQ: http://www.gametoast.com/viewtopic.php?f=27&t=7323
To get rid of the award bonuses I think you need to edit the Common side.
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: Remove a few things.

Post by thelegend »

Ok I tried the first one. i removed the line:

Code: Select all

AddReinforcements(charTeam, -1)
and set every points_gain to 0. I loaded both scripts in my main lua but nothing has been changed. If I kill team mates I still lose points and so on.

Edit: With the other issue: I made a custom ingame.lvl but I don`t understand how to remove 2 lines if they don't exist? Because I just edited a few thing for that I needed an ingame.lvl.
Post Reply