This app lets you change the skin of vehicle in the game. How to use Download any skin, create a folder for this skin in <game_folder>\content\vehicles\<vehicle_name>\skins (if skins folder does not exist - create it) and copy the skin files to this folder. How to install 1. Just extract the archive in <game_folder>\html\apps ; 2. Add Skin selector app on the screen: [webm=]http://www.beamng.com/attachment.php?attachmentid=38670&d=1408386211[/webm] Example You need to install two skins: Pigeon-Crash-Test-Skin and Pigeon-Security-Skin for Pigeon. Download the archive of the first skin and extract it in <game_folder>\content\vehicles\pigeon\skins\Carsh Test Skin . Do the same thing with the second skin, but the file should be extracted to a different folder: <game_folder>\content\vehicles\pigeon\skins\Security Skin . Now run the game, select the Pigeon and choose the desired skin. How does it work App changes the path to the .dds files in materials.cs . Github
Re: Skin Selector Lol. I just made a suggestion of this. I'll have to try this out. Thank you so much for making this! - - - Updated - - - Can you make a tutorial with screenshots or a video? I usually have a hard time understanding stuff without them.
Re: Skin Selector Just noticed your CSS file has a little problem and sets the button width and input width globally among non-styled button and inputs.
Re: Skin Selector (v0.2) Please always use Code: .app .your_app_name .your_class {} for cssrules to make sure you don't override other styles EDIT: i just looked through your app.js and wrote some comments, i hope this helps (I had to zip it since the attachmentsystem appearently doesn't like js-files)
Re: Skin Selector (v0.2) theshark, thanks, but: I just hide the form. The user does not need to see it all the time, it might interfere etc. If i will try to hide this.rootElement (maybe, self.rootElement, because "jQuery destroys the 'this' reference" ) - I will get a gray rectangle. Yeah. And then i will get error:
Re: Skin Selector (v0.2) And will be the same. This hides the form well: Code: $('.SkinSelector').parent().hide( 'slow' );
Re: Skin Selector (v0.2) The error happens because you have a stream defined in your app.json. as soon as a stream is listed in data.streams, the appengine tries to invoke the update-method. So just empthy your streamlist to make that error go away for the grey rectangle: The best solution would be to use the "transparent"-style for the app and create your own div with a background where you put all your elements. hiding this div should do the trick. The problem with your current implementation is, that you leave the area you should work. outside of this.rootElement, an app has no right to change anything. You are modifying the defaultbehaviour of an app by modifying the visibility of htmlelements outside your scope. Since the appengine is in development you could break the system really bad, if things outside the appcontext change.
Re: Skin Selector (v0.2) Probably best app mod yet! Thank you I don't know if it is possible yet but is there a way to install a skin witch includes exterior interior and wheel paint? i.e the blue/orange Bolide here: http://www.beamng.com/threads/5598-Rally-and-Racing-skins-New-Evo-skin-28-6/page2 I tried throwing everything together in a folder but only the super_c.dds changed.
Re: Skin Selector (v0.2) The problem is that the app is changing the path to the textures in materials.cs . Materials.cs does not contain paths to super_interior_d.dds and super_wheel_d.dds .
Re: Skin Selector (v0.2) I see, thanks for your reply. I fixed that by modifying the materials.cs by adding a path to super_interior_d.dds and the app works perfectly now ^^ Edit. But I can't find the wheel texture of the bolide...that's weird it has to be somewhere else.