Page 1 of 1

Questions on Objects...

Posted: Fri Apr 12, 2013 9:24 pm
by GottaLove88s
I'd like to change the properties of some of the objects in the DATA\OBJECTS\TEST folder

Specifically, I want to add HIDES to Dragons Teeth, Tank Traps, Large Tent and Small Tent, so that they can't be seen unless a unit has LOS to them.

Do I have to copy the whole TEST folder over to my own scenario DATA folder? Or can I just create an OBJECTS.TXT file and add the changes that I want to make to only those four object types?

Re: Questions on Objects...

Posted: Fri Apr 12, 2013 9:54 pm
by jcb989
GL88, I'd like to borrow this code when you have it, if it is a plug-in like you want to do. Thanks in advance!

Re: Questions on Objects...

Posted: Sat Apr 13, 2013 2:37 am
by pipfromslitherine
I am not sure. My guess without the code, or trying it would be that you would indeed need the whole folder, as the loading process links the objects file to the loaded objects, so I can best suggest - try it out! :)

Cheers

Pip

Re: Questions on Objects...

Posted: Sat Apr 13, 2013 11:11 pm
by Richcat
Hi GL88
Create an Objects Folder in your specific new scenario campaign folder in My Documents - My Games if there isn't one.
In that Objects folder create a folder called GL88Objects or similar.
In that create a simple text file as below, with of course HIDES added.

[DRAGONS_TEETH]
TERRAIN TankTraps
PLACEMENT 8
DAMAGE 150
HIDES

Then in the GL88Objects folder put in a copy of the Dragons_Teeth .s4f fie and the 4 DDS files for fortifications from the Data-Test folder.

You can then start BA - open the editor and the new GL88Objects folder should appear in the the Objects List for that scenario from which you open and can now for add the Dragons Teeth to the map, which will be hidden until you get close.
PS It would appear ones that you may have placed previously will remain visible, until you delete and replace them.

Re: Questions on Objects...

Posted: Sun Apr 14, 2013 12:01 am
by GottaLove88s
Richcat, You are a mind reader! I was trying to figure out which .dds files to add to the .4sf... :oops:

If Fortifications work for Dragons Teeth and Tank Traps, which .dds do I need for Large and Small Tents? Is that Fortifications too?

I guess I have to delete the \TEST folder versions of Dragons Teeth, Tank Traps, Large Tents and Small Tents (from my maps, not the default BA folders) and replace them with \RICHCAT_OBJECTS versions?

Thanks mate! :D

Re: Questions on Objects...

Posted: Sun Apr 14, 2013 3:03 pm
by Richcat
Its the Military_ Base DDS for the tents.
If you need to find out for any others just open the .s4f file (or the .s3f file if there is one) in notepad and its at the start. In the .4sf file it the only bit you can read.
In your campaign Object folder you could rename the test folder to the campaign name, remove everything that you don't need, just add in Tents, Dragon Teeth etc with their s4f and DDS etc , and the HIDES text to each object
Yes as you said you need to delete previous ones and replace - as in a little test I did I had to remove all the previous dragons teeth, tents and replace in the scenario via the editor with these new ones to get them to work, as they were linking back to the BA default folder and not Hiding. :x

Re: Questions on Objects...

Posted: Sun Apr 21, 2013 2:07 pm
by GottaLove88s
Thanks Richcat! Much appreciated as always... Will give that a shot... :-)