Jump to content
Sign in to follow this  
modderintraining

i want to learn

Recommended Posts

Get all the original "ini" files from yuri's revenge / red alert 2, and put them in your game directory (Mostly C:\Westwood\RA2)

Open them with notepad or any other textedting software.

In the beginning you will propably start with editing the Rules(md).ini because here are all your basic stats for your units (damage, speed, movement etc)

The art(md).ini is necessary to give your game an idea what the name is for your "new" units and what icon/cameo they will get.

 

In short this is only the basic part of editing, this is what i just learned, and here on CNCNZ there are enough guides to start with.

 

Search at google for "adding new units to RA2" or something you will get quite enough results to start with.

Maybe a hint, backup the original ini files, in case if you screw up the ones you edit :D

 

XCC is a tool you probably gonna need enough so i would download them if i was you ;)

 

regards,

 

Robin

Share this post


Link to post

No. They're not necessary when you're starting out but they're just good visuals. Though, I disagree with RST's post in one area. Don't edit the INI files from the directory. Have a backup elsewhere and just overlay each new INI set with updated ones. IE; have a set in My Documents called like \RA2 Stuff\Mod #1\. That way if your files go tits up in the directory, you're not totally screwed. I learned that the hard way. Twice.

Share this post


Link to post
No. They're not necessary when you're starting out but they're just good visuals. Though, I disagree with RST's post in one area. Don't edit the INI files from the directory. Have a backup elsewhere and just overlay each new INI set with updated ones. IE; have a set in My Documents called like \RA2 Stuff\Mod #1\. That way if your files go tits up in the directory, you're not totally screwed. I learned that the hard way. Twice.

 

yea downloaded the ini files and mod them so i dont screw the game up permanatly i read it in a form the other day

can you take a look at this and tell me if it will work and wut file to put it in

 

; Hydrogen Power Plant
[HydrogenPowerPlant]
UIName=Name:GAYARD
Name=Allied Hydrogen Power Plant
BuildCat=Tech
Prerequisite=PROC,POWER,GACNST
Strength=1500
Armor=concrete
Naval=yes;GS
WaterBound=yes;should help AI, new with water zone
TechLevel=4
Adjacent=12
Sight=10
Owner=British,French,Germans,Americans,Alliance,Russians,Confederation,Africans,
Arabs,YuriCountry
AIBasePlanningSide=0;gs 0 for Good, 1 for Evil
Cost=1000
Points=55
Power=2000
Crewed=no
Explodes=yes
Capturable=no
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
DebrisAnims=DBRIS1LG,DBRIS1SM,DBRIS2LG,DBRIS4LG,DBRIS4SM,DBRIS5LG,DBRIS5SM,DBRIS
6LG,DBRIS6SM,DBRIS7LG
MaxDebris=12
MinDebris=6
ThreatPosed=0; This value MUST be 0 for all building addons
;DamageParticleSystems=SparkSys,LGSparkSys
DamageSmokeOffset=700,700,500
AIBuildThis=yes
UnitRepair=yes
AmbientSound=_Amb_WavesLake
Powered=no
IsImmuneToRadiation=yes
Explodes=yes
DeathWeapon=NukePayload; NUKE
DeathWeaponDamageModifier=0.5
Spyable=yes
ImmuneToPsionics=no; defaults to yes for buildings, no for others
Drainable=yes
PoweredSpecial=yes

i cant figure out the xcc so im using rulesmd.ini

Share this post


Link to post

It wouldn't work. It would crash when you tried to place it since there's no corresponding art entry. The art is extremely important and can cause a lot of crashes and frustration. And you'd have the same string as the Allied Shipyard but that's not a huge deal.

 

For starters, I would definitely use the same naming conventions as Westwood. Their identifiers are ALL in caps and not camel cased. That's reserved for weapons and superweapons. Anyway, I wouldn't call it [HydrogenPowerPlant]; I'd go with [GAHYDRO] or something similar. Then add Image=GAYARD under [GAHYDRO].

Share this post


Link to post
It wouldn't work. It would crash when you tried to place it since there's no corresponding art entry. The art is extremely important and can cause a lot of crashes and frustration. And you'd have the same string as the Allied Shipyard but that's not a huge deal.

 

For starters, I would definitely use the same naming conventions as Westwood. Their identifiers are ALL in caps and not camel cased. That's reserved for weapons and superweapons. Anyway, I wouldn't call it [HydrogenPowerPlant]; I'd go with [GAHYDRO] or something similar. Then add Image=GAYARD under [GAHYDRO].

 

will that make it work

and do i save the changes to the rulesmd.ini file and place it in the ra2 directery

and what is camel cased???? :huh: never mind the camel i figured out what you ment :idea:

