Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Sat Apr 20, 2024 12:53 am
All times are UTC + 0
how do i make a building that reduces the cost of buildings?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
ludvigpasse
Cyborg Engineer


Joined: 24 Mar 2010

PostPosted: Sun Apr 11, 2010 1:30 pm    Post subject:  how do i make a building that reduces the cost of buildings? Reply with quote  Mark this post and the followings unread

Buildings like industrial plant reduces the cost of the all vehiacle units by to 75% of their original cost. Can i make a building that does the same thing? But 25% cheaper buildings insteed.

Back to top
View user's profile Send private message
hotrods20
Commander


Joined: 27 Jul 2009

PostPosted: Sun Apr 11, 2010 1:32 pm    Post subject: Reply with quote  Mark this post and the followings unread

I have seen this done I think it was a patch.

Back to top
View user's profile Send private message
OmegaBolt
President


Joined: 21 Mar 2005
Location: York, England

PostPosted: Sun Apr 11, 2010 1:35 pm    Post subject: Reply with quote  Mark this post and the followings unread

Just take a look at the Plant code...

FactoryPlant=yes
InfantryCostBonus=1
UnitsCostBonus=1
AircraftCostBonus=1
BuildingsCostBonus=1
DefensesCostBonus=1

Back to top
View user's profile Send private message Send e-mail
Eldrei
Missile Trooper


Joined: 11 Mar 2010
Location: Fixin' in mah PPM.

PostPosted: Mon Apr 12, 2010 6:08 am    Post subject: Reply with quote  Mark this post and the followings unread

OmegaBolt wrote:
Just take a look at the Plant code...

FactoryPlant=yes
InfantryCostBonus=1
UnitsCostBonus=1
AircraftCostBonus=1
BuildingsCostBonus=1
DefensesCostBonus=1

1 is default and it wouldn't change anything. Try lower values like 0.75. Also I discovered a bug that if you change it to much lower values, the FreeUnit tag will not work. It happened to me once when I have an Industrial Plant and built a refinery the free unit didn't appear.

_________________
Clazzy wrote:
If the concept of a God was never created, would we invent one to describe what's outside our universe?

Back to top
View user's profile Send private message
OmegaBolt
President


Joined: 21 Mar 2005
Location: York, England

PostPosted: Mon Apr 12, 2010 9:10 am    Post subject: Reply with quote  Mark this post and the followings unread

Obviously 1 is default, I didnt post the code edited.

Back to top
View user's profile Send private message Send e-mail
ludvigpasse
Cyborg Engineer


Joined: 24 Mar 2010

PostPosted: Mon Apr 12, 2010 11:03 am    Post subject: Reply with quote  Mark this post and the followings unread

Yea, OmegaBolt did a simple and quite obvius explenation, dont understand how i missed that before i made the thread.

_________________

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [6 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1450s ][ Queries: 11 (0.0091s) ][ Debug on ]