Home   Help Search Login Register  

Author Topic: infoshare or groupchain  (Read 540 times)

0 Members and 1 Guest are viewing this topic.

voodzia

  • Guest
infoshare or groupchain
« on: 25 Mar 2005, 15:49:16 »
Hello,
I'm new to mission making and scripting is a real mystery to me :(
Now I'm making my first mission and would like to ask if you could tell me what the difference is between these two scripts? I read their short descriptions and it seems to me that these scripts cause similar action to be performed by AI units. Could you tell me if I'm right or wrong?
Thank you in advance for help.
Kind regards,
voodzia

ps.
Please excuse me my bad English.

Offline Woodpeckersam

  • Members
  • *
  • I'm a llama! ooh! Yeah!
Re:infoshare or groupchain
« Reply #1 on: 25 Mar 2005, 16:19:52 »
What two scriptss? where are they? what do they look like? U need to show us before we can do anything :)

voodzia

  • Guest
Re:infoshare or groupchain
« Reply #2 on: 25 Mar 2005, 18:07:01 »
The scripts I'm talkin' about are named in my post topic - infoshare and groupchain. I guess most of you are familiar with these scripts so I didn't  attach them.  Anyway here are links to them - just in case:
groupchain.sqs by Blanco
infoShare.sqs by General Barron
Hope now everything is clear ;)
Kind regards,
voodzia

Offline Blanco

  • Former Staff
  • ****
Re:infoshare or groupchain
« Reply #3 on: 25 Mar 2005, 18:19:23 »
Infoshare "shares" info between groups or seperate units within a certain distance. That info contains the enemyposition(s). It runs all the time. Correct me if I'm wrong, General :)

Groupchain shares nothing. It just checks each member of each group for a change in behaviour or dammage.
So when somebody got hit or alerted, all the other groups will react and draw their weapon. Then the script exit.
 
« Last Edit: 26 Mar 2005, 00:50:36 by Blanco »
Search or search or search before you ask.

voodzia

  • Guest
Re:infoshare or groupchain
« Reply #4 on: 25 Mar 2005, 19:10:37 »
Thanks a lot Blanco for your explanations of these two scripts. Btw, I'd like to ask you about your script - in this thread you were talkin' about some improvements to it and then General Barron wrote some code. Could you tell me how to add his code to your script - if this code can be used there?
Thank you in advance for your reply.
Kind regards,
voodzia

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:infoshare or groupchain
« Reply #5 on: 29 Mar 2005, 00:59:11 »
Blanco is correct in how infoshare works. Basically, if you have two groups near each other, and group A sees the enemy (but group B normally does not), then infoshare will make group B also aware of those enemies. In the same situation with groupchain, group A would see the enemies and go into "combat" mode. Group B would then be put into "combat" mode as well, but would not know about the enemies group A knows about.

In many situations like the above, the result of both scripts would look the same, although with infoshare the AI would most likely start firing back at the enemies sooner. However, there are many situations where infoshare would do nothing, while groupchain would do something. Whenever a unit gets injured, groupchain will kick in; whereas infoshare only kicks in when actual enemy units are spotted.

So the AI would react to camcreated artillery, mines/satchel charges, or sniping without being seen exactly the same under infoshare as it would with no script running at all: the group that gets hit would start running around like the sky was falling, while all their friends in other groups around them would continue their business like nothing was happening. With groupchain, every group that is "linked" together would react to the above situations (instead of just the group that got hit).

I hope that clarifies the difference between the two scripts. The visible result of both scripts overlaps in some ways, but in other ways they are different. Running them together shouldn't cause any problems at all (since they work in different ways internally), and in fact would likely make a mission much better than just running one or the other individually.


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!

voodzia

  • Guest
Re:infoshare or groupchain
« Reply #6 on: 29 Mar 2005, 19:34:47 »
Thank you very much General for your comprehensive explanations. Now everything is crystal clear to me ;) Thanks alot!
Kind regards,
voodzia