Galactopedia modding

Please post here for questions and discussion about scenario, art and sound modding and the game editor for Distant Worlds.

Moderators: Icemania, elliotg

Post Reply
User avatar
Shark7
Posts: 7936
Joined: Tue Jul 24, 2007 4:11 pm
Location: The Big Nowhere

Galactopedia modding

Post by Shark7 »

Is this possible so that we can give our race descriptions for our custom themes?
Distant Worlds Fan

'When in doubt...attack!'
Sir Digby
Posts: 6
Joined: Thu Apr 08, 2010 5:31 pm

RE: Galactopedia modding

Post by Sir Digby »

AFAIK, and going with the Customization Guide, at this time it's not possible to change the Galactopedia.
I'm currently working on a Eve mod and so far the changeable variants are:

Ship and Base Pictures
Race Pictures
Troop Pictures
Star System Names
Ship Design Names
Agent Names
Alien Race conditionals (stats for each race, etc)
Alien dialogue

and that's it.




madpainter
Posts: 70
Joined: Mon Apr 05, 2010 2:09 pm

RE: Galactopedia modding

Post by madpainter »

ORIGINAL: Shark7

Is this possible so that we can give our race descriptions for our custom themes?
You would have to overwrite the mhtml files in the help folder. Just exactly how to do that, I have no idea. But it does seem possible.
Sliverine
Posts: 155
Joined: Thu Apr 15, 2010 9:10 am

RE: Galactopedia modding

Post by Sliverine »

its like a html file so u can open it with any word processor. skip the initial CSS listings and link rels and u will eventually hit a part like this:
<p class=3DMsoNormal>Armor components are dense coverings that form the l=
ast
line of defense against incoming weapons fire. After the shields of a shi=
p or
base have been penetrated, an enemy must then destroy all armor before it=
can
damage the target itself.
</p>
<p class=3DMsoNormal>Armor has two ratings:</p>
<p class=3DMsoListParagraphCxSpFirst style=3D'text-indent:-.25in;mso-list=
:l0 level1 lfo2'><![if !supportLists]><span
style=3D'font-family:Symbol;mso-fareast-font-family:Symbol;mso-bidi-font-=
family:
Symbol'><span style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt=
"Times New Roman"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Basic rating which determines how much raw
firepower it takes to completely destroy the armor component.
<span
style=3D'font-size:12.0pt;font-family:"Times New Roman","serif";mso-ansi-=
language:
EN-GB'> </span></p>
<p class=3DMsoListParagraphCxSpLast style=3D'text-indent:-.25in;mso-list:=
l0 level1 lfo2'><![if !supportLists]><span
lang=3DEN-GB style=3D'font-size:12.0pt;font-family:Symbol;mso-fareast-fon=
t-family:
Symbol;mso-bidi-font-family:Symbol;mso-ansi-language:EN-GB'><span
style=3D'mso-list:Ignore'>&middot;<span style=3D'font:7.0pt "Times New Ro=
man"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></span></span><![endif]>Reactive rating which specifies the level =
of
firepower the armor component can safely absorb without sustaining any
damage.
<span lang=3DEN-GB style=3D'font-size:12.0pt;font-family:"Times Ne=
w Roman","serif";
mso-ansi-language:EN-GB'><o:p></o:p></span></p>

As u can see the description (emboldened) is shrouded in html tags. Simply editing the base description without touching the tags will effectively change your description. Please backup your files before u attempt such changes :)
If my lawn were emo, it would mow itself
madpainter
Posts: 70
Joined: Mon Apr 05, 2010 2:09 pm

RE: Galactopedia modding

Post by madpainter »

