46
Open Feedback / Re: Understanding Game Mechanics
« on: November 07, 2015, 10:30:07 pm »
In what .cpp file are the Battlescape final screen scores being calculated?
I've used GitHub file finder to search for any file named "*Battlescape*", and I've browsed throught BattlescapeState.cpp, BattlescapeGame.cpp, etc. but I can't seem to find anything related to scoring.
Thing is... I have so many questions related to battlescape scoring, that I'd rather just take a look at the code myself.
My goal is to mod a few things related to scoring, but I'm not sure if these are even possible, namely:
- Reduce Alien Alloys recovery points to less than 1 (not sure how to do this though, does the recoveryPoints ruleset var accept decimals?)
- Change Elerium 115 recovery points (the ruleset item has no recoveryPoints set... how does it currently work?)
- Change points lost for X-COM soldier MIA (can't find any rule for this)
- See / Change points lost for X-COM soldiers killed, depending on rank (can't find any rule for this)
- Change the points for successfully destroying an Alien Base (can't find any rule for this)
- Lose points for leaving abandoning a terror site with live aliens (probably not supported)
- Lose points for losing an X-COM base after an alien retaliation (probably not supported)
I've used GitHub file finder to search for any file named "*Battlescape*", and I've browsed throught BattlescapeState.cpp, BattlescapeGame.cpp, etc. but I can't seem to find anything related to scoring.
Thing is... I have so many questions related to battlescape scoring, that I'd rather just take a look at the code myself.
My goal is to mod a few things related to scoring, but I'm not sure if these are even possible, namely:
- Reduce Alien Alloys recovery points to less than 1 (not sure how to do this though, does the recoveryPoints ruleset var accept decimals?)
- Change Elerium 115 recovery points (the ruleset item has no recoveryPoints set... how does it currently work?)
- Change points lost for X-COM soldier MIA (can't find any rule for this)
- See / Change points lost for X-COM soldiers killed, depending on rank (can't find any rule for this)
- Change the points for successfully destroying an Alien Base (can't find any rule for this)
- Lose points for leaving abandoning a terror site with live aliens (probably not supported)
- Lose points for losing an X-COM base after an alien retaliation (probably not supported)