Jeffrey Moon Posted December 31, 2012 Posted December 31, 2012 Hey guys! I'm new here, just registered, but I'm already thinking about a single player campaign (later might become a series).So, what I was thinking about is an addon, which makes the player able to holster his lightsaber (or firearms). The lightsaber is planned to be put on the back of the player (like saw in JA++ in case of staff sabers), but cannot figure out how to do it.I've already done some experiments with a JA++ integration into SP, but it is likely that something has avoided my attention! So, what should I do?
Dusty Posted December 31, 2012 Posted December 31, 2012 Hmm, that'd be tricky. You could edit the animation for igniting and turning off the lightsaber, for the hilt to be placed on the character's waist, but I could see that running into potential problems at some point, like you couldn't have different spots (like a staff hilt on the player's back, or a regular hilt on the waist). I'm guessing though you want to have the saber specifically holstered when you switch to a different weapon. That'd take some code editing to SP. You'd want to talk with eezstreet or mr.wonko I think about that.
therfiles Posted December 31, 2012 Posted December 31, 2012 Yeah...Dusty is right. That would require tons of new animations. You may be able to make a script...but that would be unpractical. There is a script command that adds a model to the player's right or left hand. If you just moved the model's hand tag to the back, and made the model a saber...but you would need a new script for each saber...sorry man.
Jeffrey Moon Posted December 31, 2012 Author Posted December 31, 2012 Thank you for your help, anyway!
eezstreet Posted December 31, 2012 Posted December 31, 2012 Use an ICARUS script and bolt a saber model to the shoulder bone.Or..femur, I guess.
Dusty Posted January 1, 2013 Posted January 1, 2013 There's one problem though, when the player switches weapons, wouldn't the hilt model dissappear? Or no? I know normally when you de-ignite the saber, you just have the saber held in the hand until you switch weapons. Did you want to have the saber held in hand, and then holstered when a different weapon is out, or did you want it to always holster whenever it's turned off?
therfiles Posted January 1, 2013 Posted January 1, 2013 That's one of the problems that make this so complex. You'd have to account for all that silly stuff. @@eezstreet: How do you bolt something to the shoulder? I know you can bolt the hand bones in ICARUS and bolt to the wrist using the .sab file, but I thought that was it...
eezstreet Posted January 1, 2013 Posted January 1, 2013 hm. Thought ICARUS could bolt anywhere, so I guess I'm slightly wrong on that.
Dusty Posted January 2, 2013 Posted January 2, 2013 *cough* SP code edits *cough* //Offtopic slightlyEez, any chance you could put your code-editing toolset and plugins and what not in a language someone with minimal coding experience can understand? Or is that ridiculously hard (which I would think it is...)? I look at that, and I notice things like if/else statements and other things, but I get lost in all the code/not written in english type things and the weird syntax that only computers and programmers understand.
eezstreet Posted January 2, 2013 Posted January 2, 2013 The code edits involve heavy use of reverse engineering, so the programming requirement is fairly high at the outset. There's no way around that, unless I comment it to a fine degree and/or write a manual on reverse engineering, which I don't have time for.
Dusty Posted January 2, 2013 Posted January 2, 2013 So I'm guessing when I look at your tools/code and stuff, I'm looking at a toolset for getting to the game code (via reverse engineering), not the actual game code itself ripe for editing? Anywhoo, maybe you or one of the other coders could help this dude out, maybe port a bit of code from JA+ or something into SP?
eezstreet Posted January 2, 2013 Posted January 2, 2013 Right. And porting stuff from JA+ isn't really needed for the most part, as I can only think of the grappling hook being an actual feature that would work, or maybe emotes. therfiles likes this
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