gandalf commandset
#1
Posted 24 October 2010 - 06:13 PM
I want create a special commandset for gandalf please.
create two commandset
CommandSet GondorGandalfCommandSet
1 = Command_SpecialAbilityWizardBlast
2 = Command_GondorGandalfLightningSword
3 = Command_GandalfFakeLeadershipButton
4 = Command_GandalfShadowfax
5 = Command_GondorGandalfIstariLight
6 = Command_SpecialAbilityWordOfPower
in command 3 change for the button commandset 2 (toggle)
CommandSet GondorGandalfCommandSet2
1 = Command_TransportEvacuate
2 = command button for comeback to CommandSet GondorGandalfCommandSet initial
i search in this forum but nothing
sorry for my bad english but i try
thank you for your help
will
#2
Posted 24 October 2010 - 10:20 PM
There you will find most relevant information and, probably, some analogous things.
Edited by NDC, 24 October 2010 - 10:20 PM.
#3
Posted 25 October 2010 - 11:05 AM
but how to make a double commandset?
i don't know
if you know hepl me please
will
#4
Posted 25 October 2010 - 07:40 PM
The third button you have mentioned above will act as switcher between these two Gandalfs.
#5
Posted 26 October 2010 - 11:08 AM
the button does not exist between two commadset
how to create it?
if this is possible?
I do not see how
I tried with a switch arc / sword of an elf but it does nothing when I click the button since the button does not order another commandset
that's where I wilt
thank you for your help
#6
Posted 26 October 2010 - 04:43 PM
You'll have to go into Gandalfs code, and add these:
Behavior = GrantUpgradeCreate ModuleTag_GrantCommandset1 UpgradeToGrant = Upgrade_GandalfCommandset1 End Behavior = CommandSetUpgrade ModuleTag_CommandsetUpgrade TriggeredBy = Upgrade_GandalfCommandset2 RemovesUpgrades = Upgrade_GandalfCommandset1 CommandSet = GondorGandalfCommandSet2 End Behavior = CommandSetUpgrade ModuleTag_CommandsetUpgradeRevert TriggeredBy = Upgrade_GandalfCommandset1 RemovesUpgrades = Upgrade_GandalfCommandset2 CommandSet = GondorGandalfCommandSet1 End
Then simply add thses to upgrade.ini
Upgrade Upgrade_GandalfCommandset1 Type = OBJECT End Upgrade Upgrade_GandalfCommandset2 Type = OBJECT End
Now the commandbutton.ini
CommandButton Command_UpgradeGandalfCommandset1 Command = OBJECT_UPGRADE Upgrade = Upgrade_GandalfCommandset1 Options = CANCELABLE ButtonImage = BGWorkshop_Trebuchet ButtonBorderType = UPGRADE InPalantir = Yes TextLabel = CONTROLBAR:TrebuchetUpgrade DescriptLabel = CONTROLBAR:ToolTipTrebuchetUpgrade End CommandButton Command_UpgradeGandalfCommandset2 Command = OBJECT_UPGRADE Upgrade = Upgrade_GandalfCommandset2 Options = CANCELABLE ButtonImage = BGWorkshop_Trebuchet ButtonBorderType = UPGRADE InPalantir = Yes TextLabel = CONTROLBAR:TrebuchetUpgrade DescriptLabel = CONTROLBAR:ToolTipTrebuchetUpgrade EndOf course, you'll "have" to find new pictures and text, but I guess you know how to do that. If not I think the site has some info on that. Regardless, ask away if you've got any questions
Should do it
Edited by Lauri, 26 October 2010 - 04:50 PM.
The 4th Age version 0.8 has been released: Link
#7
Posted 27 October 2010 - 11:29 AM
After entering your code
I put it in the commanset
CommandSet GondorGandalfCommandSet1
1 = Command_SpecialAbilityWizardBlast
2 = Command_GondorGandalfLightningSword
3 = Command_UpgradeGandalfCommandset2
;3 = Command_GandalfFakeLeadershipButton
4 = Command_GandalfShadowfax
5 = Command_GondorGandalfIstariLight
6 = Command_SpecialAbilityWordOfPower
7 = Command_TransportEvacuate
8 = Command_SpecialAbilityGrabPassenger
13 = Command_AttackMove
14 = Command_Stop
15 = Command_Guard
End
CommandSet GondorGandalfCommandSet2
1 = Command_SpecialAbilityWizardBlast
2 = Command_UpgradeGandalfCommandset1
;2 = Command_GondorGandalfLightningSword
3 = Command_GandalfFakeLeadershipButton
4 = Command_GandalfShadowfax
5 = Command_GondorGandalfIstariLight
6 = Command_SpecialAbilityWordOfPower
7 = Command_TransportEvacuate
8 = Command_SpecialAbilityGrabPassenger
13 = Command_AttackMove
14 = Command_Stop
15 = Command_Guard
End
but the button is grayed up 3 in commandset1
I made a mistake but where?
thank you for your help lauri
will
#8
Posted 27 October 2010 - 11:36 AM
If so then you did not make a mistake.
Like Lauri said you'll need to find new pictures and create some text for the button.
#9
Posted 27 October 2010 - 12:13 PM
i take this image
ButtonImage = UCElven_Sword UCElven_Bow
but the button is grayed
or I absolutely have to create an image?
thank for your help
will
#10
Posted 27 October 2010 - 01:00 PM
This isn't toggeling a weapon, so use UCElven_Sword for button 1, and UCElven_Bow for button 2 for example.
Still, I didn't test it, so it might not work... Afraid I don't have time right now, but if anyone else could check it out, that'd be nice
The 4th Age version 0.8 has been released: Link
#11
Posted 27 October 2010 - 06:13 PM
if I create a image button please give me a link to a tutorial please
thank you for your help
will
#12
Posted 27 October 2010 - 06:28 PM
I put this picture and there is no restriction for gandalf
but the button remains grayed
I think this is an error in the code in gandalf.ini
more when I commance part has the number 2 commandset
and not a commandset 1
aie!!! i'm sorry but don't work the button is always grayed
thank for your help
will
#13
Posted 28 October 2010 - 06:36 PM
there are three solution
either you study like crazy
or you know but do not want me
either you do not know
which fits here or?
but I do not despair
thank will
#15
Posted 28 October 2010 - 07:47 PM
ho I am frustrated like Middle Earth and I want to live
My soul vibrates Tolkien and his work
I thank you for your help lauri
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users