Jump to content


Photo

The Walls of Minas Tirith


  • Please log in to reply
31 replies to this topic

#21 Bashkuga

Bashkuga

    Because good guys are too mainstream

  • Project Team
  • 2,039 posts
  • Location:On my way to besiege Minas Tirith
  • Projects:Age of the Ring Betatester and Mapper, Edain Mod Betatester
  •  Out of the frying pan, and into the fire..

Posted 18 January 2015 - 12:04 AM

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.



#22 Fudge

Fudge

    title available

  • Project Team
  • 531 posts
  • Location:Devon, England
  • Projects:Luckily AotR Mapping

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 Lennon

Lennon
  • Members
  • 32 posts

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 -SilverBane-

-SilverBane-

    Inactive Noob

  • Project Team
  • 474 posts
  • Location:Bucharest
  • Projects:Life
  •  Mapper & Coder

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     
End

Add 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%


2qm3dd5.jpg


#25 Lennon

Lennon
  • Members
  • 32 posts

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     
End

Add 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 -SilverBane-

-SilverBane-

    Inactive Noob

  • Project Team
  • 474 posts
  • Location:Bucharest
  • Projects:Life
  •  Mapper & Coder

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     
End

Add 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?


2qm3dd5.jpg


#27 Lennon

Lennon
  • Members
  • 32 posts

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     
End

Add 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?



#28 -SilverBane-

-SilverBane-

    Inactive Noob

  • Project Team
  • 474 posts
  • Location:Bucharest
  • Projects:Life
  •  Mapper & Coder

Posted 24 January 2015 - 10:35 AM

no i mean archers have fire arrows?


2qm3dd5.jpg


#29 Lennon

Lennon
  • Members
  • 32 posts

Posted 24 January 2015 - 03:52 PM

no i mean archers have fire arrows?

 

No, archers don't have fire arrows.



#30 -SilverBane-

-SilverBane-

    Inactive Noob

  • Project Team
  • 474 posts
  • Location:Bucharest
  • Projects:Life
  •  Mapper & Coder

Posted 24 January 2015 - 07:15 PM

 

no i mean archers have fire arrows?

 

No, archers don't have fire arrows.

 

strange. they shouldnt be able to attack the siege tower unless there is a special script wich makes them attack x object


2qm3dd5.jpg


#31 Fudge

Fudge

    title available

  • Project Team
  • 531 posts
  • Location:Devon, England
  • Projects:Luckily AotR Mapping

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 Lennon

Lennon
  • Members
  • 32 posts

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