Map building tutorial

Hi Kevin,

Thanks. I've found a little workaround that it's not very nice but is better than nothing.

As I'm able to see textures in standard FMB, I've tried to see what happened when adding the mission building commands to the bldconf.ini.
The result is that I'm able to see correctly the textures but I've lost the "enable select" and the "rotate" menus. Rotate works anyway by selecting the object and using num pad but the global selection doesn't work and to work with objects I need select and work one by one.

So now I've got three different bldconf.ini, one standard, one only map building to be able to select and move multiple objects and one full that allow me to correctly work on detail level.

It is not easy work but as I said, at least I'm able to have the detail level vision.

I'll anyway try to post the problem on the technical help to see if someone have an idea on this.

Thanks again
N
Reply

Hi Kevin,

I've finally got the right answer in another forum http://ultrapack.il2war.com/index.php?topic=1977.60 and I'd like to post it here in case someone has the same problem:
In order to see textures in map building you've got to set landscape details to "perfect" in the custom settings of video mode.

In my case, the option was grayed and I had to change my conf.ini in order to make it work. I post below the conf.ini that made it work.

N

Code:
[window]
width=1280
height=960
ColourBits=32
DepthBits=24
StencilBits=8
ChangeScreenRes=1
FullScreen=1
DrawIfNotFocused=0
EnableResize=0
EnableClose=1
SaveAspect=1
Use3Renders=0

[GLPROVIDER]
GL=Opengl32.dll

[GLPROVIDERS]
Open GL=Opengl32.dll
DirectX=dx8wrap.dll

[NET]
speed=5000
routeChannels=0
serverChannels=31
localPort=21000
remotePort=21000
SkinDownload=1
serverName=No Name
serverDescription=
remoteHost=
localHost=
socksHost=
checkServerTimeSpeed=1
checkClientTimeSpeed=0
remoteHost_000=

[MaxLag]
farMaxLagTime=10.0
nearMaxLagTime=2.0
cheaterWarningDelay=5.0
cheaterWarningNum=-1

[chat]
region=(dx=0.6925,dy=0.071666665,x=0.0,y=0.0)

[game]
Arcade=0
HighGore=0
mapPadX=0.6689453
mapPadY=-0.046875
viewSet=57
Intro=0
NoSubTitles=0
NoChatter=0
NoHudLog=0
NoLensFlare=0
iconTypes=3
eventlog=eventlog.lst
eventlogkeep=0
3dgunners=1


[HotKey game]
PrintScreen=ScreenShot
P=pause
Pause=pause

[HotKey gui]
Escape=activate

[HookViewFly Config]
timeFirstStep=2.0
deltaZ=10.0

[HookView]
MouseLeft=Len

[HookView Config]
AzimutSpeed=0.1
TangageSpeed=0.1
LenSpeed=1.0
MinLen=1.0
DefaultLen=20.0
MaxLen=3000.0
Speed=6

[HotKey builder]
MouseLeft=objectMove
MouseRight=popupmenu
Enter=freeView
Shift MouseLeft=worldZoom
Alt MouseLeft=select+
Alt MouseRight=select-
Alt Ctrl=unselect
PageDown=change+
PageUp=change-
End=change++
Home=change--
Ctrl MouseLeft=insert+
Insert=insert+
NumPad-0=insert+
F=fill
Ctrl MouseRight=delete+
NumPad.=delete+
Delete=delete+
Backspace=cursor
Tab=cursor
F10=land
F11=onLand
NumPad-=normalLand
NumPad+=toLand
NumPad-5=resetAngles
NumPad-8=resetTangage90
NumPad-7=stepAzimut-5
NumPad-4=stepAzimut-15
NumPad-1=stepAzimut-30
NumPad-9=stepAzimut5
NumPad-6=stepAzimut15
NumPad-3=stepAzimut30
Ctrl X=cut
Ctrl V=paste
Ctrl C=copy
Right=bridgeRight
Left=bridgeLeft
Up=bridgeOffset+
Down=bridgeOffset-

[MouseXYZ]
F1=SpeedSlow
F2=SpeedNormal
F3=SpeedFast
MouseRight=XYmove
F4 MouseRight=Zmove
MouseMiddle=Amove
F5 MouseRight=Amove
F6 MouseRight=Tmove
F7 MouseRight=Kmove

[MouseXYZ Config]
RealTime=1

