Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New Feature: IMP gear selection
New Feature: IMP gear selection[message #336070] Wed, 24 September 2014 02:12 Go to previous message
Flugente

 
Messages:3461
Registered:April 2009
Location: Germany
<font size="">New Feature: IMP gear selection</font>

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:
http://i58.tinypic.com/vifxtv.png
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.

[Updated on: Sun, 01 March 2015 00:53]



 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New feature: additional dialogue
Next Topic: New feature: Tripwire-triggered mines, directional mines (claymores), mines display, layered hierarc
Goto Forum:
  


Current Time: Tue Jul 23 21:39:40 EEST 2019

Total time taken to generate the page: 0.01939 seconds