Scriptingwise you could make the siegetowers part of another team. This team can not be attacked by the player, but at the same time the players trebuchets won't be able to attack them either. For that you could also make the trebuchets part of another team that is not controlled by the player, but can be scripted to fire at random spots, or at siege towers.
The Walls of Minas Tirith
#21
Posted 18 January 2015 - 12:04 AM
#22
Posted 18 January 2015 - 10:31 AM
Yep Bashkuga is totally correct and a separate teams for trebuchets and siege towers with scripts dictating how other players or teams see them is the most appropriate way to solve that particular issue. However there are also priority lists that you can set up and edit so that archers prioritise other units over siege towers, they work well for AI teams although I've never tried them on non-NPCs?
If you need any more specifics I'm happy to help.
Map looks great by the way! Its always pleasing to see Singleplayer maps are still being made.
#23
Posted 20 January 2015 - 12:51 PM
Yep Bashkuga is totally correct and a separate teams for trebuchets and siege towers with scripts dictating how other players or teams see them is the most appropriate way to solve that particular issue. However there are also priority lists that you can set up and edit so that archers prioritise other units over siege towers, they work well for AI teams although I've never tried them on non-NPCs?
If you need any more specifics I'm happy to help.
Map looks great by the way! Its always pleasing to see Singleplayer maps are still being made.
But if the orcs and siege towers are in separate teams won't that prevent the orcs from climbing the siege towers to get onto the wall? Don't both orcs and siege towers have to be in the same team in order for them to climb the towers?
I might just prioritise other units other the siege towers, you think you could suggest me a script for that?
Or, I might just make it so that siege towers are indeed destructible and they'll just keep on respawning after ones been destroyed.
#24
Posted 22 January 2015 - 06:59 PM
It would require you to change the armor settings of the siege tower :
This is the default armor
Armor SiegeTowerArmor Armor = DEFAULT 50% ;default/unspecified attack Armor = CRUSH 1% ; trample attack Armor = SLASH 100% ;soldier attack Armor = SIEGE 100% ;war machine attack Armor = STRUCTURAL 10% ;Structural damage (Ent rocks) Armor = FLAME 50% ;10% ; ; 100 ; fire damage Armor = PIERCE 25% ;archer damage Armor = HERO 200% ;hero damage Armor = MAGIC 30% ;hero magic damage; ; 100 Armor = HERO_RANGED 100% ;Hero bow damage EndAdd that into your map.ini and change Pierce to 1% and you could also tone down the other settings to your liking.
change to 0%
#25
Posted 23 January 2015 - 05:30 PM
It would require you to change the armor settings of the siege tower :
This is the default armor
Armor SiegeTowerArmor Armor = DEFAULT 50% ;default/unspecified attack Armor = CRUSH 1% ; trample attack Armor = SLASH 100% ;soldier attack Armor = SIEGE 100% ;war machine attack Armor = STRUCTURAL 10% ;Structural damage (Ent rocks) Armor = FLAME 50% ;10% ; ; 100 ; fire damage Armor = PIERCE 25% ;archer damage Armor = HERO 200% ;hero damage Armor = MAGIC 30% ;hero magic damage; ; 100 Armor = HERO_RANGED 100% ;Hero bow damage EndAdd that into your map.ini and change Pierce to 1% and you could also tone down the other settings to your liking.
change to 0%
did it, they still attack the towers
#26
Posted 23 January 2015 - 05:41 PM
It would require you to change the armor settings of the siege tower :
This is the default armor
Armor SiegeTowerArmor Armor = DEFAULT 50% ;default/unspecified attack Armor = CRUSH 1% ; trample attack Armor = SLASH 100% ;soldier attack Armor = SIEGE 100% ;war machine attack Armor = STRUCTURAL 10% ;Structural damage (Ent rocks) Armor = FLAME 50% ;10% ; ; 100 ; fire damage Armor = PIERCE 25% ;archer damage Armor = HERO 200% ;hero damage Armor = MAGIC 30% ;hero magic damage; ; 100 Armor = HERO_RANGED 100% ;Hero bow damage EndAdd that into your map.ini and change Pierce to 1% and you could also tone down the other settings to your liking.
change to 0%
did it, they still attack the towers
are they upgraded?
#27
Posted 24 January 2015 - 08:51 AM
It would require you to change the armor settings of the siege tower :
This is the default armor
Armor SiegeTowerArmor Armor = DEFAULT 50% ;default/unspecified attack Armor = CRUSH 1% ; trample attack Armor = SLASH 100% ;soldier attack Armor = SIEGE 100% ;war machine attack Armor = STRUCTURAL 10% ;Structural damage (Ent rocks) Armor = FLAME 50% ;10% ; ; 100 ; fire damage Armor = PIERCE 25% ;archer damage Armor = HERO 200% ;hero damage Armor = MAGIC 30% ;hero magic damage; ; 100 Armor = HERO_RANGED 100% ;Hero bow damage EndAdd that into your map.ini and change Pierce to 1% and you could also tone down the other settings to your liking.
change to 0%
did it, they still attack the towers
are they upgraded?
The archers or the siege towers? The only adjustments I've made to both of them is health adjustment and that's about it but surely that won't affect anything?
#29
Posted 24 January 2015 - 03:52 PM
no i mean archers have fire arrows?
No, archers don't have fire arrows.
#31
Posted 24 January 2015 - 10:59 PM
But if the orcs and siege towers are in separate teams won't that prevent the orcs from climbing the siege towers to get onto the wall? Don't both orcs and siege towers have to be in the same team in order for them to climb the towers?
I might just prioritise other units other the siege towers, you think you could suggest me a script for that?
Or, I might just make it so that siege towers are indeed destructible and they'll just keep on respawning after ones been destroyed.Per
Permitted the individual teams for the orcs and siege towers belong to the same player then the orcs will be able to use them. I would attempt this first before introducing priority lists, although if you still want them I can upload some example scripts.
#32
Posted 27 January 2015 - 05:02 PM
Thanks for the help guys, there's still no working solution. But I think I might make it so the siege towers are destructible and they'll just keep on respawning every time one is destroyed > I'll increase their HP though so they don't get destroyed immediately.
I've not made much progress these last few days because I have absolutely no time so I have no idea when I'll be finished with the map.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users