The IMP creation process has come a long way since 1.00. Back then, it was a quiz, and the answers you gave influenced what traits and items you got.
Nowadays things are different. We select traits, personality, disabilities and other things directly. This allows us to finetune the IMPs to our liking.
What always somewhat annoyed me (and I assume others too) were the items one got. They depend on ItemChoices.xml, but this also involves randomness. One can never be sure what you get.
If one wants an IMP to get specific items, one has to basically
clean the xml,
add the items one wants (multiple times in case of ammo!),
save the xml,
start the game,
create the IMP (and hope you did not miss anything in the xml)
save the game.
If you want multiple IMPs, do that process again for ech and every one. Phew. This stinks. :badair:
Well, no more of that. As of r7529, we now have the IMP gear selection. At the end of the IMP creation process, you will be asked on wether you want to get you gear via the old method, or the new one:
This allows you to pick your weapons, LBE gear, armour and other items how you want to.
Which items can be selected depends on ItemChoices.xml (this is the input) and the traits you have selected. How high your stats are is not evaluated, because f*** that. People edit the xml for that very reason - because they are unhappy with the selection.
If you select expensive gear, you will have to pay the additional cost - if the cost is below the IMP cost, it is free. Might sound odd, but is less odd than the current system where you get everything for free.
This small video demonstrates the process (it shows the entire IMP creation process, in case you are not familiar with the current state of it):
The second gun slot is for sidearms (guns that can be held in one hand) or launchers. You cannot start with 2 ARs with this feature. If you don't like that, play with the old method.
How many items of a category you can purchase depends on hardcoded values. I will not externalise them, because I've had with externalising every crappy detail. Take it or leave it.
The ItemChoices.xml could need an update, which I may or may not perform soonish.
This entire feature could also be used for AIM and MERC. All that has to be done is to find room for it and do all the UI work. And find someone else to do it while you're at it.
No, I will not code a way to apply attachments to items while purchasing them.
No, this will not go in the 2014 stable release coldfix or whatever it will be called.
This has been added to the trunk in r7529 and is fully savegame compatible. GameDir >= r2152 is required, as new images were added. Using a lower GameDir will cause the government to spy on you.
Cannot run new release version of new exe with this feature.The debug version-work.Is this problem of unstable builds or what?
Compiled exe with VS2008
Another question:The variable choose for IMp items will be configurable through IMPitemchoices.xml or a different file?I didnot find itemchoices.xml in data or data-1.13 directory.
Messages:69
Registered:December 2001 Location: Oregon, USA
Flugente
@Sargeno: This should be in the next SCI DepressivesBrot releases. Alternatively you can compile it yourself, but SCIs are way easier.
I imagine that DepressivesBrot will have the next SCI out per his usual update schedule so I can wait as I don't own a compiler and the SCI are indeed easier.
Thanks.
[Updated on: Thu, 25 September 2014 02:06] by Moderator
Messages:69
Registered:December 2001 Location: Oregon, USA
If I ask really nice might it be possible to get at least the new exe files as I can extract the rest of the files for this feature from the latest SVN?
Cost is the unmodified price of the items, minus the IMP cost. You do not get money back if you buy less though . As a result, the first 3k$ are kinda free, for everything else exceeding that you have to pay extra.
This is great! I don't know how many times I've rewritten the IMPChoices.xml in order to setup balanced, flexible gear allocation that doesn't create anomalous configurations for unusual skill and trait combos, only to fail in one way or another every time.
This resolves those issues in a very final manner. Great job!
If I'm to nitpick, however, I can't help but think those orange slots in the load-out selection look a touch jarring. I feel the purpose would be much better served by a darker 'greyed out' version of the normal yellow background, emulating the looks of the rest of the interfaces in the game. To be perfectly honest, I feel the use of orange here screams 'programmer graphics!' and also suggest it's an auxiliary system added as an afterthought rather than an integral part of the game, which it will in time be.
To be perfectly honest, I feel the use of orange here screams 'programmer graphics!' and also suggest it's an auxiliary system added as an afterthought rather than an integral part of the game, which it will in time be.
From a slightly different topic, but the quote fits soooo well:
Flugente
People will not like your pictures. Tell them that these are only placeholders, and you will gladly replace them if they deliver better pictures. This will never happen, and those placeholders will stay in the stock data for the next 5 years.
@Forral: Hmm. All true... perhaps that does seem to indicate 'error' more than 'nothing selected, all ok'... might check wether no box at all in these cases works better.
If the requirement is just free, VS Express is what everyone is using, recommend the 2010 version since that's the latest with specifically set up projects. Newer ones may or may not require conversions that may or may not break stuff.
Messages:69
Registered:December 2001 Location: Oregon, USA
Okay, I will give it a try.
Thanks.
Edit: I went to MSDN and downloaded the ISO for Visual Studio Express 2010 but I when I try to install I get "F:\Setup.hta is not a valid Win32 application" error. How do I fix it?
Thanks again.
[Updated on: Sat, 27 September 2014 00:07] by Moderator
I just want to start a new game because I have currently time and I would like to find Mike and Slay. It would be fine if you just create an exe of the newest Version (including the weapon selection and if possible with mostly german text/sound). I'm a programmer, but I know that it's really not so easy to load a project and compile it. The time for providing the new exe is not so huge isn't it?
Since it includes the time futilely spent trying to convince me, you have plenty of time to get it to run (Exact time can be seen in my thread). Especially with extra wishes like GER loc. :devilaugh:
Messages:69
Registered:December 2001 Location: Oregon, USA
DepressivesBrot
Since it includes the time futilely spent trying to convince me, you have plenty of time to get it to run (Exact time can be seen in my thread). Especially with extra wishes like GER loc. :devilaugh:
If this is directed at me then, "The horse you rode in on".
Because the other guy is not me and I am trying to find a fix for the HTA error but can not find any online.
Messages:69
Registered:December 2001 Location: Oregon, USA
Then I apologize as I have been trying to get the install error fixed all day by searching for fixes (I.E. Windows Update and various websites) and not getting anywhere.
I am basically left to just waiting for the next exe release.
The GameDir is located at https://ja2svn.mooo.com/source/ja2_v1.13_data/GameDir/. This is the English GameDir. The localized ones only contain language specific data. So in fact you need both to form a complete GameDir if you want to play in German.