Mercury314
Chieftain
- Joined
- Sep 6, 2007
- Messages
- 43
I am currently working on a new mod, which is going great, except I haven't been able to figure out two things yet.
When certain techs are researched (i.e. communism) you receive a free unit (i.e. a great spy). But only if you are the first to discover said tech.
What I would like to do is (without screwing up the original techs and losing the ability to grant "first only" units) is have a technology grant units regardless of when it is discovered (so basically the moment you get it, or the turn afterwards).
I am currently working through events, but that really isn't working very well (often it takes many turns before the event takes place, which makes sense, but isn't what I want).
The other problem is that I would like to create a unit that grants a small amount of research upon performing the "research" action, much like a great person does, only instead of granting a large amount once, being able to grant a small amount each turn (I'll worry about automation at a later time).
Does anyone have any hints as to how I could accomplish it, or perhaps know of a mod where something like this was done so I can look at their example to figure out what I have to do?
Thank you all so much for your time looking into this for me!
When certain techs are researched (i.e. communism) you receive a free unit (i.e. a great spy). But only if you are the first to discover said tech.
What I would like to do is (without screwing up the original techs and losing the ability to grant "first only" units) is have a technology grant units regardless of when it is discovered (so basically the moment you get it, or the turn afterwards).
I am currently working through events, but that really isn't working very well (often it takes many turns before the event takes place, which makes sense, but isn't what I want).
The other problem is that I would like to create a unit that grants a small amount of research upon performing the "research" action, much like a great person does, only instead of granting a large amount once, being able to grant a small amount each turn (I'll worry about automation at a later time).
Does anyone have any hints as to how I could accomplish it, or perhaps know of a mod where something like this was done so I can look at their example to figure out what I have to do?
Thank you all so much for your time looking into this for me!