Jump to content

5th_horseman

Members
  • Posts

    18
  • Joined

  • Last visited

About 5th_horseman

5th_horseman's Achievements

  1. Doh! of course "AND" as I said programming is not my strong point, I'm more familar with semi-automated pneumatic and hydraulic machinery. Where can I find an example, that stores and set variables similarly to the block of pseudocode, I have checked Weidu doc's on tp2, found nothing that seemed related. I have not seen anything of this type inthe tp2's for any of the mods I have. Would any of the forums have any particular threads that might be worthwhile going throught?
  2. I am not skilled at programming, cut and paste change the files names is about my standard. The code Idobek posted works for an existing kit, (one that has a column already) and copys another existing kits figures into that column? If I understand correctily. Will this work for adding a new column, as in the case of adding a new kit? Also I see a problem in that the kit I wish to add is different from the base class in that it allows access to weapons not included and restricts weapons that are allowed in the base class, just copying the base class (Theif in this case) would not give the results required. I have been going over the Weidu doc's, and "ADD_KIT" seems to be a single command with multiple data entries using the method showen in "Kit Creation Part Four" is likily the way to go. Can "ACTION_IF FILE_EXISTS ~name of file~ THEN BEGIN" be used to check for more than one file? For example can it be used to check if these three files exist "AshesofEmbers\Backup\0\AROW01.ITM", "override/cdweapprofs.g3" and "override/ikweaponstylesforall.g3" at the same time, if so how would that be written? Then checking for the eight posibble cases and install the correct "ADD_KIT". Can Weidu do anthing like this? If input A is true then A = 1 If input B is true then B = 2 If input C is true then C = 4 A + B + C = D Then Go to block D block 0 block 1 block 2 block 3 block 4 block 5 block 6 block 7 This is the type of code I used in programming PLC's for multiple conditions, the inputs were binary state senor's (On/Off), the block being the program of that set of conditions. As you can see fairily simple stuff. Something like this would make is easy to select which "ADD_KIT" to use.
  3. I currentliy playing about with a ninja kit I had a look at the Shurikai Ninja, but I am not happy with it. My question has to do this the tp2 file, I've looked at the example "ACTION_IF FILE_EXISTS" in BG2 Kit Creation Part Four it's seem's bulky doubling the the file size. Is there a tidy way that only effects CLASWEAP.2da and WEAPPROF.2da as I also want to take into account "Rebalanced weapon proficiencies" and "Weapon Styles for All" section of G3Tweaks can I do something like this? How would the best way to nest this for the cases of Three, Two,One or none installed as in all cases "Ashs of Ember's", "Rebalanced weapon proficiencies" and "Weapon Styles for All" will only effect CLASWEAP.2da and WEAPPROF.2da files of the kit I making?
×
×
  • Create New...