Jump to content

CnCNet Forums

Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
scut

Various SP mapping questions

Recommended Posts

Hi all

I'm now knee-deep in TD SP mapping and am starting to run into questions that I can't answer via Nyerguds guide, opening the default maps or a lot of googling.

  • Is there anyway to improve the AI on gunboats? They seem to find one target and fixate on it until it's dead. If it moves out of range they won't change target to anything else. This is on the "Hunt" AI used by gunboats in all the campaign maps.

I've tried putting gunboats in a difference House (Multi3) and using "All to Hunt" on them to refresh their AI state and hopefully get them to re-target, but "All to Hunt" kicks in for every AI unit in every House.

I've also tried creating them as a teamtype and giving them MOVE-HUNT-MOVE-HUNT instructions to try to refresh their AI (I had hoped they would ignore the move instructions), but that just results in them swanning around in the water in a really weird manner.

  • I'm unsure where newly built Orca's will arrive from? I have a House (located SE map corner) where the reinforcement edge is set to South, but Orca's seem to come in from the right side of the map, or from the top-right corner?
  • Do player A-10's always come from the top-left corner of the map? Is there anyway to control this?
  • If Chinooks are buildlevel 98 and so are Wooden Fences, is there anyway to give the player the ability to built Chinooks without Fences, or is that just how it is?
Edited by scut

Share this post


Link to post
Share on other sites

So I've had a look further into this, and have started digging through the sourcecode.

I've tried assigning a TeamType loop to gunboats, to get them to flick between Rampage and Attack Base, to hopefully clear their target fixation, but their behaviour is still the same. From looking in UNIT.CPP in the code, they get assigned MISSION_HUNT whenever they come back in off the map edge. I might play around with TeamTypes a bit more to see what orders Gunboats will accept from a TeamType.

On the Orca reinforcement location, I can see in REINF.CPP that aircraft use SOURCE_AIR, rather than pulling SOURCE_NORTH / S / W / E from that set for the House. I'll look into what this means, but I'm not actually familiar with c++. So it's a bit foreign.

Edited by scut

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Similar Content

    • By Lemon_sock
      Hello,
      First time using cncnet, I keep getting kicked whenever I join a game in the lobby but don't understand why. Sometimes I get a message saying no connection or problem with connection from one of the players. Or ping will come up with my name as NA. When I join a game in the lobby there's usually no green "I'm ready" button in the bottom left, it's only there if I try host a game (but then when I click it says waiting to connect, please try again in a few seconds or something).
      Can anyone advise, or help troubleshoot? I'm guessing there's a connection issue my end but dont know how to diagnose.
      (I have managed somehow to play two online games, no idea why it worked then but not most of the time).
    • By Soviet Reaper Dragon
      As any of you fellow traditionalists out there remember about the very first Command & Conquer game, The Global Defense Initiative's armies wore Gold and The Brotherhood Of NOD's armies wore Grey.
      The remastered version is almost complete except for this one minor crucial detail. GDI still has the option of choosing Gold as their color, however Grey is missing and traditionalist Brotherhood Of NOD players like me cannot select it, but must settle for second best in choosing Red when playing as NOD.
      Has anyone else told the developers about this and suggested they remedy this acute annoyance by adding in Grey to one of the downloadable updates for C&C Remastered?
      🤔

    • By Xeroyashar
      how can I do i put zombie mission civilan my map ?


      (Türk var mı varsa yardımcı olabilir mi )
    • By drknox88
      I installed the Origin C&C Generals version of Yuri's Revenge, then I installed Purple Alert. The Purple Alert launcher loads fine, but when I click "Launch Purple Alert" the C&C Generals "Ra2 or YR" launcher pops up. When I click YR it just loads the Vanilla YR. Is there any way to bypass something so that I can play Purple Alert? I played it years ago when I had the non C&C Generals version and it was the best mod ever!
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...