[ New messages · Members · Forum rules · Search · RSS ]
  • Page 1 of 2
  • 1
  • 2
  • »
Forum moderator: Daddio, Cichor  
Forum » Cossacks I » Modding » Cossacks Unit´s
Cossacks Unit´s
TypckaDate: Friday, 25/September/2009, 1:02 PM | Message # 1
Noblemen
Group: Checked
Messages: 6
Awards: 0
Reputation: 0
Status: Offline
Hello all! I´m new here and have some questions.

I´ve unpacked the files from cossacks with the Utility. So now who can I find the units to change there abilities? I search them with the name, but there are no xxx.md files from that units? So have I extracted them false? I have extracted the patch01.gs ( i believe its called so).

Sorry for that question, but Im a newby in this coding:P Hope for some helpfully answers and sorry for my bad english.

MfG Typcka

 
EbelAngelDate: Friday, 25/September/2009, 1:11 PM | Message # 2
Site Administrator
Group: Administrators
Messages: 996
Awards: 7
Reputation: 12
Status: Offline
Hi Typcka,

First of all, you should unpack the ALL.GSC file, not the patch01.gs1 which is an empty file(only credits in there or smth).
All.gsc contains all the files.

Make sure to tick + extraction in gsc utility.

After it has extracted, go to Text+Mdlist.txt, there look up the name of the unit you want to change, and see which MD file name it has.
Then find that MD file. These file's hold all the specific strings for the units and buildings.

Make sure before you change anything, you copy the md file to a different folder and change the file there. Once all your changes are done, drop the changed copy in to the utility and then create a patch01.gs1 or patch01.gs1 or mods01.gs1.
Then copy the generated patch or mod into your data folder and run the game, if you made a mistake it will tell you.

Hope that helps

Don't hesitate asking questions if something is unclear.

Regards

[E-BEL]^_^Angel^_^


 
TypckaDate: Friday, 25/September/2009, 5:11 PM | Message # 3
Noblemen
Group: Checked
Messages: 6
Awards: 0
Reputation: 0
Status: Offline
Okey, now i have 5260 files. My problem is, i don´t find the correkt unit in the text+mdlist,...the names are allready there, but not which nation. Are there another list which is structed=?
 
EbelAngelDate: Friday, 25/September/2009, 5:47 PM | Message # 4
Site Administrator
Group: Administrators
Messages: 996
Awards: 7
Reputation: 12
Status: Offline
Quote (Typcka)
Okey, now i have 5260 files. My problem is, i don´t find the correkt unit in the text+mdlist,...the names are allready there, but not which nation. Are there another list which is structed=?

All the units are listed in the mdlist. But if you want a nation overview, you should go to the ~.NDS file's, these hold all the nation unit & buildings and specifics.

Regards

E.A.


 
TypckaDate: Friday, 25/September/2009, 6:09 PM | Message # 5
Noblemen
Group: Checked
Messages: 6
Awards: 0
Reputation: 0
Status: Offline
Allright, thank you.

I must change my changed files into patch01.gs1 or patch01.gs1 or mods01.gs1 right? Can´t i name than something like Hussar01.gs1? That i see what i have changed?

 
EbelAngelDate: Friday, 25/September/2009, 6:24 PM | Message # 6
Site Administrator
Group: Administrators
Messages: 996
Awards: 7
Reputation: 12
Status: Offline
Quote (Typcka)
I must change my changed files into patch01.gs1 or patch01.gs1 or mods01.gs1 right? Can´t i name than something like Hussar01.gs1? That i see what i have changed?

No, dmcr.exe (the engine) only recognize's : mods01.gs1, mods02.gs1, mods.gs1, patch01.gs1 & patch02.gs1

E.A.


 
TypckaDate: Saturday, 26/September/2009, 8:30 PM | Message # 7
Noblemen
Group: Checked
Messages: 6
Awards: 0
Reputation: 0
Status: Offline
nice

I´ve read your tutorial, but i have a problem. When i will place BGauz in the German (Prussia) Nation, it does not work.

The code:
[MEMBERS]
BGAUZ(GE) BGAUZ

[FIXED_PRODUCE]
BGAUZ(GE) 7 2

[ENABLED]
BGAUZ(GE)

[COUNTRY]
BGAUZ(GE)

he tels me: German.nds not enough parameters at line 131

What is the fault?

mfg Typcka

ps: Thank you for your special help!

Message edited by Typcka - Saturday, 26/September/2009, 9:08 PM
 
EbelAngelDate: Saturday, 26/September/2009, 10:06 PM | Message # 8
Site Administrator
Group: Administrators
Messages: 996
Awards: 7
Reputation: 12
Status: Offline
Well, "not enough parameters" is usually when you add something but forget to add +1 to the total in for example [FIXED PRODUCE]. If you are using wordpad, should use the option, 'show statusbar', then in the lower right you can actually see which line 131 is. Its not always the exact line, but around it that the error is.

In any case, perhaps post your nds file here in code tags so i can see for myself what's wrong.Probably something silly you forgot.

Regards

