Edit: Realizing just now that the mod creation help section would have been the appropriate place for this thread. Can't seem to find the option to delete this thread. Sorry mods. This can be deleted, I've found the answers I needed.
Uh.. Well, you know. I quickly realized I don't want to be manually editing every namemix into the lua code, so I had to figure a way for it to reference the database at every point possible, so that everything is handled automatically.
Well, definitely not my piece of cake, as I only know the...
Hello, Civ Fanatics!
This is in no way an important thing, so if you're generally flooded with stuff to do, just close the tab and continue with more important matters.
But! As my knowledge and understanding limits to the northern hemisphere of this globe, I have no idea if I'm going to be...
The namemixes are now implemented. Sort of.
I still have to build a couple of namesets to be able to test if it's working correctly, but how I see it, it should. But I'm not all that great with lua, so probably something's a little off, but generally, I think it's there.
I decided to take the...
I'm doing something wrong, and I can't understand what.
Lua log doesn't print any errors, so I'm pretty sure the whole thing in itself technically works, but it's unable to succesfully detect the things I need detected. Here's the problematic part:
The commented-out part is what works. The...
The aim is to have both. So let me explain it a little bit:
The "library" of civ-specific GP names consists of those for specific civs, obviously. So every list is tagged with civtype. For example:
UGP_FINNS.sql would add names to Unit_UniqueNames with CIVILIZATION_FINNS
UGP_SWEDES.sql would...
In addition to finally fixing the obviously dumb problem I had with the ynaemp, it all seems to be completely working now. Apart from having to replace or rewrite the .modinfo file on Hypereon's Kekkonen. Which I'll get to at some other time, for now it works for me and that's the base of this...
So Kekkonen is now working and unique great people applies to both correctly.
I added YNAEMP support to make use of the v24 maps as well as added Kekkonen's city-states TSL support. I somehow succeeded at breaking the YNAEMP loading process. I'm guessing there's some very obvious typo...
Today's been all about Finnish unique great people. 170 names researched and added to the database. Still need to add another similiar bunch more, but it's underway at least.
I also thought it'd be best to seperate the mods I'm working with here, so I started to make the UGP module more...
Yeah, with the database query I might be good without actually caching them for now. Maybe that'd be getting in over my head.
Anyway, I had to make kind of a detour. Seeing as I'm planning on having multiple civs there to bundle together, I decided that instead of copypasting that code in each...
I thought I might share the working final bit in case somebody needs similiar functionality.
It's a simple thing that basically just renames each born great person with a civilization-specific name. All it needs to function is Machiavelli's SerialEventCreatedGood, the names added in the...
Ah, knew it.
I'm still very new to all this, so I'm a big mess as it is. I hope I'm not being too big of a trouble :undecide: BUT huge thanks for the input, I couldn't have got this working without!
Hmm. Okay so that's going to be tricky, seeing as I want this to be as compatible as possible.
The way I've set it up right now, is that the new column adding bit is in its own file. It runs, obviously, before the file that fills in the Unit_UniqueNames with the CivilizationType.
So my...
...yeah. I knew it. Something this simple, and I was completely oblivious to its existence.
It's a very distinct feeling, when you realize you've needlessly wasted a lot of others' time. The whole problem's actually just been about me not knowing such a fundamental thing.
Ugh.
Anyway, it's...
Yeah, I have a bunch of prints in there, I just removed them in the quote to make it less messy. None of them print anything. I have one associated with the LuaEvent.SerialEventUnitCreatedGood as well, and that's not printing anything either. But I am creating units, though now that I think of...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.