Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

How to set/reset Malaria?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945 >> Scenario Design >> How to set/reset Malaria? Page: [1]
Login
Message << Older Topic   Newer Topic >>
How to set/reset Malaria? - 3/28/2009 3:09:18 AM   
steveh11Matrix


Posts: 944
Joined: 7/30/2004
Status: offline
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.

_____________________________

"Nature always obeys Her own laws" - Leonardo da Vinci
Post #: 1
RE: How to set/reset Malaria? - 3/28/2009 4:15:18 AM   
GaryChildress

 

Posts: 6830
Joined: 7/17/2005
From: The Divided Nations of Earth
Status: offline

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.

_____________________________


(in reply to steveh11Matrix)
Post #: 2
RE: How to set/reset Malaria? - 3/28/2009 4:18:17 AM   
steveh11Matrix


Posts: 944
Joined: 7/30/2004
Status: offline

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.

That's what I thought, and me neither!

_____________________________

"Nature always obeys Her own laws" - Leonardo da Vinci

(in reply to GaryChildress)
Post #: 3
RE: How to set/reset Malaria? - 3/28/2009 10:58:22 AM   
steveh11Matrix


Posts: 944
Joined: 7/30/2004
Status: offline
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?

_____________________________

"Nature always obeys Her own laws" - Leonardo da Vinci

(in reply to steveh11Matrix)
Post #: 4
RE: How to set/reset Malaria? - 3/28/2009 12:53:11 PM   
drw61


Posts: 894
Joined: 6/30/2004
From: South Carolina
Status: offline
I believe that it is a combo of the Airbase and the Port sizes.  

(in reply to steveh11Matrix)
Post #: 5
RE: How to set/reset Malaria? - 3/28/2009 9:57:10 PM   
herwin

 

Posts: 6059
Joined: 5/28/2004
From: Sunderland, UK
Status: offline

quote:

ORIGINAL: drw61

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


And it doesn't work.

_____________________________

Harry Erwin
"For a number to make sense in the game, someone has to calibrate it and program code. There are too many significant numbers that behave non-linearly to expect that. It's just a game. Enjoy it." herwin@btinternet.com

(in reply to drw61)
Post #: 6
RE: How to set/reset Malaria? - 3/28/2009 10:01:11 PM   
steveh11Matrix


Posts: 944
Joined: 7/30/2004
Status: offline

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...


_____________________________

"Nature always obeys Her own laws" - Leonardo da Vinci

(in reply to herwin)
Post #: 7
RE: How to set/reset Malaria? - 3/29/2009 10:28:13 PM   
el cid again

 

Posts: 16922
Joined: 10/10/2005
Status: offline
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.

(in reply to steveh11Matrix)
Post #: 8
RE: How to set/reset Malaria? - 4/2/2009 2:13:54 PM   
steveh11Matrix


Posts: 944
Joined: 7/30/2004
Status: offline
Yeah, thanks. Like I said above, I'll work out something different.

_____________________________

"Nature always obeys Her own laws" - Leonardo da Vinci

(in reply to el cid again)
Post #: 9
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> War In The Pacific - Struggle Against Japan 1941 - 1945 >> Scenario Design >> How to set/reset Malaria? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

2.266