←  Map Making

Fallout Studios Forums

»

Mussle flash

Genrail's Photo Genrail 19 Jul 2010

Posted Image

why are they staying like that.... it shoots, then doesnt go-away...?
Quote

Zhao's Photo Zhao 19 Jul 2010

did you put down cinimatic battle masters or regular ones?
Did you mod the W3D files?
Quote

Genrail's Photo Genrail 20 Jul 2010

i used the regular ones, Because i never understood what the cinimatic units did.
Quote

n5p29's Photo n5p29 20 Jul 2010

hide them by the map.ini
I also have encounter similar problem several times.
Quote

Genrail's Photo Genrail 20 Jul 2010

...and how do i do that? :P
Quote

n5p29's Photo n5p29 20 Jul 2010

learn basic ini coding dude, or you will never can make advanced custom maps.
Quote

Kris's Photo Kris 21 Jul 2010

.
Edited by Kris, 29 May 2017 - 05:01.
Quote

Zhao's Photo Zhao 21 Jul 2010

View PostKris, on 21 Jul 2010, 6:51, said:

You should Teach him how to do that |8


I see what you did there 8|
Quote

Jordan's Photo Jordan 22 Jul 2010

I don't know much about map.ini coding, but I modified CodeCat's coding for the Terrorist War Fortress shell to fit the Battlemaster tank. Create a text file called map.ini, paste the following code inside it, then put this file into your map's folder.

;-----------------------------------------------;
Object ChinaTankBattlemaster

  ReplaceModule ModuleTag_01
	Draw = W3DModelDraw ModuleTag_01_Override
	  ConditionState = NONE
		Model = UITRST_SKN
		Animation = UITRST_SKL.UITRST_ADTE2
		AnimationMode = LOOP
	  End
	End
  End
  ReplaceModule ModuleTag_01
	Draw = W3DTankDraw ModuleTag_01
	  OkToChangeModelColor = Yes
	  DefaultConditionState
		Model			   = NVBtMstr
		Turret			  = Turret01
		WeaponFireFXBone	= PRIMARY Muzzle
		WeaponRecoilBone	= PRIMARY Barrel
		WeaponMuzzleFlash   = PRIMARY MuzzleFX
		WeaponLaunchBone	= PRIMARY Muzzle
		HideSubObject	   = MUZZLEFX01
	  End
	  ConditionState = REALLYDAMAGED
		Model			   = NVBtMstr_D
		Turret			  = Turret01
		WeaponFireFXBone	= PRIMARY Muzzle
		WeaponRecoilBone	= PRIMARY Barrel
		WeaponMuzzleFlash   = PRIMARY MuzzleFX
		WeaponLaunchBone	= PRIMARY Muzzle
		HideSubObject	   = MUZZLEFX01
	  End
	  ConditionState = RUBBLE
		Model			   = NVBtMstr_D
		Turret			  = Turret01
		HideSubObject	   = MUZZLEFX01
	  End
	  TrackMarks			  = EXTnkTrack.tga
	End
  End
End


This is a replace module for the battlemaster's art coding, which forces the game to hide the muzzle flash object on the 3d model. Make sure that you are using the China Battlemaster tank, not Nuke General's or any of the other ones. Otherwise you will need to change the object name to the correct one. Or you could make four copies of this, one for each individual battlemaster tank.

Also note that this will make your map incompatible with mods that modify the appearance of the battlemaster tank in any way.

-Jordan
Quote