RawSasquatch
Minuteman
Yeah, CSes will only gift units that come later than the game's starting era. So you'll never see a CS gifting Jaguars, Pathfinders, or even Incubators, because they're all technically Ancient Era.
I will have a think about this since there's so many interesting possibilities as you say.There are all kinds of things you could do with them. The spaceship production bonus is a neat idea, although rather late game, so not sure if you'd like them to do something else as well. They could always add science, which would be an interesting quirk. Or you could have effects like "for every 10 star bits, recon units you control get +1 vision range".
-- This function replaces a reference to a set of diplomacy responses (i.e. changing the refernences in the Diplomacy_Responses table)
function ChangeDiplomacyReference(targetReference, newReference)
print("Currently changing " .. targetReference .. " to " .. newReference .. "...");
-- We can't always assume that the references exist, so therefore we need to check if they do first
local reference;
for _ in DB.Query("SELECT Response FROM Diplomacy_Responses WHERE Response= '" .. targetReference .. "'") do reference = _.Response end
if reference then
print(targetReference .. " exists; now changing it to the new reference...");
for _ in DB.Query("UPDATE Diplomacy_Responses SET Response = '" .. newReference .. "' WHERE Response='" .. targetReference .. "'") do end
print("Reference change complete!");
else
print(targetReference .. " doesn't exist therefore we cannot replace it with a new reference.");
end
end
ChangeDiplomacyReference("TXT_KEY_LEADER_BOWSER_FIRSTGREETING%", "TXT_KEY_LEADER_BOWSER_PEACH_FIRSTGREETING%");
Yeah, when I saw it was over a month since I posted in here I realised that I'd been procrastinating on Bowser for far too long... Same thing happened with Walmington-on-Sea, too. I'm sorry about that.
One thing I will mention, though: from Ryoga's Unique Cultural Influence mod (I'll also have support for this in my civilizations from now on) I realised that I might be able to have some unique diplomacy responses depending on who the player was playing as. Of course, for Bowser, I was mostly aiming to have some unique responses if the player was playing as Princess Peach with Nucleotyde's Mushroom Kingdom civilization.
So that's what I've been working on tonight. I've got direct text replacement working like in Ryoga's mod, but I also tried to replace the Response entries in Diplomacy_Responses as well - I thought that would be a better way to do things than replace line-by-line if I wanted a whole new set of responses for something (e.g. Bowser's first greeting to Peach).But that's not working right now.That wasn't working, but not because the function was wrong - there was a mistake in my Diplomacy_Responses XML definitions. I fixed that and both functions work fine (and I confirmed that the new greeting appears if you play as Peach).
Spoiler The old issue :The function I have is this:
Code:-- This function replaces a reference to a set of diplomacy responses (i.e. changing the refernences in the Diplomacy_Responses table) function ChangeDiplomacyReference(targetReference, newReference) print("Currently changing " .. targetReference .. " to " .. newReference .. "..."); -- We can't always assume that the references exist, so therefore we need to check if they do first local reference; for _ in DB.Query("SELECT Response FROM Diplomacy_Responses WHERE Response= '" .. targetReference .. "'") do reference = _.Response end if reference then print(targetReference .. " exists; now changing it to the new reference..."); for _ in DB.Query("UPDATE Diplomacy_Responses SET Response = '" .. newReference .. "' WHERE Response='" .. targetReference .. "'") do end print("Reference change complete!"); else print(targetReference .. " doesn't exist therefore we cannot replace it with a new reference."); end end
And I call it with lines like this (I included the % since that's how it appears in the definition in Diplomacy_Responses):
Code:ChangeDiplomacyReference("TXT_KEY_LEADER_BOWSER_FIRSTGREETING%", "TXT_KEY_LEADER_BOWSER_PEACH_FIRSTGREETING%");
However, it doesn't work and I just get a load of messages in the log saying that "[targetReference] doesn't exist"... and I'm not sure what I'm doing wrong there. I might try selecting by the Response_Type rather than the Response directly tomorrow, but other than that I don't know why it's not working. Am I querying the Diplomacy_Responses table wrong, should I discard the "%", or something else?
This is definitely not an important issue so if no one knows the answer I'll simply use the other method, it'll just be a bit more tedious (for that reason anyway, I won't be having that many unique responses... I've faffed around enough with Bowser as it is).
I won't be doing a truck-load of unique responses since I want to test and release sometime soon, but I thought it would be a nice touch.![]()
I don't really know enough about how the code functions to offer advice, but it is an interesting idea. I may have to experiment with doing something similar in the future, although possibly in limited cases. (In Phantasmagoria of Dimension Dream, Yumemi has a set of stock responses when she defeats opponents in the beginning of the game -- "Oh, a real witch? How wonderful!" -- so they could be interesting to incorporate as unique greetings for certain fantasy-oriented civs. :3) I'll be curious to see how it works out once you publish the civ!
So please hang in there bouncymisha, I want to get this done as much as you want to play with it! Same goes to anyone else who is lurking and waiting for this.![]()
Oh, I see - I misunderstood what you said a bit, sorry about that! I confess I haven't seen those maps you mentioned before, but it would be nice to make them more immersive with improvements, resources etc. based on things from SMB.![]()
As I said on the first page, I'm just going to make a few Mario civilizations at the moment; it wasn't my intention to do a total conversion (or something close to one) since I don't feel I'm the right person for the job. I don't think that's what you're suggesting either but I don't mind helping out with what you want to do, as long as it's not modelling.![]()
Yey! Bowser is coming!
Insert "winter is coming" meme reference here.
That said, Bowser definitely looks cool! It's going to be really fun once I can start mixing up all kinds of fantasy/fictional civs from different properties and see how weird the world gets. XD