Kaidon Jorn

Modders
  • Content Count

    540
  • Joined

  • Last visited

  • Days Won

    37

Posts posted by Kaidon Jorn


  1. Uhhgghh, sorry I never got back to you I fell asleep. Trying this now...

     

    EDIT

    Ok wait a minute. Now it's just giving me all options even if I don't have the schematic....

     


  2. Ok, so...

    What are P2 and P3 for?  

    And the string parameter field, does that need to change to the actual tag of the item? Or the script is just looking for things with that tag suffix?


  3. It could be. I made the feat pickable for jedi classes ( and now I realized the problem with that, cause I dont want the PC to be able to pick it until it's granted) But for the PC it's granted on saber quest completion just like before. (via script not .2da)

    So what I wished I had was the basic "c_have_item.ncs" but it also checks for the feat. So that I could put the tag of the scheme in the string parameter of the dialog, then maybe the feat row number in the first little box(P1)? Sorry I'm braindead. 

    wishful thinking?

     

    Honestly the feat is completely arbitrary, but I had to be able to gate this s*** somehow.

     

     

     


  4. OK! Progress!

    Could someone help me out with writing this check script? 

    I need to basically check to see if you have the particular scheme item tag, as well has checking to see if you have the feat.

    So I took the script "c_have_any_co_cr", changed the item tags and am trying to add the check for feat to it. I know this is definitely not the way to go about it, but if I had some pro at the helm I would be doing good. 

    Here's what I have. Would this work like this?

    int StartingConditional() {
        int int1 = 0;
        int int2 = 245;
        object oPC = GetFirstPC();
        if ((GetIsObjectValid(GetItemPossessedBy(oPC, "hero_scheme"))) && (GetHasFeat(int2, OBJECT_SELF))) {
            int1 = 1;
        }
        else {
            if ((GetIsObjectValid(GetItemPossessedBy(oPC, "raid_scheme"))) && (GetHasFeat(int2, OBJECT_SELF))) {
                int1 = 1;
            }
            else {
                if ((GetIsObjectValid(GetItemPossessedBy(oPC, "enfo_scheme"))) && (GetHasFeat(int2, OBJECT_SELF))) {
                    int1 = 1;
                }
                else {
                    if ((GetIsObjectValid(GetItemPossessedBy(oPC, "cbat_scheme"))) && (GetHasFeat(int2, OBJECT_SELF))) {
                        int1 = 1;
                    }
                    else {
                        if ((GetIsObjectValid(GetItemPossessedBy(oPC, "dres_scheme"))) && (GetHasFeat(int2, OBJECT_SELF))){
                            int1 = 1;
                        }
                        else {
                            if ((GetIsObjectValid(GetItemPossessedBy(oPC, "egrd_scheme"))) && (GetHasFeat(int2, OBJECT_SELF))){
                                int1 = 1;
                            }
                            else {
                                if ((GetIsObjectValid(GetItemPossessedBy(oPC, "ckni_scheme"))) && (GetHasFeat(int2, OBJECT_SELF))){
                                    int1 = 1;
                                }
                                else {
                                    if ((GetIsObjectValid(GetItemPossessedBy(oPC, "reva_scheme"))) && (GetHasFeat(int2, OBJECT_SELF))){
                                        int1 = 1;
                                    }
                                    else {
                                        if ((GetIsObjectValid(GetItemPossessedBy(oPC, "sinq_scheme"))) && (GetHasFeat(int2, OBJECT_SELF))){
                                            int1 = 1;
                                        }
                                        else {
                                            if (GetIsObjectValid(GetItemPossessedBy(oPC, "sage_scheme"))) && (GetHasFeat(int2, OBJECT_SELF))) {
                                                int1 = 1;
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        return int1;
    }

    And I do have 3 more schematic tags to add down there at the bottom. Which are... dvet_scheme, shdw_scheme, and stal_scheme. 

    How do we condense this all down and make it all concise and pretty?

    Many many thanks in advance. 


  5. Right yeah

    Thing was, my dumba** forgot to go back and manually re-number the existing (install to modules) section after I added a new part, so it all got installed to the wrong modules. 

    smh


  6. Well it was my changes.ini and yeah i recovered. Everything got shifted down because I added  a section, so i had to rebuild half of the modules section. That was a b****.  I didn’t have a backup changes.ini but i do now
     


  7. I have to sell the house and move. 
    I could just wait to release next summer or something. Probably will…

    My brother died from a stroke a few weeks ago and it’s now imperative that i get out from under it (the house)

    i may be able to get it done before xmas

    • Like 2
    • Sad 1

  8. What might cause this? Anyone?

    20221108021445_1.jpg.4b4383ca428df168542d1608b37cdc86.jpg

    the Claivoyant video effect or something else?

    It's always worked fine until now. 

    All files were inserted into the modules on this install.

     

    EDIT: Never mind. I'm a schmuck. I installed the waypoint files but not the .git file for the area.

    Derp.

     

     

     


  9. I've decided to make Learn Schematic into a feat rather than a Force Power, because that's the way I think I intended it to be in the first place.

    So I think the main script that Fair Strides originally wrote is going away and I will have to devise a new script to just  check if you have the feat and the schematic you are trying to build.  Saber schematics will just be datapads again like in the original mod. No more equippable forearm shields. Just datapads. 13 of those in inventory isn't a huge deal. But you'll have to keep them on you if you want to build that particular lightsaber.

    I'll just have to re edit the workbench dialog and my append.tlk files once I get a working script.

    Question:

    Isn't there a vanilla script function that checks whether you have a feat or not? Haven't been able to scour KT for such a thing yet.

    Thanks

    KJ

     


  10. So I just did a test uninstall/reinstall and SLM took over 25 minutes...because of the companion dialogs.

    SO...

    I really am just going back to hard replaces on those since I really don't think it's necessary to write all the saber building sections of the companion dialogs with the patcher.

    Who agrees? 


  11. Of course. 

    Ok well I did have that delayed as well to 0.9, but they still weren't turning off.

    ...............

    Ok so I just lifted a line off another script that I know for sure works, and delayed the command. Think this will work?

        else {
            object oWP_council_kavar;
            if (((GetGlobalNumber("000_ZezKaiEll_Dead") == 0) && (!GetIsObjectValid(GetObjectByTag("Zezkaiell", 0))))) {
                oWP_council_kavar = GetWaypointByTag("WP_council_zez");
                CreateObject(1, "npc_zezkaiell", GetLocation(oWP_council_kavar), 0);
                object oZez = GetObjectByTag("zezkaiell", 0);
                DelayCommand(0.3, DestroyObject(GetItemInSlot(INVENTORY_SLOT_RIGHTWEAPON, oZez), 0.0, 0, 0.0, 0));
                DelayCommand(0.6, AssignCommand(oZez, ActionEquipItem(CreateItemOnObject("seek_dblsbr_194", oZez, 1, 1), 4, 1)));
                DelayCommand(0.9, AssignCommand(oZez, SetLightsaberPowered(oZez, TRUE, FALSE, FALSE)));
            }
            if (((GetGlobalNumber("000_Vrook_Dead") == 0) && (!GetIsObjectValid(GetObjectByTag("Vrook", 0))))) {
                oWP_council_kavar = GetWaypointByTag("WP_council_vrook");
                CreateObject(1, "npc_vrook", GetLocation(oWP_council_kavar), 0);
                object oVrook = GetObjectByTag("vrook", 0);
                DelayCommand(0.3, DestroyObject(GetItemInSlot(INVENTORY_SLOT_RIGHTWEAPON, oVrook), 0.0, 0, 0.0));
                DelayCommand(0.6, AssignCommand(oVrook, ActionEquipItem(CreateItemOnObject("vigi_lghtsbr_190", oVrook, 1, 1), 4, 1)));
                DelayCommand(0.9, AssignCommand(oVrook, SetLightsaberPowered(oVrook, TRUE, FALSE, FALSE)));
            }
            if (((GetGlobalNumber("000_Kavar_Dead") == 0) && (!GetIsObjectValid(GetObjectByTag("kavar", 0))))) {
                oWP_council_kavar = GetWaypointByTag("WP_council_kavar");
                CreateObject(1, "npc_kavar", GetLocation(oWP_council_kavar), 0);
                object oKavar = GetObjectByTag("kavar", 0);
                DelayCommand(0.3, DestroyObject(GetItemInSlot(INVENTORY_SLOT_RIGHTWEAPON, oKavar), 0.0, 0, 0.0));
                DelayCommand(0.3, DestroyObject(GetItemInSlot(INVENTORY_SLOT_LEFTWEAPON, oKavar), 0.0, 0, 0.0));
                DelayCommand(0.6, AssignCommand(oKavar, ActionEquipItem(CreateItemOnObject("kava_lghtsbr_191", oKavar, 1, 1), 4, 1)));
                DelayCommand(0.6, AssignCommand(oKavar, ActionEquipItem(CreateItemOnObject("kava_shrtsbr_192", oKavar, 1, 1), 5, 1)));
                DelayCommand(0.9, AssignCommand(oKavar, SetLightsaberPowered(oKavar, TRUE, FALSE, FALSE)));
            }
        }
    }

    I should just go try it I guess heheh

     

    EDIT: Ok that worked. Thank you DP.

    On to the next issue....short saber rotation.

     


  12. Hello

    Wondering if anyone can see a problem with this. They are successfully equipping their custom hilts but they remain powered on. 

    k_650enter.nss

    void main() {
        if (GetLoadFromSaveGame()) {
            return;
        }
        object oEntering = GetEnteringObject();
        object oFROM_605DAN = GetObjectByTag("FROM_605DAN", 0);
        if ((((GetFirstPC() == oEntering) && (!GetLocalBoolean(oFROM_605DAN, 42))) && (GetGlobalNumber("500OND_DarkSide_Iziz") == 0))) {
            SetLocalBoolean(oFROM_605DAN, 42, 1);
            SetGlobalNumber("853NIH_CUTSCENE", 1);
            StartNewModule("853NIH", "", "", "", "", "", "", "");
        }
        else {
            object oWP_council_kavar;
            if (((GetGlobalNumber("000_ZezKaiEll_Dead") == 0) && (!GetIsObjectValid(GetObjectByTag("Zezkaiell", 0))))) {
                oWP_council_kavar = GetWaypointByTag("WP_council_zez");
                CreateObject(1, "npc_zezkaiell", GetLocation(oWP_council_kavar), 0);
                object oZez = GetObjectByTag("zezkaiell", 0);
                DelayCommand(0.3, DestroyObject(GetItemInSlot(INVENTORY_SLOT_RIGHTWEAPON, oZez), 0.0, 0, 0.0, 0));
                DelayCommand(0.6, AssignCommand(oZez, ActionEquipItem(CreateItemOnObject("seek_dblsbr_194", oZez, 1, 1), 4, 1)));
                SetLightsaberPowered(oZez, TRUE, FALSE, FALSE);
            }
            if (((GetGlobalNumber("000_Vrook_Dead") == 0) && (!GetIsObjectValid(GetObjectByTag("Vrook", 0))))) {
                oWP_council_kavar = GetWaypointByTag("WP_council_vrook");
                CreateObject(1, "npc_vrook", GetLocation(oWP_council_kavar), 0);
                object oVrook = GetObjectByTag("vrook", 0);
                DelayCommand(0.3, DestroyObject(GetItemInSlot(INVENTORY_SLOT_RIGHTWEAPON, oVrook), 0.0, 0, 0.0));
                DelayCommand(0.6, AssignCommand(oVrook, ActionEquipItem(CreateItemOnObject("vigi_lghtsbr_190", oVrook, 1, 1), 4, 1)));
                SetLightsaberPowered(oVrook, TRUE, FALSE, FALSE);
            }
            if (((GetGlobalNumber("000_Kavar_Dead") == 0) && (!GetIsObjectValid(GetObjectByTag("kavar", 0))))) {
                oWP_council_kavar = GetWaypointByTag("WP_council_kavar");
                CreateObject(1, "npc_kavar", GetLocation(oWP_council_kavar), 0);
                object oKavar = GetObjectByTag("kavar", 0);
                DelayCommand(0.3, DestroyObject(GetItemInSlot(INVENTORY_SLOT_RIGHTWEAPON, oKavar), 0.0, 0, 0.0));
                DelayCommand(0.3, DestroyObject(GetItemInSlot(INVENTORY_SLOT_LEFTWEAPON, oKavar), 0.0, 0, 0.0));
                DelayCommand(0.6, AssignCommand(oKavar, ActionEquipItem(CreateItemOnObject("kava_lghtsbr_191", oKavar, 1, 1), 4, 1)));
                DelayCommand(0.6, AssignCommand(oKavar, ActionEquipItem(CreateItemOnObject("kava_shrtsbr_192", oKavar, 1, 1), 5, 1)));
                SetLightsaberPowered(oKavar, TRUE, FALSE, FALSE);
            }
        }
    }

    I dont know what I'm doing wrong. As usual I guess.


  13. Alright. So Kavar's Escort can now also be used as  a shortsaber. Remapped and reskinned. But now I still have to fix the positioning.....

    20221014153920_1.jpg.d2f0266026ec170b86e858d1afdd4a49.jpg

     

    20221014153911_1.jpg.46dbd72cbbc0692cb07bdac33ce6bf3c.jpg

    There is the age old problem of positioning in the off hand. 

    Can I just go into the ascii file and fix it from there? Do I need to rig it that way?

    Thanks in advance.

     


  14. Aww..ya know this does look pretty good, but I can't leave it like this. It's got to be black.

    Remapped and reskinned....

    20221005003053_1.jpg.ac29eab46450b602ed42df4b3eb63b5f.jpg

    AND I remembered to rotate it 90 degrees so the shroud is on the right side. Yay me.

     


  15. Oh well cool. I'll look through that when I get a chance. 

    I'm about to have to remap and skin Sion's model. Apparently I left a lot of bits unmapped but so far I can't make heads of tails of where they go. 

     


  16. Another trip down memory lane, shall we? 

    So back when I was learning how to model a hilt, I used RandomSabers.com as a basis for (mostly) all my designs...

    4900 something polys....yeaaah, I over did it a tad.

    acheron.jpg.61518d80e4a9b4e9ac72ac9974f6f1c3.jpg

    Kreia"s.....

    hikari.jpg.4812d98783f97103b8d2c9f5e6375408.jpg

    Enclave Guardian's...

    scimitar.jpg.e0e7c53dcbc2275154144231af2900c4.jpg

    Currently Honorable Duelist...

    samaratin.jpg.5dbbc80563f5fac5e0f283948a9da175.jpg

    Kavar's Escort....without the inverted emitter shroud thingy.

    cavalier.jpg.d7220fd9baa6ceb5a72d505227feb153.jpg

    This ended up being the blue default. Just without the outer shell thing. So then I just integrated the vertical slat thingies at the bottom, and omitted the ring.

    purgator.jpg.077832327a0d2ba30b4cb251416bbcb7.jpg

    One more...

    Currently Visas Marr's Visionary saber....

    klaxon.jpg.ef8f9ea30a02c23dcc0fcadf9751c16d.jpg

    So I am currently reskinning everything with some new textures I found on the interwebz. Actually almost done. It went fast. 

    But I have a LOT more I want to do. But hopefully I can get this out before the end of the year. So many improvements.

    G'night.

     


  17. Well. I could cram one more in....should Kaevee have a custom hilt?

    Also, why wasn't I doing this before?? I mean I know I'm lazy but....

    20220921234541_1.jpg.d2467f9daf63cebf5311da8f9c1ddd74.jpg

    20220921234613_1.jpg.1c4b744294345048d00f7ed5615a72ed.jpg

    "Directional industrial steel" at 62-66% with a baremetal .txi

    Kinda kewl yeah?

     

    • Like 3