Home   Help Search Login Register  

Author Topic: Simulating lack of Radios  (Read 3871 times)

0 Members and 1 Guest are viewing this topic.

Drozdov

  • Guest
Simulating lack of Radios
« on: 26 Sep 2003, 16:54:17 »
If you've read my thread in the Mission Ideas this won't be a new idea to you, but I think this needs wider coverage for me to get help on it.

What I want to do is find a way to simulate a squad having no radios. In my campaign you are a small militia squad which is very ill equipped, and therefore wouldn't have any fancy radios. Is there any way I could implement this, using a script or whatever other means? EnableRadio false only makes the radio inaudible rather than unusable. Essentially what I want to do is replace the radio commands with spoken commands. There would also have to be a maximum range over which units couldn't hear each other.

This sounds very difficult... has anyone else attempted anything like this?

VipNatePimp

  • Guest
Re:Simulating lack of Radios
« Reply #1 on: 26 Sep 2003, 17:15:11 »
I don't know if this will help you in anyway.. but I found out taht Cool Edit Pro and Colll Edit 2000 have very nice radio effect features that you can use. You could represent it my showing very old radio types... as those programs have serveral old radio options that you can choose from.  8)

Drozdov

  • Guest
Re:Simulating lack of Radios
« Reply #2 on: 26 Sep 2003, 17:39:47 »
Whassat? What're ye meanin'?

Deepsmeg

  • Guest
Re:Simulating lack of Radios
« Reply #3 on: 26 Sep 2003, 18:39:46 »
I prolly won't be of much help, but maybethis could help the others work out what you're trying to do.

Are you trying to turn off the people saying "10 OClock! Enemy BMP 500!"
"Oh No! 6 is down!"
etc

VipNatePimp

  • Guest
Re:Simulating lack of Radios
« Reply #4 on: 26 Sep 2003, 23:47:49 »
You said that you wanted very old radio sound things.. kinda i think lol ??? And those programs above would be very usefull to use for a very realistic distorted radio.

m21man

  • Guest
Re:Simulating lack of Radios
« Reply #5 on: 26 Sep 2003, 23:48:34 »
He wants his men to speak the messages ( As in: "Oh No...Three Is Down.").

m21man

  • Guest
Re:Simulating lack of Radios
« Reply #6 on: 26 Sep 2003, 23:49:35 »
I really think that Drozdov wants no radios at all in some of his missions, not matter how old the radios are.
« Last Edit: 26 Sep 2003, 23:50:08 by m21man »

Offline Blanco

  • Former Staff
  • ****
Re:Simulating lack of Radios
« Reply #7 on: 27 Sep 2003, 00:02:05 »
You mean shouting in stead of radio?
Search or search or search before you ask.

VipNatePimp

  • Guest
Re:Simulating lack of Radios
« Reply #8 on: 27 Sep 2003, 02:17:19 »
Oh i think i see.. so like men shouting at each other for commands??

Unnamed

  • Guest
Re:Simulating lack of Radios
« Reply #9 on: 27 Sep 2003, 04:58:55 »
One problem is that every member of a group gets to know the same info as any other group member, regardless of the location. So it's like every guy having his own personnel radio.

You could have each AI Res character as an individual group if he moves away (out of voice range) from the officer and does not have his own radio, and return him to the group if he gets close enough?

Getting the AI to act on his own initiative when he is away from the officer will be the tricky bit. Perhaps you could use the mapclick event to pre-program orders for them?

The KnowsAbout command is handy for testing if one AI can see another AI character, it will return 0 if it cant get a line of sight.

There are some advance AI scripts around here, some of those could help?


« Last Edit: 27 Sep 2003, 05:11:13 by Unnamed »

Drozdov

  • Guest
Re:Simulating lack of Radios
« Reply #10 on: 27 Sep 2003, 22:13:36 »
Quote
You mean shouting instead of radio?

