Jump to content

Simple Range Script


Ciribob

Recommended Posts

The default script requires at least 20 hits to register as effective ... edit lines 21 and 28 to lower this limit.
Excellent, thanks for the fast reply mate. Didn't realise that was the case.

Cheers!

 

 

Sent from my SM-G950F using Tapatalk

W10 Home 64Bit, Intel Skylake I5 6600K 3.50GHz, ASUS ROG Stryx Z270F MoBo, 32GB G.Skill RipJaws V DDR4 3200 RAM, Samsung 960 Pro 512GB M.2 SSD (OS), Samsung 850 Pro 512GB SSD, 2TB Seagate SDHD, 2TB WD Green HDD, GALAX GTX GeForce 1070 EXOC Sniper White 8GB VRAM

Link to comment
Share on other sites

Hhhmm, now I'm not getting any bomb impact feedback from the Conventional Circle A. I named it "conventional1" and put the trigger zone "target1" over it out to 656 feet radius, minalt 500m. I noticed a post way back had the same issue but it was never really answered.

 

Any ideas?

 

Many thanks!

 

 

Sent from my SM-G950F using Tapatalk

W10 Home 64Bit, Intel Skylake I5 6600K 3.50GHz, ASUS ROG Stryx Z270F MoBo, 32GB G.Skill RipJaws V DDR4 3200 RAM, Samsung 960 Pro 512GB M.2 SSD (OS), Samsung 850 Pro 512GB SSD, 2TB Seagate SDHD, 2TB WD Green HDD, GALAX GTX GeForce 1070 EXOC Sniper White 8GB VRAM

Link to comment
Share on other sites

Hhhmm, now I'm not getting any bomb impact feedback from the Conventional Circle A. I named it "conventional1" and put the trigger zone "target1" over it out to 656 feet radius, minalt 500m.

 

Any ideas?

 

I lowered the min alt to 200 meters (about 600 feet) and worked ok for me:

 

Yt1Xh5rh4m0

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1

Mobile: iPad Pro 12.9" of 256 GB

Link to comment
Share on other sites

I lowered the min alt to 200 meters (about 600 feet) and worked ok for me:

 

 

 

Yt1Xh5rh4m0

Ok thanks Rudel, I'll give that a try.

Cheers!

 

 

Sent from my SM-G950F using Tapatalk

W10 Home 64Bit, Intel Skylake I5 6600K 3.50GHz, ASUS ROG Stryx Z270F MoBo, 32GB G.Skill RipJaws V DDR4 3200 RAM, Samsung 960 Pro 512GB M.2 SSD (OS), Samsung 850 Pro 512GB SSD, 2TB Seagate SDHD, 2TB WD Green HDD, GALAX GTX GeForce 1070 EXOC Sniper White 8GB VRAM

Link to comment
Share on other sites

All working correctly now. Thanks for the help

 

Sent from my SM-G950F using Tapatalk

W10 Home 64Bit, Intel Skylake I5 6600K 3.50GHz, ASUS ROG Stryx Z270F MoBo, 32GB G.Skill RipJaws V DDR4 3200 RAM, Samsung 960 Pro 512GB M.2 SSD (OS), Samsung 850 Pro 512GB SSD, 2TB Seagate SDHD, 2TB WD Green HDD, GALAX GTX GeForce 1070 EXOC Sniper White 8GB VRAM

Link to comment
Share on other sites

  • 8 months later...

Menu display time

 

Hi.

This is a really awesome script (as others from Ciribob). Thank you for the great work.

 

I'm a noob in scripting, so sorry for the silly question.

It is possible to increase the time the results are displayed in the menu?

 

Thanks

Link to comment
Share on other sites

Hi.

 

This is a really awesome script (as others from Ciribob). Thank you for the great work.

 

 

 

I'm a noob in scripting, so sorry for the silly question.

 

It is possible to increase the time the results are displayed in the menu?

 

 

 

Thanks

Look for lines like

 

displayMessageToGroup and the number in it (usually 10) is the time in seconds to display the message for.

 

Just increase that

 

Hope that helps

 

 

Sent from my HD1903 using Tapatalk

Scripts: Complete Transport And Logistics Deployment - CTLD / CTLD Examples - Lots of example of how to use CTLD

CSAR Script - Downed Pilot Rescue / Dedicated Server Script - Automatically launch DCS Multiplayer server at startup

Range Scoring Script - Get scores and counts hits on targets for gunnery or bombs / SimpleSlotBlock - Multiplayer dynamic Slot Blocking Script

 

Projects: DCS-SimpleRadio Standalone - DCS Radio Integration for All Aircraft - NO TeamSpeak Required! :)

