thanks in advance :clone:
New era modifying shell.lvl [Solved]
Moderator: Moderators
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
New era modifying shell.lvl [Solved]
hello to all, i know the v1.3 patch adding support for new eras and gamemodes but his shell.lvl file also modify other things i dont like, so i want to learn to modify the original shell's file for create myself only for add support for new eras, so i wanted learn WHICHs, and HOW modify the files found in shell folder for release my objective
, i think this 'll be useful for others people also.
thanks in advance :clone:
thanks in advance :clone:
Last edited by Deviss on Tue Jun 09, 2009 6:18 am, edited 1 time in total.
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: new era modifing shell.lvl
The best way for you to learn is to go through the scripts in assets\shell\scripts yourself, it should become evident where everything is. You can ignore the ifs_campaign_... the ifs_freeform_... and possibly the ifs_meta_... since none of these should involve anything for which you're looking (though they do contain interesting stuff!). Keep in mind also that Zerted added new scripts to the shell to get the new eras (and possibly also the modes) to show up, though this may have been just for neatness and not out of necessity. The scripts under data\Common\scripts might also contain some things you need, but probably not.
There is no quick way to go about doing this. I myself have spent hours going over the scripts and barely touched the surface. Zerted had to spend probably hundreds more to write his full shell upgrade.
There is no quick way to go about doing this. I myself have spent hours going over the scripts and barely touched the surface. Zerted had to spend probably hundreds more to write his full shell upgrade.
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: new era modifing shell.lvl
so i must add new scripts files?? i though must modify the missionlist.lua fileFrisbeetarian wrote:The best way for you to learn is to go through the scripts in assets\shell\scripts yourself, it should become evident where everything is. You can ignore the ifs_campaign_... the ifs_freeform_... and possibly the ifs_meta_... since none of these should involve anything for which you're looking (though they do contain interesting stuff!). Keep in mind also that Zerted added new scripts to the shell to get the new eras (and possibly also the modes) to show up, though this may have been just for neatness and not out of necessity. The scripts under data\Common\scripts might also contain some things you need, but probably not.
There is no quick way to go about doing this. I myself have spent hours going over the scripts and barely touched the surface. Zerted had to spend probably hundreds more to write his full shell upgrade.
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: new era modifing shell.lvl
The scripts I've spent time looking over are not those that you would need to modify, so I can't tell you exactly what scripts you need to change. I looked through the one you suggested, and you will need to change that one, but I'm not sure if that's the only one. As to adding new files, one, it's really easy, and two, I said that I suspect Zerted did it out of neatness and not out of necessity.
Basically, if you already know what script you need to change, why don't you try it and see if it works.
Basically, if you already know what script you need to change, why don't you try it and see if it works.
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: new era modifing shell.lvl
i tried modify that files and other adding new eras but don't work, i downloaded THIS FILE i am sure that file will work the new eras support but i don't know how add these to shell fileFrisbeetarian wrote:The scripts I've spent time looking over are not those that you would need to modify, so I can't tell you exactly what scripts you need to change. I looked through the one you suggested, and you will need to change that one, but I'm not sure if that's the only one. As to adding new files, one, it's really easy, and two, I said that I suspect Zerted did it out of neatness and not out of necessity.
Basically, if you already know what script you need to change, why don't you try it and see if it works.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: new era modifing shell.lvl
from the "add an era howto" which can be found in the 1.3 patch documentation:
Hidden/Spoiler:
- Frisbeetarian
- Jedi

