User Tools

Site Tools


arma2:texturing:setobjecttexture

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arma2:texturing:setobjecttexture [2009/06/20 07:55] – created setobjecttexture initial page. snakemanarma2:texturing:setobjecttexture [2024/08/02 10:36] (current) – links added. snakeman
Line 1: Line 1:
-====== setObjectTexture ======+====== ArmA 2 setObjectTexture ======
  
-BIS have defined the main exterior texture of many of the vehicles. This way they wont need multiple P3D Model files of the same thing, just different texture paths. However doing this it also benefits those looking into retexturing vehicles, as not much skill aside from creating the texture (or more modifying the original) is needed.+[[https://www.pmctactical.org/forum/viewforum.php?f=50|ArmA 2 Forum]], [[:arma2|ArmA 2 Home]], [[arma2:config|ArmA 2 Config]], [[arma2:file_formats|ArmA 2 File Formats]], [[arma2:missions|ArmA 2 Missions]], [[arma2:modeling|ArmA 2 3D Modeling]], [[arma2:scripting|ArmA 2 Scripting]], [[arma2:terrain|ArmA 2 Terrain]], [[arma2:texturing|ArmA 2 Texturing]], [[arma2:tools|ArmA 2 Tools]] 
 + 
 +bis have defined the main exterior texture of many of the vehicles. This way they wont need multiple P3D Model files of the same thing, just different texture paths. However doing this it also benefits those looking into re-texturing vehicles, as not much skill aside from creating the texture (or more modifying the original) is needed.
  
 Benefits? What are 'hidden' selections? Benefits? What are 'hidden' selections?
  
-The benefits are that you wont need to know any addon or config skills if you want a simple retexture for a one off mission. More importantly it can keep your mission addonless!+The benefits are that you wont need to know any addon or config skills if you want a simple re-texture for a one off mission. More importantly it can keep your mission addonless!
  
-If you want to release a retexture as in a PBO addon form, you just need basic scripting knowledge. You don't need to edit the P3D, unlike before (where the model stays the same, you are just changing texture paths - P3D files are not small!) just a script to define what the new texture is.+If you want to release a re-texture as in a PBO addon form, you just need basic scripting knowledge. You don't need to edit the P3D, unlike before (where the model stays the same, you are just changing texture paths - P3D files are not small!) just a script to define what the new texture is.
  
 How does it work? How does it work?
Line 14: Line 16:
 </code> </code>
  
-That's it! That's all the code you need to retexture a vehicle (see the list below) to your own paa texture.+That's it! That's all the code you need to re-texture a vehicle (see the list below) to your own paa texture.
  
 The texture file name is simply the texture in your mission folder. If it is in the same folder as the mission.sqm, then just put the name and the extension (must be .PAA and maybe .PAC). If you put it in a folder in your mission then you need to reflect that in your texture path. The texture file name is simply the texture in your mission folder. If it is in the same folder as the mission.sqm, then just put the name and the extension (must be .PAA and maybe .PAC). If you put it in a folder in your mission then you need to reflect that in your texture path.
Line 24: Line 26:
 I've made a list of mainly the cars, and done a quick check on the armored/aircraft etc for those that accept this method. If I've missed any please let me know. Also make sure you use the correct variant I say. The VAZ (White) wont work, but the VAZ (Red) will. Same with the 'Car' (Skoda 105) and I've made a list of mainly the cars, and done a quick check on the armored/aircraft etc for those that accept this method. If I've missed any please let me know. Also make sure you use the correct variant I say. The VAZ (White) wont work, but the VAZ (Red) will. Same with the 'Car' (Skoda 105) and
  
-  * BM-21 Grad (Partially, the front cab changed textures but others didn't change maybe changing the 0 to a 1 in the setObjectTexture code might allow this as well as the other partial retextured models)+  * BM-21 Grad (Partially, the front cab changed textures but others didn't change maybe changing the 0 to a 1 in the setObjectTexture code might allow this as well as the other partial re-textured models)
   * Bus   * Bus
   * Car (White)   * Car (White)
Line 61: Line 63:
  
 This tip was posted by JasonO. This tip was posted by JasonO.
 +
arma2/texturing/setobjecttexture.1245484523.txt.gz · Last modified: 2009/06/20 07:55 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

All PMC web site download services are temporarily suspended until web site yearly fees have been recovered, want to download addons/mods? Then Support PMC.

If you are grateful for all the work PMC has done in the past 25 years, use Support PMC page.