IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Can the cost reduction effect of Oil Refinery and Industrial Plant be stacked?
nikitazero678
post 10 Oct 2016, 8:52
Post #1



Group Icon

Group: Members
Posts: 162
Joined: 11 July 2014
From: Bandung, Indonesia
Member No.: 10536



Like the title suggests, I wonder whether there is a code which makes this possible.
I had tried assigning both cost reduction bonus modules to be given through different upgrades, but it does not work.

EDIT: Oops, I posted the thread in the wrong section, as my mind's a bit messed up due to exhaustion. Please move this thread to Generals/Zero Hour modding section.

This post has been edited by nikitazero678: 10 Oct 2016, 8:54


--------------------


Current ROTR Wiki Bureaucrat + Admin
Doing my best to completely reshape the wiki to a better one with support from the community

My ShockWave 1.201 Fan Patch
Go to the top of the page
 
+Quote Post
(USA)Bruce
post 10 Oct 2016, 12:25
Post #2


The Forums American Hotshot Flyboy
Group Icon

Group: Tester
Posts: 2543
Joined: 22 November 2012
From: The foundation of modern freedom and Liberty;United States of America.
Member No.: 9500



Well codewise its not possible in shockwave mod, but it is possible in ROTR.

How this works- I have no idea but check the code.

Hell you can have something that makes everything MORE expensive, looking at you mr.Oil Sabotage GP from ROTR


--------------------
Go to the top of the page
 
+Quote Post
Shiro
post 10 Oct 2016, 15:21
Post #3


Gamer Girl
Group Icon

Group: Legend
Posts: 3727
Joined: 19 June 2009
From: Disboard
Member No.: 182
Friendly Freelancer



It's possible, ShW just wasn't properly coded in this regard. IIRC what you need to do is make the Command Center grant the Cost Reduction upgrade (and for security such as cross-teching, every other structure players can build, as well).


--------------------
Joy~
Go to the top of the page
 
+Quote Post
Gracia
post 11 Oct 2016, 10:57
Post #4



Group Icon

Group: Tester
Posts: 80
Joined: 7 March 2015
Member No.: 10907



I believe this is possible, in fact it'd even stack with ShW's vChina upgrade so the lowest you pay for a Battlemaster is around $300! I am fairly sure this still happens. (If you capture a Oil Refinery, Kwai's Industrial Plant and that Optimised Production vChina has)


--------------------
Go to the top of the page
 
+Quote Post
Shiro
post 11 Oct 2016, 12:15
Post #5


Gamer Girl
Group Icon

Group: Legend
Posts: 3727
Joined: 19 June 2009
From: Disboard
Member No.: 182
Friendly Freelancer



The Battlemaster production is actually just a change of the build button, not the same function as the Cost Reduction from the Oil Refinery or Industrial Plant.


--------------------
Joy~
Go to the top of the page
 
+Quote Post
nikitazero678
post 11 Oct 2016, 13:41
Post #6



Group Icon

Group: Members
Posts: 162
Joined: 11 July 2014
From: Bandung, Indonesia
Member No.: 10536



QUOTE (SoraZ @ 10 Oct 2016, 21:21) *
It's possible, ShW just wasn't properly coded in this regard. IIRC what you need to do is make the Command Center grant the Cost Reduction upgrade (and for security such as cross-teching, every other structure players can build, as well).


Can you post the detailed code here? I'll try it and see if it works.


--------------------


Current ROTR Wiki Bureaucrat + Admin
Doing my best to completely reshape the wiki to a better one with support from the community

My ShockWave 1.201 Fan Patch
Go to the top of the page
 
+Quote Post
Shiro
post 11 Oct 2016, 14:29
Post #7


Gamer Girl
Group Icon

Group: Legend
Posts: 3727
Joined: 19 June 2009
From: Disboard
Member No.: 182
Friendly Freelancer



CODE
  Behavior = GrantUpgradeCreate ModuleTag_AlwaysGrantedUpgrade01
    UpgradeToGrant     = Upgrade_CostReduction
  End

Just this... I think.


--------------------
Joy~
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 18 October 2017 - 21:27