View Full Version : Facility level?
Shadowstar
January 23rd, 2007, 05:19 PM
I've created some new facilities along with a new tech area to contain them, but they start out at max level even if there's just one level researched in thier tech field. I can't seem to find anywhere in the facilities.txt or techareas.txt files that deal with facility level. Am I missing something?
Phoenix-D
January 23rd, 2007, 05:22 PM
[%Level%] is probably what you're missing. http://forum.shrapnelgames.com/images/smilies/happy.gif Without some part of the formula that sets that value, it'll always be maxed out.
President_Elect_Shang
January 23rd, 2007, 05:28 PM
I have to agree with PD without seeing the file. I just can't think of another source for your problem. You should have something like this in the requirements line:
Get_Empire_Tech_Level ("Your Tech") >= (1 + ([%Level%] - 1))
Your Tech is the tech area it's tied into. If that doesn't help attach your file here and one of us modders will look it over and leave a note explaining what is wrong.
Shadowstar
January 23rd, 2007, 05:51 PM
Aha, I think I found it. What I did was copy the space yard and made my own version of it, but i think my word wrap ended up cutting off part of the formula... Doh!
I suppose I should probably be using Devnull's editor, but I'm too used to working in Notepad from back in the SE4 days.
President_Elect_Shang
January 23rd, 2007, 06:09 PM
I use NotePad also, force of habit from SE4 days I guess. What I do is turn the word wrap off.
Raapys
January 23rd, 2007, 06:17 PM
The editor is neat, but it's rather buggy and it doesn't look like there's coming any updates for it anytime soon.
Fyron
January 23rd, 2007, 06:21 PM
There is no reason to use notepad when there are plenty of free text editors out there with nifty features like regular expression matching for find/replace...
Shadowstar
January 23rd, 2007, 06:35 PM
Yeah, but I'm a lazy sod. http://forum.shrapnelgames.com/images/smilies/happy.gif
President_Elect_Shang
January 23rd, 2007, 06:45 PM
There may be if you are knowledgeable in that sort of thing. For modders like me who are self taught on NotePad there is nothing else. Why don't you link me to a few and give them your personal rating best to worst. And while you are using those formidable search skills why don't you tell me how many government employed workers there are at a major port of your choice.
narf poit chez BOOM
January 23rd, 2007, 06:45 PM
Uh-huh. I've tried those editors. It was like trying to learn a whole new programming language!
Fyron
January 23rd, 2007, 07:07 PM
/me is self-taught on regular expressions. http://forum.shrapnelgames.com/images/smilies/wink.gif That's just one feature amongst many that make such text editors much nicer to work with than notepad.
I am not going to try to order them "best to worst." They are just ordered randomly.
Some freeware editors include Crimson Editor, Metapad, PSpad, and Notepad++.
Some shareware editors include EditPlus, Textpad, and Editpad Pro.
Personally, I'd recommend staying away from things like vim and emacs. While they are free and have win32 versions, they are just ugly applications.
Narf:
Note that the editors themselves are nothing like trying to learn a new language. Regular expressions are to a degree, though. Many of the apps have dropdowns in the find/replace dialog that helps you build them more easily.
Kana
January 23rd, 2007, 07:09 PM
I'm currently using Crimson Editor...
parabolize
January 23rd, 2007, 07:52 PM
Imperator Fyron said:
Personally, I'd recommend staying away from things like vim and emacs. While they are free and have win32 versions, they are just ugly applications.
How can you be so cruel! My text editor isn't ugly! Its wonderfully void of menus and tool bars. http://forum.shrapnelgames.com/images/smilies/frown.gif
Everything is set to key bindings and configuration files so you don't have to move between the keyboard and mouse as often. You do need reach for the ESC key a lot but I find that easier.
President_Elect_Shang
January 23rd, 2007, 08:34 PM
Imperator Fyron said:
/me is self-taught on regular expressions. http://forum.shrapnelgames.com/images/smilies/wink.gif
I don't get it? What's with the purposely incorrect wording and the wink? Are you making fun of me or trying for some silly joke?
Phoenix-D
January 23rd, 2007, 08:45 PM
/me is an IRC command.
/me is self-taught on regular expressions. http://forum.shrapnelgames.com/images/smilies/wink.gif
turns into
mperator Fyron is self-taught on regular expressions. http://forum.shrapnelgames.com/images/smilies/wink.gif
President_Elect_Shang
January 23rd, 2007, 10:07 PM
Ahh, I did IRC once.
Shadowstar
January 23rd, 2007, 10:40 PM
Eek, IRC-speak!
ASL check! lolz n00bz...
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.