Saturday, 2011-11-19

*** tpb has joined #freeorion00:00
*** VargaD has quit IRC00:32
*** lethu has quit IRC03:48
*** lethu has joined #freeorion04:00
*** lethu has joined #freeorion04:00
*** STalKer-Y has quit IRC04:46
*** STalKer-X has joined #freeorion04:46
*** _Maru_ has quit IRC06:06
*** gvdm has joined #freeorion06:21
*** VargaD has joined #freeorion06:45
*** _Maru_ has joined #freeorion06:58
gvdmwhen adding descriptions to effects the standard currently is to prefix the description key by the effects file it originates from, right?07:22
gvdmso, for a description of a species foci, SP_FARMING in eng_stringtables.txt?07:23
GeofftheMediodescriptions for content usually have some related prefix before the stringtable entry07:34
GeofftheMediothese aren't "effects" though07:34
gvdminstead of Species: +15, i'd like Focused Farming: +1507:36
gvdmetc07:36
gvdmits an effect in species.txt07:36
gvdmwell, as far as I understand07:36
GeofftheMedioI don't know what you're asking about then07:36
GeofftheMedioI thought you meant what to call the stringtable entries07:37
gvdm        EffectsGroup07:37
gvdm            scope = Source07:37
gvdm            activation = Planet environment = Good07:37
gvdm            effects = SetTargetFarming Value + Target.Population * 107:37
gvdmright, so this is in species.txt07:37
gvdmwould I call it SP_FARMING?07:38
gvdmif i added a description clause07:38
gvdmwould I call it SP_FARMING_DESC?07:38
GeofftheMedioI still don't knwo what you're talking about07:38
GeofftheMediowhat are "calling" anything?07:38
gvdmthe string key07:38
GeofftheMediofor what?07:38
gvdmfor a production/farming effect, species.txt lines ~1032007:39
gvdmwell, for the humans07:39
gvdmi'm first testing/implementing with humans, then i'll do the rest of the species07:40
GeofftheMediothat's in the middle of a species definition...07:40
GeofftheMediowhere is there a stringtable entry reference?07:40
gvdmwhen farming is focused, instead of just having the description of additions being "Species:" it'll be "Focused farming:"07:42
GeofftheMediothere's no string for that07:42
gvdmi'm making one07:42
gvdmso i'm asking07:42
gvdmwhat is the string key format?07:42
gvdmSP_ (as its in the species file?) FARMING_ (what it describes?) DESC (as its a description?)07:43
gvdmSP_FARMING_DESC?07:43
gvdmwhats the convention?07:43
gvdmi'm trying to follow project conventions07:43
gvdmor should I make my own up?07:44
GeofftheMediothe prefixes are for names of things of various types, not what file they're in07:45
GeofftheMedioeg. species names have strings starting with SP07:45
GeofftheMediocolony ship parts have string names starting with CO07:45
GeofftheMediodepending how you're setting things up, this might be an effects group name?07:46
gvdmok, so, for a more decriptive resource breakdown (which works well right now for tech additions and specials etc) which is due to species benefits, what kind of string key would I use?07:46
gvdmlet me test with just a single string, then I'll come back and ask what I should call the string key07:47
GeofftheMedioare you effectively naming an effects group?07:47
gvdmwell, don't know if its an effects group, because its a different effects group depending on planet size, but yeah07:48
gvdmso, the same string regardless of planet size, but for research and industry, yes, its one effects group07:48
GeofftheMediodoesn't sound like this needs a prefix07:49
gvdmok07:52
gvdm, thans07:52
gvdmthanks07:52
gvdmis there a particular place in eng_stringtable to put them?07:52
GeofftheMediono07:52
gvdm## Resources Panel ########## ?07:53
gvdmlooks like a good place07:53
gvdmhmm, seems to be in a strictly UI area though07:54
GeofftheMedioisn't your addition a UI thing?07:55
gvdmwell, yes07:56
gvdmok, its going there07:56
gvdmthis is going to have to be reviewed anyway07:56
*** gvdm has quit IRC07:59
*** gvdm has joined #freeorion08:05
gvdmanyway to find out why a file is not being read? ie, error messages?08:06
gvdmok, yeah, putting a description on an effects group08:07
gvdmdoesn't work08:08
gvdmapart from that, my changes are good08:08
gvdmthey just result in crappy text appear on focus hover, the resources breakdown descriptions08:08
gvdmSpecies Human appears twice08:09
gvdmas the effects are both applied in the species definition08:09
GeofftheMediowhat version are you running / modifying?08:13
gvdm447108:14
GeofftheMedioupdate to the latest svn.  the changes in part are intended to make scripting errors clearer.08:14
GeofftheMedioit should give some indication of the problem on the command-line, though08:15
GeofftheMedioeven in 447108:15
GeofftheMediousually only localized to the top level thing in the file08:15
GeofftheMedioeg. the offending species definition08:15
GeofftheMediobut not the offending effectsgroup or condition08:16
gvdmwell, i figured out the issue, a description in an effectsgroup08:16
gvdmhow would we achieve configurable text there?08:18
gvdmwith the new parser changes is it slightly easier?08:19
GeofftheMedioI don't think the new parser makes making changes any easier, but yes, a parser change would likely be needed08:20
gvdmso effectsgroups can't have descriptions at the moment?08:34
GeofftheMedionope08:46
*** Farmer_ has joined #freeorion09:55
*** gvdm has quit IRC10:51
*** gvdm has joined #freeorion12:07
*** StrangerDanger has quit IRC12:19
gvdmhttp://www.freeorion.org/forum/viewtopic.php?f=6&t=621013:31
tpb<http://ln-s.net/9LmP> (at www.freeorion.org)13:31
gvdmto play with test species?13:36
gvdmyou enable them in species.txt?13:36
gvdmI want to test dansans ship shield patch13:38
gvdmso i need a suitably weak enemy i can send a ship at, which will then live13:38
gvdmalso, uncommenting the "powerful testing fleet" (dragon tooth designs) creates an empty fleet which disappears after one turn13:58
gvdmI needed to add it to starting_designs.txt14:01
gvdmI needed to add it to starting_ship_designs.txt14:01
gvdmdansan, patch doesn't work14:04
gvdmor at least, the dragon tooth did not recover its shields14:04
gvdmbut the patch /looks/ fine14:04
gvdmi tried in supply range14:04
gvdmbut only at a drydock did they recover shield, which is irrelevant to this i think14:05
gvdmis a xentrium hull meant to recover shield?14:06
gvdmoh, hah14:11
gvdmits not for structure, just shield, my silly14:11
gvdmwell, after a battle the shields are up again14:15
gvdmso... it works?14:15
gvdmanybody awake?14:26
*** Farmer_ has quit IRC14:56
*** gvdm has quit IRC19:15
*** Xenux has joined #freeorion20:19
*** Farmer_ has joined #freeorion20:23
*** Xenux has quit IRC23:54

Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!