and can i change the UINAME:GAYARD to UINAME:GAHYDRO

Edited by modderintraining

Share this post


Link to post
It wouldn't work. It would crash when you tried to place it since there's no corresponding art entry. The art is extremely important and can cause a lot of crashes and frustration. And you'd have the same string as the Allied Shipyard but that's not a huge deal.

 

For starters, I would definitely use the same naming conventions as Westwood. Their identifiers are ALL in caps and not camel cased. That's reserved for weapons and superweapons. Anyway, I wouldn't call it [HydrogenPowerPlant]; I'd go with [GAHYDRO] or something similar. Then add Image=GAYARD under [GAHYDRO].

ok i changed the name and add image=gayard and placed the new rulesmd into the directory and the game dont crash but it doesnt have the hydro plant in the build menu. what do i do

Share this post


Link to post

Right, that's easy to fix too. Add it to the [buildingTypes] list. However, this will break the YR campaigns.

Share this post


Link to post
Right, that's easy to fix too. Add it to the [buildingTypes] list. However, this will break the YR campaigns.

i did but it still doesnt come up in the skrimage build menu

Share this post


Link to post

Strange. Only 2 things keep things out of the build menu - tech level and not being in the internal array. However, if you used the wrong identifier in the [buildingTypes] list, it won't appear. Are you absolutely sure it's there?

Share this post


Link to post
Strange. Only 2 things keep things out of the build menu - tech level and not being in the internal array. However, if you used the wrong identifier in the [buildingTypes] list, it won't appear. Are you absolutely sure it's there?

yea im possitive its there its in rulesmd.ini right above the allied construction yard

Share this post


Link to post
i did but it still doesnt come up in the skrimage build menu

What number did you give it in [buildingTypes]?

And if you changed [HydrogenPowerPlant] into [GAHYDRO] (or something else), did you make sure the [buildingTypes] name is the same?

Share this post


Link to post
What number did you give it in [buildingTypes]?

And if you changed [HydrogenPowerPlant] into [GAHYDRO] (or something else), did you make sure the [buildingTypes] name is the same?

BT name and number what

Share this post


Link to post

This;

