Help - Search - Members - Calendar
Full Version: How to change camos for maps
MekTek Forums > MechWarrior & BattleTech > MechWarrior 4 > Mercs & MekTek MPx
Lord_Magnus
If you are tired of having "bad camos" show up for old maps, and you host a server, follow these instructions:

1) Find the .nfm file of the map in your resource/usermissions/ folder

2) Open it using notepad

3) Scroll down using to the scenarios part

We'll use Alpine Pro as an example, here is the contents of its .nfm file

!include=ContentGameTypes.h
!preservecase=true

[info]
author=Microsoft enhanced by MekTek
info=Alpine Pro - Stock Mercs Improvements
link=www.mektek.net/downloads/mw4/maps/mercmaps
longname=Alpine Pro

[ruleset]
type=$(StockBattle)
Teams=1
Alignment=2
type=$(StockTeamBattle)
Teams=1
Alignment=2
type=$(StockDestruction)
Teams=1
Alignment=2
type=$(StockTeamDestruction)
Teams=1
Alignment=2
type=$(CustomUndefined)
Teams=1
Alignment=1

[scenarios]
StockBattle={
!preservecase=true
[server]
name=Battle
ruleset=0
TeamAllowed=0
TeamCount=0
scenariotext=resourcemissionsbat.txt
gameLength=30

}
StockTeamBattle={
!preservecase=true
[server]
name=Team Battle
ruleset=1
TeamAllowed=1
TeamCount=4
scenariotext=resourcemissionstbat.txt
gameLength=30

}
StockDestruction={
!preservecase=true
[server]
name=Destruction
ruleset=2
TeamAllowed=0
TeamCount=0
scenariotext=resourcemissionsdes.txt
gameLength=30

}
StockTeamDestruction={
!preservecase=true
[server]
name=Team Destruction
ruleset=3
TeamAllowed=1
TeamCount=4
scenariotext=resourcemissionstdes.txt
gameLength=30

}
StockCaptureTheFlag={
!preservecase=true
[server]
name=Capture the Flag
ruleset=12
TeamAllowed=1
TeamCount=4
scenariotext=resourcemissionsctf.txt
scriptname=MissionsAlpine ProScriptsAlpine Pro_CTF.ABL
gamelength=30

}
StockTeamKOTH={
!preservecase=true
[server]
name=Team King of the Hill
ruleset=12
TeamAllowed=1
TeamCount=4
scenariotext=resourcemissionskoth.txt
scriptname=MissionsAlpine ProScriptsAlpine Pro_TKOTH.ABL
gamelength=30

}
StockKOTH={
!preservecase=true
[server]
name=King of the Hill
ruleset=12
TeamAllowed=0
TeamCount=1
scenariotext=resourcemissionskoth.txt
scriptname=MissionsAlpine ProScriptsAlpine Pro_KOTH.ABL
gamelength=30

}



NOTE: The server admin only needs to set camos for scenarios involving actual teams.

4) You must add "Team Data" after each one you want the camos to show up for. Let's use Team Battle as an example for Alpine Pro.

BEFORE

StockTeamBattle={
!preservecase=true
[server]
name=Team Battle
ruleset=1
TeamAllowed=1
TeamCount=4
scenariotext=resourcemissionstbat.txt
gameLength=30

}


AFTER



StockTeamBattle={
!preservecase=true
[server]
name=Team Battle
ruleset=1
TeamAllowed=1
TeamCount=4
scenariotext=resourcemissionstbat.txt
gameLength=30
team_0={
!preservecase=true
[teamdata]
Skin=8

}
team_1={
!preservecase=true
[teamdata]
Skin=9

}
team_2={
!preservecase=true
[teamdata]
Skin=a

}
team_3={
!preservecase=true
[teamdata]
Skin=b

}

}




ALPINE PRO has four possible teams. You must define the camo for EACH team. TEAM 0 is actually Team 1 on the map, up to Team 3 (which is actually team 4). The camo is defined where it says "skin = ". What it is equal to can be found on this chart

http://www.mektek.net/forums/uploads/post-...-1131176044.jpg

Since Alpine Pro is a snow map, go to the snow textures on the chart. Your options are 8,9,A,B,C,D,E,F (as you get closer to F, they are actually "Alpine" camos.) Whatever camos you chose is up to you. The above example already has appropriate camos selected for Alpine Pro that would match the terrain.

