Wishlist Modding

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

Wishlist Modding

Post by junk2drive »

Types: add Boat and Helicopter

I tried adding boat and got a chunk error for type.
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

I seem to recall Iain managed to make a boat type pretty simply - just added it to the terrain file and set up its movement costs. Can you be more specific about the error?

Cheers

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

Post by junk2drive »

In Terrain.txt I added to the top BOAT. In the WATER text I added BOAT 2.

In the CSV I copied the M16 and changed type to Boat and the ID number.

I added my new unit to the text1.

Started game, clicked editor to put the unit on a map and got the error.
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

What specific error? You'd need to add the type to all the terrain types IIRC.

Cheers

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

Post by junk2drive »

Always something simple eh?

LOL I moved 4 sq and bogged down.

Thanks for the help, back to the mines.
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

Heh - could have been worse and your boat threw a track ;)

Always glad to help.

Cheers

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

Post by junk2drive »

M16 as a helicopter gunship is awesome.

How are the exporters coming along?
Post Reply

Return to “Battle Academy : Modders Corner ”