Caxton Gibbet
Nov 17 2009, 19:28
Edit1:** Sorry! Ive found a problem with player team switching and the action not being removed from the leader.I'm working on fixing it so have removed the download for now.**
Edit2: First let me thank you for your kind words and your interest.Unfortunatly I have to recommend you stop using the mod for now as it appears there may be a risk of spamming the action menu when using team switch and/or joining other groups.take care if you continue to use it.
I appologise for not catching these problems earlier.
I have been greatly encourage by the interest you've all shown.
:ok:Thanks Reaper,your feed back has given me the resolve to try to fix these issues.
I just wanted to thank you all before I request this thread be closed till I can
re-release the mod.
I'll be back:cool:
Here is a minor addon I cobbled together for myself.Thought I'd put it up in case anyone might like a copy. nothing very fancy just addresses a little niggle I had with a minor part of the game.Sutch a little thing it seems outa place amongst all you modding greats,but here it is anyway.:o
Copy My Stance
By Caxton Gibbet
downLoad:Removed whilst fixing.Sorry
Description.
************
This addon will make a players AI team mates copy the players stance.
It can be switched on and off via the action menu.
Stance orders issued to units in the normal way (via menu 7) will take priority.
To have a unit return to copying the players stance simply issue a
"Keep Low" order (in menu 7) and ensure that "copy my stance" is switched on in your action menu.
Switching "Copy Stance Off" in the action menu will return Units to Auto selecting their stance provided,ofcourse,an order issued in the normal way (menu 7) is not in effect.
'Copy my stance' will initiate automaticaly on any vanilla soldier type and MOST soldier addons (See 'LIMITATIONS\ISSUES' section below) and is available within the campaign and default missions.
It Only activates on the players unit and only if you are,or become,team leader.
THE WHY.
********
It would seem that the "Keep Low" command is not entierly a "copy my stance" order as indicated by the vocal command sometimes associated with a "Keep Low" order in game.AI units will copy a prone or standing stance.I wanted them to also copy a crouch stance so I knocked this together.
This addon may be rendered obsolete by future game patches.
THE HOW.
********
The script uses the players current stance animation to determine the stance to be copied .In order to detect a change to the players stance the script watches for a change in the players 'animationstate' using the '@<hidden>'command.When any change to the 'animatoinstate' is detected it
checks the players current stance animation to determine if the the AI's stance rules need to be altered.
The scripting is in .SQS format. I See no loss in performance with this addon scripted in sqs.
However If the sqs format is a Problem for you Please feel free to create an .Sqf version.
REQUIREMENTS.
*************
You will need the latest version of CBA ('extended_init_eventhandlers')
find it here: http://dev-heaven.net/projects/list_files/cca
or here: http://www.armaholic.com/page.php?id=6231
LIMITATIONS\ISSUES
*******************
I would suspect that this is not MP compatible,but I haven't tested it.
There is no Bisign file simply because I haven't a clue how to create one and this is unlikly to work in multiplayer anyway.
While testing with different troop addons I found that it did not initiate on bb_mercs by SchnapsdroSel.I've no idea why this is. If you wish to use this with these units or if you come across others that this dosn't initiate on simply parse
[Player] exec "GIB_Copy_Stance\GIB_AS_START.sqs"
in your mission.
Edit2: First let me thank you for your kind words and your interest.Unfortunatly I have to recommend you stop using the mod for now as it appears there may be a risk of spamming the action menu when using team switch and/or joining other groups.take care if you continue to use it.
I appologise for not catching these problems earlier.
I have been greatly encourage by the interest you've all shown.
:ok:Thanks Reaper,your feed back has given me the resolve to try to fix these issues.
I just wanted to thank you all before I request this thread be closed till I can
re-release the mod.
I'll be back:cool:
Here is a minor addon I cobbled together for myself.Thought I'd put it up in case anyone might like a copy. nothing very fancy just addresses a little niggle I had with a minor part of the game.Sutch a little thing it seems outa place amongst all you modding greats,but here it is anyway.:o
Copy My Stance
By Caxton Gibbet
downLoad:Removed whilst fixing.Sorry
Description.
************
This addon will make a players AI team mates copy the players stance.
It can be switched on and off via the action menu.
Stance orders issued to units in the normal way (via menu 7) will take priority.
To have a unit return to copying the players stance simply issue a
"Keep Low" order (in menu 7) and ensure that "copy my stance" is switched on in your action menu.
Switching "Copy Stance Off" in the action menu will return Units to Auto selecting their stance provided,ofcourse,an order issued in the normal way (menu 7) is not in effect.
'Copy my stance' will initiate automaticaly on any vanilla soldier type and MOST soldier addons (See 'LIMITATIONS\ISSUES' section below) and is available within the campaign and default missions.
It Only activates on the players unit and only if you are,or become,team leader.
THE WHY.
********
It would seem that the "Keep Low" command is not entierly a "copy my stance" order as indicated by the vocal command sometimes associated with a "Keep Low" order in game.AI units will copy a prone or standing stance.I wanted them to also copy a crouch stance so I knocked this together.
This addon may be rendered obsolete by future game patches.
THE HOW.
********
The script uses the players current stance animation to determine the stance to be copied .In order to detect a change to the players stance the script watches for a change in the players 'animationstate' using the '@<hidden>'command.When any change to the 'animatoinstate' is detected it
checks the players current stance animation to determine if the the AI's stance rules need to be altered.
The scripting is in .SQS format. I See no loss in performance with this addon scripted in sqs.
However If the sqs format is a Problem for you Please feel free to create an .Sqf version.
REQUIREMENTS.
*************
You will need the latest version of CBA ('extended_init_eventhandlers')
find it here: http://dev-heaven.net/projects/list_files/cca
or here: http://www.armaholic.com/page.php?id=6231
LIMITATIONS\ISSUES
*******************
I would suspect that this is not MP compatible,but I haven't tested it.
There is no Bisign file simply because I haven't a clue how to create one and this is unlikly to work in multiplayer anyway.
While testing with different troop addons I found that it did not initiate on bb_mercs by SchnapsdroSel.I've no idea why this is. If you wish to use this with these units or if you come across others that this dosn't initiate on simply parse
[Player] exec "GIB_Copy_Stance\GIB_AS_START.sqs"
in your mission.