Senotfed_X Posted May 1, 2002 Share Posted May 1, 2002 How can I permanantly change the lightsabercolor in single player without having to put the code in every level? Link to comment Share on other sites More sharing options...
k3po Posted May 2, 2002 Share Posted May 2, 2002 nope. if you change the sabercolor files the blur isn't changed. but you can bind a key to change saber color: bind sabercolor x key where as 'x' is the color and, 'key' is the key you want to bind it to. you might be able to insert console commands into your map somehow. i don't know anything about radiant so i don't know. Link to comment Share on other sites More sharing options...
patchx Posted May 2, 2002 Share Posted May 2, 2002 u can edit the blur.jpg thingo to be the same color as the saber u want instead of white but it will make every saber in the game have that blur colour which sux -patch Link to comment Share on other sites More sharing options...
Chiss Lord Posted May 2, 2002 Share Posted May 2, 2002 You can also just type it in a text editor before you play, and hit ctrl+v in the console each time. Link to comment Share on other sites More sharing options...
FuShanks Posted May 2, 2002 Share Posted May 2, 2002 Or bind it to a key that you press as each level begins. Link to comment Share on other sites More sharing options...
patchx Posted May 2, 2002 Share Posted May 2, 2002 i actually really need to find a way to have my sp level start with a red saber otherwise it will be really lame there must be a way to set in the levels start script (the script u use to set up force powers) i just need some kind of idea as to what to enter in the script -patch Link to comment Share on other sites More sharing options...
AKPiggott Posted May 2, 2002 Share Posted May 2, 2002 I hope so too.. forcing all SP levels to have blue sabers is ridiculous.... Link to comment Share on other sites More sharing options...
patchx Posted May 2, 2002 Share Posted May 2, 2002 there was that sabermagic mod that let u cycle through all the sabers with a key without having to bind anything manually or type devmapall it did it by editing the jk2config file though, so u would have to include an edited version of it with ur level and i dont think people would like having their key configurations changed around every time they downloaded a new sp map still... maybe someone can work out something with it -patch Link to comment Share on other sites More sharing options...
patchx Posted May 2, 2002 Share Posted May 2, 2002 actually i just had a thought if someone knows how to make a script that will execute a .cfg and attach it to the start script for the level it could execute a cfg file that has the thing for changing the sabers colour without having to add it on to the JK2config file. and thus not having to alter the players already existing key setup -patch Link to comment Share on other sites More sharing options...
Kamikaze_Elite Posted May 3, 2002 Share Posted May 3, 2002 Ok, I think I figured out a way to do this (although I'm convinced there is an easier way). This is how I did it: 1. I opened the sabers.shader file in the base/shaders directory (with ShaderEd2). 2. I wanted to switch the green with the blue, so I simply switched names of the files in the sabers.shader file. 3. This by itself should change the SP saber color. However if you want npcs with green sabers (luke) to keep green sabers and npcs with blue sabers to keep blue sabers, then you need to edit the npcs.cfg and switch the blues to green and the greens to blue. If there is an easier way to do this, PLEASE tell me! Anyway, I hope this helps. Link to comment Share on other sites More sharing options...
patchx Posted May 3, 2002 Share Posted May 3, 2002 does that change the blur file too? -patch Link to comment Share on other sites More sharing options...
Irimi-Ai Posted May 3, 2002 Share Posted May 3, 2002 no, that's the first thing i tried earlier today for you patchx. blurs are still blue (at least the way i did it). i'm working on that script for you, too. i'm using two ideas, and trying to work both of them out. if someone doesn't get it first, i figure mine should be done sometime this weekend. Irimi-Ai Link to comment Share on other sites More sharing options...
Mordaedil Posted May 3, 2002 Share Posted May 3, 2002 By calling this on sabers.shader: gfx/effects/sabers/saberBlur { cull disable { clampmap gfx/effects/sabers/blurglow blendFunc GL_ONE GL_ONE rgbGen identity } { clampmap gfx/effects/sabers/blurcore blendFunc GL_ONE GL_ONE rgbGen identity } } Your lightsaber blur will be white, and that is nearly as cool. I tried to make it better, but it doesn't work... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.