[HotKey Console]
Shift Tab=Activate
[Console]
HISTORY=1024
HISTORYCMD=1024
LOAD=console.cmd
SAVE=console.cmd
LOG=0
LOGTIME=0
LOGFILE=log.lst
LOGKEEP=0

[sound]
SoundUse=1
SoundEngine=1
Speakers=4
Placement=0
SoundFlags.reversestereo=0
RadioFlags.Enabled=1
RadioEngine=2
MusicVolume=11
ObjectVolume=11
MusState.takeoff=1
MusState.inflight=1
MusState.crash=1
MusFlags.play=0
MasterVolume=0
Attenuation=7
SoundMode=1
SamplingRate=2
NumChannels=2
SoundExt.occlusions=0
SoundFlags.hardware=1
SoundFlags.streams=1
SoundFlags.duplex=1
SoundExt.acoustics=0
SoundExt.volumefx=0
SoundFlags.voicemgr=0
SoundFlags.static=1
VoiceVolume=11
Channels=2
SoundExt.extrender=0
SoundFlags.bugscorrect=0
SoundSetupId=8
ActivationLevel=0.02
Preemphasis=0.85
RadioLatency=0.5
AGC=1
PTTMode=1
SoundFlags.UseRadioChatter=0
SoundFlags.AutoActivation=0
RadioFlags.PTTMode=0
RadioFlags.PlayClicks=0
ActLevel=0
MicLevel=0
SoundFlags.forceEAX1=0

[rts]
;ProcessAffinityMask=1
mouseUse=2
joyUse=1
trackIRUse=1
DisableIME=0
locale=

[rts_mouse]
SensitivityX=1.0
SensitivityY=1.0
Invert=0

[rts_joystick]
X=0 1 4 9 16 25 36 49 64 81 100 0
Y=0 1 4 9 16 25 36 49 64 81 100 0
Z=0 10 20 30 40 50 60 70 80 90 100
RZ=0 10 20 30 40 50 60 70 80 90 100 0
FF=0
U=0 10 20 30 40 50 60 70 80 90 100 0
V=0 10 20 30 40 50 60 70 80 90 100 0

[Render_DirectX]
TexQual=3
TexMipFilter=2
TexCompress=0
TexFlags.UseDither=1
TexFlags.UseAlpha=0
TexFlags.UseIndex=0
TexFlags.PolygonStipple=1
TexFlags.UseClampedSprites=0
TexFlags.DrawLandByTriangles=1
TexFlags.UseVertexArrays=1
TexFlags.DisableAPIExtensions=0
TexFlags.ARBMultitextureExt=1
TexFlags.TexEnvCombineExt=1
TexFlags.SecondaryColorExt=1
TexFlags.VertexArrayExt=1
TexFlags.ClipHintExt=0
TexFlags.UsePaletteExt=0
TexFlags.TexAnisotropicExt=0
TexFlags.TexCompressARBExt=1
TexFlags.TexEnvCombine4NV=0
TexFlags.TexEnvCombineDot3=0
TexFlags.DepthClampNV=0
TexFlags.SeparateSpecular=0
TexFlags.TextureShaderNV=0

HardwareShaders=0

Shadows=2
Specular=2
SpecularLight=2
DiffuseLight=2
DynamicalLights=1
MeshDetail=2
VisibilityDistance=3

Sky=2
Forest=2
LandShading=3
LandDetails=2

LandGeom=2
TexLarge=1
TexLandQual=3
TexLandLarge=1

VideoSetupId=4
ForceShaders1x=0
PolygonOffsetFactor=-0.15
PolygonOffsetUnits=-3.0

[Render_OpenGL]
TexQual=3
TexMipFilter=2
TexCompress=2
TexFlags.UseDither=1
TexFlags.UseAlpha=0
TexFlags.UseIndex=0
TexFlags.PolygonStipple=1
TexFlags.UseClampedSprites=0
TexFlags.DrawLandByTriangles=1
TexFlags.UseVertexArrays=1
TexFlags.DisableAPIExtensions=0
TexFlags.ARBMultitextureExt=1
TexFlags.TexEnvCombineExt=1
TexFlags.SecondaryColorExt=1
TexFlags.VertexArrayExt=1
TexFlags.ClipHintExt=0
TexFlags.UsePaletteExt=0
TexFlags.TexAnisotropicExt=1
TexFlags.TexCompressARBExt=1

