Upgradable armour?

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

Moderators: elliotg, Icemania

Post Reply
aZmoDen
Posts: 42
Joined: Wed Aug 28, 2013 9:15 pm

Upgradable armour?

Post by aZmoDen »

Hello ive been tinkering with components and research to create my own bits and pieces in game.
However i ahve run into a stumbling block.
Im trying to create an armour that i can upgrade in a similar way to the race specific weapons/reactors/shields etc.
BUT!
When i try and run the game with these entries, it crashes unless i remove everything but the initial research entry.
Does anyone have any ideas? is this even possible? or is armour 1 unit only and non upgradable?
heres my data:

COMPONENTS.TXT:

140, Diamond Armour, 31, 0, , 1, 1, 0, 40, 7, 0, 0, 0, 0, 0, 17, 10, 11, 10, 12, 10,


RESEARCH.TXT

PROJECT ;435, Diamond Armour, 0, 43, 0, 19, 0, 0.0,
COMPONENTS ;140
ALLOWED RACES ;Human

PROJECT ;436, Diamond Armour, 1, 43, 0, 19, 0, 0.0,
COMPONENT IMPROVEMENTS ;140, 1, 60, 8,
PARENTS ;435, N
ALLOWED RACES ;Human

PROJECT ;437, Diamond Armour, 2, 43, 0, 19, 0, 0.0,
COMPONENT IMPROVEMENTS ;140, 2, 80, 9,
PARENTS ;436, N
ALLOWED RACES ;Human

PROJECT ;438, Diamond Armour, 3, 43, 0, 19, 0, 0.0,
COMPONENT IMPROVEMENTS ;140, 3, 100, 10,
PARENTS ;437, N
ALLOWED RACES ;Human

PROJECT ;439, Diamond Armour, 4, 43, 0, 19, 0, 0.0,
COMPONENT IMPROVEMENTS ;140, 4, 120, 11,
PARENTS ;438, N
ALLOWED RACES ;Human

PROJECT ;440, Diamond Armour, 5, 43, 0, 19, 0, 0.0,
COMPONENT IMPROVEMENTS ;140, 5, 140, 12,
PARENTS ;439, N
ALLOWED RACES ;Human

PROJECT ;441, Diamond Armour, 6, 43, 0, 19, 0, 0.0,
COMPONENT IMPROVEMENTS ;140, 6, 160, 13,
PARENTS ;440, Y
ALLOWED RACES ;Human

PROJECT ;442, Diamond Armour, 7, 43, 0, 19, 0, 0.0,
COMPONENT IMPROVEMENTS ;140, 7, 180, 14,
PARENTS ;441, N
ALLOWED RACES ;Human

PROJECT ;443, Diamond Armour, 8, 43, 0, 19, 0, 0.0,
COMPONENT IMPROVEMENTS ;140, 8, 200, 15,
PARENTS ;442, N
ALLOWED RACES ;Human
User avatar
elliotg
Posts: 3848
Joined: Mon Sep 10, 2007 9:32 am

RE: Upgradable armour?

Post by elliotg »

Hi aZmoDen

I think you're missing the extra 'Value' entries in the Component Improvement lines. You need to specify all entries from Value1 through Value7, even if you only modify some of them.

So your first Component Improvement line in Research.txt would look like the following:
COMPONENT IMPROVEMENTS ;140, 1, 60, 8, 0, 0, 0, 0, 0,

Elliot
aZmoDen
Posts: 42
Joined: Wed Aug 28, 2013 9:15 pm

RE: Upgradable armour?

Post by aZmoDen »

Wow thank you for taking the time to help me!
I followed your advice and it all worked beautifully!
Thank you for your time!

az.
Post Reply

Return to “Design and Modding”