where can i find enum? arrow stuff completed lol
#21
Posted 28 April 2012 - 09:48 PM
http://www.the3rdage...tem-394?addview
after I upgrade to the fire arrows on the archery range and then click on a unit it says "cannot recieve upgrade".
? It's the exact same code as a Gondor Soldier.
#22
Posted 28 April 2012 - 11:29 PM
Behavior = StatusBitsUpgrade ModuleTag_ProductionLegality TriggeredBy = Upgrade_ElvenSilverthornArrows End
#23
Posted 28 April 2012 - 11:58 PM
Perhaps the horde files does not have the statusbitupgrade?
Behavior = StatusBitsUpgrade ModuleTag_ProductionLegality TriggeredBy = Upgrade_ElvenSilverthornArrows End
yes has that, copied from gondorarcherhorde, all i did was give a new skin. what makes matter stranger is that the forged blades work for the arnor soldiers i've made :|.
#24
Posted 28 April 2012 - 11:59 PM
Attached Files
#25
Posted 29 April 2012 - 12:55 PM
#26
Posted 29 April 2012 - 01:50 PM
the only change apart from health, build time, cost and string files was
Model = GUNumnArch_SKN; from GUArcher_SKN
#27
Posted 29 April 2012 - 01:55 PM
#28
Posted 29 April 2012 - 02:29 PM
CommandSet ArnorArcherHordeCommandSet
1 = Command_ToggleStance
2 = Command_ArcherBombard
3 = Command_PurchaseUpgradeGondorFireArrows
4 = Command_PurchaseUpgradeGondorHeavyArmor
5 = Command_PurchaseUpgradeGondorBasicTraining
12 = Command_CaptureBuilding
13 = Command_AttackMove
14 = Command_Stop
16 = Command_SetStanceBattle
17 = Command_SetStanceAggressive
18 = Command_SetStanceHoldGround
End
CommandButton Command_PurchaseUpgradeGondorFireArrows
Command = OBJECT_UPGRADE
Options = NEED_UPGRADE OK_FOR_MULTI_SELECT CANCELABLE
Upgrade = Upgrade_GondorFireArrows
NeededUpgrade = Upgrade_TechnologyGondorFireArrows
TextLabel = CONTROLBAR:FireArrowUpgrade
ButtonImage = BGArcheryRange_FireArrows
ButtonBorderType = UPGRADE
DescriptLabel = CONTROLBAR:ToolTipPurchaseUpgradeGondorFireArrows
InPalantir = Yes
LacksPrerequisiteLabel = TOOLTIP:LackGondorFireArrows
End
; ;
CommandButton Command_PurchaseUpgradeGondorArcherFireArrows
Command = OBJECT_UPGRADE
Options = NEED_UPGRADE OK_FOR_MULTI_SELECT CANCELABLE
Upgrade = Upgrade_GondorArcherFireArrows
NeededUpgrade = Upgrade_TechnologyGondorFireArrows
TextLabel = CONTROLBAR:FireArrowUpgrade
ButtonImage = BGArcheryRange_FireArrows
ButtonBorderType = UPGRADE
DescriptLabel = CONTROLBAR:ToolTipPurchaseUpgradeGondorFireArrows
InPalantir = Yes
LacksPrerequisiteLabel = TOOLTIP:LackGondorFireArrows
End
Edited by marsbar, 29 April 2012 - 02:32 PM.
#29
Posted 29 April 2012 - 02:40 PM
#30
Posted 29 April 2012 - 02:56 PM
PurchaseUpgradeGondorArcherFireArrows u need that one in the commandset
Ok, why would EA do that, name their upgrades one thing and then in the commandbutton another? ill edit this post in 5-10 mins to see if it works.
YESSSSSSSSSSSSSSSSSSSSSS thanks ridder geel, it works now
just galadhrim warriors to fix!!!, same problem but i'll see what i've done wrong with them.
Edited by marsbar, 29 April 2012 - 03:07 PM.
#32
Posted 29 April 2012 - 03:21 PM
I might later on add arnor as a seperate faction, i've got archers, soldiers, knights soon to be trebuchet...
#33
Posted 01 May 2012 - 05:24 PM
Ok hi all... (I will show a photo in a minute)...
I made my galadhrim warriors ect... They can now purchase Silverthron arrows and shoot them (yay)... BUT! on their bow it shows fire arrow not silverthorn arrow? Looks weird, and i've looked through the code, the weaponset upgrade is the mirkwood silverthorn arrow.
#34
Posted 01 May 2012 - 05:41 PM
is it because the model is only suppose to show fire arrows?, is there an FX way around it?
Edited by marsbar, 01 May 2012 - 05:42 PM.
#35
Posted 01 May 2012 - 06:35 PM
#36
Posted 01 May 2012 - 08:39 PM
You need to hide the firetip or something like that, which is a sub-model part of the whole model, then perhaps with an fx u can add another effect.
Hmmm ok, FX will be doable, I've forgotten how to do a lot of it though :(
#37
Posted 01 May 2012 - 11:41 PM
so remove this codes
; Switch arrows being displayed. Behavior = SubObjectsUpgrade ModuleTag_FireArrowSwapUpgrade TriggeredBy = Upgrade_GondorFireArrows ; ;Upgrade_RohanFireArrows ShowSubObjects = FireArowTip EndThese cuase the fire arrow tips to be shown .
Then you want a silvertorn arrow FX ..
You will have to tweak FX's until you get one you like
; --------- With Fire arrows Upgrade ------------ ModelConditionState = WEAPONSET_PLAYER_UPGRADE USER_4 Model = RUElfWar_SKN Skeleton = RUElfWar_SKL WeaponLaunchBone = PRIMARY ARROW WeaponLaunchBone = SECONDARY ARROWNOCK ; when upgraded to flaming arrow ParticleSysBone = FireArowTip ANewFX FollowBone:Yes End
Try ParticleSysBone = FireArowTip RingWraithFlare FollowBone:Yes
or create your own Fx
PS ensure they get USER_4 when given the upgrade
; Fire arrow upgrade Behavior = WeaponSetUpgrade ModuleTag_WeaponSetUpgradeTag TriggeredBy = Upgrade_ElvenSilverthornArrows CustomAnimAndDuration = AnimState:USER_4 AnimTime:0 TriggerTime:0 ;set flag forever End
...I would have just let them use fire arrows as that's what they have as sub-objects ...but that's just me
Edited by JUS_SAURON, 01 May 2012 - 11:43 PM.
#39
Posted 02 May 2012 - 12:07 AM
I agree ... I mean if a model of had fire arrow sub objects .. I would let them use Fire Arrows Not silvertorn ArrowsIt's outright silly to have the fire arrows visible when they don't shoot fire arrows, but Silverthron arrows. You fool the player.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users