Page 1 of 1

Remove a few things.

Posted: Wed Aug 06, 2014 7:02 am
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.

Re: Remove a few things.

Posted: Wed Aug 06, 2014 7:55 am
by Anakin
just the glowing or the whole award??

Re: Remove a few things.

Posted: Wed Aug 06, 2014 8:24 am
by thelegend
Better the whole award.

Re: Remove a few things.

Posted: Wed Aug 06, 2014 10:02 am
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.

Re: Remove a few things.

Posted: Wed Aug 06, 2014 10:35 am
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.