Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Offline costarica1  
#1 Posted : Sunday, June 17, 2018 12:09:39 PM(UTC)
costarica1
Private
Joined: 5/25/2018(UTC)
Posts: 23
Italy

Thanks: 5 times
playing for gla against china, for every killed unit too much money a re coming to me, so it`s not fair, and at the same time, when china kills my people units, china gets money for every killed unit. So it has nothing to do with cash bounty, cos even china gets money, and besides, I turned cash bounty off in file!

Can anyone indicate in what file can I reduce the sum of money for killed units, cos too much money I gain.
Sponsor
Offline Annihilationzh  
#2 Posted : Monday, June 18, 2018 7:38:44 AM(UTC)
Annihilationzh
General
Joined: 8/2/2008(UTC)
Posts: 1,779
United Kingdom

Thanks: 26 times
Was thanked: 475 time(s) in 331 post(s)
Are you playing a mod or something?

China doesn't get money for killing units in the unmodded game.
If you need help, post in the forum. You'll get help a lot faster than if you send me a PM.

I reject all buddy requests. I don't think 'buddy' needs to be made official. It's not like you're marrying me.
Offline costarica1  
#3 Posted : Monday, June 18, 2018 3:48:03 PM(UTC)
costarica1
Private
Joined: 5/25/2018(UTC)
Posts: 23
Italy

Thanks: 5 times
Originally Posted by: Annihilationzh Go to Quoted Post
Are you playing a mod or something?

China doesn't get money for killing units in the unmodded game.


yeah, wlc mod skirmish with advanced ai. justy checked 2 times, how china get money like me, and checked playing for china e even, that every science is off on each rank level.

Offline Unknown Editor  
#4 Posted : Monday, June 18, 2018 9:55:05 PM(UTC)
Unknown Editor
Major
Joined: 3/22/2017(UTC)
Posts: 278
Location: Some where on Earth

Thanks: 123 times
Was thanked: 69 time(s) in 59 post(s)
GLA can use Cash Bounty due to the following modules in it's command center :
Code:

  Behavior = CashBountyPower ModuleTag_15
    SpecialPowerTemplate    = SpecialAbilityCashBounty1
    Bounty                  = 5%
  End
  Behavior = CashBountyPower ModuleTag_16
    SpecialPowerTemplate    = SpecialAbilityCashBounty2
    Bounty                  = 10%
  End
  Behavior = CashBountyPower ModuleTag_17
    SpecialPowerTemplate    = SpecialAbilityCashBounty3
    Bounty                  = 20%
  End


; Now if you want to change the value using Map.ini :

Object GLACommandCenter
ReplaceModule ModuleTag_15
Behavior = CashBountyPower ModuleTag_Bounty01
SpecialPowerTemplate = SpecialAbilityCashBounty1
Bounty = 5% ; Switch to your Preference
End
End
ReplaceModule ModuleTag_16
Behavior = CashBountyPower ModuleTag_Bounty02
SpecialPowerTemplate = SpecialAbilityCashBounty2
Bounty = 10% ; Switch to your Preference
End
End
ReplaceModule ModuleTag_17
Behavior = CashBountyPower ModuleTag_Bounty03
SpecialPowerTemplate = SpecialAbilityCashBounty3
Bounty = 20% ; Switch to your Preference
End
End
End
[/code]

Behavior = CashBountyPower ModuleTag_15
SpecialPowerTemplate = SpecialAbilityCashBounty1
Bounty = 5%
End
Behavior = CashBountyPower ModuleTag_16
SpecialPowerTemplate = SpecialAbilityCashBounty2
Bounty = 10%
End
Behavior = CashBountyPower ModuleTag_17
SpecialPowerTemplate = SpecialAbilityCashBounty3
Bounty = 20%
End
[/code]

Code:

Object GLACommandCenter
 ReplaceModule ModuleTag_15
  Behavior              = CashBountyPower ModuleTag_Bounty01
   SpecialPowerTemplate = SpecialAbilityCashBounty1
   Bounty               = 5% ; Switch to your Preference
  End
 End
 ReplaceModule ModuleTag_16
  Behavior              = CashBountyPower ModuleTag_Bounty02
   SpecialPowerTemplate = SpecialAbilityCashBounty2
   Bounty               = 10% ; Switch to your Preference
  End
 End
 ReplaceModule ModuleTag_17
  Behavior              = CashBountyPower ModuleTag_Bounty03
   SpecialPowerTemplate = SpecialAbilityCashBounty3
   Bounty               = 20% ; Switch to your Preference
  End
 End
End


; Now if you want to change the value using Map.ini :

Object GLACommandCenter
ReplaceModule ModuleTag_15
Behavior = CashBountyPower ModuleTag_Bounty01
SpecialPowerTemplate = SpecialAbilityCashBounty1
Bounty = 5% ; Switch to your Preference
End
End
ReplaceModule ModuleTag_16
Behavior = CashBountyPower ModuleTag_Bounty02
SpecialPowerTemplate = SpecialAbilityCashBounty2
Bounty = 10% ; Switch to your Preference
End
End
ReplaceModule ModuleTag_17
Behavior = CashBountyPower ModuleTag_Bounty03
SpecialPowerTemplate = SpecialAbilityCashBounty3
Bounty = 20% ; Switch to your Preference
End
End
End
[/code]

And if you want to add the ability to CHINA with no required Science ...
You can do the following :

Code:

SpecialPower ChinaCashBountyAbility
  Enum              = SPECIAL_CASH_BOUNTY
  RequiredScience   = SCIENCE_CHINA ; Will be Granted by China when Game Starts
  PublicTimer       = No
End

Object ChinaCommandCenter
 AddModule
  Behavior              = CashBountyPower ModuleTag_Bounty
   SpecialPowerTemplate = ChinaCashBountyAbility
   Bounty               = 10% ; Switch to your Preference
  End
 End
End


For mods and such stuff , You should find the objects and add the modules or change them manually ...
For example Find GLACommandCenter in Data\INI\Object\FactionBuilding.ini and change modules : "ModuleTag_15" , "ModuleTag_16" & "ModuleTag_17" by just changing the Values Percents .
And to add that to china , Just add :
Quote:
Behavior = CashBountyPower ModuleTag_Bounty
SpecialPowerTemplate = ChinaCashBountyAbility
Bounty = 10% ; Switch to your Preference
End

Somewhere in the modules section .
+ Do not forget to add the following special power somewhere inside : Data\INI\SpecialPower.ini
Quote:
SpecialPower ChinaCashBountyAbility
Enum = SPECIAL_CASH_BOUNTY
RequiredScience = SCIENCE_CHINA ; Will be Granted by China when Game Starts
PublicTimer = No
End

Edited by user Monday, June 18, 2018 10:01:29 PM(UTC)  | Reason: Not specified

Asking is Not a Problem , Problem is Not to Know Something .

Operation : Dark Angel
Static : Launch Delayed
Reason : Uncool Terrain - Old Logic in use - Lack of Performance
Status : Applying new Terrain - Applying new Logic - Increasing Performance by 300%
thanks 1 user thanked Unknown Editor for this useful post.
costarica1 on 6/19/2018(UTC)
Offline costarica1  
#5 Posted : Tuesday, June 19, 2018 12:03:23 PM(UTC)
costarica1
Private
Joined: 5/25/2018(UTC)
Posts: 23
Italy

Thanks: 5 times
yeah, today I found it. thanks for reply, so every team has in its building.ini file this line:

Behavior = CashBountyPower ModuleTag_CBP
SpecialPowerTemplate = SpecialAbilityCashBountyEx
Bounty = 10%
End

only that thai and gla have additional lines so get much more money.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.