I just had I look and its beyond me.[:'(]
So yes it is possible but it isn't very easy, I think I'll give it a miss.[:D]
User avatar
Shark7
Posts: 7936
Joined: Tue Jul 24, 2007 4:11 pm
Location: The Big Nowhere

RE: Galactopedia modding

Post by Shark7 »

So basically, if you can do html coding (which I am a novice at) it is theoretically possible to change the file to include the race descriptions of your mod races...but you probably have to swap the file each time you swap the theme.
Distant Worlds Fan

'When in doubt...attack!'
madpainter
Posts: 70
Joined: Mon Apr 05, 2010 2:09 pm

RE: Galactopedia modding

Post by madpainter »

ORIGINAL: Shark7

So basically, if you can do html coding (which I am a novice at) it is theoretically possible to change the file to include the race descriptions of your mod races...but you probably have to swap the file each time you swap the theme.
Exactly.
User avatar
Rising-Sun
Posts: 2235
Joined: Thu Nov 05, 2009 10:27 am
Location: Clifton Park, NY
Contact:

RE: Galactopedia modding

Post by Rising-Sun »

All you need to do is have Microsoft WordPad that comes in with your Windows, scroll down til you see descriptions about your informations you are looking for, then change the text and/or the picture.

here an example:
<o:lock v:ext=3D"edit" aspectratio=3D"t"/>
</v:shapetype><v:shape id=3D"Picture_x0020_11" o:spid=3D"_x0000_s1043" ty=
pe=3D"#_x0000_t75"
style=3D'position:absolute;margin-left:0;margin-top:-157.7pt;width:180pt;
height:180pt;z-index:1;visibility:visible;mso-wrap-style:square;
mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;
mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;
mso-position-horizontal:left;mso-position-horizontal-relative:text;
mso-position-vertical:absolute;mso-position-vertical-relative:line'
o:allowoverlap=3D"f">
<v:imagedata src=3D"c:/Matrix Games/Distant Worlds/images/units/races/race_0.png" o:title=3D""/>
<w:wrap type=3D"square" anchory=3D"line"/>
</v:shape><![endif]--><![if !vml]><img width=3D240 height=3D240
src=3D"Race_0_files/image002.png" align=3Dleft hspace=3D12 v:shapes=3D"Pi=
cture_x0020_11"><![endif]><span
style=3D'mso-bidi-font-size:10.0pt;mso-bidi-font-family:Tahoma;mso-no-pro=
of:
yes'><o:p></o:p></span></p>
</td>
<td valign=3Dtop style=3D'padding:0in 5.75pt 0in 5.75pt'>
<p class=3DMsoNormal>Average-sized bipedal mammalian race with short white fur.</p>
Image
User avatar
Data
Posts: 3909
Joined: Mon Jan 03, 2011 4:43 pm

RE: Galactopedia modding

Post by Data »

Wow, someone's digging out the old gems..nice find RisingSun.
...Igniting stellar cores....Recharging reactors...Recalibrating hyperdrives....
User avatar
Rising-Sun
Posts: 2235
Joined: Thu Nov 05, 2009 10:27 am
Location: Clifton Park, NY
Contact:

RE: Galactopedia modding

Post by Rising-Sun »

ORIGINAL: Data

Wow, someone's digging out the old gems..nice find RisingSun.

heh thanks, been working on my own mod, hopefully i have it out tomorrow :) Still havent think what to call it yet.
Image
User avatar
Shark7
Posts: 7936
Joined: Tue Jul 24, 2007 4:11 pm
Location: The Big Nowhere

RE: Galactopedia modding

Post by Shark7 »

ORIGINAL: RisingSun

All you need to do is have Microsoft WordPad that comes in with your Windows, scroll down til you see descriptions about your informations you are looking for, then change the text and/or the picture.

here an example:
<o:lock v:ext=3D"edit" aspectratio=3D"t"/>
</v:shapetype><v:shape id=3D"Picture_x0020_11" o:spid=3D"_x0000_s1043" ty=
pe=3D"#_x0000_t75"
style=3D'position:absolute;margin-left:0;margin-top:-157.7pt;width:180pt;
height:180pt;z-index:1;visibility:visible;mso-wrap-style:square;
mso-wrap-distance-left:9pt;mso-wrap-distance-top:0;
mso-wrap-distance-right:9pt;mso-wrap-distance-bottom:0;
mso-position-horizontal:left;mso-position-horizontal-relative:text;
mso-position-vertical:absolute;mso-position-vertical-relative:line'
o:allowoverlap=3D"f">
<v:imagedata src=3D"c:/Matrix Games/Distant Worlds/images/units/races/race_0.png" o:title=3D""/>
<w:wrap type=3D"square" anchory=3D"line"/>
</v:shape><![endif]--><![if !vml]><img width=3D240 height=3D240
src=3D"Race_0_files/image002.png" align=3Dleft hspace=3D12 v:shapes=3D"Pi=
cture_x0020_11"><![endif]><span
style=3D'mso-bidi-font-size:10.0pt;mso-bidi-font-family:Tahoma;mso-no-pro=
of:
yes'><o:p></o:p></span></p>
</td>
<td valign=3Dtop style=3D'padding:0in 5.75pt 0in 5.75pt'>
<p class=3DMsoNormal>Average-sized bipedal mammalian race with short white fur.</p>

Bringing this up to date with the current ability to add more than 20 races, if I want to add race 22 for example, do I simply move to the end of this section of the HTML file and add a new section? Keep in mind I can do a little HTML coding, but I'm very novice at it.
Distant Worlds Fan

'When in doubt...attack!'
User avatar
Igard
Posts: 2282
Joined: Mon Mar 29, 2010 2:43 am
Location: Scotland

RE: Galactopedia modding

Post by Igard »

Galactopedia editing isn't supported. When you select any modded race at the setup screen and click, 'learn more about this race', you'll notice that it just displays the galactopedia first page.

In other words, each vanilla race has its own galactopedia page, race_0.mht - race_21.mht in the help files. You can't add more or link them to a modded race at present.

I use MS Word to edit them, it's alot easier, but not everyone has it.
User avatar
Shark7
Posts: 7936
Joined: Tue Jul 24, 2007 4:11 pm
Location: The Big Nowhere

RE: Galactopedia modding

Post by Shark7 »

ORIGINAL: Igard

Galactopedia editing isn't supported. When you select any modded race at the setup screen and click, 'learn more about this race', you'll notice that it just displays the galactopedia first page.

In other words, each vanilla race has its own galactopedia page, race_0.mht - race_21.mht in the help files. You can't add more or link them to a modded race at present.

I use MS Word to edit them, it's alot easier, but not everyone has it.


We need to bug Elliot to allow it then, I have 32 races in the mod I play. [:@]
Distant Worlds Fan

'When in doubt...attack!'
User avatar
Igard
Posts: 2282
Joined: Mon Mar 29, 2010 2:43 am
Location: Scotland

RE: Galactopedia modding

Post by Igard »

Indeed. It's section 9a on the modder's masterlist.
Post Reply

Return to “Design and Modding”