View Single Post
Old 08-27-11, 01:43 PM   #2
peabody
Admiral
 
Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
Default

Quote:
Originally Posted by TBear View Post
**first problem**

Here i have a small problem. How do i change the player base. If i have singapore as playerbase its set German, how can i change the playerbase to japanese??
The difference between German and Japanese is the icon. There are two ways to do it:
1. Use the mission editor,open the data/Campaigns/CampaignGE/CampaignData/Axis_NavalBases.mis select land/Japan/NavalBase and put it on the map. Take the settings date, time etc from the German base and put it into the Japanese base. Delete the German base.

2. Or you can use the notepad and open data/Campaigns/CampaignGE/CampaignData/Axis_NavalBases.mis, change Origin=German to Origin=Japan, same result.

The icon will change to a Japanese flag instead of a German flag. Just remember Japan can refit at a German base, and Germany can refit at a Japanese base, the icon is the difference.

Quote:
Is this the flotilla file that does it or where can i se the file that tells its the player base?? (how do i create or change a campaign player base)
1. In order to have a base you can dock at, it must be in the Flotilla.upc, with the necessary missions assigned to the ship/sub.
2. To make it a base that you can start a Career at, it must be in the CareerStart.upc AND the Flotilla.upc.
3. A base for "Refit only" does not need to be in either one of those files.

If you make any NEW .mis or misge files they must be added in the CampaignGE.cfg.
If you make a change in an existing file it should already be in the CampaignGE.cfg.

Quote:
Project burning pacific.
Quote:

The problem above is stalling my work here. So here is what i got so far.
Instead of looking at a blanc page i decided to look again at the US campaign folder. In there i could find all layers on the japanese side from 1938 to 1945. What there is missing are bases relevant to a player, and of course missions. Missions can be done all ready have some stuf like this

**note from work plan**

need convoys US mainland, pearl and midway
main US to duch harbour. US mainland - Russia
campaign
merging US and German campaign minefields.
new missions
Pearl harbour recon
Midway attack
san diego recon
Destroy XXX mostly on the eastern part
agent drop (duch, marshalls etc)

***********************

In general i can set it up by again using the US campaigns japanese files, but i have the problem backwards, not some US stuf are missing to make the pacific alive as Japanese player since most allied shipping are to the SW.
You must keep in mind the idea behind SH4. It was built to be a US Campaign, to attack the Japanese shipping, so there is very little US traffic. Adding all the US traffic would only slow down your computer and serve no purpose since you are not attacking the US in the original game. That is why you will definately need to add traffic to your project. The Uboat Add on did put traffic in the west but not in the central Pacific.


Quote:
**second problem**
Quote:

I can change the career and flotilla files, that is the easy part, but are some files in the campaign hardcoded or is what im doing the right way..?
I am not sure what you think is hardcoded. ? So I will attempt an answer although I do not completey understand the question.

1. I explained the bases above and where they are added.
2. Don't get confused with the term "mission". (some people did). Everything you do with the mission editor is saved as a .misGE (mission German) or .mis (mission US/Allies). So all traffic, airbases, navalbases, minefields are a .mis or misGE file. So don't confuse them with "Missions" which are assigned to you such as Patroling an area.

So if you create a file that contains traffic/targets and save it, it will save as a .misGE file. This file will get loaded by the "data/Campaigns/CampaignGE/CampaignGE.cfg" file, and must be added to this file if they are ones you created. If you use an existing file and edit it then save it, but do not change the name, it will already be included and you do not need to add another entry just because you edited it.

NOTE: If you look at the data/Campaigns/CampaignGE/CampaignGE.cfg file with Notepad, you will see that some files get loaded from the US folder. For example: data/Campaigns/Campaign/Campaign_LOC.mis. So some of the German info is actually loaded from the US side of the game, instead of creating another copy.
************************************************
Now to the actual missions you are assigned by the Flotilla file:

1. First you create a mission in the Mission Editor and save it to the "Patrol Objectives" folder. Example: Patrol-Indian-Ocean-NW-05.mis
2. Add this mission to the PatrolObjectives.cfg
Example:
[Section 18]
ID=ID18
FileName=data/Campaigns/CampaignGE/PatrolObjectives/Patrol-Indian-Ocean-NW-05/Patrol-Indian-Ocean-NW-05.mis
StartDate=19420201
EndDate=19450901
GameModes=Career
InclusionProbability=100
MinimumDifficultyRating=0
MinimumPlayerRating=-3
ExclusiveLayer=No
ExclusiveLayerID=1
EvaluationReason=FirstObjective
AllMatch=Indian-Ocean-West
ObjectiveType=0
BriefingMapName=NULL
BriefingMapIcon=NULL
BriefingMapIconPosX=0
BriefingMapIconPosY=0


Note the following in the above entry:
1. Startdate/Enddate (make sure it is available when you need it)
2. AllMatch=Indian-Ocean-West (this is a keyword used by the Flotilla file to assign the mission to your ship and can be used by more than one mission. In most cases it "should" be used by more than one mission, or every mission will need it's own entry.)
3. In the Flotilla.upc you add an entry using the dates and keywords so you can get a mission when and where you want it.
Example:

[Flotilla 1.UserPlayerUnitType 1.Objective 3]
ID= MB11OBj3
NameDisplayable= NULL
AvailabilityInterval=1943-06-15, 1944-02-25
ObjectiveCode= Indian-Ocean-West


The "ObjectiveCode" is used to find a mission to assign to you from the PatrolObjectives.cfg. "ObjectiveCode= Indian-Ocean-West" will look for a mission that has "AllMatch= Indian-Ocean-West". You may have any number of missions having the same "Keyword" and the game will pick one, also taking into consideration the Start and End dates. It will also take into consideration the "InclusionProbability=100" which is the chance the mission will be assigned. If there are some not so popular such as supply missions, you can set it to a lower Probability.


Peabody
__________________

System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2.

peabody is offline   Reply With Quote