[BuildingTypes]
0=GAPOWR
1=GAREFN
2=GACNST
3=GAPILE
4=GASAND
5=GADEPT
6=GATECH
7=GAWEAP
8=CALAB
9=NAPOWR
10=NATECH
11=NAHAND
12=GAWALL
13=NARADR
14=NAWEAP
15=NAREFN
16=NAWALL
17=CAHSE07
18=NAPSIS
19=CASYDN01
20=NALASR
21=NASAM
22=CASYDN02
23=GAYARD
24=NAIRON
25=NACNST
26=NADEPT
27=GACSPH
28=GADUMY
29=GAWEAT
30=CABHUT
31=GALITE
32=REDLAMP
33=GRENLAMP
34=BLUELAMP
35=YELWLAMP
36=PURPLAMP
37=INORANLAMP
38=INGRNLMP
39=INREDLMP
40=INBLULMP
41=CITY01
42=CITY02
43=CITY03
44=CITY04
45=CITY05
46=CITY06
47=CAHOSP
48=INGALITE
49=INYELWLAMP
50=INPURPLAMP
51=NEGLAMP
52=NEGRED
53=TESLA
54=NAMISL
55=ATESLA
56=CAMACH
57=TSTLAMP
58=CASYDN03
59=AMMOCRAT
60=GAGREEN
61=NAYARD
62=GASPYSAT
63=GAGAP
64=GTGCAN
65=NANRCT
66=GAPILL
67=NAFLAK
68=CAOUTP
69=CATHOSP
70=CAAIRP
71=CAOILD
72=NACLON
73=GAOREP
74=CACITY01
75=CACITY02
76=CACITY03
77=CACITY04
78=CANEWY01
79=CANEWY04
80=CANEWY05
81=CASWST01
82=CATECH01
83=CATEXS01
84=CATEXS02
85=CAWASH01
86=CAFARM01
87=CAFARM02
88=CALIT01E
89=CALIT01N
90=CALIT01S
91=CALIT01W
92=CAMISC01
93=CAMISC02
94=CAMISC03
95=CAMISC04
96=CAPOL01E
97=CAPOL01N
98=CAPOL01S
99=CAPOL01W
100=CASIN01E
101=CASIN01N
102=CASIN01S
103=CASIN01W
104=CAPARS01
105=GAAIRC
106=CAFRMA
107=CAFRMB
108=CAWASH05
109=CAWASH04
110=CAWASH03
111=CAWASH07
112=CAWASH11
113=CAWSH12
114=CAWASH14
115=CAWASH09
116=CAWASH10
117=CAWASH13
118=CAARMY01
119=CAUSFGL
120=CAWASH08
121=CALIT03E
122=CALIT03N
123=CALIT03S
124=CALIT03W
125=CALIT02L
126=CALIT02R
127=CAHSE01
128=CAWT01
129=CATS01
130=CABARN02
131=CAWA2A
132=CAWA2B
133=CAWA2C
134=CAWA2D
135=AMRADR
136=CAPRS03
137=CAGARD01
138=CARUS01
139=CAMIAM01
140=CATRAN01
141=CAMIAM02
142=CANWY05
143=MAYAN
144=CAEUR1
145=CAEUR2
146=CAEUR04
147=CAMEX01
148=CARUS02A
149=CARUS02B
150=CARUS02C
151=CARUS02D
152=CARUS02E
153=CARUS02F
154=CANEWY06
155=CANEWY07
156=CANEWY08
157=CAPARS02
158=CAPARS08
159=CAPARS09
160=CARUS03
161=CANEWY10
162=CANEWY11
163=CANEWY12
164=CANEWY13
165=CANEWY14
166=CANEWY15
167=CANEWY16
168=CANEWY17
169=CANEWY18
170=CAPARS04
171=CAPARS05
172=CAPARS06
173=CAPARS07
174=CAWASH15
175=CAPARS10
176=CAPARS13
177=CAPARS14
178=CAGAS01
179=CAPARS11
180=CAPARS12
181=CAFARM06
182=CAMIAM04
183=NAPSYB
184=NAPSYA
185=CAIND01
186=CACOLO01
187=CANWY09
188=CANWY22
189=CANWY23
190=CANWY24
191=CANWY25
192=CANWY26
193=CATEXS03
194=CATEXS04
195=CATEXS05
196=CARUS02G
197=CACHIG04
198=CAMIAM03
199=CARUS07
200=CATEXS06
201=CATEXS07
202=CATEXS08
203=CACHIG01
204=CACHIG02
205=CACHIG03
206=CAWASH16
207=CAWASH17
208=CACHIG05
209=CAWASH19
210=CARUS08
211=CARUS09
212=CARUS10
213=CARUS11
214=CANEWY20
215=CANEWY21
216=CARUS04
217=CARUS05
218=CARUS06
219=CAMSC01
220=CAMSC02
221=CAMSC03
222=CAMSC04
223=CAMSC05
224=CAMSC06
225=CAMSC07
226=CAWASH18
227=CAEURO05
228=CAPARK01
229=CAPARK02
230=CAPARK03
231=CAHSE02
232=CAHSE03
233=CAHSE04
234=CASTRT01
235=CASTRT02
236=CASTL01
237=CASTL02
238=CASTL03
239=CASTL04
240=CAHSE05
241=CAHSE06
242=CAMIAM05
243=CAMIAM06
244=CAMIAM07
245=CAFNCB
246=CAFNCW
247=CAMEX02
248=CAMEX03
249=CAMEX04
250=CAMEX05
251=CACHIG06
252=CAMSC08
253=CAMSC09
254=CAARMY02
255=CAARMY03
256=CAARMY04
257=TEMMORLAMP
258=TEMDAYLAMP
259=TEMDUSLAMP
260=TEMNITLAMP
261=SNOMORLAMP
262=SNODAYLAMP
263=SNODUSLAMP
264=SNONITLAMP
265=CAKRMW
266=CARUFGL
267=CAFRFGL
268=CATRAN02
269=CACUFGL
270=CASKFGL
271=CALBFGL
272=CAMIAM08
273=CAMISC05
274=CAMISC06
275=CASTL05A
276=CASTL05B
277=CASTL05C
278=CASTL05D
279=CASTL05E
280=CASTL05F
281=CASTL05G
282=CASTL05H
283=CAMSC10
284=CAGEFGL
285=CAUKFGL
286=CAWASH06
287=CAMSC11
288=CAMSC12
289=CAMSC13
290=CAPOFGL
291=CAMSC12A
292=CAMOV01
293=CAMOV02
294=CABUNK01
295=CABUNK02
296=CAFNCP
297=CASTRT03
298=CASTRT04
299=CASTRT05
300=YACNST
301=YAPOWR
302=YABRCK
303=YAWEAP
304=YAYARD
305=YADEPT
306=YATECH
307=GAFWLL
308=YAGGUN
309=YAPSYT
310=NAINDP
311=YAGRND
312=YAGNTC
313=CASLAB
314=CATIME
315=YAPPET
316=CALOND04
317=CALOND05
318=CALOND06
319=CAMOON01
320=CATRAN03
321=CAEAST01
322=CAEGYP01
323=CAEGYP02
324=CAEGYP03
325=CALA01
326=CALA02
327=CALA03
328=CALA04
329=CALA05
330=CALOND01
331=CALOND02
332=CALOND03
333=CAMORR01
334=CAMORR02
335=CAMORR03
336=CASANF01
337=CASANF02
338=CASANF03
339=CASANF04
340=CASANF05
341=CASEAT01
342=NATBNK
343=GAGATE_A 
344=CASANF09
345=CASANF10
346=CASANF11
347=CASANF12
348=CASANF13
349=CASANF14
350=CASANF06
351=CASANF07
352=CASANF08
353=CASEAT02
354=YACOMD
355=YAPPPT
356=GAROBO
357=YAREFN
358=YAROCK
359=NABNKR
360=CASANF15
361=CASANF16
362=CASANF17
363=CASANF18
364=CASIN03E
365=CASIN03S
366=CAURB01
367=CAURB02
368=CAURB03
369=CAPOWR
370=CALA07
371=CAEGYP06
372=CALA08
373=CAEAST02
374=CABARR01
375=CABARR02
376=CAMORR04
377=CAMORR05
378=CALA09
379=CAEGYP04
380=CAEGYP05
381=CALA06
382=CAMORR06
383=CAMORR07
384=CAMORR08
385=CAMORR09
386=CAMORR10
387=CATIME01
388=CATIME02
389=CALA10
390=CALA11
391=CALA12
392=CALA13
393=CAPARK04
394=CAPARK05
395=CAPARK06
396=CALA14
397=CALA15
398=CABUNK03
399=CABUNK04
400=CALUNR01
401=CALUNR02
402=CAPOWR01
403=CAPOWR02
404=CAPOWR03
405=CAPOWR04
406=CAPOWR05
407=CAPOWR06
408=CAPOWR07
409=CAPOWR08
410=CAPOWRAA
411=CAPOWRAB
412=CAPOWRAC
413=CAPOWRAD
414=CAPOWRTA
415=CAPOWRTB
416=CAPOWRTC
417=CAPOWRTD
418=CAPOWRTE
419=CAPOWRTF
420=CARUS08A
421=CARUS09A
422=CARUS10A
423=CARUS11A
424=GAPOWRA
425=GAPOWRB
426=GAPOWRC
427=GAPOWRD
428=GAPOWRE
429=GAPOWRF
430=NAAFLD
431=GAAFLD
432=GAWEAP2
433=GAWEAP3
434=GAPILE2
435=NAWEAP2
436=NAWEAP3
437=NAHAND2
438=NAAFLD2
439=NAAFLD3
440=GAYARD2
441=GAYARD3
442=NAYARD2
443=NAYARD3
444=GAAFLD2
445=NAFIST
446=GARADR
447=GATURR
448=GASATR
449=GAGAP2
450=GABUNK
451=NACOIL
452=NASNTR
453=NABUNK
454=NAKEEP
455=ALCOMM
456=STCOMM
457=INCOMM
458=LSCOMM
459=ARCOMM
460=AFCOMM
461=SVCOMM
462=TSCOMM
463=DMCOMM
464=NKCOMM
465=TKCOMM
466=TXCOMM
467=GAGAT2_A
468=GAGAT2_B
469=NAGAT2_A
470=NAGAT2_B
471=NACRTN
472=NAMSSL
473=ADVRCT
474=CAREFN
475=CAWEAP
476=CABRCK
477=CATECH

 

