Posibility of splitting Research Tree? (prresearch.txt)

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
REZ
Trained
Trained
Posts: 93
Joined: 16 Dec 2009, 11:49
Location: Pattensen, Germany

Posibility of splitting Research Tree? (prresearch.txt)

Post by REZ »

Hello,

does anyone know, if it is possible, to force the player to decide between 2 Technologies, that are to be researched.

For example:
Technology 1: increasing fire rate of a certain weapon
Technology 2: increasing the damage of a certain weapon

After the Player has chosen, f.e. Tech 1, Tech 2 is no longer avilable.

Does anyone know of working examples for that?

Or is this something that might be avilable at the future throungh js-coding.
Creating special variables and using those?

Have a nice week,

C.U. R.E.Z.
User avatar
Goth Zagog-Thou
Regular
Regular
Posts: 1582
Joined: 06 Jan 2007, 08:08
Location: Delta Base

Re: Posibility of splitting Research Tree? (prresearch.txt)

Post by Goth Zagog-Thou »

I believe that redcomponent and redstructure handle what you're asking. Not certain as I'm like a deer in headlights when it comes to the innards of the research tree. Maybe someone with more skill than me in that area could answer.
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: Posibility of splitting Research Tree? (prresearch.txt)

Post by NoQ »

I think you won't be able to remove the other technology from the tree.

Still it'd probably be easy to make sure the second research on a certain branch will not be available after researching at least one research on the other branch (so, optionally, researching both first techs will block both branches).
REZ
Trained
Trained
Posts: 93
Joined: 16 Dec 2009, 11:49
Location: Pattensen, Germany

Re: Posibility of splitting Research Tree? (prresearch.txt)

Post by REZ »

Hello :-)

Thank You :-)
I will try to set that up.

C.U. R.E.Z.