Script Manual

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
Old_Warrior
Major - Jagdpanther
Major - Jagdpanther
Posts: 1019
Joined: Fri Apr 30, 2010 3:13 am

Script Manual

Post by Old_Warrior »

I have read over the STUB Documentation and has been mentioned in another thread it is both difficult for Pip to cover all of the items that could be listed in this "manual."

However, what I would like to do is develop a manual based on user (and Pip's) input.

The manual would use SCREENSHOTS and explain CAREFULLY the entries for folks like myself who have done SOME encapsulation coding before but for whom a short, terse, explanation will not do. Folks could submit their scripts for the manual as well (but note below - duplicate submissions would be merged or the author told that we already have an example for pretty much the same thing)

I would like to get as many contributors as possible to help. Here is the format:

Title of Feature - keep it brief
Description/Purpose of Feature - hold it down to say 40 words or less
Script for Feature - check it before you submit it ...
Breakdown of script - describe the elements of the script using plain English for anyone that would want to mod the game. Avoid using abbreviations. Describe the entries so that most anyone could understand it.
Illustration of script in action - show a screenshot from the game how the script interacts with the program. Simply circle or note on the screenshop using Paint or Photoshop where the script interacts with the game such as "this command places the reinforcements here at this location and then heads them off to attack this objective."

Format of file: plain text file with attached screenshot file(s). For multiple illustrations note where each should be placed.

Start of work: August 15th, 2012.

The file would be a PDF. Hopefully Slitherine would host it. It would be updated monthly on the website (if it has changed). Otherwise I can host it on my server.

I think that a community project is a blast and many of you have put together scripts or are working on them and know the script language very well. A document that we could provide for people would not only help them to understand how it all works but also draw out more creative powers from the customers as well.

Note: if the feature gets added into the game as a plug-in then it would be placed in an archived section of the manual. The plugin that replaced it would be listed after the description.

I would want one helper to assist me in gathering the material together. Title: Technical Associate. You would basically take the files that are sent and place them into a format that we agree on for building the manual. We would review the entries and then I would place them in the document and replace the older document on the server once a month.

I would want someone that understands the script and may be able to catch errors in the text. We also would want to discriminate on some scripts and perhaps merge entries which are on the same topic. Finally, we would need to add the script name and key phrases to an index.

We could start by taking as many of the scripts that we can and adding them into the manual. As long as we are not violating any copyright issues we could show how the existing scripts in the game work too.

If interested please PM me or reply here. We would want to have a short planning "session" to determine the "chapters" needed in the manual. I would basically format the master document. It would be up to the contributors and the Technical Associate to come to an agreement on the format. And of course we would pass it by Pip and Iain for comment.

We should set a limit on the number of entries per month as well. I, for one, could not handle more than say twenty new entries. Others would be welcome to join the "staff" to help the Tech. Associate out. Just send me the final files and I will merge them into the document. Highlight the key words for me and I will do the rest. If someone else wants to help me out that works too. Maybe you are a wiz at custom documents. Works for me! :D
Old_Warrior
Major - Jagdpanther
Major - Jagdpanther
Posts: 1019
Joined: Fri Apr 30, 2010 3:13 am

Re: Script Manual

Post by Old_Warrior »

Also: I will post a sample page here so folks get the idea of what I would like to do.
pipfromslitherine
Site Admin
Site Admin
Posts: 9929
Joined: Wed Mar 23, 2005 10:35 pm

Re: Script Manual

Post by pipfromslitherine »

Is there a reason not to host this on the wiki? It has very good support for code sections etc.

Cheers

Pip
pipfromslitherine
Site Admin
Site Admin
Posts: 9929
Joined: Wed Mar 23, 2005 10:35 pm

Re: Script Manual

Post by pipfromslitherine »

Just to add that I am happy to explain or help with this kind of thing. E.g. if you're doing a segment on a specific thing and need to know how something works under the hood, then feel free to ask! :)

Cheers

Pip
Old_Warrior
Major - Jagdpanther
Major - Jagdpanther
Posts: 1019
Joined: Fri Apr 30, 2010 3:13 am

Re: Script Manual

Post by Old_Warrior »

I would like to avoid wiki as it means that we are bound by a site being online. If for some reason I need the info and my power is out in Boise, I do not want to be bound by the availability of the internet.

Yes, you are MOST helpful in explaining these commands! D)
pipfromslitherine
Site Admin
Site Admin
Posts: 9929
Joined: Wed Mar 23, 2005 10:35 pm

Re: Script Manual

Post by pipfromslitherine »

Understood. We can definitely link to a version from the wiki.

Cheers

Pip
Old_Warrior
Major - Jagdpanther
Major - Jagdpanther
Posts: 1019
Joined: Fri Apr 30, 2010 3:13 am

Re: Script Manual

Post by Old_Warrior »

Just an update on this: I am in the midst of getting the stuff ready for the manual. I am figuring out the basic "shell" for most of the files and then will help the guys learn how to add in more.

The concept being that it is easier to work from scratch than to know which parts of the script to "tear out" later.

The manual will have three flavors:

Beginner - the basic files and their uses will be explained. The basic values needed in each will be illustrated and what each line does to the game will have an illustration (if needed).

Intermediate - more "chrome" that can be added will be introduced. The customer will learn how to add in text for the mission briefing and in game events will be described and how to add in text for those (as well) will be listed.

Advanced - how to program the AI events for the units. Stuff like that.

The concept is to layer it like the old "Squad Leader" game - teach the players how to get into the text files.

As there is already a separate section on how to build 3D images for the game I will not be covering that.
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: Script Manual

Post by GottaLove88s »

Hi Old Warrior. Great project. Really looking forward to this. Totally need! (ok, want :mrgreen:)
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
GottaLove88s
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3151
Joined: Fri Apr 06, 2012 6:18 pm
Location: Palau

Re: Script Manual

Post by GottaLove88s »

Hey OW,

How is your Manual project going? I'd love to see (use!) a copy, if it's nearly ready... even in draft.

:-)
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
jcb989
Colonel - Fallschirmjäger
Colonel - Fallschirmjäger
Posts: 1423
Joined: Fri Nov 05, 2010 12:02 am
Location: Bradenton, Florida

Re: Script Manual

Post by jcb989 »

same here lol.
Post Reply

Return to “Battle Academy : Modders Corner ”