E.A.


 
TypckaDate: Sunday, 27/September/2009, 1:54 PM | Message # 9
Noblemen
Group: Checked
Messages: 6
Awards: 0
Reputation: 0
Status: Offline
Here is the code allright.

Code

//members    discription:
[MEMBERS]
Kreposnoi_pruss(GE)    Kreposnoi_pruss
Pikiner_evro(GE)    Pikiner_evro
Pik_evro_rus(GE)    Pik_evro_rus
Mushketer_ev(GE)    Mushketer_ev
Mushket er_PR(GE)    Mushketer_PR
Officer_evro(GE)    Officer_evro
Oficer_rusevr2(GE)    Oficer_rusevr2
Barabanshik_ev1(GE)    Barabanshik_ev1
Barabanshik(G  E)    Barabanshik
Grenader(GE)    Grenader
Konni_Ricar(GE)    Konni_Ricar
Dragun(GE)  Dragun
Dragun_18(GE)  Dragun_18
Gusar_NEW(GE)  Gusar_NEW
Kirasir(GE) Kirasir
Pushka(GE)  Pushka
Mortira(GE)  Mortira
Pushka_mnogostvolka(GE)    Pushka_mnogostvolka
Sveshenik_evro(GE) Sveshenik_evro
Europ(GE)  Europ
Dom_Prussia(GE)  Dom_Prussia
Melnica(GE)  Melnica
Sclad1(GE)  Sclad1
shahta(GE)  shahta
shahta_FE(GE)  shahta_FE
shahta_UG(GE)  shahta_UG
Kuznica(GE)  Kuznica_GE
Konushnia_Swesair(GE)  Konushnia_GE
Cercov_Poland(GE)  Cercov_GE
akademia_E(GE)  akademia_GE
Dip_korpus(GE)  Dip_korpus_GE
Kazarma_evro(GE)  Kazarma_1_GE
Kazarma(GE)  Kazarma_GE
artileri_depo(GE)  artileri_depo_GE
Rinok(GE) Rinok_N
WALL_UKR(GE)  WALL_UKR
WALL_EV(GE)  WALL_EV
Bashnia(GE)  Bashnia
FIELD(GE) FIELD
Rundashir_Avstria_DIP(GE) Rundashir_Avstria_DIP
Grenader_DIP(GE)  Grenader_DIP
Pehota_turki_DIP(GE) Pehota_turki_DIP
Strelec_Algir_DIP(GE) Strelec_Algir_DIP
Kozak_loshad_DIP(GE) Kozak_loshad_DIP
Dragun_18_DIP(GE) Dragun_18_DIP
PorE(GE) PorE
Lodka(GE) Lodka
Yahta(GE) Yahta
Linkor(GE) Linkor
PERES_KOR(GE) PERES_KOR
Fregat(GE) Fregat
GALERA(GE) GALERA
Mortira_b(GE) Mortira_b
//Konni_Ricar2(GE)    Konni_Ricar2
Victoria(GE) Victoria
FregatNEW(GE) FregatNEW
KECH(GE) KECH
KUTTER(GE) KUTTER
BGAUZ(GE) BGAUZ
BGAUZ2(GE) BGAUZ2

[FIXED_PRODUCE]
Kreposnoi_pruss(GE) 18
Europ(GE) 2 2 H
Dom_Prussia(GE) 0 0 E
Melnica(GE) 1 0 N
Sclad1(GE) 2 0 S
shahta(GE) 3 0 I
Kuznica(GE) 2 1 L
Konushnia_Swesair(GE) 3 1 U
Cercov_Poland(GE) 4 0 C
akademia_E(GE)    5 1 A
Dip_korpus(GE)    0 2 D
Kazarma_evro(GE) 1 1 B
Kazarma(GE)    1 2 K
artileri_depo(GE) 4 1 F
WALL_UKR(GE)    3 2 W
WALL_EV(GE)    4 2 O
Bashnia(GE)    5 2 T
Rinok(GE)    0 1 M
PorE(GE) 5 0 P
Europ(GE) 1
Kreposnoi_pruss(GE) 0 0 P
Konushnia_Swesair(GE) 5
Konni_Ricar(GE) 0 0 R
Dragun(GE) 2 0 T
Dragun_18(GE) 5 0 D
Gusar_NEW(GE) 4 0 G
Kirasir(GE) 3 0 K
Cercov_Poland(GE) 1
Sveshenik_evro(GE) 0 0 S
Melnica(GE) 1
FIELD(GE) 0 0 F
Cercov_Poland(GE) 1
Sveshenik_evro(GE) 0 0 S
Kazarma_evro(GE) 4
Pikiner_evro(GE) 0 0 P
Mushketer_ev(GE) 2 0 M
Officer_evro(GE) 5 0 O
Barabanshik_ev1(GE) 4 0 B
Kazarma(GE) 5
Pik_evro_rus(GE) 0 0 P
Mushketer_PR(GE)  2 0 M
Grenader(GE)    3 0 G
Barabanshik(GE)  4 0 B
Oficer_rusevr2(GE)    5 0 O
artileri_depo(GE) 4
Pushka(GE) 0 0 P
Mortira(GE) 2 0 M
Mortira_b(GE) 3 0 B
Pushka_mnogostvolka(GE) 4 0 E
Dip_korpus(GE) 6
Rundashir_Avstria_DIP(GE) 0 0 K
Pehota_turki_DIP(GE) 1 0 T
Strelec_Algir_DIP(GE) 2 0 L
Grenader_DIP(GE) 3 0 G
Kozak_loshad_DIP(GE) 4 0 K
Dragun_18_DIP(GE) 5 0 D
PorE(GE) 10
Lodka(GE) 0 0 B
Linkor(GE) 6 0 L
PERES_KOR(GE) 2 0 P
Yahta(GE) 1 0 Y
Fregat(GE) 5 0 F
GALERA(GE) 4 0 G
Victoria(GE) 6 2 V
FregatNEW(GE) 5 2 R
KECH(GE) 4 2 K
KUTTER(GE) 1 2 U
BGAUZ(GE) 7 2 --> here must be the fault ...131

