NEW HOOK
Hello,
Here is a WIP of a new hook: jamming hook.
This hook permits to define the hangar jamming behavior for any craft.
To enable or disabled jamming, edit the "hook_jamming.cfg" file.
The format is:
; IsJammingEnabled = 0 or 1
; When set to 0, disable jamming
; WHen set to 1, enable jamming
IsJammingEnabled = 1
Suppose that the craft is "FlightModels\[Model].opt".
To define the jamming behavior, create a file named "FlightModels\[Model]Jamming.txt" or create a section named "[Jamming]" in "FlightModels\[Model].ini".
The format is:
; HasJamming = 0 or 1
HasJamming = 1
; JammingDirection = All or Up or Down
JammingDirection = All
; JammingDistance = integer
; -1 = disabled
JammingDistance = -1
; JammingBehavior = None or HangarMeshCenter or InsideHangarHardpoint or InsideHangarHardpointAndJammingPoints
JammingBehavior = InsideHangarHardpointAndJammingPoints
If the file does not exist, default values are used..
Download:
Link removed
Jamming Hook
Moderator: JeremyaFr
- ual002
- Posts: 983
- Joined: Wed Sep 24, 2008 2:23 am
Nice,
I wonder if you could potentially create jamming functionality that causes MFDs /Radars to go haywire within a certain range. That would be a cool thing to implement for that ETR Awacs/jamming opt being worked on.
I wonder if you could potentially create jamming functionality that causes MFDs /Radars to go haywire within a certain range. That would be a cool thing to implement for that ETR Awacs/jamming opt being worked on.
- AngeI
- Posts: 528
- Joined: Sun Jan 24, 2016 5:27 pm
Is this for fighters or station jamming behaviour?JeremyaFr wrote: ↑Thu Mar 31, 2022 11:31 amNEW HOOK
Hello,
Here is a WIP of a new hook: jamming hook.
This hook permits to define the hangar jamming behavior for any craft.
To enable or disabled jamming, edit the "hook_jamming.cfg" file.
The format is:
; IsJammingEnabled = 0 or 1
; When set to 0, disable jamming
; WHen set to 1, enable jamming
IsJammingEnabled = 1
Suppose that the craft is "FlightModels\[Model].opt".
To define the jamming behavior, create a file named "FlightModels\[Model]Jamming.txt" or create a section named "[Jamming]" in "FlightModels\[Model].ini".
The format is:
; HasJamming = 0 or 1
HasJamming = 1
; JammingDirection = All or Up or Down
JammingDirection = All
; JammingDistance = integer
; -1 = disabled
JammingDistance = -1
; JammingBehavior = None or HangarMeshCenter or InsideHangarHardpoint or InsideHangarHardpointAndJammingPoints
JammingBehavior = InsideHangarHardpointAndJammingPoints
If the file does not exist, default values are used..
Download:
xwa_hook_jamming_WIP_2203251605.zip
- JeremyaFr
- Posts: 4001
- Joined: Mon Jan 18, 2010 5:52 pm
- Contact:
UPDATE
Hello,
I've uploaded the source code of the hook.
Hello,
I've uploaded the source code of the hook.