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?
Questions on Objects...
Moderators: Slitherine Core, BA Moderators
-
GottaLove88s
- Lieutenant-General - Do 217E

- Posts: 3151
- Joined: Fri Apr 06, 2012 6:18 pm
- Location: Palau
Questions on Objects...
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
-
jcb989
- Colonel - Fallschirmjäger

- Posts: 1423
- Joined: Fri Nov 05, 2010 12:02 am
- Location: Bradenton, Florida
Re: Questions on Objects...
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!
-
pipfromslitherine
- Site Admin

- Posts: 9929
- Joined: Wed Mar 23, 2005 10:35 pm
Re: Questions on Objects...
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
Cheers
Pip
Re: Questions on Objects...
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.
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.
Last edited by Richcat on Sun Apr 14, 2013 2:49 pm, edited 1 time in total.
Cheers
Richcat
Richcat
-
GottaLove88s
- Lieutenant-General - Do 217E

- Posts: 3151
- Joined: Fri Apr 06, 2012 6:18 pm
- Location: Palau
Re: Questions on Objects...
Richcat, You are a mind reader! I was trying to figure out which .dds files to add to the .4sf...
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!
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!
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Re: Questions on Objects...
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.
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.
Cheers
Richcat
Richcat
-
GottaLove88s
- Lieutenant-General - Do 217E

- Posts: 3151
- Joined: Fri Apr 06, 2012 6:18 pm
- Location: Palau
Re: Questions on Objects...
Thanks Richcat! Much appreciated as always... Will give that a shot... 
SCENARIO LINKS
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
Seelow'45 -> www.slitherine.com/forum/viewtopic.php?f=313&t=55132
Normandy'44 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42094
Dieppe'42 -> www.slitherine.com/forum/viewtopic.php?f=87&t=42347
