Objects vs Units

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Objects vs Units

Post by junk2drive »

Objects have normal and destroyed, visible within LOS, can be occupied, occupants can fire out and be destroyed by incoming fire. I assume that the object provides some protection?

Can the direction of incoming and outgoing be restricted to one side?

Units have normal and destroyed, invisible if hiding or high ground, can be mounted and dismounted, auto ejects occupants when destroyed. I assume that occupants cannot fire out or be fired upon?

Can you make them immobile so that they won't retreat?
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

You can make objects immobile (e.g. AT guns or mortars).

Occupants of units cannot fire out or be hit.

Cheers

Pip
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post by junk2drive »

Pip, in Data\Objects is Bulge, Desert and Test. Test has the French objects. How does the editor know that this is the French items?

Can I make a new objects folder for my campaign?
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post by junk2drive »

Answer, yes

Create the objects folder in your main campaign folder, not in data. Inside create the folder for your objects. Place the objects dds and s4f inside.

Edit the text1 and add IDS_O_stuff, "stuff",
Find the entry for desert and follow that format

Main\objects\stuff, stuff will show in the editor.
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post by junk2drive »

Why do some objects remain hidden, emplacements, but not others, buildings?
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post by junk2drive »

So I'm looking at the STUB again. I looked at it last night. I now see where objects folder goes. Again. Woulda saved me time tonight. Duh.

I also see the object text where you can make something hidden until detected.
Merr
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 903
Joined: Mon Aug 16, 2010 2:00 pm

Post by Merr »

junk2drive wrote:Why do some objects remain hidden, emplacements, but not others, buildings?
J2J,

Look at page 18 in the STUB Engine docs .... the object needs to be tagged HIDES.

HIDES --- object is not shown until tile is revealed

EDIT : You figured it out ... my posting just as you posted.
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post by junk2drive »

How do you make an object give more protection?
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

The cover values in the terrain file affect the cover rating of a tile. And you can tell the object which terrain it should stamp onto a tile it sits on.

Cheers

Pip
Post Reply

Return to “Battle Academy : Modders Corner ”