How to set/reset Malaria? (Full Version)

All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945 >> Scenario Design



Message


steveh11Matrix -> How to set/reset Malaria? (3/28/2009 3:09:18 AM)

As the title suggests, I'd like to be able to switch Malaria on/off in a scenario for particular hexes. Can someone give me a pointer as to how, please?

Steve.




Gary Childress -> RE: How to set/reset Malaria? (3/28/2009 4:15:18 AM)


quote:

ORIGINAL: steveh11Matrix

As the title suggests, I'd like to be able to switch Malaria on/off in a scenario for particular hexes. Can someone give me a pointer as to how, please?

Steve.


I believe you would need to mess with the PWhex file to do that. I'm not sure how that works though. [X(]




steveh11Matrix -> RE: How to set/reset Malaria? (3/28/2009 4:18:17 AM)


quote:

ORIGINAL: Gary Childress


quote:

ORIGINAL: steveh11Matrix

As the title suggests, I'd like to be able to switch Malaria on/off in a scenario for particular hexes. Can someone give me a pointer as to how, please?

Steve.


I believe you would need to mess with the PWhex file to do that. I'm not sure how that works though. [X(]

That's what I thought, and me neither![:(]




steveh11Matrix -> RE: How to set/reset Malaria? (3/28/2009 10:58:22 AM)

Okay, I did a little searching in the forums.

Mr. Frag and Captain Cruft have both posted a code snippet showing which areas and slots are coded for/against Malaria. It's hard coded and can't be modded, excpet by switching the base slot - if i want to make a base malaria-free, i have to sacrifice another one and make it malaria-ridden. [:(]

But:
// city has drained swamps 
if(gPlace[base].size>8) answer=false; 
Which appears to suggest another route: make the base big enough. But what does ".size>8" refer to in this case? Fortification? Port? Airbase? Something else?

Does anyone know?




drw61 -> RE: How to set/reset Malaria? (3/28/2009 12:53:11 PM)

I believe that it is a combo of the Airbase and the Port sizes.  




herwin -> RE: How to set/reset Malaria? (3/28/2009 9:57:10 PM)


quote:

ORIGINAL: drw61

I believe that it is a combo of the Airbase and the Port sizes.  


And it doesn't work.




steveh11Matrix -> RE: How to set/reset Malaria? (3/28/2009 10:01:11 PM)


quote:

ORIGINAL: herwin


quote:

ORIGINAL: drw61

I believe that it is a combo of the Airbase and the Port sizes.  


And it doesn't work.
Chuckle. Okay, I'll work out something different...




el cid again -> RE: How to set/reset Malaria? (3/29/2009 10:28:13 PM)

Malaria is hard coded by hex. You can change WHICH hexes are malaria free. This is only an issue in the "Malaria zone" - the tropics. In RHS we have done that - so Baguio City is malaria free. Manila, Clark, Singapore, Palembang (non RHS), and Soerabaja are malaria free hexes. I think there is one more.




steveh11Matrix -> RE: How to set/reset Malaria? (4/2/2009 2:13:54 PM)

Yeah, thanks. Like I said above, I'll work out something different. [:)]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.015625