Quote: "ok cool I got the new hud desinged and saved problem is when I look for the fpi of the item I want to change I can't find it I only see FPE, dds. and bitmap. it is a purchased led from the store Errant Ai was the creator. I go into scriptbank/purchases/errantai/weapons/gadgets. Cant figure it out it's probably simple right. "
You are looking in the entity folder, which does hold the BMP, texture (DDS), and the FPE (control file for the entity). You need to actually edit the
script itself- used to tell the engine what to do when the item is picked up. Scripts are located in the Files\scriptbank folder.
In the following example, we will use a flashlight (torch) found in the SciFi>Items section. To change the hud displayed when you pickup the item to your own hud, follow these steps:
1. Place the torch entity to pickup.
2. Right click on the entity, look at the field AI Scripts>Main field. Notice it has the pickup1.fpi script attached. The FPI is a script, and is found in the Files\scriptbank folder.
3. Navigate to where the pickup1.fpi script is and view it using notepad or whatever you use to edit script files.
4. Look for this in the script-
hudimagefine=gamecore\text\pickedupanitem.tga. You replace that line with the path and name of your hud you made. So if you called it "pickup_myhud.tga" and it is in the same folder, you would have
hudimagefine=gamecore\text\pickup_myhud.tga.
I normally make a copy of the pickup1.fpi script and may call it pickup_flashlight.fpi. This way I have the original. Once I am done editing the script, I make sure I keep it in the \scriptbank folder.
5. Now you can change the script assigned to the item. In the AI Scripts>Main field, click the little three dots (they appear when you left click in the white portion of the box where the word pickup1.fpi is) and navigate to your script. By default, it will open your scriptbank folder. Once found, click Open, then click Apply Changes.
As long as there are no errors in your script, your hud you created will be used instead of the standard pickup item hud.
- BlackFox

The function of good software is to make the complex appear to be simple.