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 Tue Apr 23, 2024 7:36 am
All times are UTC + 0
Power Plant Settings
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   This topic is locked: you cannot edit posts or make replies. Page 1 of 1 [15 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
JobinM
Civilian


Joined: 22 Sep 2007

PostPosted: Tue Sep 25, 2007 1:14 am    Post subject:  Power Plant Settings
Subject description: To change the level you get.
Reply with quote  Mark this post and the followings unread

How do I edit a map so that all we need is 1 power plant for the whole game and all your buildings?

Also, how do I make it so that buildings build fast?

Kinda like in map script I have attached to this post. Power plant settings and building speed like this map, thats all I need.



toadnuke.mpr
 Description:

Download
 Filename:  toadnuke.mpr
 Filesize:  159.23 KB
 Downloaded:  132 Time(s)


Back to top
View user's profile Send private message
Renegangsta
Cyborg Commando


Joined: 02 Aug 2007
Location: meh

PostPosted: Tue Sep 25, 2007 3:16 am    Post subject: Reply with quote  Mark this post and the followings unread

set
power=100000000000000000000000000000000 Laughing
but srsly,
power=16512 (i think this is highest accepted number) (I THINK!!!!)
if not just set rly high like 1-1024

_________________
With sadness in my heart and joy in my mind

Back to top
View user's profile Send private message Yahoo Messenger Account AIM Address
CCHyper
Defense Minister


Joined: 07 Apr 2005

PostPosted: Tue Sep 25, 2007 4:53 am    Post subject: Reply with quote  Mark this post and the followings unread

You would have to ask pd or VK about the limit, but i am not aware of one.

Back to top
View user's profile Send private message
pd
Laser Commando


Joined: 19 Jun 2005
Location: Gone

PostPosted: Tue Sep 25, 2007 6:23 am    Post subject: Reply with quote  Mark this post and the followings unread

How the hell would you get to 16,512?
Power takes a signed integer, so the minimum should be -2,147,483,648 and the maximum +2,147,483,647.
Looking at the code, the minimum should be -2,147,483,647 though, -2,147,483,648 should get equal to zero (somebody try this?)

Also, the existence of this thread makes me shake my head.
Much like your other thread, JobinM: Planes and Bomb Ammo

This is very clearly telling me that you didn't spend a lot of time (if any time) to find these (very obviously findable in the inis) things out yourself.

Last edited by pd on Tue Sep 25, 2007 10:53 am; edited 1 time in total

Back to top
View user's profile Send private message
CCHyper
Defense Minister


Joined: 07 Apr 2005

PostPosted: Tue Sep 25, 2007 9:43 am    Post subject: Reply with quote  Mark this post and the followings unread

lol... thats the limit?! Im sure you wont run out of power then #Tongue

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


Joined: 22 Aug 2006
Location: somewhere south of the north pole

PostPosted: Tue Sep 25, 2007 10:59 am    Post subject: Reply with quote  Mark this post and the followings unread

pd wrote:
How the hell would you get to 16,512?
Power takes a signed integer, so the minimum should be -2,147,483,648 and the maximum +2,147,483,647.

Is that the same as for max demage (overpowerd yes, fun OH YES)

pd wrote:
Looking at the code, the minimum should be -2,147,483,647 though, -2,147,483,648 should get equal to zero (somebody try this?)

Code:

  2,147,483,648
 -2 147 483 647
-------------------------
= 0 000 000 001
"""""""""""""""""""""""""

Almost :p

And to JobinM, if you want to get some kind of help, I sugjest I at least TRY to find out youtself Wink Search for "RulesMD.ini" and download the one by "Mooman 65"
It's stable. Or download the "YR 1002 devolopers pack"
(you may do the searching yourself Smile)

_________________
This is a signature

Back to top
View user's profile Send private message Visit poster's website
pd
Laser Commando


Joined: 19 Jun 2005
Location: Gone

PostPosted: Tue Sep 25, 2007 11:52 am    Post subject: Reply with quote  Mark this post and the followings unread

Dupl3xxx, that's not code, that's a random substraction with no real point #Tongue

A negative Power will get negated (NEG operation) to a positive Power (a power drain value so to speak).

However, negating -2,147,483,648 would mean substracting 0x80000000 (hex) from 0, which would be 0x80000000 again (in a 32bit architecture), a negaive power drain (not 0 like I suggested in my post above, mistook it) so -2,147,483,648 might screw the whole power logic up... Very Happy

Back to top
View user's profile Send private message
Kurorahk
Soldier


Joined: 20 May 2005
Location: Defiance Industries HQ, Antarctica

PostPosted: Wed Sep 26, 2007 5:00 am    Post subject: Reply with quote  Mark this post and the followings unread

In short what everyone is saying is the max number is the max hex that the game can store for any one thing, anyways either set the power to like 100,000 which will not ie but if someone does go higher than that you can always adjust, but what you should realy do is just remove the power requirements of all power draining buildings which would create the image of ifinate power and if you still have a incredable amout of power out of you powerplant then it will look good ingame. Hope that helps.

-Kurorahk-

_________________
Defiance Industries: We prefur to call it well prepaired not over kill.

Blaze, Demon of The Round Table, Mobuis One call me what you want I am one with the sky.

Back to top
View user's profile Send private message
Renegangsta
Cyborg Commando


Joined: 02 Aug 2007
Location: meh

PostPosted: Wed Sep 26, 2007 7:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Or instead, you could just set all the buildings to use no power or be power plants

_________________
With sadness in my heart and joy in my mind

Back to top
View user's profile Send private message Yahoo Messenger Account AIM Address
Ickus
General


Joined: 25 Nov 2002
Location: @__@

PostPosted: Thu Sep 27, 2007 4:48 am    Post subject: Reply with quote  Mark this post and the followings unread

lol. sorry to hijack this thread, but might be of relevance? #Tongue

but while modding RA1 for fun and I gave power plants extra power since I felt it ridiculous to have 100 power plants in your base....but now the AI sells them off and most of their base. leaving the ore refinery and maybe a barrack... I fiddled around with PowerSurplus= and giving it a high value didn't help as they sold everything beyond the con. yard and the refinery...

Video example

_________________
Delirium..

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


Joined: 02 Apr 2005
Location: United States

PostPosted: Thu Sep 27, 2007 8:28 am    Post subject: Reply with quote  Mark this post and the followings unread

Congratulations..you divided by zero, try a lower setting. #Tongue

Back to top
View user's profile Send private message Skype Account
Ickus
General


Joined: 25 Nov 2002
Location: @__@

PostPosted: Thu Sep 27, 2007 8:40 pm    Post subject: Reply with quote  Mark this post and the followings unread

lower than one? >_<

_________________
Delirium..

Back to top
View user's profile Send private message
toadnuke
Soldier


Joined: 08 May 2008
Location: Florida

PostPosted: Tue Jun 17, 2008 3:25 am    Post subject: Reply with quote  Mark this post and the followings unread

Under INI Editing, enter a new section called "GAPOWR"

Under this new section enter "Power=10000"

Repeat the same operation for the soviet power plant "NAPOWR"

If you really like this map I made, you should check out my newer ones at my website.

http://www.freewebs.com/toadnuke/maps.htm

_________________

For all the latest updates, visit my site. http://www.freewebs.com/toadnuke/

Back to top
View user's profile Send private message Visit poster's website AIM Address
Hello There
Grenadier


Joined: 30 May 2008

PostPosted: Tue Jun 17, 2008 4:23 am    Post subject: Re: Power Plant Settings Reply with quote  Mark this post and the followings unread

JobinM wrote:
Also, how do I make it so that buildings build fast?


Oh. Hello. I'm willing to help.

BuildSpeed=.1 ; for a fast loading speed of the buildings.
BuildupTime=.01 ; for construction animation.


Hope this helps.

Back to top
View user's profile Send private message
DonutArnold
General


Joined: 18 Jan 2005
Location: Finland

PostPosted: Tue Jun 17, 2008 9:24 am    Post subject: Reply with quote  Mark this post and the followings unread

Seriously, look at the dates before posting if you really don't have anything useful to add! Locked!

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies. Page 1 of 1 [15 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.2191s ][ Queries: 13 (0.0109s) ][ Debug on ]