DCS-SimpleRadio Troubleshooting Post / DCS-SimpleRadio Free Support Channel on Discord

Link to comment
Share on other sites

Sorry if I.m asking too much...

But would it be possible to have a SHACK! Direct hit" message if we hit target in a 3 or 4 meter distance from center?

Or even better, if it activates also a trigger (for example) or a sound file to activate a voice message in ME ?

I try to do it with a small triggerzone inside the Target circle, and use the Bomb in zone condition, but it has 2 problems:

 

1- The bomb has to "travel for 1 second inside the trigger

2- It has also the condition for the type of bomb.

 

What i'm doing is a OCU training mission for my squad Raf Air UK (97Th) where I use Ciribob GREAT script and 467th GREAT target range mod.

I have several messages and briefings to know what is required from new pilots. So the SHACK sound trom the target range crew, would be a cherry on top of the cake :D

 

Cheers

Link to comment
Share on other sites

  • 2 months later...

Let's see if I'm good enough to make this script working again.

i5 8400 | 32 Gb RAM | RTX 2080Ti | Virpil Mongoose T-50 base w/ Warthog & Hornet sticks | Warthog throttle | Cougar throttle USB | DIY Collective | Virpil desk mount | VKB T-Rudder Mk IV | Oculus Rift S | Buddy-Fox A-10 UFC | 3x TM MFDs | 2x bass shakers pedal plate| SIMple SIMpit chair | WinWing TakeOff panel | PointCTRL v2 | Andre JetSeat | Winwing Hornet UFC | Winwing Viper ICP

FC3 - Warthog - F-5E - Harrier - NTTR - Hornet - Tomcat - Huey - Viper - C-101 - PG - Hip - SuperCarrier - Syria - Warthog II - Hind - South Atlantic - Sinai - Strike Eagle

Link to comment
Share on other sites

  • 1 month later...

Hi Ciribob,I have been using this fantastic script in SP for a long time and now I include it in my Squadron dedicated server in the nevada scenario, but from time to time this error appears and blocks the server until it is accepted, so continue working without problems (error in attached image).

 

Any idea what the reason is?, I am very confused about the cause of this.

 

I use the Mist version 4.4.85

 

Thanks.

IMG_20200801_185743.thumb.jpg.b0727cc0e8b39185fb6d3ece0a7d7465.jpg


Edited by Werewolf_fs
Link to comment
Share on other sites

  • 1 month later...

Bombing/Rocketry

 

Hello and thank you for this great script,

 

 

I do have a slight problem, strafing works great and it records hits but when i fire rockets or drop bombs nothing. Any ideas?

I am below the assigned altitude.

Supercarrier | Flaming Cliffs 3 | M-2000C | AJS-37 Viggen| MIG-21Bis | L-39 Albatros | Yak-52 | Spitfire LF MK IX | Mig-15Bis | Mig-19P Farmer | P-51D Mustang | F/A-18 | F-14 | F-5E Tiger II | C-101 Aviojet | I-16 | UH-1H Huey | Mil MI-8tv2 | Sa 342M Gazelle | Combined Arms | NS-430 Navigation System | NEVADA | Persian Gulf | Normandy1944 | World war II assets pack | Black Shark 2 | F-5E Agressors ACM campaign |F-5E Agressors BFM Campaign | L-39 Albatros Kursant Campaign | DCS:Syria

Link to comment
Share on other sites

I do have a slight problem, strafing works great and it records hits but when i fire rockets or drop bombs nothing. Any ideas?

I am below the assigned altitude.

 

Check here: https://forums.eagle.ru/showpost.php?p=3992785&postcount=103

 

For work: iMac mid-2010 of 27" - Core i7 870 - 6 GB DDR3 1333 MHz - ATI HD5670 - SSD 256 GB - HDD 2 TB - macOS High Sierra

For Gaming: 34" Monitor - Ryzen 3600X - 32 GB DDR4 2400 - nVidia GTX1070ti - SSD 1.25 TB - HDD 10 TB - Win10 Pro - TM HOTAS Cougar - Oculus Rift CV1

Mobile: iPad Pro 12.9" of 256 GB

Link to comment
Share on other sites

Hello and thank you for this great script,

 

 

I do have a slight problem, strafing works great and it records hits but when i fire rockets or drop bombs nothing. Any ideas?

I am below the assigned altitude.

 

For bombs and rockets, you must use a trigger zones named 'target1'. You can add up to 'target9' IIRC.

 

Place some static object in the center of each target zone for aiming purposes -- something from '476 Range Targets' like 'Conventional Circle A' works perfectly.

 