Yup.

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Simulating lack of Radios
« Reply #11 on: 28 Sep 2003, 21:06:10 »
I'm working on a mission that sounds pretty much like what you want. In real life, most units (with the exception of special forces) don't really have individual radios for each member. In my mission, you can communicate via either hand signals or via shouting. Shouting will alert any enemies around you as to your presence, but hand signals have more limited range.

I work it like this: I (the player/leader) am the only one in my group. There are three groups of four men (fireteams) that follow me, and another group of one man who is my radio operator. Each group is in a custom formation, and the three groups follow me in a custom formation (either a column or a line). I can command the groups to spread out, or bring it back in.

I tried using the knowsabout command for the hand signals, but it isn't working out as I wanted. For one, you can't get the units to look around as they move, so if they are moving in formation, they can't see your hand signals unless they are right behind you. Also, bushes and trees have no effect on visibility, so if you are in the middle of a forest, and can't see your squad, they could still see you. Basically, I've given up on the idea of using knowsabout, and instead have just used a simple "is he 25 meters or less away" method.

I've only really begun to work on this, so I don't have very much to show for it yet. But what I have is very promising!
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Unnamed

  • Guest
Re:Simulating lack of Radios
« Reply #12 on: 28 Sep 2003, 22:39:54 »
I'm not sure saying KnowsAbout will not work with trees and bushes, is 100% correct. The small sample mission I attached demonstrates why.

It's just sets an enemy unit to run behind a tree, and obscure himself from your LOS. The KnowsAbout value will slowly decrease until it's 0.

You can then work your way around the tree to spot the AI again.

You have to right click on the enemy at the start to activate the KnowsAbout command, and again if you move into a position that gives you LOS on him.

Not sure how this works with your own side, I did notice that you have some awareness of any other unit that's on the same side as you. If you want to see what I mean, use a detected by trigger for West detecting West, on an AI that's not part of your group, hidden by a hill and within the trigger radius.

It's harder to test KnowsABout with your own side, the value does change if a friendly group is obscured, but not by the same amount as an enemy AI. But I'm not sure if this is just down to it's change in position.

If you remove the waypoint and change the east AI to West, you will notice the KnowsAbout returns a value straight away without having to right click on the unit. Now move the west AI behind a tree, the KnowsAbout returns 0.

The distance from the observer and the target unit does make a difference, get close enough  (roughly 10 to 30 meters plus depending on skill e.t.c) and the value immediately increase to it's maximum of 4, even if it is obscured.

A better test mission is probably needed, it's just I've never had to use it on soldiers from my own side. For example it may work differently with the Forest object and bushes.

Now if we knew how the KnowsAbout value is calculated, we could start doing some really useful stuff with it.

Drozdov

  • Guest
Re:Simulating lack of Radios
« Reply #13 on: 29 Sep 2003, 19:23:02 »
Try using a GetDir command on the unit receiving the command and the unit giving the command. Work it out yourself... I've tried but it hurts my head. Maybe the receiving unit would have to have a direction within that of the sending unit +180. Or something like that. Use that combined with the distance thing. But if you can do all my work for me on the radio thing I'll be very grateful... :)

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Simulating lack of Radios
« Reply #14 on: 29 Sep 2003, 21:43:34 »
Well, the testing I did with the knowsabout command was like so: I was in a forest on Ia Drang, and was looking at how much a friendly unit not in my group knew about me. In this situation, the forest didn't obscure his view of me (I read your comment in the command reference, and it confirms this), and he could only detect me when I was in front of him. Now, an interesting thing happened when I walked away from him after he had a knowsabout of 4 on me. I would walk a distance away, and his knowsabout value would slowly decrease and decrease, until it almost got to 0... then it would jump back up to 3+ again. I don't know how to explain this, and I didn't really test it much.

Now to bring the discussion back to the topic. I wanted to use the knowsabout with friendly units, to hopefully make it so if they were basically out of sight, then they couldn't see the hand signals. From what I have seen, I cannot do this with the knowsabout command.

