major control zone [Solved]
Moderator: Moderators
-
- Rebel Sergeant
- Posts: 208
- Joined: Thu Jul 26, 2018 12:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
major control zone [Solved]
is it possible to make the major control zone look like it did in the first game, maybe it can be done though the ingame trick that I used to get the vehicle repair droid ingame.
update it does work if you load the dc ingame lvl in the gamescripts first but there is no fake console but now I know there must be a way to do it
update it does work if you load the dc ingame lvl in the gamescripts first but there is no fake console but now I know there must be a way to do it
Last edited by wsa30h on Tue Aug 07, 2018 6:00 am, edited 4 times in total.
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: major control zone
All you need to do is edit the CP's ODF and change both GeometryName values (under [GameObjectClass] and [Properties]) to use com_bldg_controlzone_large instead of com_bldg_controlzone, and add com_bldg_controlzone_large to the "model" section of your custom ingame's REQ file.
Additionally, since units can't walk over the large CP mesh, I recommend adding the following to the ODF's [Properties] section:
It'll automatically generate a 2x2 AI barrier around the CP during runtime so bots don't run into it.
Additionally, since units can't walk over the large CP mesh, I recommend adding the following to the ODF's [Properties] section:
Code: Select all
AutoBarrierEnable = "1"
AutoBarrierRemoveOnDeath = "0"
AutoBarrierSize = "2.0 2.0"
-
- Rebel Sergeant
- Posts: 208
- Joined: Thu Jul 26, 2018 12:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: major control zone
thanks I got it working by copying over the odf from the first game and renaming the major to huge and mentioning it in the dc ingame req.
but that didn't show the symbol above the cp and when I went back and change everything you told me to and add the large to the ingame req it shows up as the normal one.
even if I put the dc ingame first which makes me lose the fake console functionality it does spawn then but it has no faction symbol over it, I think that this is either hardcoded or in mesh file.
but that didn't show the symbol above the cp and when I went back and change everything you told me to and add the large to the ingame req it shows up as the normal one.
even if I put the dc ingame first which makes me lose the fake console functionality it does spawn then but it has no faction symbol over it, I think that this is either hardcoded or in mesh file.
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: major control zone
I got it working for Siege mode in MEU; it's not hardcoded.
-
- Rebel Sergeant
- Posts: 208
- Joined: Thu Jul 26, 2018 12:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: major control zone
got it working but just one problem the symbol that shows the faction above the normal command post isn't there the same way it is in heroes vs villans or if there is a third local team is there a way to fix this ?
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: major control zone
- Hero Assault uses com_bldg_controlzone_CTF.
- CPs use the HoloImageGeometry parameter to determine which icon they use for each team that owns the CP.
Using the above knowledge, think critically about what you should do to find out how com_bldg_controlzone_CTF uses a different icon from com_bldg_major_controlzone. Try comparing the HoloImageGeometry parameters from com_bldg_major_controlzone with the ones in com_bldg_controlzone_CTF.
- CPs use the HoloImageGeometry parameter to determine which icon they use for each team that owns the CP.
Using the above knowledge, think critically about what you should do to find out how com_bldg_controlzone_CTF uses a different icon from com_bldg_major_controlzone. Try comparing the HoloImageGeometry parameters from com_bldg_major_controlzone with the ones in com_bldg_controlzone_CTF.
-
- Rebel Sergeant
- Posts: 208
- Joined: Thu Jul 26, 2018 12:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: major control zone
I tried swapping both nothing is working to get the symbol up are you sure its possible to have it with the symbol ?
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: major control zone
Could you post your changed ODF?
-
- Rebel Sergeant
- Posts: 208
- Joined: Thu Jul 26, 2018 12:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: major control zone
heres what is inside of it
Hidden/Spoiler:
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: major control zone
Hmm, are you sure the changes are being reflected? You might have to manually copy over your ingame.lvl file.
Also, to check, try changing com_bldg_controlzone_large to com_bldg_controlzone just to see. If the CP's mesh appears as the Conquest CP mesh in-game, then yeah changes are being reflected.
Also, to check, try changing com_bldg_controlzone_large to com_bldg_controlzone just to see. If the CP's mesh appears as the Conquest CP mesh in-game, then yeah changes are being reflected.
-
- Rebel Sergeant
- Posts: 208
- Joined: Thu Jul 26, 2018 12:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: major control zone
ok I changed it like you said and I still get the big mesh and not the conquest one also the cp didn't change and it should have I presume this means the changes aren't reflecting ?
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: major control zone
Correct. Could you post a snippet from your Lua script showing the ingame.lvl sections?
-
- Rebel Sergeant
- Posts: 208
- Joined: Thu Jul 26, 2018 12:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: major control zone
am not sure what part you need but here it is
Hidden/Spoiler:
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: major control zone
That's the REQ file. I'm talking about the .lua script, something like ABCg_con.lua. The section would look something like this:
Code: Select all
ReadDataFile("dc:ingame.lvl")
ReadDataFile("ingame.lvl")
-
- Rebel Sergeant
- Posts: 208
- Joined: Thu Jul 26, 2018 12:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: major control zone
oops here you go
Hidden/Spoiler:
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: major control zone
Your custom ingame.lvl needs to be loaded before the stock ingame.lvl.
Also, it sounds/looks to me like you need to refine your ingame.req file to only require the files that you're using/changing, like com_bldg_major_controlzone.
Keep the following in mind as you do it:
- "class" section = ODF files
- "model" section = MSH files
- "texture" section = TGA files
- "config" section = FX files, HUD files, and some others
In your case, your ingame.req file should only require the CP ODF, the CP's mesh, and the mesh's textures.
Also, it sounds/looks to me like you need to refine your ingame.req file to only require the files that you're using/changing, like com_bldg_major_controlzone.
Keep the following in mind as you do it:
- "class" section = ODF files
- "model" section = MSH files
- "texture" section = TGA files
- "config" section = FX files, HUD files, and some others
In your case, your ingame.req file should only require the CP ODF, the CP's mesh, and the mesh's textures.
-
- Second Lance Corporal
- Posts: 102
- Joined: Sun May 07, 2017 11:31 pm
- Projects :: ANF - ISM Skin Changer - BF1 Ports
- Location: Kentucky, USA
Re: major control zone
Are you sure the textures are necessary for the req file? From what I've seen the models will automatically call for their textures.
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: major control zone
Maybe, maybe not ¯\_(ツ)_/¯
-
- Rebel Sergeant
- Posts: 208
- Joined: Thu Jul 26, 2018 12:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
Re: major control zone
yeah but anytime I load the custom ingame lvl before the stock one I get no fake console.
update got it working marth you were right about the ingame lvl you were right. thanks marth8880 you got me out of trouble once again.
had to do a clean munge but its all fine now.
update got it working marth you were right about the ingame lvl you were right. thanks marth8880 you got me out of trouble once again.
had to do a clean munge but its all fine now.
-
- Resistance Leader
- Posts: 5042
- Joined: Tue Feb 09, 2010 8:43 pm
- Projects :: DI2 + Psychosis
- xbox live or psn: Marth8880
- Location: Edinburgh, UK
- Contact:
Re: major control zone
Glad to hear!
The reason why is because your custom ingame.lvl was loading the pause menu scripts that are normally loaded by the stock ingame.lvl.wsa30h wrote:yeah but anytime I load the custom ingame lvl before the stock one I get no fake console.