- Posts: 1233
- Joined: Wed Sep 12, 2007 3:13 pm
Re: new era modifing shell.lvl
@ DarthD.U.C.K.
Read his first post. He knows about what you posted and wants to do something else.
Read his first post. He knows about what you posted and wants to do something else.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: new era modifing shell.lvl
sorry, i should have read more carefully..
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: New era modifying shell.lvl
First off, the v1.3 patch is integerated into ingame.lvl, common.lvl, and shell.lvl. The whole reason for the patch was because the Shell Mod and the FC Mod both needed to change common.lvl. If you want to replace any of those lvl files, you have to uninstall the v1.3 patch.
What things don't you like? It may be easier/faster to use a cGC script to remove them then attempt to recreate other parts of v1.3.
Yeah, I added new scripts for neatness. Eras and gamemodes were handled in multiple places. I rewrote their related function calls to point to new functions in ifs_era_handler.lua so everything would be processed in the same place and so that I wouldn't need to duplicate any code.
Sorry, but theres a lot more then just adding a few table entries to missionlist.lua. Well, new game modes aren't too hard to add. You edit missionlist and another one or two places. However the game is hard coded for 2 eras in many places. All those spots need to be changes to support multiple eras.
Adding files is the easy part. Its just a ScriptCB_Do file in anything loaded off of shell_interface.lua or an addme.lua.
The files in Zerted.7z are only parts to v1.3. Granted, they are the more important parts, but you have to change the retail files to point to all those custom_ functions. Sadly I lost the entire source code when I was backing it up and Zerted.7z (and v1.2's source) is all that remains of the v1.3 patch's source code.
Zerted.7z Files:
utility_functions2.lua - mostly used by FC commands.
fakeconsole_functions.lua - the source code to all the FC commands (except whats in utility_functions2.lua).
ifs_era_handlers.lua - contains maybe 70% of the shell changes.
ifs_era_handlers' functions sortof follow a naming scheme. I added custom_ to the names of functions which that function mostly replaces, but custom_ is also on new functions too. As an example, custom_AddEraBoxes replaces the games ..._AddEraBoxes functions.
ifs_missionselect_pcmulti.lua and ifs_missionselect.lua were two files that had a bunch of era stuff in them. They are basically the same thing, but pcmulti is for MP and the other is for SP. They represent the map selection screens. One of the changes I did was to murge all their common code, then redirect some of their function calls to simlar functions in ifs_era_handlers.
What things don't you like? It may be easier/faster to use a cGC script to remove them then attempt to recreate other parts of v1.3.
Yeah, I added new scripts for neatness. Eras and gamemodes were handled in multiple places. I rewrote their related function calls to point to new functions in ifs_era_handler.lua so everything would be processed in the same place and so that I wouldn't need to duplicate any code.
Sorry, but theres a lot more then just adding a few table entries to missionlist.lua. Well, new game modes aren't too hard to add. You edit missionlist and another one or two places. However the game is hard coded for 2 eras in many places. All those spots need to be changes to support multiple eras.
Adding files is the easy part. Its just a ScriptCB_Do file in anything loaded off of shell_interface.lua or an addme.lua.
The files in Zerted.7z are only parts to v1.3. Granted, they are the more important parts, but you have to change the retail files to point to all those custom_ functions. Sadly I lost the entire source code when I was backing it up and Zerted.7z (and v1.2's source) is all that remains of the v1.3 patch's source code.
Zerted.7z Files:
utility_functions2.lua - mostly used by FC commands.
fakeconsole_functions.lua - the source code to all the FC commands (except whats in utility_functions2.lua).
ifs_era_handlers.lua - contains maybe 70% of the shell changes.
ifs_era_handlers' functions sortof follow a naming scheme. I added custom_ to the names of functions which that function mostly replaces, but custom_ is also on new functions too. As an example, custom_AddEraBoxes replaces the games ..._AddEraBoxes functions.
ifs_missionselect_pcmulti.lua and ifs_missionselect.lua were two files that had a bunch of era stuff in them. They are basically the same thing, but pcmulti is for MP and the other is for SP. They represent the map selection screens. One of the changes I did was to murge all their common code, then redirect some of their function calls to simlar functions in ifs_era_handlers.
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: New era modifying shell.lvl
so must i modify the missionselect and add the era_handler and the others 2 files to shell.req file??[RDH]Zerted wrote:Hidden/Spoiler:
i only want add support for eras, modifying the shell file
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: New era modifying shell.lvl
No, you have to make a bunch of changes to ifs_missionselect_pcmulti.lua and ifs_missionselect.lua. As well as a bunch of other files.
It would be much easier to remove the movie preview window and remove the FakeConsole button through the custom scripts supported by the v1.3 patch.
It would be much easier to remove the movie preview window and remove the FakeConsole button through the custom scripts supported by the v1.3 patch.
-
Deviss
- Master of the Force

- Posts: 3772
- Joined: Tue Aug 12, 2008 7:59 pm
- Projects :: Clone Wars Extended
Re: New era modifying shell.lvl
understand, many thanks for your help and for make me see the difficult of make a new shell lol, problem solved i will continuous using patch 1.3 so, questions SOLVED[RDH]Zerted wrote:No, you have to make a bunch of changes to ifs_missionselect_pcmulti.lua and ifs_missionselect.lua. As well as a bunch of other files.
It would be much easier to remove the movie preview window and remove the FakeConsole button through the custom scripts supported by the v1.3 patch.
