logo   login
right
Home Forums Downloads Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Forum Info
Forum Members: 18,581
Total Threads: 8,667
Posts: 94,503

Administrators:
DeeZire, Redemption

There are currently 46 users online.
Partner Links

Free Credit Repair

Learn the Ticket Broker Secrets
Advertisements


Red Alert 2 & Yuri's Revenge Editing Discuss any modding related issues to do with Red Alert 2 and Yuri's Revenge here.

Reply
 
LinkBack Thread Tools
Old 02-06-2003, 05:09 PM   #1 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: USA
Posts: 267
Default Free Units

I've been messing around with the Ore Ref prices and stats(for the American economy-no tank balancing).

I've noticed that when I halved the price to 1000, the ref costs 1400, the same as a miner.

Anyway around this besides cloning a miner?
OneWingedAngel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-06-2003, 06:52 PM   #2 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: UK
Posts: 434
Default

There is no way around this other than cloning the chrono/war miner (which leaves you with the problem of chrono/war miners not all being selected by the 'select all of type' button (if you consider that to be a problem).

Another interesting fact: The Soviet Industrial Plant affects the cost of buildings that have free units.


The following 'pseudo-code' explains how the game works out the cost of a building.
Taking the existing Ore Refinery as an example (and using the default ini values), the game breaks up the cost as such: (note that NAINDP is the Soviet Industrial Plant)

Let Y=NAREFN.FreeUnit[HARV].Cost

"Y is now 1400"

Let X=NAREFN.Cost

"X is now 2000"

If X<Y Then Let X=Y ;note that this is where OneWingedAngel's problem is.

"X is now 2000"

Let STRUCTURE_VALUE=X-Y

"STRUCTURE_VALUE is now 600"


If Exist NAINDP Then

Let VEHICLE_MULTIPLIER=NAINDP.UnitsCostBonus

"VEHICLE_MULTIPLIER is now 0.75"

Let STRUCTURE_MULTIPLIER=NAINDP.BuildingsCostBonus

"STRUCTURE_MULTIPLIER is now 1.0"

Let STRUCTURE_VALUE=STRUCTURE_VALUE*STRUCTURE_MULTIPLI ER

"STRUCTUREVALUE is now 600"

Let Y=Y*VEHICLEMULTIPLIER

"Y is now 1050"

End If


Let FINAL_VALUE_OF_REFINERY=STRUCTURE_VALUE+Y

"FINAL_VALUE_OF_REFINERY is now 1650"


Try running through the pseudo-code with different values for the harvester cost, ore refinery cost, and industrial plant multipliers.


Hope that was of use, or at least mild interest to someone
Marshall7a is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-07-2003, 04:45 AM   #3 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: UK
Posts: 281
Default

Wow, algorithms are so thrilling. lol. I have to do them in Computing As and that was a good test to working them out thanks. lol
Hunt7s is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-07-2003, 05:18 PM   #4 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: USA
Posts: 267
Default

Good old algorithms... makes me want to break out the old cntrl+break command.
OneWingedAngel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-10-2003, 01:01 PM   #5 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: in an aircraft carrier in the Asia and the Pacific waters
Posts: 638
Default

wow! there is alot of logic in there! like an ALgebraic mixed with Boolean expression!
xcomet is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-10-2003, 05:45 PM   #6 (permalink)
Junior Member
 
Join Date: Jan 2003
Location: USA
Posts: 24
Send a message via AIM to Allied773 Send a message via MSN to Allied773 Send a message via Yahoo to Allied773
Default

i want to make a chinook a harvester, like in generals. it couldn't be THAT hard could it?
Allied773 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-10-2003, 06:28 PM   #7 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: USA
Posts: 267
Default

I think you're ugly.
OneWingedAngel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-10-2003, 07:12 PM   #8 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: BFE
Posts: 320
Send a message via ICQ to Master_Fenring Send a message via AIM to Master_Fenring Send a message via MSN to Master_Fenring
Default

Quote:
Originally Posted by Allied773
i want to make a chinook a harvester, like in generals. it couldn't be THAT hard could it?
Nope. Just add the proper tags to make it a harvester.

Quote:
Originally Posted by OneWingedAngel
I think you're ugly.
Uhh. Okay. What does that have to do with anything?
Master_Fenring is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-10-2003, 07:16 PM   #9 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: USA
Posts: 267
Default

Uhh, it's jsut something random that's a joke.

Yeah, a chinook harvy would work, be abit unbalanced though unless oyu give it less HP and a lower ore yield.
OneWingedAngel is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 02-10-2003, 07:25 PM   #10 (permalink)
Senior Member
 
Join Date: Dec 2002
Location: BFE
Posts: 320
Send a message via ICQ to Master_Fenring Send a message via AIM to Master_Fenring Send a message via MSN to Master_Fenring
Default

Quote:
Originally Posted by OneWingedAngel
Uhh, it's jsut something random that's a joke.

Yeah, a chinook harvy would work, be abit unbalanced though unless oyu give it less HP and a lower ore yield.
No imbalance. Just give it weak armor and no weapon.....
Master_Fenring is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nod Avatar free upgrades sage_inferno Tiberium Wars Editing 11 03-27-2008 06:16 AM
Free Models By Request Cboidy8888 Generals & Zero Hour Editing 5 10-02-2004 10:56 AM
I just found a free 3D model of the NOD light tower! EvilViking Generals & Zero Hour Editing 11 07-14-2004 04:49 PM
Free for all and instant build Caboose Generals & Zero Hour Editing 2 06-14-2004 02:33 AM
Free 3D Modeller PsychoLamb Generals & Zero Hour Editing 2 03-02-2003 04:30 PM


All times are GMT -4. The time now is 06:18 AM.


Design By: Miner Skinz.com
Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.