CCV: Problem with BUG 3.6

Thomas SG

CCV-designer
Joined
Aug 10, 2007
Messages
1,164
Location
Germany
Hi guys.

At first - you have done a great job. :goodjob:

But while I was able to merge CCV with 3.51 I'm not able to merge CCV with 3.6. There is one problem left. CCV adds a new specialist - the doctor and also the great person - great doctor. But what must I do to make them work right in BUG?

I see the doc in the city screen but I see no help if I go with the mouse over it. And it also seems as if I can't add or remove a doc from the city. And isn't there an option to choose different stack types for the specialists? Doesn't seem to work either now. You see I must have done something wrong or forgotten something.

Can you give me a list of the touched files from specialists? And I need a hint where and why the help is generated or not.

Thanks
Thomas

PS: As you are all specialists here. Does anybody know how to call an event (natural desaster) from SDK? I want to increase the desasters as a consequence of Global Warming.
 
BUG doesn't do anything extra with specialists, and AFAIK there is only one place in BUG that you should need to do anything to handle your new specialists: GpUtil. Here you need to add an icon for the doctor to display in the GP Bar.

But the Specialist Stacker and Cevrons should both work fine with your new specialists. The code uses gc.getNumSpecialistInfos() and gc.getSpecialistInfo() to inspect them.

That the hover help doesn't show and you can't add them to the city makes me think that you aren't using your new DLL. Is that possible?
 
BUG doesn't do anything extra with specialists, and AFAIK there is only one place in BUG that you should need to do anything to handle your new specialists: GpUtil. Here you need to add an icon for the doctor to display in the GP Bar.

But the Specialist Stacker and Cevrons should both work fine with your new specialists. The code uses gc.getNumSpecialistInfos() and gc.getSpecialistInfo() to inspect them.

That the hover help doesn't show and you can't add them to the city makes me think that you aren't using your new DLL. Is that possible?

Okay, the needed changes in GPUtil are done. But I'm also using my DLL. I'll search for a mistake in my code. If I can't solve the problem I'll ask later again.

But thanks.
 
I see the doc in the city screen but I see no help if I go with the mouse over it. And it also seems as if I can't add or remove a doc from the city. And isn't there an option to choose different stack types for the specialists? Doesn't seem to work either now. You see I must have done something wrong or forgotten something.
This happens because the resource sections goes over the specialist section (it's transparent) so your mouse actually hovers over resource section and not over doctor. I had similar problem with Rise of Mankind mod and I had to adjust that screen section in MainInterface python file.
 
This happens because the resource sections goes over the specialist section (it's transparent) so your mouse actually hovers over resource section and not over doctor. I had similar problem with Rise of Mankind mod and I had to adjust that screen section in MainInterface python file.

Thanks, found the code part. And now I have to find out what it does and how it works... Or have you got a solution for me? If you have could you post it? Would save same time... :goodjob:
 
Thanks, found the code part. And now I have to find out what it does and how it works... Or have you got a solution for me? If you have could you post it? Would save same time... :goodjob:
Dont' have code now in front of me (at friend's place) but I guess you could look for them from Rise of Mankind 2.6 patch, it has the maininterface.py file with those fixes (Yes, I know it's a mess due to all changes :blush:). Basically you'll need to shorten the height of bonus panels and probably also adjust some width values for resources because if your city has access to all resources, it's likely that there will appear scrollbars on resource panels so you'll need to adjust symbol placement widths to avoid overlapping with scrollbars.
 
Back
Top Bottom