Home » MODDING HQ 1.13 » v1.13 General Development Talk » Fixing Face Gear
Fixing Face Gear[message #262675] Wed, 15 September 2010 13:25 Go to previous message
silversurfer

 
Messages:2798
Registered:May 2009
Hi everybody!

At the moment I'm trying to fix the handling of face gear and ran into a few problems. It's actually two things that I want to fix.

1. Show face gear on the mercs portrait:

This is done when "SHOW_TACTICAL_FACE_GEAR" and/or "SHOW_TACTICAL_FACE_ICONS" is set in JA2_Options.ini. It didn't work with item mods like AIM because the game used hard coded item IDs so all the new items didn't show anything in the mercs face.

I already fixed that by introducing a few new tags for face gear:

  • 0

  • 0

  • 0

  • 0 This tag already existed.
When new face gear items are introduced they have to get one of those tags.


2. Goggle switching:

This one is a bit more difficult. In the past we had only a few vision enhancing items in the game and those were sun goggles and a few NV goggles. It was easy to switch between them because each of them was only good for a certain time of day. This has changed. With item mods we have more face gear and we even have gas masks with vision enhancement.

We will have to set up rules for what item type can work with another item type. Let me give some examples:


1. Your merc wears regular sun goggles and a gas mask. Night comes and you want to switch your face gear. You have another gas mask with night vision enhancement in your inventory. What will you replace? At the moment you will end up with two gas masks in your face. Very Happy
This is not good. But if the game would replace the old gas mask you will still have the sun goggles in your face which is bad as well. If you would want to place the sun goggles and the NV gas mask manually in your face the game wouldn't allow it because both have vision enhancement. (but that's another part of the game code)

2. You have sun goggles and a gas mask on and it is daytime. You also have a gas mask with day vision enhancement in your inventory which is better than the sun goggles. You hit Shift + n and no matter what the game will replace the result will be crap. Either have two gas masks on or sun goggles + a day vision gas mask which will both cumulate.


What shall I do? Your input is appreciated. Smile

 
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: MercProfile Slots
Next Topic: How do you make tranquilizers more effective and reliable?
Goto Forum:
  


Current Time: Mon Mar 08 14:25:22 EET 2021

Total time taken to generate the page: 0.02376 seconds