5) Repeat this process for ALL gametypes of the map that you want to host (you can just copy and paste the code for the team data to the next scenario entry).

6) Save the .nfm file, or else the changes wont be saved

Editing the .nfm file has NO bearing on whether your map is compatible with other people's map, it simply sets options for the person who is hosting the map.
B3-bomber
*B3-bomber plants mod beacon. sticky please. cwm30.gif
Surn
I do like how you displayed all the camos. Thats a bookmarked page now.
The Overlord
Here’s an example of the editing I’ve done for skins-

This is for the map Scrub. It’s a full 4-way team battle with edited skins and drops with bots, using all drop zones. Insert this at the end of your Scrub.nfm file and save it.



TB3={
[server]
ruleset=$(StockTeamBattle)
name=Deep Desert 4-way Brawl
teamAllowed=1
teamcount=4
scenariotext=resource\missions\tbat.txt
respawnLimit=1
isNight=0
weather=1
visibility=1
radarmode=0
onlyStockMech=0
gameLength=30
team_0={
[teamdata]
MaxPlayersOnTeam=6
Skin=q

}
team_1={
[teamdata]
MaxPlayersOnTeam=6
Skin=p

}
team_2={
[teamdata]
MaxPlayersOnTeam=6
Skin=s

}
team_3={
[teamdata]
MaxPlayersOnTeam=6
Skin=u

}
bot_0={
[botdata]
botCount=1
team=1
maximumLevel=8
minimumLevel=8

}
bot_1={
[botdata]
botCount=1
team=2
maximumLevel=8
minimumLevel=8

}
bot_2={
[botdata]
botCount=1
team=3
maximumLevel=8
minimumLevel=8

}
bot_3={
[botdata]
botCount=1
team=4
maximumLevel=8
minimumLevel=8

}

}
FiveArms
Lord_Magnus,

Link to ...jpg color chart no worky
Matthew_Ts
mmm working img tags...

Vicious
To set the visibility to clear all you need to do is put this line in the nfm as follows


StockTeamDestruction={
[server]
ruleset=$(StockTeamDestruction)
name=TeamDestruction
teamAllowed=1
teamcount=4
scenariotext=resource\missions\tdes.txt
gameLength=30
visibility=1
team_0={
[teamdata]
Skin=v

}
team_1={
[teamdata]
Skin=w
White_Panther
where'd all the mercenary camos go?
Panther
QUOTE (White_Panther @ Jun 10 2006, 02:32) *
where'd all the mercenary camos go?

try looking is the mercs file :CammoCode Usage -Title-

0 Ops - Blue
1 Ops - Red
2 Ops - Gold
3 Ops - Green
4 Ops - Orange
5 Ops - Cyan
6 Ops - Purple
7 Ops - Pink
8 Snow - Winter War
9 Snow - Snow Blind
a Snow - Snow Ball
b Snow - Arctic
c Alpine - Temperate Winter
d Alpine - Snow Leopard
e Alpine - Taiga Winter
f Alpine - Ozark Winter
g Swamp - Great Dismal
h Swamp - Everglades
i Swamp - Pripyat
j Swamp - Bayou
k Woodland - Hunter Woods
l Woodland - Schwarzwald
m Woodland - Olympic Forest
n Woodland - Gecko
! Grassland - Summer Tundra
^ Grassland - Rhodesian Fall
# Grassland - Steppe Spring
$ Grassland - Great Plains
% Sand - Empty Quarter
o Sand - Negev
p Sand - Sahara
q Sand - Mojave
r Red Rock - Desert Fox
s Red Rock - Blood Stone
t Red Rock - Quattra Depression
u Red Rock - Savannah Tiger
v Urban - Concrete
w Urban - Spiral Maze
x Urban - Headstone
y Urban - Skyline
z NightOps - Charred Steel
~ NightOps - Scorched Earth
- NightOps - Nightmare
& NightOps - Urban Assault
+ Parade - Capellan Confederation
. Parade - Draconis Combine
( Parade - Federated Suns
' Parade - Free Worlds League
) Parade - Lyran Alliance
] Parade - Blue Solaris
[ Parade - Red Solaris
None - No Cammo
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.