Project Perfect Mod


Site Menu

News & Forums

Forum

Site News

All News

Submit News


Info & Services

About PPM

PPM FAQ

Project Hosting

Community Features

Privacy Policy

Report a Bug

Become Affiliates

Credits


PPM: Final Dawn


C&C Editing Tools


Game Expansion Projects

HyperPatch

Download HyperPatch 0.2

Forum


Extended Tiberian Sun

Site

Download ETS 3.40

Forum


TS Projects


RA2 Projects

D-Day

Site

ModDB Profile

Download Public Beta 3.6

Forums at PPM

Forums at Revora


Reign Of Steel

ModDB Profile

Download Reign Of Steel

Forum


Star Strike

Site

Download 0.6x TB2

Forum


Beowulf's Rules

Site And Download

ModDB Profile (RA2)

ModDB Profile (YR)

Forum


C&C Rewire

ModDB Profile

Download

Forum


CnC: Final War

Download Mod

Forum


EASB Hour

ModDB Profile

Download EASB Hour Alpha

Forum


Zombie Mod

Site

Download 0.2 Public Alpha


VenomRage

Forum


Cold War

Forum


Red Alert 1.5

About

Forum


Red Alert X

Forum


YR: The Generals

Forum


Echilon: The War for Terra Nova

Forum


Eternal Armageddon

Forum


Colony Wars

Download Public Beta 1

Forum


Tiberian Dawn: Renegade

Forum


Generals Projects

Invasion Confirmed

Site

Images

ModDB Profile

Download Mod

Forum


Frontline Chaos

ModDB Profile

Forum


Tiberium Wars Projects

Tiberium Essence

Images

ModDB Profile

Download Mod

Forum


Crossfire

ModDB Profile

Download Demo

Forum


Red Alert 3 Projects

The War Factory

ModDB Profile

Forum


Other Projects

C&C Meets Star Wars

Site


Wintermaul Wars X

Download 0.84X

Download 0.85X Beta

Forum


Tiberian Sun


Red Alert 2


Generals

Forums

Editing

Mapping

Tutorials


Map Archive

View All Maps

Submit A Map


Zero Hour Screenshots

USA Campaign

China Campaign

GLA Campaign: Part 1

GLA Campaign: Part 2

Miscelanous Info


Starting Guides

Newbie Guide in Modding

Working with .BIG Files


Graphics Tutorials

Adding new Cameos

Modelling Tutorial

Working with RenX

Finding Renegade Models


INI Editing Tutorials

Adding a New Unit

Adding Starting Units

Adding Playable Factions

Adding Buttons

Upgrades #1

Upgrades #2

Unlockable Units w/ Gen. Points

Nanocores and MCVs

Teleporting & Jumping Units

Editing the AI


Misc. Tutorials

Playing Custom Maps

Adding Ingame Text


Download

Zero Hour Ini Files


Tiberium Wars


Red Alert 3


Tiberian Twilight

News Tracker
Select a topic:  


Headlines


May 17, 2013 01:19 Banshee
Today's blockbuster: C&C Legos: Seas...
May 14, 2013 23:54 Banshee
PPM Hosted Mod News (covering early may)
May 14, 2013 17:43 Banshee
Reminder: Cartographer's Call Competitio...
May 14, 2013 17:36 Banshee
OpenRA Release 20130514 is ready!
May 14, 2013 16:12 Banshee
Reinforcements have arrived: more public...
May 14, 2013 15:42 Banshee
Chat about your favourite games at Proje...
May 13, 2013 06:26 Banshee
Interview, development diary, etc at the...
May 12, 2013 16:56 Banshee
Progress with Voxel Section Editor III

Featured Mod

Featured Content


List and explanation of hardcoded stuff.
August 28, 2003 - 21:33


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 Smile.


* 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 Smile.
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 Very Happy.

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 Smile.

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 Very Happy)

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".

Posted by DeeZeL
Comments (21)



Project Perfect Mod Webmasters: Banshee & Sk8erkid

© Since 2000 AD Project Perfect Mod Group. All rights reserved.

Powered by phpBB © phpBB Group

"Oibles!" is a random trademark from Project Perfect Mod and Kane.
"He who loves the game, mods the game. He who mods the game, lives the game" is also a random trademark from Project Perfect Mod.
Website design by Muldrake

Login

Welcome guest.

Username:

Password:

auto login

I forgot my password

Register


Current Events

Cartographer's Call III

Contest Rules


Support Us
Donate to keep PPM online!

eXTReMe Tracker


Search

 

Advanced Search


PPM Network

Main Sites

Project Perfect Mod

PPM Mobile Site

PPM Forums

PPM Web SVN

PPM BugTracker


Resource Sites

EVA-251 Modding

CnC Relived

Zomba Production

MadHQ GFX Dump

MadHQ's Map Shack

Dead Dragon Mods (Archive)


Hosted Mod Sites

EVA-251 Modding

Twisted Insurrection

C&C Meets Star Wars

Novus Ordo

Invasion Confirmed

The Dawn Of The Tiberium Age


Affiliates


Community Links


Official C&C Links


Community

CNC Top 101


   

Community Rotator


Hosted by

Revora Creative Network