Page 1 of 2

Changing units name problem

Posted: Tue Nov 22, 2011 9:17 am
by Webster27
Well it´s me (again) :oops: ,i´ve got 2 questions and a pic.
The Pic, look at the red, it´s the important bit:
Image

1. How do i change the name, so it doesn´t say entity... .
2. How do i change the order, of the units you can select ?

Re: Changing units name problem

Posted: Tue Nov 22, 2011 9:28 am
by DarthD.U.C.K.
1st: you can find a tutorial in the everythingyouneedthread under localisation
2nd: the order of the units ingame depends on the order of them in the teamsetup in the lua.

Re: Changing units name problem

Posted: Tue Nov 22, 2011 9:36 am
by Webster27
To number 1, I looked at it and I used that tutorialo do it, but it still shows entity,Rsf;... .
I´ll have a look at my lua for number two, thx.

Re: Changing units name problem

Posted: Tue Nov 22, 2011 1:08 pm
by Noobasaurus
Webster27 wrote:To number 1, I looked at it and I used that tutorialo do it, but it still shows entity,Rsf;... .
Well you go Entity, RSF, Rifleman - then in the box you enter the name.

Re: Changing units name problem

Posted: Tue Nov 22, 2011 1:19 pm
by Webster27
well I did that.. :cpu:

Re: Changing units name problem

Posted: Tue Nov 22, 2011 1:55 pm
by kinetosimpetus
What language does your game use? What languages did you edit?

Re: Changing units name problem

Posted: Tue Nov 22, 2011 2:33 pm
by Webster27
I don´t think it has got to do with the language...or has it :runaway: :faint:
Edit here is the setup:
Hidden/Spoiler:
Image

Re: Changing units name problem

Posted: Tue Nov 22, 2011 2:37 pm
by kinetosimpetus
If your game uses UK English, changes to only English won't show up.

Re: Changing units name problem

Posted: Tue Nov 22, 2011 2:41 pm
by Webster27
well my game is in german, well I bought it in germany, so do i need to put that line to"German" ??Or what? :runaway:

Re: Changing units name problem

Posted: Tue Nov 22, 2011 4:49 pm
by Dakota
Webster27 wrote:well my game is in german, well I bought it in germany, so do i need to put that line to"German" ??Or what? :runaway:
Yes.

Re: Changing units name problem

Posted: Tue Nov 22, 2011 5:58 pm
by AceMastermind
The ODF names of your units make up the scope and key combinations.
According to your image you have a unit ODF named: RSF_RSF_rifleman
The game is looking for this ODF but it doesn't exist, your ODF is probably just RSF_rifleman?

Your localization tree should look like this:
entity
  • RSF (scope)
    • Arc_Trooper (key)
      Commander (key)
      Engineer (key)
      Jettrooper (key)
      Recon_Trooper (key)
      rifleman (key)
      Rocketeer (key)
      Sniper_Scout (key)
      Support_Trooper (key)
Also create a new key under the existing rep scope and name it this:
  • inf_commander_fox
Then click on each key and set your ingame unit names then save and munge.

Re: Changing units name problem

Posted: Wed Nov 23, 2011 10:51 am
by Webster27
Thx Ace :thumbs: , I´ll try that ,but it may only be tomorrow, and I´ll post the outcome of it.
Edit: I munged it with th Localization box checked and all , but now it just says no names at all. :?
and another 2 questions, 1.how do you do it that when a player or AI fall down a Gorge ,they die ? Do you use Deathregions ??
2.One Unit as a weapons bug that when you change your first wapon youcan´t change it back, does anyone know how to fix it ?
Sry for all the questions, :oops: after those i wont bother you anymore...

Re: Changing units name problem

Posted: Wed Nov 23, 2011 11:48 am
by DarthXeon
yay im glad that you got the units to work

Re: Changing units name problem

Posted: Wed Nov 23, 2011 12:03 pm
by DarthD.U.C.K.
yay! im so glad for you toooooooooooooooooooooooooooooooooooooo!

