Home » PLAYER'S HQ 1.13 » v1.13 Solutions,Tips & Spoilers » 3 Questions: Indicators stats - Male Recruiting - I.M.P. Traits
Re: 3 Questions: Indicators stats - Male Recruiting - I.M.P. Traits[message #320688] Fri, 24 May 2013 23:25 Go to previous messageGo to previous message
Flugente

 
Messages:3507
Registered:April 2009
Location: Germany
Player/NPC profiles and enemy profiles are very different things. Currently there are only profile slots for up to 255 persons - which are the mercs, RPC, and generally any NPc you can meet in the game. Rule of thumb: if it has a name and face, it has a profile.

The IMPs are something special. There are dedicated 7 slots among those 255 for them. When we create an IMP, we load his data (that might be stored separately, thus the ability to load existing IMPs via callsign in the laptop) into this game's profiles.

Enemy Profiles are something different. The average grunt had no profile until now. And the profiles I created are very small. For example, only the 255 'special' mercs (those with a name) have the laptop statistics data, a face, a voice etc.. So far, the enemy profiles only contain what is in the xml.

So what you are asking has nothing to do with enemy profiles. I guess what you want is to store IMPs in an xml. Currently they are stored in a user's profile folder. Ideally, we could change that:
  • create a new xml - IMPs.xml or sth like that - which stores xml profile data of an IMP.
  • when creating a new IMP, write his data to the xml (for every xml we create, we also create a Write routine, though we barely ever use them).
  • change the laptop callsign IMP creation to also accept xml entries, say, on typing 'xml23' you get the 23rd IMP in the xml.
  • ideally also store the initial drop gear in those xmls. I hate having to constantly adapt starting gear for each IMP, when I already know what I want.
IMPs created this way could of course be exploited, we cannot test an entry for 'IMP rule correctnes'. So one could have IMPs with 100 stats everywhere... though one can always do that anyway, so this isn't really an argument.

I see no problem with that, would be a medium amount of easy coding.

The one thing I would be careful with is adding new, potentially unbalanced mercs to the game via this backdoor. In my opinion, its a very good thing we only add JA2-approved mercs to the game (like UB, WF, SOG or, nowadays, DG mercs). If we open the door to new mercs, this might lead to obscure stuff like 'popular' video game characters (Metal Gear something dude, :vader: etc.). It would be arguable wether these 'deserve' to be in the trunk.

Report message to a moderator

Captain

 
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: Platinum watch + copper wire = detonator ??
Next Topic: How to cheat to get certain items?
Goto Forum:
  


Current Time: Fri Jan 10 18:48:06 GMT+2 2025

Total time taken to generate the page: 0.01128 seconds