Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Men of War > GEM Editor

GEM Editor All information about MoW map editor

Reply
 
Thread Tools Display Modes
  #11  
Old 11-19-2012, 04:42 PM
chris10 chris10 is offline
Approved Member
 
Join Date: Oct 2012
Posts: 26
Default

I dont know what I am doing wrong, It still gives a error . I made a desc.ing file in:
localization/desc.ing

inside I have:

Quote:
{tags
{"human"
{"single"
{"gr"
{"rifle" "Rifleman"}
{"rifle2" "Rifleman"}
{"smg" "SMG Infantry"}
{"smg2" "SMG Infantry"}
{"smg3" "SMG Infantry"}
{"squad_leader" "Squadleader"}
In my "breed folder"
breed/single/gr/rifle.set

inside there:
Quote:
{breed
{behaviour soldier}
{skin "greek_shooter"}
{portrait "greek_rifle"}
{icon "greekrifleman"}
{icon_priority 0}
{nationality gr}
{armors
{head fieldcap_greek}
}
{perks
{"health" "200%"
}
{"power" "150%"
}
{"vision" mp_soldier
}
{"speed" 0.9
}
{"pistol" none
}
{"smg" none
}
{"mgun" none
}
{"rifle" basic
}
{"rocketlauncher" none
}
{"melee" advanced
}
}
{inventory
{item "ammo rifle" 44}
{item "bandage" 4}
{item "sandbag_kit"}
{item "lebel_m1886" filling "rifle ammo" 5}
{item "mk1 grenade"}
{in_hands 3}
}
}
what am I doing wrong?

Last edited by chris10; 11-19-2012 at 05:00 PM.
Reply With Quote
  #12  
Old 11-19-2012, 06:13 PM
chris10 chris10 is offline
Approved Member
 
Join Date: Oct 2012
Posts: 26
Default

Can you maybe give me the whole desc.ing from you?
So I cant make any faults. if it is possible send it in pm.
Reply With Quote
  #13  
Old 11-19-2012, 07:18 PM
KnightFandragon KnightFandragon is offline
Approved Member
 
Join Date: Dec 2009
Location: KRL HQ, Ontario Canada
Posts: 740
Default

Ok, first, is your .lng file .ing? Its a desc.LNG(lowercase), not . ING.

Take this

{"gr"
{"rifle" "Rifleman"}
{"rifle2" "Rifleman"}
{"smg" "SMG Infantry"}
{"smg2" "SMG Infantry"}
{"smg3" "SMG Infantry"}
{"squad_leader" "Squadleader"}

and add it below
}
}
{"single"
{"eng"
{"bazuker" "Rocket-launcher infantry"}
{"bazuker_w" "Rocket-launcher infantry"}
{"flamer" "Flamethrower infantry"}
{"infantry.smg" "SMG infantry"}
{"mgun" "Machine gunner"}
{"mgun_w" "Machine gunner"}
{"oficer" "Officer"}
{"oficer_w" "Officer"}
{"commando_rifle" "British Commando"}
{"commando_smg" "British Commando"}
{"rifle" "Rifleman"}
{"rifle_w" "Rifleman"}
{"smg_spez" "SMG infantry"}
{"smg_spez_w" "SMG infantry"}
{"smg_w" "SMG infantry"}
{"sniper" "Sniper"}
{"sniper_w" "Sniper"}
{"tankman" "Tank crew"}
{"oficer_afr" "officer"}
{"rifle_afr" "rifleman"}
{"tankman_afr" "tankman"}
{"corporal" "Corporal Robinson"}
{"corporal_sp" "Corporal Robinson"}
{"palmer" "Terry Palmer"}
{"palmer_sp" "Terry Palmer"}
{"consul" "American consul"}
{"consul_sp" "American consul"}
{"rifle_red" "Rifleman"}
{"rifle_black" "Rifleman"}
}
{"gr"
{"rifle" "Rifleman"}
{"rifle2" "Rifleman"}
{"smg" "SMG Infantry"}
{"smg2" "SMG Infantry"}
{"smg3" "SMG Infantry"}
{"squad_leader" "Squadleader"}
}
{"ger"

It should then look like the above text..

Also, add a third letter to your "gr", this game is finicky sometimes and maybe it only accepts 3 letter or more...I know it only accepts lowercase letters in the breed file, so you have the text correct with rifle, rifle1 and what not.

So maybe make your "gr" "grk"? They are greek soldiers?


What error are you still getting?

Last edited by KnightFandragon; 11-19-2012 at 07:28 PM.
Reply With Quote
  #14  
Old 11-19-2012, 09:17 PM
chris10 chris10 is offline
Approved Member
 
Join Date: Oct 2012
Posts: 26
Default

One part is fixed, I did ING not LNG.
But now I get this error: http://imageshack.us/photo/my-images/132/95462351.png/

You are saying it should now look like this:

Quote:
}
}
{"single"
{"eng"
{"bazuker" "Rocket-launcher infantry"}
{"bazuker_w" "Rocket-launcher infantry"}
{"flamer" "Flamethrower infantry"}
{"infantry.smg" "SMG infantry"}
{"mgun" "Machine gunner"}
{"mgun_w" "Machine gunner"}
{"oficer" "Officer"}
{"oficer_w" "Officer"}
{"commando_rifle" "British Commando"}
{"commando_smg" "British Commando"}
{"rifle" "Rifleman"}
{"rifle_w" "Rifleman"}
{"smg_spez" "SMG infantry"}
{"smg_spez_w" "SMG infantry"}
{"smg_w" "SMG infantry"}
{"sniper" "Sniper"}
{"sniper_w" "Sniper"}
{"tankman" "Tank crew"}
{"oficer_afr" "officer"}
{"rifle_afr" "rifleman"}
{"tankman_afr" "tankman"}
{"corporal" "Corporal Robinson"}
{"corporal_sp" "Corporal Robinson"}
{"palmer" "Terry Palmer"}
{"palmer_sp" "Terry Palmer"}
{"consul" "American consul"}
{"consul_sp" "American consul"}
{"rifle_red" "Rifleman"}
{"rifle_black" "Rifleman"}
}
{"gr"
{"rifle" "Rifleman"}
{"rifle2" "Rifleman"}
{"smg" "SMG Infantry"}
{"smg2" "SMG Infantry"}
{"smg3" "SMG Infantry"}
{"squad_leader" "Squadleader"}
}
{"ger"
Do I also have to add the vanilla units? (so the units who were already in the main game of men of war)
I think I have to do that, what ive to add then?
Where can I find the Vanilla desc file?

Thats why I need someones other desc file because otherwise i make much faults.

Last edited by chris10; 11-19-2012 at 09:21 PM.
Reply With Quote
  #15  
Old 11-20-2012, 01:19 AM
KnightFandragon KnightFandragon is offline
Approved Member
 
Join Date: Dec 2009
Location: KRL HQ, Ontario Canada
Posts: 740
Default

Oh, ok, I see now.

Alright, to get the base game's localization files, look in your

1c/Men of War/ folder

In there you should find

Localization.pak

Using like winrar or 7zip, unzip that. In there you will find the desc.lng file.....you then just take the unzipped localization file and put that in

mods/<yourmod>/(put localization file here)

Then, you will need to right click, go into properties and uncheck read only...you will need to uncheck read only for every file you copy from the base game files.

Then, once you do that, you can edit the desc.lng file as you need to. Once that is done, your changes should work.
Reply With Quote
  #16  
Old 11-20-2012, 04:08 PM
chris10 chris10 is offline
Approved Member
 
Join Date: Oct 2012
Posts: 26
Default

Damnit, still I get the error from before if i click on the unit in editor: http://imageshack.us/photo/my-images/831/95100462.png/

Are the breed/<unit>.set and localization/desc file the only files you need to create a new nationality?

I will send you my breed files and the desc file with a pm

Last edited by chris10; 11-20-2012 at 09:23 PM.
Reply With Quote
  #17  
Old 11-21-2012, 03:24 AM
KnightFandragon KnightFandragon is offline
Approved Member
 
Join Date: Dec 2009
Location: KRL HQ, Ontario Canada
Posts: 740
Default

Everything looks right with your desc and breed files, but looking in your dlg_mp.lng file, you need to go down to the section



{"army"
{"ger" "Germany"}
{"rus" "Soviet Union"}
{"usa" "USA"}
{"jap" "Japan"}
{"eng" "United Kingdom"}
}

and in there add

{"gr" "Greek Army"}

THen see what happens. Or what ever you wish to put there, but
Reply With Quote
  #18  
Old 11-21-2012, 07:12 AM
chris10 chris10 is offline
Approved Member
 
Join Date: Oct 2012
Posts: 26
Default

Excatly im only making a singleplayer mod not multiplayer, so I can delete it I think?
By the way, the desc files are good because i did nationality "rus" to test it and i saw a greek rifleman called Rifleman and not desc/.../...
but if i do nationality "gr" i crash then if i click on the unit in editor.
Do I maybe have to add more? like names.ing and talk.set?

And can you test the breed and desc files? so give the breed file another skin to test it and look if it crash too by you.
Reply With Quote
  #19  
Old 11-21-2012, 04:23 PM
chris10 chris10 is offline
Approved Member
 
Join Date: Oct 2012
Posts: 26
Default

YEEEEEES ITS FIXED.
You need to have a #names.ing too with greek names in it.
Now it works

and also KnightFandragon really really thanks for your help
You helped me so much.

Greets
Reply With Quote
  #20  
Old 11-21-2012, 05:46 PM
KnightFandragon KnightFandragon is offline
Approved Member
 
Join Date: Dec 2009
Location: KRL HQ, Ontario Canada
Posts: 740
Default

Ahh, yes, names. I had so many errors when I did it, that I forgot everything I did to make it work...there is alot of trial and error when modding this game.

Your welcome man.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:35 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.