Jump to content
Sign in to follow this  
GothicOne

How to make a leader

Recommended Posts

I'm "player as gunner" in Mk II patrol boat.  Driver is leader by default but being the driver is boring.  How does one change the leader after disembark?  It seems I should be able to be leader whether I'm driver or gunner.

Share this post


Link to post
Share on other sites

just make an empty boat, give it a name, make your 2 units, make you the higher rank and in the init field type </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this moveingunner boatname<span id='postcolor'> and for the driver </span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Code Sample </td></tr><tr><td id="CODE">this moveindriver boatname<span id='postcolor'>

Share this post


Link to post
Share on other sites

When in any vehicle that requires a command sructure, the leader will always be set. Eg. In tanks it's the commander (even if the driver outranks the commander). When they get out, the driver will be in command. Accept for that bug when you get in the commander position and then move to the driver position, you can still command the tank.

Share this post


Link to post
Share on other sites

don't call that a bug. it is a gift from god since the AI is too god damned stupid to drive a tank in combat by themselves. "forward" to them means turn 60 degrees and start moving forward

Share this post


Link to post
Share on other sites

Yeah, thats one good bug. AI drivers haven't even passed their driving test tounge.gif

Have you seen them in jeeps on the road, weaving in and out. I usually get road rage and open fire on them biggrin.gif

Share this post


Link to post
Share on other sites

have you ever seen them try to pass another car? both start turning off the road, backwards and forwards turning and turning until eventually they get it done, and then proceed to mow down every road sign in sight. they must be trying to confuse the enemy.

Share this post


Link to post
Share on other sites

Thats not the half of it. With some of the guard gates, they will drive up to it, stop, and then initiate a three-point-turn, and drive around it instead. I happens with the gate at the Everon airport.

Share this post


Link to post
Share on other sites

Hey,

Empty, movein, and rank worked perfectly except now that I am the gunner and the Leader I can't get the boat and it's cargo, my squad, to go to any waypoints.  The "All Go to 24 16" will not take.  confused.gif

What about FormLeader I saw it in the list but no syntax was available, is this an actual command?  Perhaps changing rank after disembark?  Hehe I could always dammage 1 the leader and take command after disembark.   tounge.gif

Share this post


Link to post
Share on other sites

What if you tried using

GroupName = Group this

In your players init field.

Then have each player through a script join your players group?

[A1] join GroupName

[A2] join GroupName etc...

If you are highest rank, will that offset the 'bug'?

Pomp confused.gif

Share this post


Link to post
Share on other sites

Thats an interesting workaround, I'll give it a shot.

Share this post


Link to post
Share on other sites

I got it working but man these tutorials and manuals regarding syntax are confusing as hell.  

Ok the supposed syntax for Join.

[unitname] join GroupName

AND the syntax for setgroupid

Player setgroupid ["Charlie"," .....etc etc

The latter suggests that GroupName, for the purposes of Join, is Charlie but it's not, it's Player.

The term "GroupName" is terrible wording because it's not the group name at all.  Yet all the manuals and tuts says this.  Its not the GroupName it's actually the Name: of the unit which has the setgroupid command in it's Init field.  

I was using this syntax because obviously the group's name is Charlie...

[unit] join Charlie;

I couldn't figure out what the problem was.  After an hour of trying this that and the other thing I put Player, for the hell of it, in place of Charlie and to my shock and horror it worked.  How frustrating these manuals are.  How a units Name: would be considered the Groups Name is beyond me!  The syntax in the manuals should use this...

[unitname] join GroupLeaderName

That would make more sense and not frustrate us simple minded folk smile.gif.

Cheers

Share this post


Link to post
Share on other sites

The command for setting group name is group.

GroupName = Group this (in init field of unit that is part of group)

setgroupid defines only radio id for group as I know.

When you are using player (it's always name of player's unit) and unitName it's fine unless you are making multiplayer mission or unit unitName is death.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×