How to Help with Scripting
Moderators: Oberlus, Committer
- eleazar
- Design & Graphics Lead Emeritus
- Posts: 3858
- Joined: Sat Sep 23, 2006 7:09 pm
- Location: USA — midwest
How to Help with Scripting
Here's a list of things that need to be scripted.
Here's the description of FO's scripting language.
Here's the description of FO's scripting language.
Re: How to Help with Scripting
Here is a patch that adds some crosslinks in the pedia entry:
1. I changed the term "Supply Lines" to just "Supply", linked to it wherever applicable and added a short sentence about the Supply meter to the pedia entry.
2. Added a few crosslinks from techs to specials and vice versa.
What i think is a good idea for the future and i'm willing to add:
One Game Concept entry for each meter of planets:
Population
Happiness
Industry
Research
Trade
Infrastructure (!)
Shield
Defense
Troops (could use the current "Troops Meter" entry)
Detection
Stealth
Supply (see above)
1. I changed the term "Supply Lines" to just "Supply", linked to it wherever applicable and added a short sentence about the Supply meter to the pedia entry.
2. Added a few crosslinks from techs to specials and vice versa.
What i think is a good idea for the future and i'm willing to add:
One Game Concept entry for each meter of planets:
Population
Happiness
Industry
Research
Trade
Infrastructure (!)
Shield
Defense
Troops (could use the current "Troops Meter" entry)
Detection
Stealth
Supply (see above)
- Attachments
-
[The extension patch has been deactivated and can no longer be displayed.]
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.
- eleazar
- Design & Graphics Lead Emeritus
- Posts: 3858
- Joined: Sat Sep 23, 2006 7:09 pm
- Location: USA — midwest
Re: How to Help with Scripting
Thanks,
Committed revision 5497
"more crosslinks by sloth"
Also note that some meters are shared by ships and planets. The same article can do for both, at least in some cases.
Committed revision 5497
"more crosslinks by sloth"
I re-insterted "lines" into most of the instances -- wherever it could be talking about the actual lines on the map, it is more clear and concrete.Sloth wrote:1. I changed the term "Supply Lines" to just "Supply", linked to it wherever applicable and added a short sentence about the Supply meter to the pedia entry.
That work is desired, and has been requested here. Though i don't care where you post itSloth wrote:What i think is a good idea for the future and i'm willing to add:
One Game Concept entry for each meter of planets:
...
I did that one already.Sloth wrote:Happiness...
Yeah, probably a good idea not to have an article strictly on the meter, but about troops, or whatever, and include the information on the meter.Sloth wrote:Troops (could use the current "Troops Meter" entry)
Also note that some meters are shared by ships and planets. The same article can do for both, at least in some cases.
Re: How to Help with Scripting
Here is the next patch: Troops, Shields and Defense.eleazar wrote:Yeah, probably a good idea not to have an article strictly on the meter, but about troops, or whatever, and include the information on the meter.Sloth wrote:Troops (could use the current "Troops Meter" entry)
Also note that some meters are shared by ships and planets. The same article can do for both, at least in some cases.
Two new Game Concept entries and lots of linking.
- Attachments
-
[The extension patch has been deactivated and can no longer be displayed.]
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.
- eleazar
- Design & Graphics Lead Emeritus
- Posts: 3858
- Joined: Sat Sep 23, 2006 7:09 pm
- Location: USA — midwest
Re: How to Help with Scripting
Thanks
committed revision 5502
"meter descriptions for Troops, Shields and Defense, and crosslinks by Sloth. Also corrected descriptions for ground troop numbers from my previous ground changes."
Since adding links is pretty non-controversial, feel free to submit larger, less frequent patches.
committed revision 5502
"meter descriptions for Troops, Shields and Defense, and crosslinks by Sloth. Also corrected descriptions for ground troop numbers from my previous ground changes."
Since adding links is pretty non-controversial, feel free to submit larger, less frequent patches.
Re: How to Help with Scripting
Here is the next patch: Infrastructure, Stealth, Detection Strength and Detection Range.
Four new Game Concept entries and lots of linking.
NOTE: The Infrastructure entry doesn't explain anything yet, because i'm not sure what it really does now that it's no longer responsible for supply.
Four new Game Concept entries and lots of linking.
NOTE: The Infrastructure entry doesn't explain anything yet, because i'm not sure what it really does now that it's no longer responsible for supply.
- Attachments
-
[The extension patch has been deactivated and can no longer be displayed.]
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.
Re: How to Help with Scripting
There are a number of buildings, like the Industrial Center, that give a benefit that is taken as the better of two possibilities: one based on target population, and one based on target infrastructure (although the scaling factors used in the respective calculations are not identical). So a planet with a tiny max population might still have decent production due to the calculations based on infrastructure.Sloth wrote:Here is the next patch: Infrastructure, Stealth, Detection Strength and Detection Range.
Four new Game Concept entries and lots of linking.
NOTE: The Infrastructure entry doesn't explain anything yet, because i'm not sure what it really does now that it's no longer responsible for supply.
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: How to Help with Scripting
There are also a few buildings that reduce target construction (shipyard, drydock, observatory).
- eleazar
- Design & Graphics Lead Emeritus
- Posts: 3858
- Joined: Sat Sep 23, 2006 7:09 pm
- Location: USA — midwest
Re: How to Help with Scripting
revision 5529
" Infrastructure, Stealth, Detection Strength and Detection Range 'Pedia and crosslink patch by sloth. Also i removed unnecesarily narrow ...METER... from article names."
IMHO Infrastructure needs to be thoroughly revised or removed- it is confusing, overly-complicated, hard to explain.
but this isn't the thread for that discussion.
EDIT: Split out reply to here
" Infrastructure, Stealth, Detection Strength and Detection Range 'Pedia and crosslink patch by sloth. Also i removed unnecesarily narrow ...METER... from article names."
IMHO Infrastructure needs to be thoroughly revised or removed- it is confusing, overly-complicated, hard to explain.
but this isn't the thread for that discussion.
EDIT: Split out reply to here
Re: How to Help with Scripting
I think you've only changed the variable names in encyclopedia.txt (for example STEALTH_METER_TEXT to STEALTH_TEXT) , which messes up all the links that still look for STEALTH_METER_TEXT.eleazar wrote:revision 5529
" Infrastructure, Stealth, Detection Strength and Detection Range 'Pedia and crosslink patch by sloth. Also i removed unnecesarily narrow ...METER... from article names."
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.
- eleazar
- Design & Graphics Lead Emeritus
- Posts: 3858
- Joined: Sat Sep 23, 2006 7:09 pm
- Location: USA — midwest
Re: How to Help with Scripting
I made the changes, but didn't put them in the right place. fixed now.
revision 5537
revision 5537
Re: How to Help with Scripting
Here is the next patch: Industry, Research and Trade.
Three new Game Concept entries (one of which is a placeholder) and lots of linking.
This finishes my initial project.
Three new Game Concept entries (one of which is a placeholder) and lots of linking.
This finishes my initial project.
- Attachments
-
[The extension patch has been deactivated and can no longer be displayed.]
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.
Re: How to Help with Scripting
Thanks for adding eleazar. I think you've missed the TRADE_TITLE and TRADE_TEXT in the stringtable though.
Here is a fix patch (+ 4 brand new crosslinks).
Here is a fix patch (+ 4 brand new crosslinks).
- Attachments
-
[The extension patch has been deactivated and can no longer be displayed.]
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.
- eleazar
- Design & Graphics Lead Emeritus
- Posts: 3858
- Joined: Sat Sep 23, 2006 7:09 pm
- Location: USA — midwest
Re: How to Help with Scripting
I didn't include it because trade already had a 'pedia entry.Sloth wrote:Thanks for adding eleazar. I think you've missed the TRADE_TITLE and TRADE_TEXT in the stringtable though.
revision 5559.
"a few more cross-links by sloth."
Re: How to Help with Scripting
You've added the pedia article from the patch (see here: https://github.com/freeorion/freeorion/ ... e7d0a7525b), but it looks for TRADE_TITLE and TRADE_TEXT in the eng stringtable, which weren't commited.eleazar wrote: I didn't include it because trade already had a 'pedia entry.
All released under the GNU GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0 licences.