Page 1 of 4
Using the editor
Posted: Mon Apr 19, 2010 10:55 pm
by ostwind
Is it posible to raise the terrain in the editor?, or can we only make leveled maps?.
Posted: Tue Apr 20, 2010 12:50 am
by pipfromslitherine
Something we need to document. Hold down CTRL while in tile mode and use the left and right mouse buttons.
Cheers
Pip
Posted: Tue Apr 20, 2010 10:19 am
by ostwind
Ok, thank you.
Posted: Fri Apr 23, 2010 8:08 am
by ostwind
Another thing
I'm building one scenario for testing in sp and mp, and I would need a tip for setting the victory locations on the map

.
This editor has a lot of possibilities in order to make custom scenarios. I like it very much, and I think that no needs a lot of documentation at all

. It's very intuitive. And also you've got the chance to modify some files with the units statistics. These things can make the game endless.
Hope to finish the scenario in a couple of days and test it.
Posted: Fri Apr 23, 2010 3:28 pm
by ostwind
Ok, the scenario is finished

.
A little street fight betwen a group of units. It's not detailed a lot, just for testing the editor capabilities.
If I'm not wrong about it, the mp system allows a player that not has the scenario in his computer to play it, so I'll issue a challenge with it.
I have tested it in single player and is fun. Hope you like it.
Posted: Fri Apr 23, 2010 3:55 pm
by pipfromslitherine
Currently you need to pass scenarios to the other player before they can play it - campaigns could be too large to pass around when setting up games. So you'll need to upload it somewhere and provide a link for people to grab it if they want to play. IIRC games which want to use campaigns you don't have will not show up/allow you to play them - but I better check!
As you say, tweaking the unit strengths etc is as simple as copying in the squads.csv file to your campaign and then tweaking away.
Victory points are actually just clever scripting. The scripting is incredibly powerful and pretty much allows you to build a different game! Check out the .BSF files for any of the official scenarios and you will see how it all hangs together - we have ongoing documentation for the scripting language, but it is not part of the build as yet. You might find an AUTODOCS directory in My Docs/BBCBA which contains generated documentation on the script commands though, which is a handy reference to help if you get started now.
Thanks for the feedback!
Cheers
Pip
Posted: Fri Apr 23, 2010 5:37 pm
by ostwind
Thank You !!!
I've found the scripts that call the victory locations and set the victory conditions. I'll try some things with my scenario...
It seems that another player,
Merlock, has accepted the challenge with my custom scenario...let's see if we can play it.
However, here is the link to it, if anybody wants to play, redo or experiment with it.
-link deleted- the updated one is in the last post
I'm really enjoying this game a lot.

Posted: Fri Apr 23, 2010 6:04 pm
by pipfromslitherine
When building custom scenarios, it is better to include the whole campaign directory. That way people will always have any new text, squads, etc. It also means they can just drop them into their user campaigns (or multiplayer) directories, and not pollute their install with missions etc which might be getting changed or updated frequently.
Obviously we'll be explaining the best practices in the (as yet unseen) documentation that we're working on
I'd love to have an integrated way to pass around user content, but it's a pretty big undertaking!
Cheers
Pip
Posted: Fri Apr 23, 2010 6:20 pm
by ostwind
You're right

