Jump to content

ElectroCarrier

Member
  • Content Count

    2
  • Joined

  • Last visited

  • Medals

Posts posted by ElectroCarrier


  1. This sounds great. I startet with Beta3 - so never had this experience.

    Hope also that the comming patch arrives soon AND includes this "enemy carrier strength theme".

    You got the right words.

    It's weird: I am about to finish the campaign but I see me hesitating, not to finish it too early. Because: I feel a fear to start the long awaitet strategy game ... just not to get really deeply disappointed. If I make the same experience, that the enemy carrier is still so weak and un-intelligent, then the callenge could be gone... maybe forever.

    I dont' want to take care of the "big bad" enemy. I did it graciously in Beta phasis - ok. But now it's "real", its official and I play such a strategy game because I want exactly that: a challenge. If this is lost... everything is lost.

    So very thanx for the additional supporting here whith your professional background, maxim.

    Well you can make the carrier much more challenging if you have time to do it yourself. Reading the script-code for the carrier, he actually do attack you only in one case (if he has nowhere to go) due to what I call a tiny bug.

    I changed that single line of code it is about and increased his "attack-awareness"-radius. You see, the code for launching all mantas, all walruses and other stuff already exists but it is not called when you would like it to do.

    Since I have not asked for a permission to release a mod I probably wont do that for a while. But I will make a personalized experience anyway at the meantime.

    Here you can see three images when the enemycarrier attack me with all his got...(Yes I die in that fight). He even turns around and hunt me.

    https://www.dropbox.com/s/l1klo7610g9b1p0/Enemy_carrier_attacking.jpg

    https://www.dropbox.com/s/uszysbrk82uu5ge/attack3.jpg

    https://www.dropbox.com/s/n7crmo0mjc2blkw/Attack1.jpg

    So there is no reason to give up hope on the game yet. :)

    /J.


  2. Hi..

    I really do love this game, it is very fun to play, and would hate if it would go to waste so I ended up here and found the fantastic Carrier Tool!

    One problem is the whimpy Carrier AI that run pasts you and doing nothing in most of the times.

    Since I'm an old programmer and had some time over I scanned through the AI-code and I found and fixed one AI-problem

    in uec_militaryadvisor.h in the class MilitaryAdvisor, function: AnalyzeNeeds

    I found this code:

    if ( AvoidEnemyCarrier )

    WriteNeed( Logger, mem, this, GOTO_ISLAND, enCurr.GetArea(), 0, 9 );

    else

    {

    if ( myCurr == enCurr && d < 320.0 ) // 1000m

    WriteNeed( Logger, mem, this, ASSAULT_CARRIER, enemy.GetID(), 0, 9 );

    else

    WriteNeed( Logger, mem, this, GOTO_ISLAND, enCurr.GetArea(), 0, 9 );

    }

    and replaced it with:

    if ( AvoidEnemyCarrier )

    WriteNeed( Logger, mem, this, GOTO_ISLAND, enCurr.GetArea(), 0, 9 );

    else

    {

    if ( d < 640.0 ) // 2000m ...

    {

    WriteNeed( Logger, mem, this, ASSAULT_CARRIER, enemy.GetID(), 0, 9 );

    }

    else

    {

    WriteNeed( Logger, mem, this, GOTO_ISLAND, enCurr.GetArea(), 0, 9 );

    }

    }

    If you get too close to him he might get very personal and come after you with walruses and mantas! The Carrier -battles will be awesome! But he will still run if he is scared of you. :)

    Happy Hunting

    /J.

    ---------- Post added at 19:48 ---------- Previous post was at 19:39 ----------

    Omg.. sorry for the previoius post.. The code looked terrible.. I try again with code-tags

    Replace:

    if ( AvoidEnemyCarrier )
    WriteNeed( Logger, mem, this, GOTO_ISLAND, enCurr.GetArea(), 0, 9 );
    else
    {
    
    if ( myCurr == enCurr && d < 320.0 ) // 1000m
    {
    WriteNeed( Logger, mem, this, ASSAULT_CARRIER, enemy.GetID(), 0, 9 );
    else
    WriteNeed( Logger, mem, this, GOTO_ISLAND, enCurr.GetArea(), 0, 9 );
    }

    With:

    if ( AvoidEnemyCarrier )
    WriteNeed( Logger, mem, this, GOTO_ISLAND, enCurr.GetArea(), 0, 9 );
    else				
    {
    if ( d < 640.0 ) // 2000m
    {
    	WriteNeed( Logger, mem, this, ASSAULT_CARRIER, enemy.GetID(), 0, 9 );
    }
    
    else
    {
    	WriteNeed( Logger, mem, this, GOTO_ISLAND, enCurr.GetArea(), 0, 9 );
    }
    }

×