Python Wonders and their effects

Okay, thanks for your work on this. I may need to go back to the drawing board, but not entirely. I still have most of the XML done, so a lot of that can be merely copied and pasted. The rest I'll deal with later.
 
The python can probably mostly be cut and apsted as well.

You should go check the BUG forum. There is some info there on modding it, like in the Merging BUG with other Mods tioic. The way it handles events is different. If you "do the right thing" (from the BUG perspective) you can configure BUG (via its XML files) to load your event handlers since it can load multiple handlers each event (like "onUnitBuilt" and such). Because of that, you don't modify CvEventManager.py when working with BUG.
 
Because of that, you don't modify CvEventManager.py when working with BUG.
Well, I barely know how to use the Event Manager at this point. :rolleyes: I'm afraid I'm out. I'd love to get acquainted with BUG modding but there is simply no time. :p

Merging Python code is really a programming job however. I wouldn't expect anyone to get anything done with copy-paste. Because copy-pasting isn't programming!

I suggest you move this whole thing to the BUG forum and start over from scratch. With any luck someone will be able to help you out. I wouldn't count on that person being able or willing to "merge" my code however... But they could of course write their own BUG based code instead.
 
Thanks for the support. I have no definite plan for this today, but I'll come up with one. I'm going to do a little lurking and see. I think I may see if I can just use the original Revolutions mod as the base, it's the part of the RevolutionsDCM I appreciated the most and I think I may be able to find a non-BUG version. If that's the case it's just a matter of taking the parts and pieces in place and going up from there.

But really the Dynamic Civ powers are the lynchpin of the mod, everything else is nice but expendable. So this new mod will be constructed so that the GGPowers work first, and then other things will be added on to that.

But that's a job for tomorrow. Today is a period of mourning to an extent. I say to an extent because, well, I've had a lot of fun with the modding I've done so far so it hasn't been wasted time by any means. And a lot of what has been done will be highly useful in the future.

Round 2 coming up.
 
The thing to consider is that if you're gonna use anything BUG based in your mod you should work with BUG to start with. It wouldn't be possible to introduce BUG code later in a non-BUG environment. Thats all.

Now, getting GGPowers to work with BUG might turn out to be easy. But you'd have to learn a few basic things about Python and about the BUG environment in order to know where to put the references. Nothing wrong with learning some new skills, right?

But if you start fresh with a clean BtS game and wanna build the Python around the powers, then I can hook you up immediately. Because all you need is five Python modules in your mod, and then you can introduce the other Python modcomps after the fact in CvEventManager and CvGameUtils. Or you can supply me with the code and I can do it for you. (I believe that I already have that code though.)

Starting with a clean CvEventManager as a base would be no problem for me to take on all Python duties on this. But consider the facts and do your homework first, of course.

edit: It could be added that anyone getting into Python modding should of course do so with the BUG mod as the jumping off point. I wish I'd done that myself, actually. :rolleyes. I does seem to be the obvious - conscious- choice.
 
You might wanna consider starting a new development thread (preferably with a proper title that identifies your mod by name) when you do feel ready to re-start work on this. :king: A fresh clean start. :goodjob:
 
I have some potentially good news. I requested this custom DLL - it enables a way to do the original Arabian power you requested in Python. :goodjob:

If you still wanna use RevDMC (or whatever) as the base for you mod, it would be possible to merge the Boost Python related stuff with the SDK. Well, I wouldn't actually know how to do it myself, but there are others that could help out with that. :king:
 
General announcement, had my second baby girl born this week! Couldn't be happier. Been busy, though.

Other than that, I'm currently planning to go on the BUG forums, show them what has been done and what I'm trying to do with it, and see if anyone who is familiar with BUG will be able to help.
 
Congrats and good luck with the modding! :goodjob:
 
Back
Top Bottom