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

Forum Info
Forum Members: 18,639
Total Threads: 8,742
Posts: 95,495

Administrators:
DeeZire, Redemption

There are currently 41 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 06-28-2004, 05:24 AM   #1 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Egypt
Posts: 1,241
Send a message via ICQ to DeeZeL Send a message via MSN to DeeZeL
Default List and explanations for hardcoded stuff

Wrote this list like ages ago, I felt it was fair that newbies should read it first before posting some I deas that might get them flamed or something.

Feel free to add anything to it, I'd rather this list to be sticktified here in this section. Unfortunately, I made an updated list like a month ago but it was gone when my old HD made his peace with God.

Here it is:


Author: - DeeZeL
Credits: - Tratos for bringing up some ideas
- Kravvtiz for some editing, bringing up and explaining some stuff.


=================
HARD-CODED STUFF:
=================


* What is hardcoding?
=====================

Basically its the things that controlling it is out of your hands...hardcoding is the rules set by WW to keep somethings as they are..sometimes for safety issues, sometimes to show us, modders whos the boss .


* Why do I need to know this stuff?
===================================

well there are 2 benefits from knowing the hardcoded suff:

a. saves time an energy in your mind .
b. if you even tried to ask about them in the editing community you'll be flamed to death.

* Interesting, so what are the hardcoded stuff, and what will happen if I tried to edit the hardcoded codes?
===============================================

Many people have tried that, some people succeeded and some didnt..BUT, their methods main idea wasnt EDITING the hardcoded but to TWEAK or EMULATE its presence. For example, Psycho, one of the most talented members in the CnC: RA2/YR editing community, managed to do more superweapons rather than replacing them. He's writing a tutorial about it, and I hope that I can host it.

Moving on, heres a list of hardcoded stuff:

1. Superweapons: basically..superweapons can ONLY be replaced..but as I said before, Psycho managed to emulate new ones..if u tried to add a new action to the superweapon that isnt recognized by the game code..your 'super strike' will recharge as any normal superweaon..but one you clicked the button to deploy it..it will re-charge again as if you already 'deployed' it.

2. Sides: For RA2, theres 9 sides and as for YR theres 10 sides..it is possible to make one of the sides 'feel' like a new side (well not TOTALLY, it will also used the graphics from the original side..as radars anims, buttons..etc.) but its IMPOSSIBLE to add new ones and
I quote from Blade (who is also one of the ELITE of the modding community): "You CANNOT add anymore sides. You could concievably add new countries by hacking the exe and altering the array data that the houses use, but the side stuff (AI mainly such as base planning side as well as different battle labs and such things) cannot be increased beyond 3 feasibly without the source code to the game."...in short, adding a 'new' side to the [Sides] section in the rules.ini will do nothing but to give you the 'Internall error' message.

3. Color Selection Menu: Hardcoded also...you wont manage to change its code doesnt even exist in the rules.ini

4. Adding a new type of missile: if you are planning to add a new missile that will act as the 'V3 Rocket Launcher' or the 'Dreadnought' or the 'Boomer sub' missiles, you can kiss this idea good bye...and if u tried to add one, the rocket will launch until it reached a certain altitude and will do one of the 2 actions: a) will reverse its destinated direction and travel to nowhere. b) will reverse its destination and head straight back to the 'Launching vehicle' lol .

5. the [xxxTypes] bug: xxx here stands for both of the word 'Vehicle' or 'Infantry'..its more of a bug than a hardcoded issue as you know the under the [xxxtypes] section theres a list of all the units in the game that looks like this

[InfantryTypes]
1=E1
2=ENGINEER
3=SENGINEER
.....and so on, so lets say your [InfantryTypes] list went that way for example:

99=TROOPER1
100=TROOPER2
101=TROOPER3
102=TROOPER4
103=TROOPER5
....well that HUGE for the game to handle i suppose, nice job you've made about 70 new troopers with the ultimate codes..but what will happen when the game loads??? The AI will do this annoying thing by constantly producing the unit beyond the #100 unit in the list, disregarding what country/side it is...well people solve this by replacing some kind of civilians but you are limited so be carefull .

6. Infanty CANNOT repair vehicles: well thats true..so don't even think of making them to do so..BUT if you played RA2eeZire it exists..well notice that he only 'pops out' of the soviet service depot..surprise! its not an infantry but DeeZire made the mechanic look like an infantry, but it's really an SHP vehicle. (DZ ur the best )

7. Number of campaings: well I quote this from Kravvtiz: "in RA2 there are the Allied, Soviet and Tutorial campaign, that's 3, in YR there are the Allied and Soviet campaign, that's 2. Blade supposedly has a way to re-enable the tutorial campiagn, so that you can add a third campaign to YR" meaning that you cant add any extra campaigns..Blade did it but I dont know how.

8. Cursors: another quote from Kravvtiz:"for the cursors, certain frames are hardcoded to each action, unfortunately tote (the action that carryalls use) and heal and maybe others all use the same one frame".
DeeZeL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-28-2004, 06:42 AM   #2 (permalink)
Senior Member
 
Join Date: Jul 2003
Location: Lithuania, Central Europe
Posts: 1,057
Send a message via MSN to DCoder
Default

Good list. And good to see ya back
However, I do have some comments:
#1 - Correct.
#2 and #5 - you can find extra important info about these on my site.
#3 - it is hardcoded into the EXE, but it can presumably be changed - see #7.
#4 - you're correct, but there's a workaround - Psycho's written a tutorial about this.
#6 - hmmm... Psycho's Technician tutorial?
#7 - Using a ResHacker type program allows you to reenable the third campaign button (Blade has more info), (presumably) modify the color list, and much much more.
#8 - You can use MigAttackCursor= and SabotageCursor= to get different cursors, but they have some hardcoding attached to them.
DCoder is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-28-2004, 06:51 AM   #3 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Egypt
Posts: 1,241
Send a message via ICQ to DeeZeL Send a message via MSN to DeeZeL
Default

As I said, this is a pretty old list, it was not updated.
DeeZeL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-28-2004, 07:50 AM   #4 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: England
Posts: 183
Send a message via MSN to Tratos
Default

ooh...im in the credits!

Im sure your updated list had a lot more but this is only the tip of the iceberg, there are a lot more hardcoded things in the game, many of them are very subtle.
Tratos is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-28-2004, 11:53 AM   #5 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Egypt
Posts: 1,241
Send a message via ICQ to DeeZeL Send a message via MSN to DeeZeL
Default

Thats why I said "Feel free to add anything to iy"
DeeZeL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-28-2004, 08:29 PM   #6 (permalink)
Senior Member
 
Join Date: Nov 2003
Posts: 109
Default

The "102 bug" will give IE ?
BaRaKa_ is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-29-2004, 05:17 AM   #7 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Egypt
Posts: 1,241
Send a message via ICQ to DeeZeL Send a message via MSN to DeeZeL
Default

Quote:
Originally Posted by BaRaKa_
The "102 bug" will give IE ?
Ummmm...no, that was just a misunderstanding I ade for the 102 bug, I fixed it now, thanks for pointing that out .
DeeZeL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-29-2004, 05:55 AM   #8 (permalink)
Member
 
Join Date: Sep 2001
Posts: 38
Default

For no.5 the 100+ bug, there's a way to work around that.
If you keep the civillian vehicles at the end of the list you'll be able to add extra units past the 100-mark.
Andre27 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-29-2004, 12:04 PM   #9 (permalink)
Senior Member
 
Join Date: Jan 2003
Location: Egypt
Posts: 1,241
Send a message via ICQ to DeeZeL Send a message via MSN to DeeZeL
Default

Well thats a useful piece of information, keep em coming.
DeeZeL is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 06-29-2004, 12:40 PM   #10 (permalink)
Senior Member
 
Join Date: Mar 2003
Location: The Netherlands
Posts: 1,494
Send a message via MSN to Daedalus Send a message via Yahoo to Daedalus
Default

Still its only 100 buildable units
Daedalus 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
Mission List DeeZire LOTR: Battle For Middle Earth I & II Editing 4 10-31-2004 10:26 AM
Mini Map Window - WND Problem or Hardcoded? UlthuanDefender Generals & Zero Hour Editing 15 06-03-2004 10:02 PM
Mod List, add your mod please Smartmlp Generals & Zero Hour Editing 57 06-01-2004 08:53 AM
v3 trailer hardcoded? & whats wrong with my voxel? doog Red Alert 2 & Yuri's Revenge Editing 5 08-24-2003 08:18 AM
Is this hardcoded??? DeeZeL Red Alert 2 & Yuri's Revenge Editing 13 07-05-2003 10:25 AM


All times are GMT -4. The time now is 04:53 AM.


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