|
|
|
|
|
December 20th, 2001, 01:34 PM
|
Corporal
|
|
Join Date: Apr 2001
Location: UK
Posts: 117
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SE IV Gold: Starting tech levels? Yes or No?
Another test.
Created 3 tech areas:
Dummy A
Dummy B (requires Dummy A level 1)
Dummy C (requires Dummy B level 1)
Initially, made Dummy B a racial tech type with start level of 1.
Started a race with Dummy B tech. Saved game, edited tech file so that tech B is now a normal, non-racial item.
Loaded game : Was able to research Dummy A and Dummy C, but not Dummy B.
So, it looks like this works; still need to test trading.
Another thing to test is how many racial areas we are allowed. I might make my mod so that ANY tech can be bought with racial points, and that ANY tech can be researched. Thinking maybe race points cost is based on cost of that tech at level 1, plus half cost of all pre-req techs. Only available at level 1. Then I just have 2 TechAreas files; one for game startup, one for game in progress.
|
December 20th, 2001, 04:06 PM
|
|
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Re: SE IV Gold: Starting tech levels? Yes or No?
Excellent bit of deduction here Mark. I have run some more tests and have some observations...
Trading techs is not a problem. As long as they are not listed as racial techs in the TechArea.txt files at the time of the trade, they can be traded. (Actually Racial techs can be traded as well, but the race receiveing it has to have that racial trait as well to be able to understand it.)
I ran some tests making Construction, Fighters, Mines, and Tropps all as Racial techs. As long as you select Construction and the other tech, you can research the higher levels once the TechArea.txt is back to normal. (As you expected, just confirming that one.)
The idea doesn't seem to work with multiple levels of the same tech though. I tried a few different tests and the best I could do was get it to allow one player level 1 fighters and one level 2 fighters at game startup. Which was what I was going for, but then when the TechArea.txt file goes back, they both end up with level one fighters, and the guy that selected level 2 fighters has to research construction, even though he had it as a racial trait. Either the game is getting confused or I fumble fingered something cause that doesn't make sense to me.
What should work though would be to change the TechArea.txt file so that there are no levels. Instead of Fighters levels 1 through 3, you would have seperate tech areas for Fighters I, Fighters II and Fighters III. It would flatten out the Tech Tree, actually it wouldn't be a tree anymore, it would be a list.
But then you could go as far as you wanted with this idea, depending on some hypothetical limit to the number of racial techs. You could truly select any tech at game startup. And as long as you selected that techs prerequisits you would also be able to research it further in the game. If you didn't select the prereq's you would have to research them all before you could move on. Also if there was a comp that required level 3 of propulsion (Emergency propulsion IIRC) then selecting level 6 would not give it to you. You would have to select level 1 through 6 of propulsion.
Not sure what the limit to the Racial Tech areas is. Maybe 255? We'd have to check with Aaron on that. The Racial Trait file would get pretty big as well. We'd have to rewrite the comp.txt and VehicleSize.txt and Facilities.txt files. But they wouldn't get any bigger really. You'd just have to go through and change the requirements. For example if you had a component that required Propulsion level 6, you would change that to require Propulsion VI level 1.
Would require a lot of changes to the files, but you'd only have to do it once. One hard part would be deciding what amount of racial points to require for each tech.
You'd also have to redo the AI's, but that wouldn't be as difficult as it might seem. I have some ideas already about that. It should be possible to adjust them so they function in this environment as well as in the stock one.
Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|
December 20th, 2001, 04:53 PM
|
Corporal
|
|
Join Date: Apr 2001
Location: UK
Posts: 117
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SE IV Gold: Starting tech levels? Yes or No?
quote: Originally posted by geoschmo:
Trading techs is not a problem. As long as they are not listed as racial techs in the TechArea.txt files at the time of the trade, they can be traded. (Actually Racial techs can be traded as well, but the race receiveing it has to have that racial trait as well to be able to understand it.)
Good, I had hoped this would work. It means we can switch racial traits away from being racial, too, if we want. Careful there though... I would be inclined to put the research cost WAY higher. I mean, does it really break the game if a race can become psychic later? Should it really be impossible to develop Crystalline or Temporal tech after discovering space flight?
quote: Originally posted by geoschmo:
What should work though would be to change the TechArea.txt file so that there are no levels. Instead of Fighters levels 1 through 3, you would have seperate tech areas for Fighters I, Fighters II and Fighters III. It would flatten out the Tech Tree, actually it wouldn't be a tree anymore, it would be a list.
(snip by MW)
Also if there was a comp that required level 3 of propulsion (Emergency propulsion IIRC) then selecting level 6 would not give it to you.
Yes, very interesting! The points costs could be balanced out in proportion to the number of research pointe required to reach that level. So, if your race CAN produce top-level APB's on the first turn, they probably can't do a whole lot else. (Like, actually afford to build a vessel carrying one)
quote: Originally posted by geoschmo:
You'd also have to redo the AI's, but that wouldn't be as difficult as it might seem. I have some ideas already about that. It should be possible to adjust them so they function in this environment as well as in the stock one.
Geoschmo
I would be interested to hear those ideas, it may just be creating a different style of ai_research.txt : the idea would really have to work well though, for people to be bothered to do it... unless we name the techs in such a way that a script would handle it.
This might work well with some of the ideas I shelved for my mod (which one day will be in releasable format!!) regarding weapons (and other tech) development. I'll dig out my notes and start thinking.
|
December 20th, 2001, 04:57 PM
|
Corporal
|
|
Join Date: Apr 2001
Location: UK
Posts: 117
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SE IV Gold: Starting tech levels? Yes or No?
quote: Originally posted by geoschmo:
The idea doesn't seem to work with multiple levels of the same tech though. I tried a few different tests and the best I could do was get it to allow one player level 1 fighters and one level 2 fighters at game startup. Which was what I was going for, but then when the TechArea.txt file goes back, they both end up with level one fighters, and the guy that selected level 2 fighters has to research construction, even though he had it as a racial trait. Either the game is getting confused or I fumble fingered something cause that doesn't make sense to me.
Geoschmo
Sounds to me, like you created a seperate item in TechArea. Is this true?
I think that will not work, TechArea must have the same items in the same order... I think... will test at some point.
|
December 20th, 2001, 05:32 PM
|
|
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Re: SE IV Gold: Starting tech levels? Yes or No?
quote: Originally posted by Mark Walton:
Sounds to me, like you created a seperate item in TechArea. Is this true?
I think that will not work, TechArea must have the same items in the same order... I think... will test at some point.
Exactly. In the Racial Traits file I had Construction, Fighters I and Fighters II, as racial techs 6, 7, and 8.
Then in the Tech Area file I made Construction racial tech 6 with start level 1, fighters tech area 7 with start level 1, and another fighters with tech area 8 and start level 2. I was kind of expecting it to fail because of two tech areas with the same name.
It suprised me that it didn't, and the player with Construction and fighters I got level 1 in fighters and the player with all three racial areas got fighters level 2. But then when I went back to the regular tech area file the player with fighter level 1 still had it and the player with fighters 2 could build level 1 fighters, but couldn't research any further until he researched construction again.
Very confusing.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|
December 20th, 2001, 06:09 PM
|
|
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Re: SE IV Gold: Starting tech levels? Yes or No?
quote: Originally posted by geoschmo:
Also if there was a comp that required level 3 of propulsion (Emergency propulsion IIRC) then selecting level 6 would not give it to you. You would have to select level 1 through 6 of propulsion.
(quoting myself now )
Actually this could be fixed if the Required Trait field in the RacialTraits.txt file were working. It doesn't appear to do anything, but if you could say for Propulsion X have a required Trait of Propulsion IX and so on, then you couldn't just take the highest level and save up the racial points for something else.
That's almost going to be a must have before we try to implement something like this. Otherwise we would have to make each suceesive level of a tech more expensive then the Last so players didn't just take the top level of each. If the Required Trait worked each level could be the same cost in racial points, and the higher levels would be more expensive by virtue of all the pre-requisite tech you'd have to buy. Would work much better.
Geoschmo
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|
December 20th, 2001, 06:31 PM
|
Corporal
|
|
Join Date: Apr 2001
Location: UK
Posts: 117
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SE IV Gold: Starting tech levels? Yes or No?
Well, for the present time, I can't get two different tech levels to both be possible.
I think we may have to live with that; either change the tech are file as you suggested Geo, of accept that we are giving players access to an area of technology (which they may then research futher) rather than allowing a full pick-n-mix tech startup.
Of course, investigations will continue... yesterday morning I didn't even know this was possible, so who knows what tomorrow may bring?
|
December 20th, 2001, 07:00 PM
|
|
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Re: SE IV Gold: Starting tech levels? Yes or No?
I did a quick test of my idea of three seperate Fighter Tech Areas instead of one area with three levels. Works fine for the components. The only change required there is the Tech Area Requirement as I expected. Now all I have to do is repeat 500 times for all the other components.
To make the AI play well in this universe you only have to worry about two files. The AI_General file and the AI_research file. The general file is where you would chose particualr starting techs for the AI race in question. Not really a problem, just have to rewrite the files and make sure you have the points calculated right. If we prefer, or are lazy we can even leave the general files the way they are. The AI just won't "buy" and starting techs and will have to research them the regular way.
The research file has to be changed obviously, but like the components file I think it won't be so hard, just take some time. The way the file works is there's a list of techs and Tech levels desired based on what AI state it is in currently. So if the file has an entry for Ship Construction, level 4, you ould replace that by four entries, Ship Con I, lvl 1, Ship Con II, lvl 1, Ship Con III, lvl 1, and so on. It should ignore the ones it already has researched, and ignore the ones it doesn't have the pre-requisite tech for. So it work the same, just be a much, much longer file.
Once that's done, the AI should operate as normal.
Geoschmo
[ 20 December 2001: Message edited by: geoschmo ]
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|
December 20th, 2001, 07:34 PM
|
Corporal
|
|
Join Date: Apr 2001
Location: UK
Posts: 117
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: SE IV Gold: Starting tech levels? Yes or No?
Does this concept require it's own thread - to make sure all of the experienced modders (the Mod God Squad) get a chance to comment?
|
December 20th, 2001, 07:53 PM
|
|
National Security Advisor
|
|
Join Date: Jan 2001
Location: Ohio
Posts: 8,450
Thanks: 0
Thanked 4 Times in 1 Post
|
|
Re: SE IV Gold: Starting tech levels? Yes or No?
I dunno. It appears we have taken over this thread quite nicely.
__________________
I used to be somebody but now I am somebody else
Who I'll be tomorrow is anybody's guess
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|