Help With Weapons file/research please :)

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
Justtheguybob
Posts: 27
Joined: Sun Jun 01, 2014 1:14 am

Help With Weapons file/research please :)

Post by Justtheguybob »

Accidentally put my question below this one but there it is. Any help would be greatly appreciated :)

The modding guide was a little hard to understand on some parts but... heres what I understand
Justtheguybob
Posts: 27
Joined: Sun Jun 01, 2014 1:14 am

Please see if I am right on this

Post by Justtheguybob »

0, Maxos Blaster, 0, 0, laser.wav, 48, 5, 0, 5, 190, 12, 360, 1, 1240, 0, 1, 2, 4, 4, 14, 3,


What does the 0, 0, laser.wav, part mean broken down?

I take it the part after that
48, 5, 0, means its a beam weapon (48)
and the mass is 5
and the 0 I am unsure of (any help on that would be nice)


5, 190, 12, 360, 1, 1240, 0, Is the next section so broken down tell me if I have this right

5 is damage
190 is range
12 is energy used
360 is speed
1 (Unsure but I think its 1 damage loss per 100 distance)
1240 is I am assuming 1.24 fire rate (correct?)


1, 2, 4, 4, 14, 3, is the next part of code

1 is the first resource type? (nekros stone)
2 is how many of first resource?
4 is 2nd resource type
4 is the amount of 2nd resource type
14 is 3rd resource type
3 is 3rd resource amount

Does this all sound correct?



The next part of it is in research...

PROJECT ;6, Enhanced Beam Weapons, 1, 3, 0, 19, 0, 0.0,
COMPONENTS ;0
PARENTS ;367, N


So Again
6 I am guessing is just a # to code each type of research in order so it keeps going up as you add more
1 is the first upgrade?
3 is total amount of upgrades for this particular component?
0, 19, 0, 0.0 Unsure of this whole bit
Components 0 Unsure of this also
Parents 367, N Unsure again..



User avatar
Darkspire
Posts: 1986
Joined: Thu Jun 12, 2003 8:07 pm
Location: My Own Private Hell

RE: Please see if I am right on this

Post by Darkspire »

Read the text file, use the Universe Modding Reference as a reference, it just lists the information in the files, does not really do much else. For example the very last line of the definitions in research.txt states;
'PARENTS line - list of multiple parent research projects, each one comprised of comma-separated values as follows:
' - Parent Project Id: ProjectId value indicating parent research project. Must match a project in this research.txt file
' - Required Parent: Y/N value indicating whether must first research this parent project (Y) or is optional path (N)

This answers your last question;
Parents 367, N Unsure again..

The file research.txt is a case of very carefully following the definitions file instructions, careful planning and a logistical view.

Darkspire
Post Reply

Return to “Design and Modding”