Don't place the target trigger zone inside a strafe pit area. Keep them separate -- different weapons, different ranges.

When you hit the wrong button on take-off

hwl7xqL.gif

System Specs.

Spoiler
System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB
CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27"
CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
 
Link to comment
Share on other sites

  • 2 weeks later...
Hi,

 

Does anyone have this running in current OB as a mission I could try? I cannot get the Range Test.Miz to work at all. If anybody has one would be really appreciated.

 

Thanks

 

Scott

Mind you you will need this:http://www.476vfightergroup.com/content.php?254-Air-Weapons-Range-Objects

cccp.miz

Supercarrier | Flaming Cliffs 3 | M-2000C | AJS-37 Viggen| MIG-21Bis | L-39 Albatros | Yak-52 | Spitfire LF MK IX | Mig-15Bis | Mig-19P Farmer | P-51D Mustang | F/A-18 | F-14 | F-5E Tiger II | C-101 Aviojet | I-16 | UH-1H Huey | Mil MI-8tv2 | Sa 342M Gazelle | Combined Arms | NS-430 Navigation System | NEVADA | Persian Gulf | Normandy1944 | World war II assets pack | Black Shark 2 | F-5E Agressors ACM campaign |F-5E Agressors BFM Campaign | L-39 Albatros Kursant Campaign | DCS:Syria

Link to comment
Share on other sites

For bombs and rockets, you must use a trigger zones named 'target1'. You can add up to 'target9' IIRC.

 

Place some static object in the center of each target zone for aiming purposes -- something from '476 Range Targets' like 'Conventional Circle A' works perfectly.

 

Don't place the target trigger zone inside a strafe pit area. Keep them separate -- different weapons, different ranges.

 

 

Thank you Sir, the problem was solved by editing the min and max altitudes.

Supercarrier | Flaming Cliffs 3 | M-2000C | AJS-37 Viggen| MIG-21Bis | L-39 Albatros | Yak-52 | Spitfire LF MK IX | Mig-15Bis | Mig-19P Farmer | P-51D Mustang | F/A-18 | F-14 | F-5E Tiger II | C-101 Aviojet | I-16 | UH-1H Huey | Mil MI-8tv2 | Sa 342M Gazelle | Combined Arms | NS-430 Navigation System | NEVADA | Persian Gulf | Normandy1944 | World war II assets pack | Black Shark 2 | F-5E Agressors ACM campaign |F-5E Agressors BFM Campaign | L-39 Albatros Kursant Campaign | DCS:Syria

Link to comment
Share on other sites

Mind you you will need this:http://www.476vfightergroup.com/content.php?254-Air-Weapons-Range-Objects

 

Hi,

Thanks very much.

 

Gave it a try and it crashes with a script error after rolling in.

 

Have the .miz

The 476v

Listest mist

And the rangescriot.lua

 

So I am not sure what is wrong.

 

Scott

Link to comment
Share on other sites

Hi,

Thanks very much.

 

Gave it a try and it crashes with a script error after rolling in.

 

Have the .miz

The 476v

Listest mist

And the rangescriot.lua

 

So I am not sure what is wrong..

 

Scott

 

 

Anything stand out in the log file?

Also, if you added any airframes to the mission make sure you "reload" the script in ME by pointing to it with the "DO SCRIPT". Cuurrently you have to first join an observer slot for a few seconds before spawning in a plane for the scripts to take effect


Edited by Thor_H

Supercarrier | Flaming Cliffs 3 | M-2000C | AJS-37 Viggen| MIG-21Bis | L-39 Albatros | Yak-52 | Spitfire LF MK IX | Mig-15Bis | Mig-19P Farmer | P-51D Mustang | F/A-18 | F-14 | F-5E Tiger II | C-101 Aviojet | I-16 | UH-1H Huey | Mil MI-8tv2 | Sa 342M Gazelle | Combined Arms | NS-430 Navigation System | NEVADA | Persian Gulf | Normandy1944 | World war II assets pack | Black Shark 2 | F-5E Agressors ACM campaign |F-5E Agressors BFM Campaign | L-39 Albatros Kursant Campaign | DCS:Syria

Link to comment
Share on other sites

  • 1 month later...

I have a mission on the Normandy map I've used for years to do gunnery, bomb, and rocket practice. It is now no longer working.

 

I get the messages when the MIST and rangescript lua files are loaded, but when I fly into the strafe zone, no message greets me, and when I hit the strafe target, only damage is reported.

When you hit the wrong button on take-off

hwl7xqL.gif

System Specs.

Spoiler
System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB
CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27"
CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
 
Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...
  • 1 month later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...