....I've changed the link of the previous post to download the whole directory.
Regards
Edit: some instructions:
Unrar the file and paste the folder into your Documents/BBCBA (or whatever you've got) directory to edit the scenario or play single player, or into your Program files/BBCBA/Multiplayer directory for playing it in multiplayer mode; where "Program files/BBCBA" is the directory where you installed the game.
Posted: Fri Apr 23, 2010 6:45 pm
by pipfromslitherine
Actually you can just create a Multiplayer directory in your My Docs BBCBA folder and drop the MP scenario in there. I will update the code to create one as it does for Campaigns. We have worked hard to make modding simple!
Cheers
Pip
Posted: Sun Apr 25, 2010 9:40 am
by ostwind
pipfromslitherine wrote:Actually you can just create a Multiplayer directory in your My Docs BBCBA folder and drop the MP scenario in there. I will update the code to create one as it does for Campaigns. We have worked hard to make modding simple!
Cheers
Pip
Good point. As you say, I created a Multiplayer directory in My Docs, and now it's easier to manage the custom scenarios.
I found a little issue when I was playing my escenario in SP. You can rotate the view with Q and E keys, and when I used E key, the editor was opened while the view was rotating; when I released the key and pressed it again, the editor gone. Is this a feature, or is something related to the scenario name and the editor?.
Due to a mistake made in one of the text archives in the directory that I uploaded, the scenario was unplayable. I've fixed it and I've uploaded a new file that contains two directories (Campaigns and Multiplayer). This is the updated link :
http://www.filefront.com/16246089/Custom_scenario.rar/
all you have to do is unrar the content in My Docs/BBCBA directory and play.
@Merlock : sorry for the nconvenience.
I'll issue a new challenge with the scenario. If anyone wants to play it, download the file from the link above, unrar the directories and accept the challenge. I think this is the correct order, isn't it?
...I'll explore the editor features further...
Regards
Posted: Sun Apr 25, 2010 1:47 pm
by ostwind
I've managed to place victory points and markers on the map, but I had a problem.
The script that controls the VPs, is unable to load the "Functions.BSF" if the scenario directory is in My Docs/BBCBA/Campaigns. When I placed the scenario's directory in the game's "CAMPAIGNS" directory (program files/bbcba/campaigns), the script loaded without problems and I could play the scenario with the victory markers placed (in a wrong location, but placed

)
Posted: Wed Apr 28, 2010 4:29 pm
by pipfromslitherine
Let me look into what paths the script files use. It should be able to find scripts in the same directory with no problems.
Cheers
Pip
Posted: Fri Apr 30, 2010 6:11 am
by ostwind
johnncfb and me are trying to play my custom scenario. He has downloaded the latest version, but can't answer my first turn.
It would be interesting if anyone else could test if the scenario is playable in single player (or try a MP game with it). It's no longer than 10 min to play.
It's just a 16x16 basic scenario without scripts, and if we 've got the same version of the game, it should work without problems

Can be a problem of where to place the directories?, Or the s.o.?, I'm using w7 64 ultimate.
Thanks
Posted: Fri Apr 30, 2010 3:03 pm
by pipfromslitherine
When you say he can't answer your first turn, what exactly happens? How does it fail to work?
Cheers
Pip
Posted: Fri Apr 30, 2010 3:25 pm
by pipfromslitherine
I looked at the script include thing. It should include scripts which are inside the same dir as the including script. Exactly where in the directory structure were the scripts you were trying to use?
Cheers
Pip
Posted: Fri Apr 30, 2010 10:19 pm
by ostwind
pipfromslitherine wrote:I looked at the script include thing. It should include scripts which are inside the same dir as the including script. Exactly where in the directory structure were the scripts you were trying to use?
Cheers
Pip
My docs/BBCBA
>CAMPAIGNS (folder)
>>Test_Campaigns (folder)
>>>SCENARIOS (folder)
>>> >>>>
Functions.BSF
>>> >>>>Test.BAM
>>> >>>>
Test.BSF
>>>Campaign.txt
>>>Text1.txt
Posted: Fri Apr 30, 2010 10:23 pm
by ostwind
pipfromslitherine wrote:When you say he can't answer your first turn, what exactly happens? How does it fail to work?
Cheers
Pip
We need to search further...if anyone plays with it and could post their impressions...
Posted: Fri Apr 30, 2010 10:53 pm
by pipfromslitherine
ostwind wrote:pipfromslitherine wrote:I looked at the script include thing. It should include scripts which are inside the same dir as the including script. Exactly where in the directory structure were the scripts you were trying to use?
Cheers
Pip
My docs/BBCBA
>CAMPAIGNS (folder)
>>Test_Campaigns (folder)
>>>SCENARIOS (folder)
>>> >>>>
Functions.BSF
>>> >>>>Test.BAM
>>> >>>>
Test.BSF
>>>Campaign.txt
>>>Text1.txt
That is almost identical to the test I just did. What exactly is the error report when you attempt to run the mission in that configuration.
Cheers
Pip
Posted: Fri Apr 30, 2010 11:08 pm
by pipfromslitherine
ostwind wrote:johnncfb and me are trying to play my custom scenario. He has downloaded the latest version, but can't answer my first turn.
It would be interesting if anyone else could test if the scenario is playable in single player (or try a MP game with it). It's no longer than 10 min to play.
It's just a 16x16 basic scenario without scripts, and if we 've got the same version of the game, it should work without problems

Can be a problem of where to place the directories?, Or the s.o.?, I'm using w7 64 ultimate.
Thanks
I just downloaded and tried an MP game with your new scenario, and it functioned fine. How does the problem manifest itself (why can't the game progress?) - I'm going to need more info to see what is wrong.
Cheers
Pip