Jump to content


Photo

Snow Texture


Best Answer King Arveleg , 03 December 2021 - 04:33 PM

Never mind, I figured it out.

 

Here's the original code:

                ModelConditionState = UPGRADE_BOILING_OIL
			Model = RBCastKeep
			ParticleSysBone   = smokebone01 TorchGlow
			ParticleSysBone   = smokebone01 TorchSmokeBlack
			ParticleSysBone   = smokebone02 TorchGlow
			ParticleSysBone   = smokebone02 TorchSmokeBlack
;			WeaponLaunchBone	= PRIMARY ARROW_
			WeaponFireFXBone  	= PRIMARY ARROW_
		End

Added this before it:

		ModelConditionState = SNOW UPGRADE_BOILING_OIL
			Model = RBCastKeep
			Texture			= rbcastkeep.tga rbcastkeep_snow.tga			
		    Texture			= rbkeepbib.tga rbkeepbib_snow.tga	
			Texture			= fellg.tga fellg_snow.tga		
		End	 

Now it works properly.

Go to the full post


  • Please log in to reply
1 reply to this topic

#1 King Arveleg

King Arveleg
  • Members
  • 69 posts
  • Location:Fornost
  • Projects:Arnor & Gondor & Rohan ,Kingdom of Arnor

Posted 25 November 2021 - 02:50 PM

Hi,

 

So I added snowy texture to Rohan Fortress. Problem is when flaming munitions upgrade is purchased the fortress reverts back to snowless texture and there is nothing in the flaming munitions section of the code that's related to object texture. Any ideas why and how to fix this?


Edited by King Arveleg, 03 December 2021 - 04:27 PM.


#2 King Arveleg

King Arveleg
  • Members
  • 69 posts
  • Location:Fornost
  • Projects:Arnor & Gondor & Rohan ,Kingdom of Arnor

Posted 03 December 2021 - 04:33 PM   Best Answer

Never mind, I figured it out.

 

Here's the original code:

                ModelConditionState = UPGRADE_BOILING_OIL
			Model = RBCastKeep
			ParticleSysBone   = smokebone01 TorchGlow
			ParticleSysBone   = smokebone01 TorchSmokeBlack
			ParticleSysBone   = smokebone02 TorchGlow
			ParticleSysBone   = smokebone02 TorchSmokeBlack
;			WeaponLaunchBone	= PRIMARY ARROW_
			WeaponFireFXBone  	= PRIMARY ARROW_
		End

Added this before it:

		ModelConditionState = SNOW UPGRADE_BOILING_OIL
			Model = RBCastKeep
			Texture			= rbcastkeep.tga rbcastkeep_snow.tga			
		    Texture			= rbkeepbib.tga rbkeepbib_snow.tga	
			Texture			= fellg.tga fellg_snow.tga		
		End	 

Now it works properly.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users