Is the 'palm' object a 'blocking palm tree'?

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Is the 'palm' object a 'blocking palm tree'?

Post by GottaLove88s » Sun Jul 14, 2013 4:27 pm

Guys,

Quick check. In the French, Sealion, Sicily object sets there is always a 'blocking tree' which adds the view blocking property to forest tiles.

There doesn't appear to be a 'blocking palm' object. There is 'palm', palm1, palm2, palm3, palm4... Is the basic 'palm' a 'blocking palm'?

Thanks! Am working up something for a Pacific scenario...

:D
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

rf900
Staff Sergeant - Kavallerie
Staff Sergeant - Kavallerie
Posts: 339
Joined: Fri May 04, 2012 6:59 am

Re: Is the 'palm' object a 'blocking palm tree'?

Post by rf900 » Mon Jul 15, 2013 6:50 am

The blocking objects appear in the object.txt file, in Data\objects\Sicily. I see two blocking trees in there, not sure if they are a palm tree by the names. I guess you can add your own blocking palm if needed.

Amaris
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 929
Joined: Fri Jul 23, 2010 11:08 am
Location: France
Contact:

Re: Is the 'palm' object a 'blocking palm tree'?

Post by Amaris » Mon Jul 15, 2013 8:53 am

Open OBJECTS.TXT file into Battlefield Academy\Data\objects\desert:

...
[palmtree]
DAMAGE 100
BLOCKING
FADE
Height 40
RANDROT
RANDSCALE 0.2

[palmtree1]
DAMAGE 100
FADE
Height 40
RANDROT
RANDSCALE 0.2

[palmtree2]
DAMAGE 100
FADE
Height 40
RANDROT
RANDSCALE 0.2

[palmtree3]
DAMAGE 100
FADE
Height 40
RANDROT
RANDSCALE 0.2

[palmtree4]
DAMAGE 100
FADE
Height 40
RANDROT
RANDSCALE 0.2
“Take care, my friend; watch your six, and do one more roll… just for me.”

GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: Is the 'palm' object a 'blocking palm tree'?

Post by GottaLove88s » Mon Jul 15, 2013 10:49 am

Found it... Thanks guys!

Yup, the basic desert 'palm' is indeed blocking... Superb!! :D
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

Post Reply

Return to “Battle Academy : Modders Corner ”