GearCity

GearCity

查看统计:
Oi 2018 年 5 月 26 日 下午 3:26
Help with modding.
I was teyi g to create a custom component, so i imported the components and components popularity to the game editor tool accordingly, i then clicked a turbo and edited it, assigned a new id and messed with the numbers and clicked add component, a new component was created in the list amd then i saved the components file overwriting the original one, but when i go to play, i can no see the component i created. Can anyone help?

And is there a tutorial on creating new components and stuff, the modding help that is here (steam forums) is for maps and it is for 1.22.
引用自 Eric.B:
The final issue is due to the game and mixing and matching localized components and unlocalized components in the layout restriction system. You'll have to wait for v1.24 for that to be fixed.

So in the meantime it would probably be best to edit the existing turbo systems to use the specs you want. OR put your new turbo names into the English.xml file (above id 10000) then take the localized ID and use that as the name of the component (with the localization flag turned on).
< >
正在显示第 1 - 10 条,共 10 条留言
Eric.B  [开发者] 2018 年 5 月 26 日 下午 3:53 


引用自 Ghost7600
I was teyi g to create a custom component, so i imported the components and components popularity to the game editor tool accordingly, i then clicked a turbo and edited it, assigned a new id and messed with the numbers and clicked add component, a new component was created in the list amd then i saved the components file overwriting the original one, but when i go to play, i can no see the component i created. Can anyone help?
Did you create a new component, or did you just modify one of the existing turbos?

If you made a new component, you need to assign it to the Induction Restrictions for the Engine Layouts. Each engine layout has a list of Induction systems it can use. For example an electric car has no need for a turbo...

http://wiki.gearcity.info/doku.php?id=modtools:componentseditor#engine_layout (#11)

Localization and non-localized content might have an issue being mixed and match. I believe you have to export the mod for it work properly.

But you can make modification to existing components just fine. So I suggest modifying one of the many turbo systems that are in the game, until I distribute a non-localized base mod file.

And is there a tutorial on creating new components and stuff, the modding help that is here (steam forums) is for maps and it is for 1.22.
v1.22 data is still valid for v1.23 and on. The mod system is for the most part set.

There are no tutorials beyond what is in the wiki. http://wiki.gearcity.info/doku.php?id=start I have stopped tool document and mod tutorials until I finish the in game maps. Once I have completed the maps I will return back to making documentation and video tutorials for the most commonly requested mod features.
最后由 Eric.B 编辑于; 2018 年 5 月 26 日 下午 3:56
Oi 2018 年 5 月 26 日 下午 4:24 
引用自 Eric.B
But you can make modification to existing components just fine. So I suggest modifying one of the many turbo systems that are in the game, until I distribute a non-localized base mod file.

When i am modifying the components if i click away i lose the changes, so far i found no way to only modify the component, the only way i found to keep the changes was by creating a new component.


Oi 2018 年 5 月 26 日 下午 4:38 
Ok, so changed my engine layouts by adding the new inductions, then clicking remove layout, and clicking add layout. so when i load i can see the induction in the list that shows wich inductions the engine layout accept, but still can design and engine in game with said inductions.
Eric.B  [开发者] 2018 年 5 月 26 日 下午 4:53 
引用自 Ghost7600
引用自 Eric.B
But you can make modification to existing components just fine. So I suggest modifying one of the many turbo systems that are in the game, until I distribute a non-localized base mod file.

When i am modifying the components if i click away i lose the changes, so far i found no way to only modify the component, the only way i found to keep the changes was by creating a new component.

I'm not sure what you mean by losing the changes "as soon as you click away". If you modify an existing component, do not change the name of that component. You hit "Remove" then hit "Add". Do not click anything else on the list, or it will select a new component and you will lose the changes.


引用自 Ghost7600
Ok, so changed my engine layouts by adding the new inductions, then clicking remove layout, and clicking add layout. so when i load i can see the induction in the list that shows wich inductions the engine layout accept, but still can design and engine in game with said inductions.

Did you start a new game? Do you have high enough skill points to use the new induction system?

If you email me the components.xml file and tell me what the name of the component you're trying to edit is, i'll take a look at it for you. Email address is admin@ventdev.com
最后由 Eric.B 编辑于; 2018 年 5 月 26 日 下午 4:53
Oi 2018 年 5 月 28 日 上午 1:49 
yeah, i just figured out this click remove and then add, was scared to do it and mess something up, i did not start a new game, maybe thats the problem, but my company do have the skills to use it, as i made it pretty low skill and my company has 80+ skill on basically everything.
Oi 2018 年 5 月 28 日 上午 2:19 
引用自 Eric.B
引用自 Ghost7600

When i am modifying the components if i click away i lose the changes, so far i found no way to only modify the component, the only way i found to keep the changes was by creating a new component.

I'm not sure what you mean by losing the changes "as soon as you click away". If you modify an existing component, do not change the name of that component. You hit "Remove" then hit "Add". Do not click anything else on the list, or it will select a new component and you will lose the changes.


引用自 Ghost7600
Ok, so changed my engine layouts by adding the new inductions, then clicking remove layout, and clicking add layout. so when i load i can see the induction in the list that shows wich inductions the engine layout accept, but still can design and engine in game with said inductions.

Did you start a new game? Do you have high enough skill points to use the new induction system?

If you email me the components.xml file and tell me what the name of the component you're trying to edit is, i'll take a look at it for you. Email address is admin@ventdev.com


Managed to edit a fuel type, electric 1, made values sort of extreme for easy checking, i'll be e-mailling the files, but ill try to keep this discussion updated to maybe help people with similar problems.
Oi 2018 年 5 月 28 日 上午 6:59 
Emailed the files, also checked in game and one gearbox was sucessfully added, so i believe the problem is with adding the modded induction systems in the engine layouts, even tought in the modtool it says they are added, i might be misreading something tough.
Eric.B  [开发者] 2018 年 5 月 28 日 下午 12:10 
For starters, you have a few problems.

You're using written names "Turbo Moderno 2" but you have Localization enabled. Which means the game is looking for a number to look up the name of the component in the English.xml file.

So all those induction systems you added are listed in the game as "en"...

Uncheck the localization box before you add the new components.


Second issue. You should not be modifying core files. You oughta to create a mod file so that the core game isn't overwritten. But I guess it's better to get your changes working first. :)
最后由 Eric.B 编辑于; 2018 年 5 月 28 日 下午 12:11
该讨论串的作者已表示此帖子解答了原先的主题。
Eric.B  [开发者] 2018 年 5 月 28 日 下午 12:26 
The final issue is due to the game and mixing and matching localized components and unlocalized components in the layout restriction system. You'll have to wait for v1.24 for that to be fixed.

So in the meantime it would probably be best to edit the existing turbo systems to use the specs you want. OR put your new turbo names into the English.xml file (above id 10000) then take the localized ID and use that as the name of the component (with the localization flag turned on).
Oi 2018 年 5 月 29 日 下午 2:22 
引用自 Eric.B
The final issue is due to the game and mixing and matching localized components and unlocalized components in the layout restriction system. You'll have to wait for v1.24 for that to be fixed.

So in the meantime it would probably be best to edit the existing turbo systems to use the specs you want. OR put your new turbo names into the English.xml file (above id 10000) then take the localized ID and use that as the name of the component (with the localization flag turned on).

Did not know that, thanks a lot.
< >
正在显示第 1 - 10 条,共 10 条留言
每页显示数: 1530 50