Jump to content

JA: Enhanced Code Base


Recommended Posts

Nearly done codewise…but need to add extra slots and also proper dual / staff saber support.

 

You have a .csab file in ext_data/sabers that looks like this:

 

 

saberbuilder_1 //this is the name that is in the .sab
{
saberlongname "Ashura's Saber" //this is the name shown in the menu
foldername Saberbuilder //this is the name of the folder, i.e. if the model is in models/weapons2/Saberbuilder/
skin1 emitter //what .skin files to look for. will search for e.g. models/weapons2/Saberbuilder/emitter_blah.skin, models/weapons2/Saberbuilder/emitter_1.skin etc.
skin2 pommel //what .skin files to look for. will search for e.g. models/weapons2/Saberbuilder/pommel_blah.skin
skin3 rest //what .skin files to look for. will search for e.g. models/weapons2/Saberbuilder/rest_blah.skin
skin1name @SPMOD_EMITTER //what to show as header for first category
skin1desc @SPMOD_EMITTER_DESC //what to show as description for first category
skin2name @SPMOD_POMMEL //what to show as header for second category
skin2desc @SPMOD_POMMEL_DESC //what to show as description for second category
skin3name @SPMOD_HILT //what to show as header for third category
skin3desc @SPMOD_HILT_DESC //what to show as description for third category
}
Mert-K likes this
Link to comment

Idea: making it possible to swap hands due to the heads via .headswap file syntax would be really great thing (to avoid rodian- headed model with human hands)..
Also, is it possible to change the .skin files syntax to make it work like both .headswap and .skin files?

Link to comment
  • 4 weeks later...
  • 4 weeks later...
  • 4 weeks later...

haha very sneaky @@Circa

 

Can probably already shift the bolted position, but would be best if the saber had a tag, yeah. Need to get back to this soon!

Perhaps @@Rooxon can work with you on that, since he's making the new sabers. I may need to talk with you on Steam about the Gold Pack and how your mod will fit in.

Link to comment

@@redsaurus alright, so hopefully you've looked at the new focus of the project. Would you like me to move this thread back to WIP, and maybe you could start a new one here with the holster and saber builder portion? If you'd like to keep it all in this thread, that's fine as well.

 

Basically we will need to combine the code for holsters and saber builder with @@eezstreet's code, but if you want to wait until you're finished, that's also fine. Not quite sure how that works honestly. :P

Link to comment

Actually, I was thinking about taking red's code and working off of it. I can simply redo the changes I've made to JK2:HD, and make the JKA code work for JK2. (I've done it before using engine hax, should be easy with actual source code :P)

Circa likes this
Link to comment
  • 3 months later...

still working on this apparently; now have five things to choose from. ui temporary (still). release in the next week.

 

 

todos:

  1. fix UI for this
  2. NPC headswaps done: "playerHeadModel" and "customHeadSkin" in the .npc file
  3. optional holster tags maybe done: probably needs testing. looks for "*holsterorigin" (just like "*flash", so i suppose it'd be "tag_holsterorigin"). not sure if works properly!

 

 

anything important i've forgotten?

Stoiss, Circa, NumberWan and 3 others like this
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...