Platy's Peculiar Pleasant Posh Python

This is good news. I'm hoping I do not have the latest version, or that I made ​​some error with merge. I'll try it again.
Thank you.
Can be problem that UNIT_FEMALE_PROPHET is in modular?
Well, this is probably a stupid question :)
 
Thank you for the encouragement and for the idea. It really was not the final version. Now everything is fine. Thank you for your patience. Last months I somehow distracted :)
 
Have a nice day . I had many years ago one idea . To implement it , I persuaded a friend named Fierabaras . Today his minimody not work and so I was wondering if you with your experience are not interested in these minimods revise for 3.19. I think you could prove this also great things.
It was the visualization of events . When you slam the volcano , the map appeared volcano, etc
If you will want , I will search in the forums original links :)
Hroch
 
Have a nice day . I had many years ago one idea . To implement it , I persuaded a friend named Fierabaras . Today his minimody not work and so I was wondering if you with your experience are not interested in these minimods revise for 3.19. I think you could prove this also great things.
It was the visualization of events . When you slam the volcano , the map appeared volcano, etc
If you will want , I will search in the forums original links :)
Hroch
 
Link and I consider.
Only if the project takes less than 30 mins to code.
 
I don't see why this should not work anymore. Do you still have the feature 'Volcano' and can you add it in WorlBuilder?

Otherwise, in the CvRandomInterface.py, apart from adding the 2 functions def canTriggerVolcanoDormant1 and def applyVolcanoDormant1 that appear at the bottom of the file, you need to have these 3 lines added to the original function def applyVolcano1:

Spoiler :
Code:
	plot = gc.getMap().plot(kTriggeredData.iPlotX, kTriggeredData.iPlotY)
	plot.setPlotType(PlotTypes.PLOT_LAND, True, True)
	plot.setFeatureType(gc.getInfoTypeForString('FEATURE_VOLCANO'), 0)

The rest is XML merge and art files.

EDIT: sorry Platy... I was writing when you posted...Would be interested to know what you did in addition though!
 
I don't see why this should not work anymore. Do you still have the feature 'Volcano' and can you add it in WorlBuilder?

Otherwise, in the CvRandomInterface.py, apart from adding the 2 functions def canTriggerVolcanoDormant1 and def applyVolcanoDormant1 that appear at the bottom of the file, you need to have these 3 lines added to the original function def applyVolcano1:

Spoiler :
Code:
	plot = gc.getMap().plot(kTriggeredData.iPlotX, kTriggeredData.iPlotY)
	plot.setPlotType(PlotTypes.PLOT_LAND, True, True)
	plot.setFeatureType(gc.getInfoTypeForString('FEATURE_VOLCANO'), 0)

The rest is XML merge and art files.

EDIT: sorry Platy... I was writing when you posted...Would be interested to know what you did in addition though!

Thank you for your patience, isenchine. You know, I have incredible problems with python. In addition, there annoys me that I have invented it, and still it does not work for me :(
 
Swimmers

Features:
Cargo may survive when transport destroyed

1) Only in water plots

2) Only for non mechanical units.
Surprisingly, Gunships are non mechanical...

3) Swimmers suffer random damage for swimming, up to 50%
Thus, dying ones will probably drown.

4) Amphibious units are immune to above damage.
 
Swimmers: good idea! :D Downloaded! :king:
 
My days of losing thousands of poor, helpless marines when their transport is attacked are OVER! Thanks, Platy--you've saved countless invaders' lives.:goodjob:
 
I have a request, please. I need help. Your volcano is perfect because there are two events. volcano erupted and volcano exiting. The problem is that I tried it twice merge and every time the same error. For all dialogs appear percent chance ... In your Palace Upgrade for example too...And I do not have anywhere on the map volcano model. I really checked it. If are willing to help me with it that I will be really happy

viz picture:
attachment.php
 
1) If bug occurs even in standalone, then tell me about it. Else it is a problem with merging.
2) Events cannot be modular. They will screw all existing events.
 
Tried and tested.
No issue...
 

Attachments

  • sss0000.JPG
    sss0000.JPG
    172.3 KB · Views: 198
Tried and tested.
No issue...

For me, playing your event as a mod, it only worked when I changed the value
Code:
<iNumPlotsRequired>0</iNumPlotsRequired>
to 1.

Then, the volcano erupts on a water plot (inside your borders), replacing water by flat land and adding the feature Krakatoa.

Your event is not linked to the original BtS event. This event requires a peak inside your borders to be triggered. Then, Fierabras was replacing the peak with a flat land and adding the feature Volcano.

No wonder hroch is confused!...
 
Change iPlotType to 0 and you are done.
Whether you want it linked to original event is up to you.

I only bothered with the python, the XML I leave it to him.
 
Change iPlotType to 0 and you are done.
Whether you want it linked to original event is up to you.

I only bothered with the python, the XML I leave it to him.

I know about iPlotType but as it is you have two events for the eruption of the volcano:

1) the original one with no volcano appearing, causing destruction

2) yours with a volcano appearing but with nothing happening (OK, replacement of water plot by land plot is happening!)

I just wanted to recapitulate the differences and the oddness of the situation.

Your volcano becoming extinct also only works for me if I change it to iNumPlotsRequired = 1.
 
As I said, XML stuff I can't really be bothered.
Whether he wants to link it to the original volcano or not, is purely XML stuff, so I leave it to him to adjust.
 
Top Bottom