Pomakli,
Sorry not to get back to you sooner but I was spending time figuring out how it all works.
Good news!! I know how to add a new unit with a new special ability!
If you can wait, I'm going to write a tutorial that includes a Sharpshooter Scenario soon explaining "how-to".
In the meantime I'll give you some hints because I know you want to figure this out on your own ....
1. Read page 3 in the STUB Engine Documentaion .... line 3 (changed 3bulge to read my_campaign) ;
Copy the Data\Battle\Scripts directory into e.g. My Documents\My
Games\BBCBA\Campaigns\my_campaign\Data\Battle\Scripts.
2. Copy/Paste the SNIPER.BSF file (from my_campaign\data\battle\scripts)onto itself (same folder), don't worry it won't overwrite and will be called SNIPER - COPY.BSF.
3. Change SNIPER - COPY.BSF to your unit name ... eg US_Sniper.bsf
4. Open US_Sniper.bsf and add this code to the top ;
This is REQUIRED otherwise you will get error's that relate to the code in US_Sniper not being defined.
5. With US_Sniper.bsf still open, rename all the FUNCTION to something unique. Ensure that you also change any code inside the function that calls for any of the original function names to the new names.
6. Change code ...
to read ...
This will ensure that when your sniper levels-up he will keep the sniper shot skill.
7. Save the US_Sniper.bsf !!!
Now, this should work, and you now start the scenario with a Level 0 Sniper !!! No need to use the bonus card anymore.
Hope this helps,
Rob