1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. Photobucket has changed its policy concerning hotlinking images and now requires an account with a $399.00 annual fee to allow hotlink. More information is available at: this link.
    Dismiss Notice
  3. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  4. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  5. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  6. Dismiss Notice
  7. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

Alien Aggression - how it works

Discussion in 'CivBE - Modding Help & Mod Creation' started by Ryoga, Oct 31, 2014.

  1. PlymJim

    PlymJim Chieftain

    Joined:
    Nov 3, 2014
    Messages:
    25
    The definitions table lists it as an integer, so it should accept anything that's not decimal :).
     
  2. Ryoga

    Ryoga Chieftain

    Joined:
    Oct 12, 2010
    Messages:
    993
    Breaking news, LUA api found!

    Main topic has been updated.


    It should be possible now to fix the inherent problem with the messed up opinion change triggers.
    However the lack of a "getOpinionValue" function will make things more complicated than how they could be.
     
  3. Stallogarro

    Stallogarro Chieftain

    Joined:
    Nov 8, 2010
    Messages:
    21
    Location:
    Oslo
    OK, so this is probably a silly question, and I'm not sure if it is relevant for this thread, but:
    Is there a way to actually see the level of alien agression? I've played the game a few times now, and the only way I can see their agression level is if they attack me or not. Maybe I've searched the wrong places, but in the civilopedia I coundn't find an actual 'alien agression' subject...
     
  4. Ryoga

    Ryoga Chieftain

    Joined:
    Oct 12, 2010
    Messages:
    993
    You can tell by the color of their icons. "green" is normal, but there's also "blue", "orange", "red", I guess you never saw them.
     
  5. Stallogarro

    Stallogarro Chieftain

    Joined:
    Nov 8, 2010
    Messages:
    21
    Location:
    Oslo
    Ah OK. Thank you.
     
  6. Rob (R8XFT)

    Rob (R8XFT) Ancient Briton Super Moderator

    Joined:
    Aug 11, 2002
    Messages:
    10,359
    Location:
    Leeds (UK)
  7. Ryoga

    Ryoga Chieftain

    Joined:
    Oct 12, 2010
    Messages:
    993
    Update:

    Since the December 2014 patch the negative alien opinion decay has been reduced from 1 point per turn to 0.25 points per turn.

    This basically means that the negative opinion decays 4 times slower than before.

    Unfortunately it doesn't look like anything else has changed.
     
  8. Benjamin6259

    Benjamin6259 Chieftain

    Joined:
    Jun 16, 2016
    Messages:
    4
    Hi eveyone,

    Sorry for upping an old topic, but i really want to have hostile aliens in starting game, i already have trying to change things like:

    Name="ALIEN_OPINION_HOSTILE_THRESHOLD">
    <Value>-15</Value>

    But i didn't work :-/ it's like all changes on this page (GlobalDefines.xml) are useless.

    Can you help me please? :(
     
  9. Valessa

    Valessa Communistress

    Joined:
    Aug 30, 2013
    Messages:
    8,103
    Gender:
    Female
    Alien Opinion starts at 0 and attacking them moves them into negative numbers, so if you want Aliens to be hostile from the very beginning you must do this:

    Code:
    		<Update>
    			<Where Name="ALIEN_OPINION_VERY_HOSTILE_THRESHOLD"/>
    			<Set Value="0"/>
    		</Update>
    However, in Rising Tide there is the "If you don't attack the Aliens they won't attack you either."-mechanic that seems to be hardcoded and can't be removed. So even if you make Aliens start red like that they will still be peaceful until a player attacks them for the very first time.
     
  10. Benjamin6259

    Benjamin6259 Chieftain

    Joined:
    Jun 16, 2016
    Messages:
    4
    Thanks Ryika,

    Unfortunately, it didn't work, i think there is another code somewhere, because even with these changes aliens are still green and nice, they attacks only if we harm them and 4 or 5 turns later, you can swim between them without risk :-(

    It's sad because in previous civilization, barbarians were a good threat in early game, so even with peacefull ia-player, early game was a survival until mid-game.

    Not there.
     
  11. Valessa

    Valessa Communistress

    Joined:
    Aug 30, 2013
    Messages:
    8,103
    Gender:
    Female
    You probably also need to set the other Numbers to something higher then:

    Code:
    		<Update>
    			<Where Name="ALIEN_OPINION_VERY_HOSTILE_THRESHOLD"/>
    			<Set Value="0"/>
    		</Update>
    		<Update>
    			<Where Name="ALIEN_OPINION_FRIENDLY_THRESHOLD"/>
    			<Set Value="1000"/>
    		</Update>
    		<Update>
    			<Where Name="ALIEN_OPINION_HOSTILE_THRESHOLD"/>
    			<Set Value="1000"/>
    		</Update>
    This is taken directly from my old Aggressive Wildlife Mod, it worked fine Pre-Rising Tide. The system didn't change much so if that still doesn't work then it's probably an error with your mod.
     
  12. Benjamin6259

    Benjamin6259 Chieftain

    Joined:
    Jun 16, 2016
    Messages:
    4
    Thanks for your patience Ryika,

    It still didn't work, i try to make my own mod, i also try to modify directly GlobalDefines.xml with Notepad++ in Assets > Gameplay but it didn't work :confused:

    Do you still have some of your mod's data please? Does anybody have a simple mod for this? :(
     
  13. Valessa

    Valessa Communistress

    Joined:
    Aug 30, 2013
    Messages:
    8,103
    Gender:
    Female
    If you are playing with Rising Tide you have to modify the file in assets\DLC\Expansion1\Gameplay\XML, not in assets\Gameplay\XML
     
  14. Benjamin6259

    Benjamin6259 Chieftain

    Joined:
    Jun 16, 2016
    Messages:
    4
    Oh my god... you're a genious man, thanks :)

    Unhappy aliens, i'm coming!
     

Share This Page