And as for your idea Drozdov: I thought about this one too. The problem is that when a unit is running in front of you in formation, he will never be facing you. Therefore you couldn't signal them. I had in mind using knowsabout to check for line of sight, and using the dowatch command to have them look back as they move. Unfortunately, neither of those things are possible, as I found out, and by now I've given up on using either of those methods.

I haven't looked at your mission yet, but I think I will. Maybe a very scientific experiment should be conducted to crack this command. Or maybe we should just email BIS.  ::)
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Unnamed

  • Guest
Re:Simulating lack of Radios
« Reply #15 on: 30 Sep 2003, 11:26:04 »
I think your idea for hand signals is sound. From what little knowledge I have about real life procedures, if your moving in formation would it not be the guy up front who gives out the hand signals?

Once you stopped in formation, then I would be happy to assume the AI would look to the commander for orders. Even if, you never actually see the AI doing it.

What I liked about the idea was using more primitive ways to communicate when out of sight or earshot.

When preparing an ambush in the jungle, the SAS used string to communicate, not string and paper cups :) But a couple of sharp pulls on a piece of string would signal the arrival of their target.

But things like flares and beacon fires as signals could spice up a mission.

I must admit, I did panic a bit when you said KnowsABout would not work with trees and bushes e.t.c As I use it quite a lot :)

But if you can detect when your in a Forest, you could just reduce the range of your hand signals. So if you move to fast, your guys might miss the orders?

Drozdov

  • Guest
Re:Simulating lack of Radios
« Reply #16 on: 30 Sep 2003, 13:00:39 »
Quote
The problem is that when a unit is running in front of you in formation, he will never be facing you. Therefore you couldn't signal them.

Yeh, well, you couldn't signal someone that wasn't facing you, could you? You could use the 'dowatch' command to make them look at you but that would be cheating.

Komuna

  • Guest
Re:Simulating lack of Radios
« Reply #17 on: 30 Sep 2003, 16:48:28 »
Chough :joystick:, excuse me. I have a few doubts.

How do you detect the player's orders? Only the 'stopped' checks if the doStop command has been issued.

combatMode would return the behaviour of each unit... However it's impossible (well, at least improbable) to issue a different order for each unit of the group through a hand signal... and we know the player can select which units to set a different behaviour.

And actions? The player has control over the group's actions, but you can't figure what actions have been activated (maybe only a few, such as 'eject').

Oh... And getting into a vehicle? Which signal? Which spoken order? Can you detect which vehicle has been assigned to a certain unit?

Hey, I'm just thinking about a full realism and low lag campaign... ;)

But nothing is lost. What about a script which orders a bunch of units to follow the player orders through actions and dialogues, without being in the conventional F1~F12 group...? You could have even more soldiers per group.

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Simulating lack of Radios
« Reply #18 on: 01 Oct 2003, 07:09:00 »
Grrr...... I just wrote a big long reply, but got an error when I submitted it, and lost it! When will I learn to write it in notepad? Anyway, here's the gist of it:

@Komuna:
Quote
What about a script which orders a bunch of units to follow the player orders through actions and dialogues, without being in the conventional F1~F12 group...? [quote/]

That's what I'm talking about; in my mission, you have 13 men under your control, in 4 different groups, but none of them are "in your squad". You would control them with hand signals accesed through the "radio" menu. See my posts above. To simplify things though, I'm not including any vehicles that the men could get into.

@ Drozdov:
Quote
Yeh, well, you couldn't signal someone that wasn't facing you, could you? You could use the 'dowatch' command to make them look at you but that would be cheating. [quote/]

As far as I know, the dowatch command won't make a unit run backwards. I stick by my assertion that a unit cannot be moving ahead of you in formation and also be facing you.  ;)

@ Unnamed:
Quote
From what little knowledge I have about real life procedures, if your moving in formation would it not be the guy up front who gives out the hand signals?[quote/]

