|
Delta Force Anything to do with the Delta Force series of games, DF1, DF2, LW, TFD, BHD, DFX, AF etc. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
HP of bots
Does anyone knows how to change the hitpoint of bots?
|
#2
|
||
|
For single player purposes ONLY:
Modding/editing the hparmdta.csv is possible but difficult. Modding/editing the items.def is possible and less difficult. Writing up a .wac file for the mission and adding actions like ssnhp(SSN,HP) or grouphp(Group,HP) to an event is a quick fix. Do not use altered game files in MP games! Pack a mod .pff and distribute it to players you want for testing if you must, 'cause everyone in a server should be playing the same mod. Adjusting AIs HP with a .wac works for the host of a serve and play, but I cannot confirm that .wac adjusted HP for AIs will work for clients joining a server.
__________________
////////////////////<- SIGNATURE STARTS ->\\\\\\\\\\\\\\\\\\\\\ The NSO Deadline Mod at NovaHQ.net: /////////////////////<- SIGNATURE ENDS ->\\\\\\\\\\\\\\\\\\\\\\
|
#3
|
|||
|
Quote:
Do you know how to edit items.def or hparmdta.csv? I extract it from PFF and open it with notepad but cannot read |
#4
|
||
|
So I have this one test mission with an RPG guy, SSN 43. I start the mission, I hit him with one CAR15 round, he dies. Pause the mission, alt-tab to open the .wac file, add this:
Code:
if never then ssnhp 43 5100 endif So the code works. I suspect you're not using the /d tag. I guess you also need to put a bit of DeScr on the hparmdta.csv and the ITEMS.def: https://novahq.net/files.php?ID=334 After they're decrypted, you can edit them in notepad.exe.
__________________
////////////////////<- SIGNATURE STARTS ->\\\\\\\\\\\\\\\\\\\\\ The NSO Deadline Mod at NovaHQ.net: /////////////////////<- SIGNATURE ENDS ->\\\\\\\\\\\\\\\\\\\\\\
|
#5
|
|||
|
Quote:
I use DFX2 style ssnhp ssnhp(ssnId, hp) and game crashes, now I know what should I do Thank you Baldo_the_Don |
#6
|
||
|
Hey mate,
I replace a new item.def to localres.pff and change all enemy HP to 100 (origin 2), but when testing in game, the enemy is still killed in one shot. Is there anything wrong? Do I need to compile it or do anything else? |
#7
|
||
|
It's a bad idea to alter original game .pffs 'cause if you join any server, the alterations will be detected and you'll get kicked for sure, and possibly autobanned.
If you use a .pff tool, it's my preferred method to open the .pff, delete the file you mean to replace, close the .pff tool, reopen the .pff tool, reopen the .pff, then add the new file. You don't need to reencrypt the new items.def. Well, not for DBHDTS 1.5.0.5, at least. And for testing, you don't have to pack it into the .pff, just drop the items.def into the game folder and make sure you start the game with the /d tag. And always run any .exe for this game (the game, the installers, the updates, the mod installers, the pack.exe) as administrator. Executables without admin rights will have altered files (edited maps, mods, the dfv.cfg, the dfvplr.sav) shunted to a folder in the C:>Users>YOURNAME>AppData>Local>VirtualStore directory, and the game cannot access those files in that folder. Reiterating the warning: Do not join multiplayer games with altered files in your game. Hosting a LAN serve and play is perfectly safe. I cannot confirm that hosting an online serve and play is safe, though.
__________________
////////////////////<- SIGNATURE STARTS ->\\\\\\\\\\\\\\\\\\\\\ The NSO Deadline Mod at NovaHQ.net: /////////////////////<- SIGNATURE ENDS ->\\\\\\\\\\\\\\\\\\\\\\
|
#8
|
|||
|
Quote:
sadly, only puting item.def in game folder doesn't work... (testing with stream version) This is my new items.def, could you please test it with your game? I change every charater with HP2 to HP100 https://drive.google.com/file/d/1cN-...ew?usp=sharing |
#9
|
||
|
I tried the items.def out. It seems to work.
Though I have to say: my experience with 100 hp AIs in SP is a lot of late mission ammo shortages, but when you throw a single shot at that guy way over there, and he goes down, you know it was a headshot, and that makes me awful smiley for a while. See the attachment to check out what I did today.
__________________
////////////////////<- SIGNATURE STARTS ->\\\\\\\\\\\\\\\\\\\\\ The NSO Deadline Mod at NovaHQ.net: /////////////////////<- SIGNATURE ENDS ->\\\\\\\\\\\\\\\\\\\\\\
|
#10
|
|||
|
Quote:
Today I find an amazing thing: My item.def work with all TS items and don't work on all BHD items! There must be another file like this override the settings. I'm trying to find it out |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|