Novahq.net Forum

Novahq.net Forum (https://novahq.net/forum/index.php)
-   Delta Force (https://novahq.net/forum/forumdisplay.php?f=101)
-   -   [DFBHD] A MED question (https://novahq.net/forum/showthread.php?t=49989)

Maverick_Y 07-28-2019 10:34 AM

A MED question
 
I want to make a BHD map that force player stay undetected. Once the enermy find or shoot the player, mission fail. In DFX series I can write event IF SSN IN RED ALERT AND SSN STILL ALIVE to do it but it seems doesn't work in BHD. Also, some triggers such as SSN SEE SSN, SSN TARGET SSN, SSN SHOOT SSN seem unstable and work probabilistically. That really confused me. Does Anyone know how to realize my design?

Guest001 07-29-2019 03:51 AM

Use "ssn blind" and "ssn not blind"

if ssnarea player - not blind
else
blind

if ssndead - enemy
lose event
lose game

Maverick_Y 07-29-2019 10:39 AM

Quote:

Originally Posted by stompem (Post 391911)
Use "ssn blind" and "ssn not blind"

if ssnarea player - not blind
else
blind

if ssndead - enemy
lose event
lose game

I think there are a misunderstanding.
I'm working on a map requesting player to slip into enermy base QUIETLY ONLY, so I want to write an event to realize the function that once enermy find or shoot player, the alerm raise and the mission fail.
Let every enermy blind is definately not a good decision.

Baldo_the_Don 07-29-2019 12:09 PM

"If group [enemy] has targeted Group 1 then" will be a decent trigger. [Player is always in group 1.] You'll need that trigger for every group of enemies.

"If group 1 [Player] has shot group [enemy] then" will also keep the player from getting away with sniping enemies from beyond their engagement ranges.

Be careful selecting engagement ranges on the enemies as well. Maximum engagement range is basically how close a target has to be for the enemy to see it. Targets beyond max engagement range are technically invisible to that enemy.

People in this game have a 300m "heat signature." AIs cannot see people beyond 300m under any circumstances.

Attack range can be well beyond engagement range. I edited a map where enemies had a 100m max engagement range, but 999m attack range. If you missed a guy and he noted the near miss, he turned and started shooting at you, even though he couldn't actually see you. It's a neat effect.

If min engagement range is lower than max engagement range, the enemy will approach targets after detecting them. If min and max are equal, the enemy will hold his position.

If max engagement range is not lower than 40m, the player will always be detected immediately within that 40m radius. I think of that as the enemies' "hearing range," but the game/MEd/manuals never mention anything of the sort. At least if the enemy is at red alert, that's true. I don't think yellow or green alert lowers that 40m, though. You have to manually edit the enemy's engagement range to keep a target undetected within 40m. There really are no sneak mechanics in DFBHD.

[Quick panicked check to confirm this is about DFBHD! Ok.]

I'm not saying stealth missions are impossible in DFBHD, but they sure aren't easy 'cause nothing in the AI devised for this game is geared toward stealth.

Guest001 07-29-2019 01:36 PM

Quote:

Originally Posted by Maverick_Y (Post 391898)
I think there are a misunderstanding.
I'm working on a map requesting player to slip into enermy base QUIETLY ONLY, so I want to write an event to realize the function that once enermy find or shoot player, the alerm raise and the mission fail.
Let every enermy blind is definately not a good decision

That's easy like the Don said, sorry I misunderstood you, add variables as required and check your groups carefully if it seems to be wonky. (objects and trees can mistakenly end up inside groups)

Event 0: Group 3 targets Group 1

Triggers:

Group 3 has targeted Group 1

Actions:

Win, Red

Maverick_Y 07-30-2019 04:02 AM

That really work, thanks a lot Don and stompem


All times are GMT -5. The time now is 05:31 AM.

Powered by vBulletin®