Yours will end at 401 but if your building is not on that list, it won't appear. Don't mind the 70 or so extras, those are mine. :P

Share this post


Link to post
Don't mind the 70 or so extras, those are mine. :P

Could of left them out, keeping your post length down to about the size of an average Mina post.

 

were do i put the 401

Like this:

398=CABUNK03

399=CABUNK04

400=CALUNR01

401=CALUNR02

402=GAHYDRO <- This one is yours (if you didn't call it GAHYDRO, use the name you did call it)

Share this post


Link to post
Could of left them out, keeping your post length down to about the size of an average Mina post.

 

 

Like this:

398=CABUNK03

399=CABUNK04

400=CALUNR01

401=CALUNR02

402=GAHYDRO <- This one is yours (if you didn't call it GAHYDRO, use the name you did call it)

does that go in the rules ini file

Share this post


Link to post

Your caps lock seems to be stuck, you should be more careful to avoid spilling sticky drinks on your keyboard.

 

In the string table, you need something like 'Name:GAHYDRO' with its value being 'Hydrogen Power Plant'

In your ini code you would then need 'UIName=Name:GAHYDRO'

Share this post


Link to post
Your caps lock seems to be stuck, you should be more careful to avoid spilling sticky drinks on your keyboard.

 

In the string table, you need something like 'Name:GAHYDRO' with its value being 'Hydrogen Power Plant'

In your ini code you would then need 'UIName=Name:GAHYDRO'

were is the strings table

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×