Jump to content
Official BF Editor Forums
Sign in to follow this  
Falcon

Getting Snow On Vehicles, Static Weapons And Soldiers.

Recommended Posts

Hey,

i've received a number of emails from people i know that ask me how i got snow on vehicles and soldiers. (This effect can be seen in Northern Strike maps)Now for this reason i wrote this tutorial, I hope it will help people and that many other mappers and modders who didnt know this already, find this useful. :lol:

Snowy soldiers and their breath:

If you want to get soldiers that are covered in snowy suits and have cold breath effects, you should go to the directory of the map you want to change it for (EG: a custom made map or an excisting one) normally the install path is *X:\Program Files\Electronic Arts\Battlefield 2142\mods\bf2142\levels\LEVELNAME* (Without the asterix *). Now open up the Init.com file and search for these lines:

rem ------------------------------- LevelSettings -------------------------------

rem -----------------------------------------------------------------------------

gameLogic.setTeamName 1 "Pac"

gameLogic.setTeamName 2 "EU"

gameLogic.setTeamLanguage 1 "Russian"

gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"

gameLogic.setTeamFlag 1 "flag_Pac"

gameLogic.setTeamFlag 2 "flag_EU"

gameLogic.setKit 1 0 "Pac_Recon" "pac_light_soldier" "pac_heavy_soldier"

gameLogic.setKit 2 0 "EU_Recon" "us_light_soldier" "us_heavy_soldier"

gameLogic.setKit 1 1 "Pac_Assault" "pac_light_soldier" "pac_heavy_soldier"

gameLogic.setKit 2 1 "EU_Assault" "us_light_soldier" "us_heavy_soldier"

gameLogic.setKit 1 2 "Pac_Anti-Vehicle" "pac_light_soldier" "pac_heavy_soldier"

gameLogic.setKit 2 2 "EU_Anti-Vehicle" "us_light_soldier" "us_heavy_soldier"

gameLogic.setKit 1 3 "Pac_Support" "pac_light_soldier" "pac_heavy_soldier"

gameLogic.setKit 2 3 "EU_Support" "us_light_soldier" "us_heavy_soldier"

Now change it to this: (Changes in Bold)

rem ------------------------------- LevelSettings -------------------------------

rem -----------------------------------------------------------------------------

ObjectTemplate.active eu_kits

ObjectTemplate.geometry bp1_eu_kits

ObjectTemplate.active EU_Support

ObjectTemplate.geometry bp1_EU_Kits

ObjectTemplate.active EU_Recon

ObjectTemplate.geometry bp1_EU_Kits

ObjectTemplate.active EU_Assault

ObjectTemplate.geometry bp1_EU_Kits

ObjectTemplate.active EU_Anti-Vehicle

ObjectTemplate.geometry bp1_EU_Kits

ObjectTemplate.active pac_kits

ObjectTemplate.geometry bp1_pac_kits

ObjectTemplate.active Pac_Anti-Vehicle

ObjectTemplate.geometry bp1_Pac_Kits

ObjectTemplate.active Pac_Assault

ObjectTemplate.geometry bp1_pac_kits

ObjectTemplate.active Pac_Recon

ObjectTemplate.geometry bp1_pac_kits

ObjectTemplate.active Pac_Support

ObjectTemplate.geometry bp1_pac_kits

gameLogic.setTeamName 1 "PAC"

gameLogic.setTeamName 2 "EU"

gameLogic.setTeamLanguage 1 "Russian"

gameLogic.setTeamLanguage 2 "English"

gameLogic.setTeamFlag 0 "flag_neutral"

gameLogic.setTeamFlag 1 "flag_Pac"

gameLogic.setTeamFlag 2 "flag_EU"

gameLogic.setKit 1 0 "Pac_Recon" "bp1_pac_light_soldier" "bp1_pac_heavy_soldier"

gameLogic.setKit 2 0 "EU_Recon" "bp1_eu_light_soldier" "bp1_eu_heavy_soldier"

gameLogic.setKit 1 1 "Pac_Assault" "bp1_pac_light_soldier" "bp1_pac_heavy_soldier"

gameLogic.setKit 2 1 "EU_Assault" "bp1_eu_light_soldier" "bp1_eu_heavy_soldier"

gameLogic.setKit 1 2 "Pac_Anti-Vehicle" "bp1_pac_light_soldier" "bp1_pac_heavy_soldier"

gameLogic.setKit 2 2 "EU_Anti-Vehicle" "bp1_eu_light_soldier" "bp1_eu_heavy_soldier"

gameLogic.setKit 1 3 "Pac_Support" "bp1_pac_light_soldier" "bp1_pac_heavy_soldier"

gameLogic.setKit 2 3 "EU_Support" "bp1_eu_light_soldier" "bp1_eu_heavy_soldier"

Now if you've done so, our soldiers will have suits with snow on them! Now we go on to get their breath right.

To get their breath, again open up Init.con and now search for these lines:

rem -----------------------------------------------------------------------------

gameLogic.setBeforeSpawnCamera -214/171/-65 25/12/0

if v_arg1 == BF2Editor

LevelSettings.CustomTextureSuffix ""

else

texturemanager.customTextureSuffix ""

endIf

rem -----------------------------------------------------------------------------

GameLogic.MaximumLevelViewDistance 140

rem -----------------------------------------------------------------------------

Dont worry if the BeforeSpawnCamera numbers dont match or the ViewDistance is different, this is different for every map.

now between the line that says "endIf" and the next one that says "rem -----------------------------" we are going to put in this:

rem -----------------------------------------------------------------------------

gameLogic.useColdBreath 1

this is how it should look right now:

gameLogic.setBeforeSpawnCamera -214/171/-65 25/12/0

if v_arg1 == BF2Editor

LevelSettings.CustomTextureSuffix ""

else

texturemanager.customTextureSuffix ""

endIf

rem -----------------------------------------------------------------------------

gameLogic.useColdBreath 1

rem -----------------------------------------------------------------------------

GameLogic.MaximumLevelViewDistance 140

rem -----------------------------------------------------------------------------

Ok that's it for the soldiers! let's go on to the next fase shall we?

Vehicles and Static weapons, covered in snow 'n ice

To get an icey, frozen effect on your vehicles, again open up Init.con and search for the lines from the previous step :) Now we are gonna focus on these lines:

if v_arg1 == BF2Editor

LevelSettings.CustomTextureSuffix ""

else

texturemanager.customTextureSuffix ""

endIf

The only thing we need to do, is put in 2 words B) between the "" next to CustomTextureSuffix, put in *snow* without the asterix *. It should look like this:

if v_arg1 == BF2Editor

LevelSettings.CustomTextureSuffix "snow"

else

texturemanager.customTextureSuffix "snow"

endIf

NOTE: These changes will not affect how the buildings look in-game, the buildings with snow on them like in Northern Strike maps, are objects that are not affected by this :)

That's it folks, I hope you enjoy this and to see you next time :D

Greets, Falcon

Edited by Falcon

Share this post


Link to post
Share on other sites

Awesome! Thanks falcon. I forgot that was even in NS.

Someone please sticky this! (With permission Ill add this to my tutorial)

NM, Its sticked! :D

Edited by jeffreyrichey

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×