now to the portion that isnt pointless:
Webster27 wrote:1.how do you do it that when a player or AI fall down a Gorge ,they die ? Do you use Deathregions ??
yes (but you have to list deathregions in the lua),so its quicker to use damage regions with really high damage.
Webster27 wrote:2.One Unit as a weapons bug that when you change your first wapon youcan´t change it back, does anyone know how to fix it ?
that is the award weapon bug, you can find a fix e.g. in this topic

by the way, in english you usually only use one punctuationmark at the end of a sentence (e.g. ?,!..) just like in german

@DarthXeon: did you even read his post? he hasnt gotten the localisazion to work yet.

Re: Changing units name problem

Posted: Wed Nov 23, 2011 12:09 pm
by Webster27
DarthD.U.C.K. wrote: yes (but you have to list deathregions in the lua),so its quicker to use damage regions with really high damage.

by the way, in english you usually only use one punctuationmark at the end of a sentence (e.g. ?,!..) just like in german

@DarthXeon: did you even read his post? he hasnt gotten the localisazion to work yet.
How do i do Deathregions, is there maybe a tutorial ?
With the english, I knew that (I´m half scottish) I just wanted to do it like dot dot dot :D
Edit: would te award weapon fix, fix it even if it´s not an award weapon?

Re: Changing units name problem

Posted: Wed Nov 23, 2011 12:22 pm
by DarthD.U.C.K.
yes, i meant the question marks
anyway, you can find many explanations using the searchfunction and entering "damage region", like this one

Re: Changing units name problem

Posted: Wed Nov 23, 2011 2:53 pm
by Webster27
has anybody else have a idea with the localization ? :cry:

Re: Changing units name problem

Posted: Wed Nov 23, 2011 8:27 pm
by Tears2Roses
Forgive me if I am wrong ace, but I believe it is the units REQ that localization searches for. Anyhow, when making custom units I make the REQ's the same as the ODF's to avoid confusion.

Anyhow, the FAQ really works, I would suggest looking at that.

But I will post what I know of localization anyways. So, here we go.

in data_ABC\sides you have a folder called RSF. Now, change the units ODF, and req's to RSF_inf_rifleman for example. Change the LUA too! Im not sure if having the inf_ part does anything, but thats how everything is setup.
Now, in the localization tool, right click on entity and click add scope. Call it RSF. Now, right click on the new scope called RSF and click add key. Now, call the key inf_rifleman. Click on the key and type in the unit name. Do that in ALL languages. Munge with common AND localize checked under visual munge.

Hopefully that fixes your localization problem, if not I will get pictures.

Now, to change the order of the units, you do that under the setup teams section in your LUA.
Hidden/Spoiler:
SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rep_inf_ep3_rifleman",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
The Soldier unit is the first one, assult is second, engineer third, etc. So, if you wanted rsf_inf_coolguy101 to be the first unit to show up when you play ingame, you would do this:
Hidden/Spoiler:
SetupTeams{
rep = {
team = REP,
units = 20,
reinforcements = 150,
soldier = { "rsf_inf_coolguy101",9, 25},
assault = { "rep_inf_ep3_rocketeer",1, 4},
engineer = { "rep_inf_ep3_engineer",1, 4},
sniper = { "rep_inf_ep3_sniper",1, 4},
This IS what everyone else has said, reading carefully never hurts. Hopefully that fixes both problems. We will be happy to explain further if you need us too :)

Re: Changing units name problem

Posted: Wed Nov 23, 2011 11:33 pm
by AceMastermind
Tears2Roses wrote:...I believe it is the units REQ that localization searches for...
Nope
Hidden/Spoiler:
Image

Image

Image

Image

Image

Image
Don't be so quick to dismiss someone's instruction when a new member doesn't get it right the first time, trial and error is a part of learning.

Re: Changing units name problem

Posted: Thu Nov 24, 2011 1:59 am
by Webster27
Thx, I got the setup now how I want it. And I´ll try the localization later, but do really have to re-name everything ? :faint: :runaway: