Page 1 of 2
Trouble getting new CP MSH to show up
Posted: Fri Jul 08, 2011 5:02 pm
by modmaster13
Ok so I went to go bring back the old CP model for com_bldg_major_controlzone from battlefront1. the old model is called com_bldg_controlzone_large. So I went into the com_bldg_major_controlzone.odf and changed this:
to this:
Then I saved the file. I go into ZE to see if it changed and it didn't. It also didn't change ingame. Please help.
Re: New CP msh not showing up
Posted: Fri Jul 08, 2011 6:18 pm
by AQT
Change:
Code: Select all
GeometryName = "com_bldg_controlzone"
to:
Code: Select all
GeometryName = "com_bldg_controlzone_large"
And see how that looks in-game.
Re: New CP msh not showing up
Posted: Sat Jul 09, 2011 9:09 am
by modmaster13
It didn't show up in-game or in the ZE. Here is "com_bldg_major_controlzone.odf":
Yes I did munge common.

Re: New CP msh not showing up
Posted: Sat Jul 09, 2011 9:18 am
by DarthD.U.C.K.
the first "GeometryName" line above "[Properties]" is the geometry that is displayed in ZE. you need to insert the modelname with ".msh"-extenstion there.
the second "GeometryName" line below "[Propeties]" is the geometry that is used ingame. you need to insert the modelname without ".msh"-extentsion there.
Re: New CP msh not showing up
Posted: Sat Jul 09, 2011 11:14 am
by modmaster13
Re: New CP msh not showing up
Posted: Sat Jul 09, 2011 11:29 am
by THEWULFMAN
Re: New CP msh not showing up
Posted: Sat Jul 09, 2011 11:45 am
by modmaster13
That didn't work either.
Re: New CP msh not showing up
Posted: Sat Jul 09, 2011 11:49 am
by DarthD.U.C.K.
the reason why it isnt working, is because all files in the commonfolder must be listed in the ingame.req in order to be loaded. copy the model and all additional files (msh.option, texture, bumpmap etc.) to your worlds msh-folder and the modified odf after renaming it to your worlds odf-folder and load it from there.
Re: New CP msh not showing up
Posted: Sat Jul 09, 2011 12:03 pm
by modmaster13
So you want me to load the new CP mesh from my world's odf\msh folder? And then bring all the textures/msh/odfs and place them there?
Re: New CP msh not showing up
Posted: Sat Jul 09, 2011 12:06 pm
by DarthD.U.C.K.
yes, move all the files you need from the common folders to your worlds folders and renam the cpodf, otherwise the original cpodf will be loaded.
Re: New CP msh not showing up
Posted: Sat Jul 09, 2011 6:24 pm
by modmaster13
Would I have to load it in my LUA? And would I have to make a req file for the CP?
Re: New CP msh not showing up
Posted: Sat Jul 09, 2011 6:33 pm
by DarthD.U.C.K.
no, once you got the files in your worlds folder you can place it just like any prop-
Re: New CP msh not showing up
Posted: Sat Jul 09, 2011 6:36 pm
by AQT
And you do not need to load it in your LUA since you wouldn't be replacing anything, and you already went through the trouble of renaming all of the files.
Also:
modmaster13 wrote:It didn't show up in-game or in the ZE. Here is "com_bldg_major_controlzone.odf":
Because you didn't actually do what I suggested/asked you to do. Anyway, it wouldn't have worked as D.U.C.K. already pointed out.
Re: New CP msh not showing up
Posted: Sun Jul 10, 2011 11:02 am
by modmaster13
AQT wrote:Because you didn't actually do what I suggested/asked you to do.
Kind of an annoying question but...
Just curious in the odf, it says:
Would I have to bring these into the world's odf/msh/effects folder to make it work, or will it automatically load from the common effects/odf/msh folders?
Re: New CP msh not showing up
Posted: Sun Jul 10, 2011 11:11 am
by DarthD.U.C.K.
modmaster13 wrote:...what did you ask me to do?

i dont think anybody is going to explain AQTs first post coulnt have been more clear.
about the texture and holo: yes it is loaded automatically because its included in the common files which are loaded automatically in all maps.
Re: New CP msh not showing up
Posted: Sun Jul 10, 2011 11:29 am
by modmaster13
DarthD.U.C.K. wrote:modmaster13 wrote:...what did you ask me to do?

i dont think anybody is going to explain AQTs first post coulnt have been more clear.
about the texture and holo: yes it is loaded automatically because its included in the common files which are loaded automatically in all maps.
I feel like a fool, and I just wanted to make sure.
EDIT: Ok I replaced com_bldg_major_controlzone with my new CP com_bldg_controlzone_main and it looked fine in ZE, but when i munged and went ingame, the CP wasn't there and no units spawned except for the locals. Any suggestions?
Re: New CP msh not showing up
Posted: Sun Jul 10, 2011 11:48 am
by DarthD.U.C.K.
if the ai is unable to spawn you must have incorrectly referenced the cps in the lua. check the bfron2log for messages regarding the new _main-cp.
Re: New CP msh not showing up
Posted: Sun Jul 10, 2011 12:26 pm
by modmaster13
The name of the CP that has the new model is "CP2"
Bfront2.log
I'm positive I correctly referenced the CP's in the LUA.
Re: New CP msh not showing up
Posted: Sun Jul 10, 2011 12:50 pm
by DarthD.U.C.K.
do you have the "com_bldg_controlzone_main.odf" file in your data_XXX\Worlds\XXX\odf\ folder?
Re: New CP msh not showing up
Posted: Sun Jul 10, 2011 1:31 pm
by modmaster13
com_bldg_controlzone_main is in data_***/Worlds/***/Main CP/odf/