Sometimes. But the squad leader is almost always going to be in the middle of the formation (in a column), or behind the formation (in a line). The squad leader is obviously going to be doing a lot of signalling to give orders to the squad. Once a squad member sees a signal, he then passes the signal on. Every four or five paces, a squad member will look behind him for signals.

The pointman will signal a halt if he sees something up ahead, such as the enemy or a "danger area" (an open area such as a road or field where the squad would be exposed while they are crossing it). Then its up to the squad leader what to do after that. Really any squad member can signal a halt though, if they see the enemy.

All of this goes out the window once contact with the enemy is made, though. Then its back to good old fashioned shouting, and for the most part control is passed from the squad leader to the fireteam leaders.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Komuna

  • Guest
Re:Simulating lack of Radios
« Reply #19 on: 01 Oct 2003, 15:29:17 »
The problem here is not having 2 firetams, 3 firetems or 10 fireteams (pfff... 10?). The problem dwells on the way that orders are issued and how to detect most of them.

Indeed, the 13men squad is a nice idea... besides, I'm writing a dialogue system which controls an entire platoon (general movements and orders) and the command squad (your squad - specific orders and movements).

Your script set must be nice... Can you show us how it works and how to solve the 'signal and comunication within squads without radios' prob.

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Simulating lack of Radios
« Reply #20 on: 02 Oct 2003, 01:41:35 »
Like I said... its a work in progress. I've got a bunch of halfway-done parts, but not much of a whole to show yet. I'll post something when I'm a little more completed.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline ACF

  • Members
  • *
  • Llama?? Ain't that French for tanks?
Re:Simulating lack of Radios
« Reply #21 on: 02 Oct 2003, 15:00:54 »
OK, I'm thinking out loud (at least, I think I‘ve thought about this):

Remote detonators for satchel charges have a finite range, but I've not experienced a maximum range with unit radios.  IF they were limited there might be some possibility of reducing the range to simulate voice contact, but it seems unlikely. The scripting required to disable/avoid the radio comms and then to substitute a [possibly horribly complex] alternative seems, er, possibly horribly complex.


Th best I can offer at the moment is to float a couple of off-the-cuff concepts . . .

Idea 1:
?(Ready unit && unit Distance Leader unit > voicerange):  unit stop true

?(unit Distance Leader unit < voicerange):  unit stop false

?(Not Ready unit < voicerange):  Leader unit Say "something audible so he can be detected"

Pros:
Still uses the game's interface, but its effects are overridden.
Units should complete tasks beyond voicerange before being stopped.
Within voicerange, ‘radio' commands should be executed.
Should work for AI leaders and units.

Cons:
First guess is a script per unit with the two conditions.
voicerange needs to be great enough to allow groups to move with leader in formation, otherwise units will get left behind.
It may not work.

