Jump to content

Lensflare

Members
  • Content count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Lensflare

  • Rank
    Recruit
  1. Lensflare

    AI must capture

    This one indeed prevents the AI Player from attacking the building, but unfortunately it also prevents the AI from capturing it with the engineer. For me (as human player), the building is still capturable. These are my changes in the file "aimd.ini" (just additions, I did not remove any lines): [ScriptTypes] ;... 88=01000001-G ;ScriptType [01000001-G] Name=Capture Einstein Lab 0=46,8 ;========================================================== [TeamTypes] ;... 163=02000001-G ;TeamType [02000001-G] ;This TeamType is a modification of the "Allied Tech Oil Capture" TeamType ;I only changed the following 3 attributes: Name=Einstein Lab Capture Team Script=01000001-G TaskForce=03000001-G ;... ;========================================================== [TaskForces] ;... 132=03000001-G ;TaskForce [03000001-G] Name=One Allied Engineer 0=1,ENGINEER Group=-1 ;========================================================== [AITriggerTypes] ;... 09000001-G=Einstein Lab Capture Team,02000001-G,<all>,1,7,CALAB,0100000003000000000000000000000000000000000000000000000000000000, 5000.000000,5000.000000,5000.000000,1,0,0,0,<none>,1,1,1 I used this site as a reference: http://modenc.renegadeprojects.com/AITriggerTypes
  2. Lensflare

    AI must capture

    I've tried it. Unfortunately, this does not solve the problem :/
  3. Lensflare

    AI must capture

    CanC4=no this prevents tanya and the navy seal from using C4 on the building. But now they fire on it with their primary weapons (pistols, rifle). This is really weird because other units can not fire on it (thanks to "Immune=yes"). Insignificant=yes this were set to "yes" all the time in my ini file. I have tried yes and no. The AI player attacks Einsteins's Lab with both settings. here is my definition of Einstein's Lab: ;Einsteins Lab [CALAB] UIName=Name:EinsteinLab Name=Einstein's Lab TechLevel=-1 Strength=-1 Immune=yes CanC4=no OmniCrushResistant=yes ;seems to not have any effect for tanya and navy seal. RevealToAll=yes ;does not work. maybe because it is captured and not build? EligibileForAllyBuilding=yes Insignificant=yes Nominal=yes Points=5 Armor=steel Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60 MaxDebris=0 Capturable=yes NeedsEngineer=yes Unsellable=yes Sight=6 ClickRepairable=no LeaveRubble=yes RadarVisible=yes
  4. Lensflare

    AI must capture

    This website ist great! modenc.renegadeprojects.com I found there a list of all possible Attributes that a building can have and inserted these 3 into the [CALAB] definition to make Einstein's Lab invulnerable: [CALAB] ... Immune=yes Crushable=no OmniCrushResistant=yes ... As intended, I can't attack this building now and it doesn't take damage from nearby explosions. But it still can be blown up by tanya and the navy seal. Why? When I change the strength from 1000 to -1 Strength=-1 ... tanya and the navy seal go into the building and keep "shooting" C4 on it in a loop. The building is prevented from being destoyed but the C4-laying units get stuck in there forever (or until they are killed). Another strange effect is that if I capture this building, the AI enemy fires at it with tanks and GIs (although it is not attackable for me). This prevents the AI from being a strong enemy because he is focused on killing that building all the time. So do you have an idea how to make this building completely invulnerable and not being attacked by the AI player?
  5. Lensflare

    AI must capture

    thank you very much it seems to work now for Allied Engineer and Einstein's Lab. (please don't close this topic because I will probably need further help with this engineer script)
  6. Lensflare

    AI must capture

    Where do I find the numeric identifier for a building? Is not a string used to identify Buildings? (Einsteins's Lab: "CALAB") The ScriptTypes in aimd.ini look like this: [0C9C878C-G] Name=Allied Refinery Guard 0=58,1 1=5,10 2=58,196609 3=5,10 4=58,196609 5=5,10 6=6,1 Is there somewhere an explanation about the meaning of these numbers? Or is there something like a refere for the ini files (especially for rulesmd.ini and aimd.ini) where all attribute names are listed and explained?
  7. Hello fans of Red Alert 2 I am trying to make a simple mod by manipulating the *.ini files of Yuris Revenge and I need some advice: The mod requires the AI Player (played by the computer) to capture certain buildings with the engineer. These buildings can be seen as additional tech buildings (like oil derricks or airport for paratroopers). For example, I have altered the "Einstein's Lab" to be capturable and placed it somewhere in the map by a map editor. When I play the map, I can capture it, but the AI Player doesn't do it. Even if this building is in the middle of his base. I looked into the "aimd.ini" file, where i hoped to find the solution for my problem and I found a piece of "code" that apparently lets the AI capture oil derricks. I tried to extend this code to let the AI capture also the "Einstein's Lab" but I couldn't make it work. Maybe someone knows how to make this or can tell me about a simple trick or something. thanks in advance
×