Home   Help Search Login Register  

Author Topic: Bigger group2  (Read 3479 times)

0 Members and 1 Guest are viewing this topic.

GeneralCoder

  • Guest
Bigger group2
« on: 19 Mar 2003, 21:29:59 »
Hi
This script  adds extra soldiers to your group, its not ready and I would just like to know what do you like the idea?
« Last Edit: 26 Aug 2003, 20:39:35 by GeneralCoder »

CptBravo

  • Guest
Re:Bigger group2
« Reply #1 on: 24 Aug 2003, 01:59:14 »
Hi,

Any new updated Group script?

By the way I love your scripts! Keep up the good work :)

Unnamed

  • Guest
Re:Bigger group2
« Reply #2 on: 24 Aug 2003, 09:22:07 »
Hi,

I got an error after my own AI killed me, just for shooting my sniper:

Code: [Select]
_Sol=(units select (_i+1)) : Error Zero Divisor
Other than that, it worked ok.

GeneralCoder

  • Guest
Re:Bigger group2
« Reply #3 on: 26 Aug 2003, 20:38:27 »
This script is very old and beta, however here's a new script wich should work correctly and extra soldiers now joins to the group.

Glad to hear you like it!  :)
« Last Edit: 28 Aug 2003, 17:00:50 by GeneralCoder »

CptBravo

  • Guest
Re:Bigger group2
« Reply #4 on: 27 Aug 2003, 05:26:29 »
I just tried it  .. good script. The one thing that would make it EXCELLENT is maybe give the commander "Player" some way to control the behaviour of the "attachment" soldiers. Such as Combat mode, formations and engages behaviour. Other wise it is almost impossible to set up say an ambush with these troops.

Just an idea.

Good script though.

GeneralCoder

  • Guest
Re:Bigger group2
« Reply #5 on: 27 Aug 2003, 12:08:38 »
I just tried it  .. good script. The one thing that would make it EXCELLENT is maybe give the commander "Player" some way to control the behaviour of the "attachment" soldiers. Such as Combat mode, formations and engages behaviour. Other wise it is almost impossible to set up say an ambush with these troops.

Just an idea.

Good script though.

That's a fine idea. Actualy bg1 had this feature; you could set their behaviour from the radio menu.
But there's also another solution: behave like soldier#2, wich would mean that you could give orders to 2 and the attachment soldiers would act like him.

So wich one would be better radio or assistant leader? Let's have a vote! :)

CptBravo

  • Guest
Re:Bigger group2
« Reply #6 on: 28 Aug 2003, 06:18:56 »
Hi,

Before I vote one question .. what happens if soldier 2 get killed? DO you lose control of the attachment soldiers or does get transfared to soldier 3?  ???

If that is the case .. radio controls will be certainly a much better option.

Either way, it will certainly a great script.

Captain Bravo


GeneralCoder

  • Guest
Re:Bigger group2
« Reply #7 on: 28 Aug 2003, 17:09:22 »
Hi,

Before I vote one question .. what happens if soldier 2 get killed? DO you lose control of the attachment soldiers or does get transfared to soldier 3?  ???

If that is the case .. radio controls will be certainly a much better option.

Either way, it will certainly a great script.

Captain Bravo



Dont worry I found a working solution; every soldier in the group takes a 'partner' or more so if you give #5 order to keep low he's partners will also do so. And if you move him the others will move whit him.
See rest your self I added bit conflict to the sample mission.

pangzi

  • Guest
Re:Bigger group2
« Reply #8 on: 12 Sep 2003, 14:55:07 »
I did the same but with the setwaypoint command.
In the init of the other group leaders:
[this, group this,q1] exec "wpfix.sqs"
q1 = name of your soldier the other group is to follow

Script wpfix.sqs:
Code: [Select]
_guy = _this select 0
_group = _this select 1
_leader= _this select 2
#loop1
?(!(_leader in (units group player))) : goto "subloop"
goto "next"
#subloop
hint "ping"
?(count units _group == 0) : hint format ["Team %1 is down!", _guy]
?(count units _group == 0) : exit
_leader reveal myguy
_leader = leader _group
[ leader _group] join myguy
#next

[_group,1] setWPPos getpos _leader
~.1

goto "loop1"
Allows you to command 11*12=132 soldiers.
But when your soldier, the other group was following, dies and the group leader of that group joins your group he didn't continue with the last order of his dead predecessor.
He would just say "Where are you?" and stand around stupidly.

Works fine for small groups but you shouldn't expect too much of it.

CptBravo

  • Guest
Re:Bigger group2
« Reply #9 on: 13 Sep 2003, 07:19:03 »
Hey General,

Grrrreat script!! It works perfectly .. most of the time. Once in a while some of those following soldiers just stop in their tracks and just stand their stupidly. Not sure why that happens.

But over all great script. Only question is how can you make say three groupes follow three other groupes? So I'd have 3 leading groupes with each one followed by its own backup group.

Thanks again for a great script!

Captain Bravo

CptBravo

  • Guest
Re:Bigger group2
« Reply #10 on: 22 Sep 2003, 05:03:15 »
General Coder,

You still here?? :)

Anyway, your script is grrreat. Only suggestions:
a) If possible to make the follower units copy the behaviour of the followed units. For example if orderd to hold fire then follower units will hold fire too.
b) is it possible for follower units to face same directions as followed unit?

Finally, only challange I am having is when I tried to use this with Ronald Spiers Multi Squads MP script. Only 2 or 3 will follow a group instead of 10. Not sure why.

Any hints will be greatlyt appreciated.

Thanks.

GeneralCoder

  • Guest
Re:Bigger group2
« Reply #11 on: 13 Oct 2003, 19:21:20 »
Hey sorry that I haven't been around while but the thuth is that I am bored to OFP, this script stinks and I might make completely new one but unlikely.