S3rafim Posted June 6, 2020 Posted June 6, 2020 Hello! I am trying to make a double-bladed hilt, which has a lightsaber blade on one side and a sword-blade on the other. I understand the only way(?) that something like this can be done is with bladestyle2start parameter, but I cannot make it to work. It is the first time I'm using this parameter so I'm not even sure if I'm doing this correctly, but I tried a tons of different ways to apply it but at vain. Any help would be appreciated. Thank you!
GamingPrince83 Posted June 6, 2020 Posted June 6, 2020 6 hours ago, S3rafim said: Hello! I am trying to make a double-bladed hilt, which has a lightsaber blade on one side and a sword-blade on the other. I understand the only way(?) that something like this can be done is with bladestyle2start parameter, but I cannot make it to work. It is the first time I'm using this parameter so I'm not even sure if I'm doing this correctly, but I tried a tons of different ways to apply it but at vain. Any help would be appreciated. Thank you! There is a tutorial here, on everything regarding .sab files. https://jkhub.org/wiki/index.php?title=.sab#Sword_and_Non-lightsaber-blade_Weapon_Keys
S3rafim Posted June 7, 2020 Author Posted June 7, 2020 15 hours ago, SaberBlade83 said: There is a tutorial here, on everything regarding .sab files. https://jkhub.org/wiki/index.php?title=.sab#Sword_and_Non-lightsaber-blade_Weapon_Keys Thank you, but I am completely aware how to work a .sab file My problem is that whatever parameters I add after the "bladestyle2start", either doesn't work, or work wrong. For example: saberLength 28 numBlades 2 saberStyle "staff" singleBladeStyle "strong" saberRadius 2 saberColor random bladeStyle2Start 1 trailstyle 2 noblade 1 This should supposedly make the second blade invisible and with a sword trail. Instead, I get both blades invisible and a normal lightsaber trail on the second blade, while the first blade has none.
katanamaru Posted June 10, 2020 Posted June 10, 2020 Have you put bladestylestart info in before bladestyle2start? It also looks le you're missing the "multiple blade keys info." blade2trailstyle 1 Blade2trailstyle 2 Blade2noblade 1
S3rafim Posted June 10, 2020 Author Posted June 10, 2020 5 hours ago, katanamaru said: Have you put bladestylestart info in before bladestyle2start? It also looks le you're missing the "multiple blade keys info." blade2trailstyle 1 Blade2trailstyle 2 Blade2noblade 1 I did a few tests with what you said, but I didn't come up with a successful outcome. My original sab (From the first post) was this: testsaber { saberType SABER_STAFF saberModel "models/weapons2/testsaber/saber_w.glm" saberLength 28 numBlades 2 saberStyle "staff" singleBladeStyle "strong" saberRadius 2 saberColor random bladeStyle2Start 1 trailstyle 2 noblade 1 } ______________ I tried this one, but nothing happened (The hilt is at default settings) testsaber { saberType SABER_STAFF saberModel "models/weapons2/testsaber/saber_w.glm" saberLength 28 numBlades 2 saberStyle "staff" singleBladeStyle "strong" saberRadius 2 saberColor random bladeStyle2Start 1 Blade2trailstyle 2 Blade2noblade 1 } ____________ In the following one, weirdly enough, it did made a difference but not what intended. The first blade got a sword trail, while the second remained default. testsaber { saberType SABER_STAFF saberModel "models/weapons2/testsaber/saber_w.glm" saberLength 28 numBlades 2 saberStyle "staff" singleBladeStyle "strong" saberRadius 2 saberColor random bladestylestart 1 trailstyle 1 bladeStyle2Start 1 Blade2trailstyle 2 Blade2noblade 1 } _________ I also tried this one, just in case. As it seems, it gives both blades the noblade variant, while the first blade has a sword trail and the second has a default trail. testsaber { saberType SABER_STAFF saberModel "models/weapons2/testsaber/saber_w.glm" saberLength 28 numBlades 2 saberStyle "staff" singleBladeStyle "strong" saberRadius 2 saberColor random bladestylestart 1 trailstyle 0 bladeStyle2Start 1 trailstyle 1 noblade 1 } I'm a little out of ideas here. I would appreciate if you could give me a working example of how a sab with BladeStyle2Start should be constructed! I should note that all tests are done in base game.
katanamaru Posted June 10, 2020 Posted June 10, 2020 I'll give it a try. I'll do it tomorrow and see what I can come up with. Just so I'm clear: one sword blade that should always be on with no sword swing trail, and a second saber blade that turns on and off?
S3rafim Posted June 10, 2020 Author Posted June 10, 2020 54 minutes ago, katanamaru said: I'll give it a try. I'll do it tomorrow and see what I can come up with. Just so I'm clear: one sword blade that should always be on with no sword swing trail, and a second saber blade that turns on and off? What I'm trying to achieve is one side to have a real sword. Meaning no lightsaber blade and a sword trail. The other side will be an actual lightsaber blade, a normal one, with its default settings (blade, glow, lightsaber trail, etc) I don't mind if they both turn off and on.
katanamaru Posted June 11, 2020 Posted June 11, 2020 All right. I'm busting out my laptop now to work on this.
S3rafim Posted June 11, 2020 Author Posted June 11, 2020 4 hours ago, katanamaru said: All right. I'm busting out my laptop now to work on this. Thank you, man! I'll be waiting for your update with crossed fingers!
katanamaru Posted June 11, 2020 Posted June 11, 2020 So far no luck. I can make both blades sabers or both sword blades. I'm going to get some old notes off my old laptop to see if that helps me. I did some digging while pondering the issues and couldn't find any saber mods that had one steel blade and one energy blade. So it's not looking to good.
S3rafim Posted June 12, 2020 Author Posted June 12, 2020 15 hours ago, katanamaru said: So far no luck. I can make both blades sabers or both sword blades. I'm going to get some old notes off my old laptop to see if that helps me. I did some digging while pondering the issues and couldn't find any saber mods that had one steel blade and one energy blade. So it's not looking to good. No worries, thank you again for trying! It would have been awesome if we can figure out how to work the noblade independently, at least, it could give great opportunities. I'll keep messing around, if I find anything I'll keep you posted to know!
AshuraDX Posted June 13, 2020 Posted June 13, 2020 I played around with this and got utterly confused since the wiki entry on this is incomplete, so I decided to snoop around in the source code a bit and found what I needed to know to get this to work: dual_test { name "Test" saberType SABER_STAFF saberModel "models/weapons2/saber_dual_1/saber_dual_1.glm" soundOn "sound/weapons/saber/saberon.wav" soundLoop "sound/weapons/saber/saberhum4.wav" soundOff "sound/weapons/saber/saberoff.wav" saberColor red saberColor2 blue numBlades 2 saberLength 32 saberStyle staff throwable 0 singleBladeStyle medium singleBladeThrowable 1 brokenSaber1 brokenstaff brokenSaber2 brokenstaff twoHanded 1 //define Bladestyle 1, you can have a maximum of 2 bladestyles per saber noblade 0 trailstyle 0 noDlight 0 //define Bladestyle2 noblade2 1 trailstyle2 1 noDlight2 1 //Tell the game to use bladestyle2 for all blades after Blade 1, so blade 2...8 will use bladeStyle2 BladeStyle2Start 1 } I hope this helps @S3rafim EDIT: I also updated the wiki entry about .sab files with this.
S3rafim Posted June 13, 2020 Author Posted June 13, 2020 2 hours ago, AshuraDX said: I played around with this and got utterly confused since the wiki entry on this is incomplete, so I decided to snoop around in the source code a bit and found what I needed to know to get this to work: dual_test { name "Test" saberType SABER_STAFF saberModel "models/weapons2/saber_dual_1/saber_dual_1.glm" soundOn "sound/weapons/saber/saberon.wav" soundLoop "sound/weapons/saber/saberhum4.wav" soundOff "sound/weapons/saber/saberoff.wav" saberColor red saberColor2 blue numBlades 2 saberLength 32 saberStyle staff throwable 0 singleBladeStyle medium singleBladeThrowable 1 brokenSaber1 brokenstaff brokenSaber2 brokenstaff twoHanded 1 //define Bladestyle 1, you can have a maximum of 2 bladestyles per saber noblade 0 trailstyle 0 noDlight 0 //define Bladestyle2 noblade2 1 trailstyle2 1 noDlight2 1 //Tell the game to use bladestyle2 for all blades after Blade 1, so blade 2...8 will use bladeStyle2 BladeStyle2Start 1 } I hope this helps @S3rafim EDIT: I also updated the wiki entry about .sab files with this. That's awesome, I'll test it out first thing when I'm at a pc and I'll feedback you! Thank you!
AshuraDX Posted June 14, 2020 Posted June 14, 2020 On 6/13/2020 at 1:19 PM, S3rafim said: That's awesome, I'll test it out first thing when I'm at a pc and I'll feedback you! Thank you! Did you get it to work?
S3rafim Posted June 15, 2020 Author Posted June 15, 2020 20 hours ago, AshuraDX said: Did you get it to work? Sorry, I got a little occupied and didn't have time! So, the trailstyle works perfectly, but noblade and noDlight doesn't seem to work. Both blades are normally visible and have a light.
AshuraDX Posted June 15, 2020 Posted June 15, 2020 4 hours ago, S3rafim said: Sorry, I got a little occupied and didn't have time! So, the trailstyle works perfectly, but noblade and noDlight doesn't seem to work. Both blades are normally visible and have a light. That is odd, did you try the .sab file I pasted? Does it work properly with that? I only tested this in openjk sp, didn’t try it in MP at all.
S3rafim Posted June 16, 2020 Author Posted June 16, 2020 9 hours ago, AshuraDX said: That is odd, did you try the .sab file I pasted? Does it work properly with that? I only tested this in openjk sp, didn’t try it in MP at all. I used your sab exactly as you pasted it. And yes, I tested it on mp, not single, but not in openjk, but I don't believe the latter is an issue
AshuraDX Posted June 16, 2020 Posted June 16, 2020 8 hours ago, S3rafim said: I used your sab exactly as you pasted it. And yes, I tested it on mp, not single, but not in openjk, but I don't believe the latter is an issue It really does not work in multiplayer which is odd to say the least. I may have to do some more digging to figure out what needs to be changed to make it work in MP (if possible at all)
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now