TexFlags.TexEnvCombine4NV=1
TexFlags.TexEnvCombineDot3=1
TexFlags.DepthClampNV=1
TexFlags.SeparateSpecular=1
TexFlags.TextureShaderNV=1

HardwareShaders=1

Shadows=2
Specular=2
SpecularLight=2
DiffuseLight=2
DynamicalLights=1
MeshDetail=2
VisibilityDistance=3

Sky=2
Forest=2
LandShading=3
LandDetails=2

LandGeom=3
TexLarge=1
TexLandQual=3
TexLandLarge=1

VideoSetupId=17
Water=3
Effects=1
ForceShaders1x=0

PolygonOffsetFactor=-0.15
PolygonOffsetUnits=-3.0
Reply

Hello,
I've realized that some textures are rendered differently between Map Building and IL2 what generates some problems when mixing two textures in a city layout:

Rendering in Map Builder
[Image: FMBMapbuilder.jpg]

Rendering in IL2
[Image: FMBIL2.jpg]

Any ideas?

Thanks in advance,
N
Reply

That looks like the Kiev4 texture. Have you modified it in any way or are you using it straight from the game's stored files.
Reply

I have modified it in order to make it compatible with the other texture.
The problem is that it is not rendered in the same way in Map Building mode and IL2. As you can see, the buildings that are placed correctly in Map Building mode appear in the middle of the fields in IL2 mode.
Any ideas?
N
Reply

Do you have two copies of the game, one for building maps & one for normal playing. If you do, then it could be that the texture file in the normal IL2 game is different from the building game. If you only have one copy of the game & are just changing the "bldconf.ini" then I don't really have any idea what could be causing the problem.
Reply

Hi Kevin,
Only one installation, same load.ini and same texture.
You can take a look by yourself if you want. The problem is on Tel Aviv texture within the Mideast map.
You'll find the Mod (v1.02) in http://allaircraftsimulations.com/forum/...2&start=15
If we don't find a solution I'll have to change the layout of the city.
Thanks,
N
Reply

I am not getting exactly the same problem as you are but there is definitely something wrong with that texture. In my game the texture stays the same close up but when I zoom out to about 9000m it changes position.

I found I could fix it by going to the load.ini & removing the ,-2 at the end of the texture name. But then the texture was too small so went to the _tex folder & enlarged the City3.tga texture from 512x512 to 1024x1024.

You could try this & let me know if it works
Reply

Most of what I said in the above post is nonsense, it's the result of trying to do stuff when you'r dead tired.

Resizing the texture up to 1024x1024 makes no difference although removing the ,-2 from the texture name in the load.ini will, I think, stop it from changing position, but the problem will be that the texture is then too small.
Reply

Hi Kevin,
In fact what you said is correct. It seems that using two textures of different sizes (one of 1024x1024 and other 512x512) makes rendering hazardous. In other kind of texture we'll not see the difference but in a city texture we do.
I've put city3 in 1024x1024 and now it is rendered the same way both in the Map Builder and IL2.
Unfortunately it is the wrong rendering so I'll have to change the place of my buildings Cry
Thanks a lot,
N
Reply

Hi Kevin,
I've been doing some tree maps.

I'd like to have tree maps for city textures (for parks and that) but according to your tutorial a building will kill all trees at 600m round.
Is there a way to solve this or a MOD that allow tree maps in city areas? That would add a lot to a map (adding tree objects manually is a big job and a good way to rapidly grow the static.in).

Thanks,
N
Reply

The only way I know to use Tree Maps & Buildings together is to not put any objects on the map in Map Building mode, then change the game to regular mode & then put buildings on the map & save it as a mission. Trees are not affected by nearby buildings when the buildings are coming from a mission file.

I wish I had a better solution for this problem but the behaviour of trees in IL2 is something that has been bugging me for years.

Cheers, Kevin
Reply

Hi Kevin,
Thanks for the tip. I'll have to use the tree objects then. A pity we can't use the tree map.
May be one day someone will develop a mod to get this working.
Cheers,
N
Reply

Hi' Nounette !
I have installed your lovely Mideast Map, but am not allowed to save a mission Cry
The object finder say's all is there.
Help
Buller
Using version1.2
Reply

Hi Buller,

Have you debugged the loading of the map with shift+tab ?
Are you sure that everything is installed (UP2.01 + egypt objects)?

Have you tried to put the mod files directly on the il2/files folder instead in il2/mods/mapmods? I know that I had some problems when I put everything on the mods directory only.

N
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)