Idea 2:
Commander is on his own and bimbles around with a big trigger attached around him (or maybe SetPos'd out in front of him so there's a bit of selectivity, he'd have to face the unit(s).

Friendly units in his trigger list Join him.

Commander (now Leader) can issue ‘radio' commands as we all know and love, and units should execute them.

Outside his trigger, units Join GrpNull (or their original group could be archived and retrieved, I suppose)

Pros:
Not much (maybe ‘no') scripting.
Be your own Field Marshal - control anyone and everyone.

Cons:
New minions may run after you rather than carrying on with what they were doing.
Don't trust that GrpNull much - will orders continue to be executed after the Join GrpNull?
This may not work either.

Any thoughts on the prcticality of these,anyone?


Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Simulating lack of Radios
« Reply #22 on: 02 Oct 2003, 22:11:24 »
Idea 1:

I think it would work, but you would have to be doing a lot of looping and such to make sure units stay where they are when they are out of voice range. And this would cause a lot of radio chatter ("2 ready"), but I guess you would disable the radio, right?

Part of the problem with this though is that units can't act on their own, since they are basically frozen in place when the leader is out of range.

And I don't understand this part:

?(Not Ready unit < voicerange):  Leader unit Say "something audible so he can be detected"

What does that mean?

Idea #2:

The problem here is that your group would CONSTANTLY be changing size, so you would lose #2, then gain him back as #8, and so on and so forth. It might be a pain, but it would be worth trying.

Actually, I really love this idea though.  I think the part about wandering around and controlling ANYBODY that you come in range of is a very interesting concept. It would be awesome in a very large battle to just run around, grab a group of soldiers, whoop it on until half your squad dies, then retreat and grab some more soldiers that aren't fighting right now. This would be especially cool if the enemies and friendlies respawned.
HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline ACF

  • Members
  • *
  • Llama?? Ain't that French for tanks?
Re:Simulating lack of Radios
« Reply #23 on: 03 Oct 2003, 00:24:57 »
Idea 1 - 'stopping' units out of range:
The practicality of this one pretty much depends on the AI keeping the unit where it was last sent - there would be enough checking of the position of units relative to the leader.
My worry is that the units will literally 'stop' out of range and just stand about waiting to be slotted - much what you've implied.  Having thought about it a bit more, wouldn't the stop be overridden by the next order anyway?
The 'say' bit was just a thought  that the AI might usefully react to the 'noise' of leaders passing verbal commands.  That idea would have withered on the vine because of the extreme effort in getting them to say something useful instead of just 'noise'.

Idea 2 - dynamic group (can I TM that?):
It's not a problem - that's the simulation!
The group you [would] control [in real life] effectively does change size as units move (or are moved) in and out of earshot.  If he can't hear you, you can't call him to you, you have to go to him (that's partly why proportionately more junior officers and NCOs become casualties). And, within a little, one bundle of DPM, webbing, weapons etc. looks much like another so the who's who issue is also an inconvenient consequence in the real world.
I may have misread him, but I think Drozdov's aim is to mimic the pain/difficulty/lottery of verbal comms.

Anyhoo, it's all really down to whether or not AI units maintain their 'orders' once they've been GrpNull-ed.
Hmm - what if they weren't GrpNulled - could a single unit be defined as a group with it's own name? But it still comes down to whether the unit a) sticks with the order you gave it or b) makes up its own mind because it's now the leader of its own one-man group.

I'm just going to have to try this now, aren't I?  Anyone available to pack for my holiday???

Offline ACF

  • Members
  • *
  • Llama?? Ain't that French for tanks?
Re:Simulating lack of Radios
« Reply #24 on: 03 Oct 2003, 03:11:52 »
Idea 1 Update
Given up with that one. If you issue order A, ‘stop' the unit, issue order B then un-‘stop' the unit, order B gets executed.  They still hear you.

Idea 2 Update
OK - something to play with  . . .

Two triggers: ‘inearshot' to list who's in earshot and ‘updatepos'  to update both triggers' positions - and the arrays of who is in and out of earshot - when the player moves out of the updatepos trigger

Problems to be overcome (that I've noticed so far) are:
Men and groups of men work fine, vehicles don't.  Could be overcome in a script and building an array of men and crew from the trigger's list of men and vehicles. (What happens if only vehicle commanders Join the player, I wonder??)
Group size may need to be limited by scripting.
When the player approaches ‘free' units, the Join order overrides whatever it was they are doing - perhaps a default halt (DoStop?) command for joiners would be less disruptive - needs to be automatically cancelled by the next order you give?
If the player doesn't move, units can be controlled as normal - i.e. anywhere on the island.
If the player moves and a unit is GrpNulled before it completes its order, the unit halts - but at least its 'Behaviour' is preserved.
The two issues above could be countered in a script - triggers could only update when all player's units are ‘ready'.
Earlier idea to record joiners original group seems unworkable as ungrouped units would disappear over the hills and far away to rejoin their lost comrades.
Haven't EnableRadio false'd - not sure you need to?

On the plus side: it does promote battlefield confusion/chaos and you could dispense with the updatepos trigger if it's scripted!

Does it seem workable?

Now I'm going to execute me AssignAsCargo bed.