[ENABLED]
Europ(GE)
Kreposnoi_pruss(GE)
Pikiner_evro(GE)
Mushketer_ev(GE)
Officer_evro(GE)
Barabanshik_ev1(GE)
Pik_evro_rus(GE)
Mushketer_PR( GE)
Grenader(GE)
Barabanshik(GE)
Oficer_rusevr2(GE)
Konni_Ricar(GE)
Dragun(GE)
Sveshenik_evro(GE)
Dom_Prussia(GE)
Melnica(GE)
Sclad 1(GE)
shahta(GE)
shahta_FE(GE)
s hahta_UG(GE)
Kuznica(GE)
Cercov_Poland(GE)
akademia_E(GE)
Dip_korpus(GE)
Kazarma_evro(GE)
WALL_UKR(GE)
WALL_EV(GE)
Bashnia(GE)
FIEL D(GE)
Pushka(GE)
Mortira(GE)
Mortira_b(GE)
Rundashi r_Avstria_DIP(GE)
Grenader_DIP(GE)
Pehota_turki_DIP(GE)
Strelec_Algir_DIP(GE)
Kozak_loshad_DIP(GE)
Dragun_18_DIP(GE)
PorE(GE)
Yahta(G E)
Lodka(GE)
GALERA(GE)
PERES_KOR(GE)
BGAUZ(GE)

Thank you, mfg Typcka

Message edited by Typcka - Sunday, 27/September/2009, 2:00 PM
 
EbelAngelDate: Sunday, 27/September/2009, 2:04 PM | Message # 10
Site Administrator
Group: Administrators
Messages: 996
Awards: 7
Reputation: 12
Status: Offline
Yes indeed.

Perhaps you didnt fully understand how the [FIXED_PRODUCE] Section works after reading the NDS information

What you have done now, is adding the blockhouse to the shipyard (PorE)

It reads as following:

PorE(GE) 10 //This is the shipyard and it states that 10 units can be produced from this building. The units are specified directly below it as following:
Lodka(GE) 0 0 B / this is the fishboat and its position 0 0 in the shipyard menu
Linkor(GE) 6 0 L / ....
PERES_KOR(GE) 2 0 P
Yahta(GE) 1 0 Y
Fregat(GE) 5 0 F
GALERA(GE) 4 0 G
Victoria(GE) 6 2 V
FregatNEW(GE) 5 2 R
KECH(GE) 4 2 K
KUTTER(GE) 1 2 U

Now you have added the blockhouse to the shipyard, which ofcourse doesnt make sense. Even if you want to add it to the shipyard, you would have to update the shipyard entry from 10 to 11 units.
But i presume you want the blockhouse to appear in the peasants menu, right?
So proceed as following:
Cut and copy your Bgauz from the shipyard to the peasant (Kresposnoi_pruss) and update the total.

So should look like this:

Kreposnoi_pruss(GE) 20
Europ(GE) 2 2 H
Dom_Prussia(GE) 0 0 E
Melnica(GE) 1 0 N
Sclad1(GE) 2 0 S
shahta(GE) 3 0 I
Kuznica(GE) 2 1 L
Konushnia_Swesair(GE) 3 1 U
Cercov_Poland(GE) 4 0 C
akademia_E(GE) 5 1 A
Dip_korpus(GE) 0 2 D
Kazarma_evro(GE) 1 1 B
Kazarma(GE) 1 2 K
artileri_depo(GE) 4 1 F
WALL_UKR(GE) 3 2 W
WALL_EV(GE) 4 2 O
Bashnia(GE) 5 2 T
Rinok(GE) 0 1 M
PorE(GE) 5 0 P
BGAUZ(GE) 7 0 B
BGAUZ2(GE) 7 1 B

I hope this makes sense to you, because its far better that you understand it , rather then copy and paste what i just wrote here.

Best regards


 
Forum » Cossacks I » Modding » Cossacks Unit´s
  • Page 1 of 2
  • 1
  • 2
  • »
Search: