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??? *beep!* 'Internal error' message...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 RA2:DeeZire 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".
Anyway, you should add that dogfighting is impossible. You have no idea how hard I worked to get stupid aircraft to fire on aircraft, but to no avail. QUICK_EDIT
well u can make an tank with an aircraft voxel and a jumjet logic..but i guess u knew that anyways _________________ "Sometimes the mind needs to find somethings on its own" -Dr. Xavier
By 'color change menu' do u mean the possible colors u can start as?(country color election) cuz those can be changed i did it myself. _________________ Bang! QUICK_EDIT
well u can make an tank with an aircraft voxel and a jumjet logic..but i guess u knew that anyways
Yeah, that's one of the only work arounds. Problem is it isn't a pad aircaft, so it doesn't return to reload automatically. So you can't make a true dogfighter is what I meant.
And as for the colors, you can't change what it shows on the color selection menu, but you can change what colors are ingame. Kinda stupid IMO, because you click pink for your color and you end up black. QUICK_EDIT
And as for the colors, you can't change what it shows on the color selection menu, but you can change what colors are ingame. Kinda stupid IMO, because you click pink for your color and you end up black.
yeah i know that.
Sk8erkid wrote:
the isnt an image for that menu hidden in any of the mixs that you could change?
no. _________________ "Sometimes the mind needs to find somethings on its own" -Dr. Xavier
I working many times with this problem ... (One year)
I am dissasemble 10% of gamemd.exe and I can add more sides
(In my mod (CDA forces - not publish, yet) is 11 sides )
I continue working and ... QUICK_EDIT
Btw, http://rtb.strategy-x.com - an existing patch that gives us 89 new countries and various other stuff, you might want to get in touch with the author. QUICK_EDIT
Thats odd. You can't add any countries to Red Alert 2, but you can in Tiberian Sun. I guess I'll just alter Iraq instead. Thanks DeeZeL, you've just saved many from years of stupidity. QUICK_EDIT
In Red Alert 2 it is possible to add too
dissasemble RA2 within 1 year and I can add the countries
Thanks Westwood Studios for good engine
Nobody knows e-mail developers from Westwood Studios QUICK_EDIT
wouldn't disassembling the exe fall under illegal? it's coll and all, but if the commnuity get suinvolved, EA will have all of our asses. _________________
Also Known As: banshee_revora (Steam) Joined: 15 Aug 2002 Location: Brazil
Posted: Fri May 12, 2006 2:20 pm Post subject:
Yes, it's against the EULA.
But, considering that Rock Patch didn't made cracking the game easier (next version will do, to be compatible with TFD, where Barking Lizards cut the CD protection) and EA is aware of it and they don't care, there is no problem with it. QUICK_EDIT
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