Jump to content


Photo

AI delivers the ring to the fortress

the one ring ai

  • Please log in to reply
4 replies to this topic

#1 Parmenidesdeelea

Parmenidesdeelea
  • Members
  • 11 posts

Posted 19 May 2015 - 04:37 PM

Where is the code that makes AI units carrying the ring to the fortress??????????????

 

is a Script, or what????????' :?: 


#2 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 20 May 2015 - 04:20 PM

Not entirely sure, this might be linked through code we can't edit, or it simply depends on the module in the fortresses:

    Behavior = CitadelSlaughterHordeContain ModuleTag_SlaughterMe
        PassengerFilter                    = GENERIC_FACTION_SLAUGHTERABLE
        ObjectStatusOfContained            = UNSELECTABLE ENCLOSED
        CashBackPercent                    = 200%        
        ContainMax                        = 99    // give it a huge capacity, just in case player sends his whole army in at once
        AllowEnemiesInside                = No
        AllowAlliesInside                = No
         AllowNeutralInside                = No
         AllowOwnPlayerInsideOverride    = Yes
        EnterSound                        = GUI_RingReturned
        EntryOffset                        = X:125.0 Y:0.0 Z:0.0
        EntryPosition                    = X:30.0 Y:0.0 Z:0.0
        
        ExitOffset                        = X:125.0 Y:0.0 Z:0.0
        StatusForRingEntry                = HOLDING_THE_RING
        UpgradeForRingEntry                = Upgrade_RingHero Upgrade_FortressRingHero
        ObjectToDestroyForRingEntry        = NONE +TheDroppedRing
        FXForRingEntry                    = FX_OneRingFlare
    End

Ridder Geel

#3 Parmenidesdeelea

Parmenidesdeelea
  • Members
  • 11 posts

Posted 20 May 2015 - 06:49 PM

First of all I want to thank you because you are the one who answers me and I appreciate your work.

 

In respect to the topic I put, the code you typed is good, it is for the fortress. What I'm looking for is the code that makes the AI units taking the Ring, and it delivered directly to fortress. I searched Scripts and Behaviors, but I have not found anything.
I do this first by curiosity and second that analyze the AI troops take the ring to a hero (Ring_Hero). And I want to see the code that controls that function.
Thank you very much.


#4 Parmenidesdeelea

Parmenidesdeelea
  • Members
  • 11 posts

Posted 20 May 2015 - 06:51 PM

upsssssssssss..... :smile2ap:

You know it's "HOLDING_THE_RING" ?????????



#5 Ridder Geel

Ridder Geel

    Master Yelloh

  • T3A Staff
  • 10,852 posts
  • Location:The Netherlands (AKA: Holland)
  • Projects:RC Mod + SEE + RTS Engine
  •  The Dangerous T3A Team Chamber Member
  • Division:BFME
  • Job:T3A Staff

Posted 21 May 2015 - 07:15 AM

Well I'm not entirely sure what you want to change about this function or whatever. There are also several kindofs or statuses that are most likely given to the unit when picking up the ring :p


Ridder Geel




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users