Jump to content

CnCNet Forums

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

RA1 weird AI behaviour and almost destroyed keyboard

Recommended Posts

This is a very long post, but i'm gonna trying to be short:

 

Im currently having a problem with AI behaviour with my current mission. My plan is to do next: USSR must capture and defend four different technology centers. If any technology centers gets destroyed -> mission is failed. Each captured technology center gives you a four General units at your usage. The mission is completed when all Technology Centers are captured and enemy forces are destroyed.

Currently when my engineer gets in Technology Center -> The units will come out but if someone destroys the technology center -> game continues running but no mission failed screen...

 

 

Here is the trigger:

Name:      +1
Owner:     Greece
Existence: temporary (any linked event -> switch, destroy)
Type:      complex (event1 => action1; event2 => action2)

 

Event 1:   Entered by...USSR
Event 2:   Destroyed by anybody

 

Action 1:  Global Set... 1
Action 2:  Loser is... USSR

 

Linked to: Buildings - 1

 

and the [Trig] itself : +1=0,1,3,1,1,-1,2,7,-1,0,28,-1,-1,1,2,-1,-1,-254

 

 

Another problem [SEE THE ATTACHED PICTURE]:

 

Currently Spain does have a four different patrols which will be created shortly after mission is started. The Tanks near at the Number 1 should be a one team and they should patrol nearby.

 

The tank and two riflemen near the Number 2 are our own, independent team and they does not have anything relating on team number one. HOWEVER! Right after the mission starts -> One of the Team 1 tanks will switch places with Team 2 tank?! The red line means that those two tanks will switch places (see the attached picture).

 

 

 

Here are the codes for this:

 

Name:      grd2
Owner:     Spain
Existence: temporary (any linked event -> switch, destroy)
Type:      simple (event1 => action1 [+ action2])

 

Event 1:   Elapsed Time (1/10th min)... 1

 


Action 1:  Create Team... grd2

 

and Teamtype:

 

Name:     grd2
Owner:    Spain
Priority: 14
Max:      0
Num:      0
WayPoint: 50

 

Team:     Light Tank            2

 

Orders:   0 Move to waypoint... 51
          1 Guard area (1/10th min)... 2
          2 Move to waypoint... 52
          3 Guard area (1/10th min)... 2
          4 Move to waypoint... 50
          5 Guard area (1/10th min)... 2
          6 Jump to line #... 0

 

Linked triggers: grd2


PROBLEM NUMBER THREE! Right after start, there are two 2TNK units placed on South-West and South-East. The unit from South-West should start patrolling. BUT! The 2TNK which is placed on South-East will actually starts doing that?!?!?! Both are Guard -stance and but if i set the 2TNK from South-East Area Guard -stance it will stay where it is supposed to and the unit in South-West will patrol as i've planned.

 

I'm very frustated on this and during this evening i almost destroyed my keyboard and throw PC out of the window... this is very frustating since feels like nothing is not gonna work and i don't know or understand why! This mission is meant to come the next version of Command & Conquer REDUX for Red Alert 95 which im currently working on...

 

 

vitun romu 2.png

Edited by Salvation
edited quotes

Share this post


Link to post
Share on other sites

Problems with patrols has been fixed. My first post contained an attached image, where Team 2 consist with two Riflemen and one 1TNK -> Changed their side into Goodguy and now they works fine.

 

However, i still need help with the Technology Centers. My idea was next:

1) Player captures technology center -> Reinforcements will arrive inside the center

2) If anyone destroys technology center -> Mission failed.

Currently when my Engineer captures building -> Reinforcements will arrive inside the technology center. After it has been captured -> anyone destroys it -> nothing happens.

 

Any help?

Currently the trigger is next:

Quote

Name:      +1
Owner:     USSR
Existence: temporary (any linked event -> switch, destroy)
Type:      complex (event1 => action1; event2 => action2)

Event 1:   Entered by...USSR
Event 2:   Destroyed by anybody

Action 1:  Global Set... 1
Action 2:  Loser is... USSR

Linked to: Buildings - 1

 

[Trig]

+1=0,2,3,1,1,-1,2,7,-1,0,28,-1,-1,1,2,-1,-1,-254

 

EDIT:Also my idea is that ALL four technology centers must be captured and ALL enemy structures must destroy before mission is accomplished. That trigger i haven't created yet, since i want to advance step-by-step.

Edited by Salvation
Added my idea

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 [email protected]
      I got the complete whatchawhatever from Origin and I'm trying to relive the wonderful days of my introduction to RTS, but it seems as if none of the games are functioning.
      For Tiberian Sun, clicking anything in the menu freezes the whole program.

      For C&C RA2/YR, the mouse is invisible.
      And so on.

      Is it really necessary to download third party patches for games that Origin (Electronic Assholes) are charging money for?

      You have my thanks and best wishes,
      Me
    • By MrFlibble
      A very long time ago I found a Russian website with a RA1 TC called Third Revolution. It's a stand-alone total conversion with new campaigns and a setting unrelated to the C&C universe -- rather, it tells the story of a post-1991 restoration of the Soviet Union and its struggle against Capitalist adversaries. The author had problems with the black/transparent colour in the palette but otherwise it was pretty solid all-in-all.
      Back then I downloaded the Russian version, but later forgot about that TC until recently (had to ask around to remember the title). Anyway, the Russian version of the TC is available from The Red Alert Archive, however the developer's page also lists an English version (thirden.rar) among downloads, as well as a music pack (scores_full.rar). Supposedly, these were hosted at http://ra.afraid.org/thirdrev/, but the Wayback Machine does not have the respective files, and apparently they were at some point removed, for whatever reason.
      I was wondering if anyone still has these files archived somewhere? Also, it seems that the TC is based on Aftermath 2.02, would it be possible to upgrade to 3.03 Beta?
    • By FunkyFr3sh
      Running CnCNet server using systemd (Linux x64)
       
      wget downloads.cncnet.org/tunnel.sh sh tunnel.sh 200 "Unnamed Server" If you're unsure what linux distro to choose, just take the latest version of Ubuntu
       
       
      Using the above method you can run both CnCNet servers as a service and they will continue to run even after the server restarted.
       
      Alternatively you can also run the servers individually (see below):
       
       
       
       
       
      New Server (All Games)
       
       
      Linux x64 example:
      wget -c https://downloads.cncnet.org/cncnet-server.tgz -O - | tar -xz nohup ./cncnet-server --name "My cool server" --maxclients 200 --port 50001 --portv2 50000 > cncnet-server.log 2>&1 & Linux ARM
       
       
      Windows:
      On XP, Vista and 7 make sure .NET 4.0 is installed: https://www.microsoft.com/en-US/download/details.aspx?id=17113
      Download the server and start it: http://downloads.cncnet.org/cncnet-server-gui.exe
       
       
      Note: Servers are chosen automatically by CnCNet and are only used in case 2 players fail to establish a Peer-To-Peer connection. Yuri's Revenge players can select a specific server via the advanced settings while hosting a game room.
       
       
       
       
       
      Old Server (Yuris Revenge only)
       
       
      Linux (Ubuntu) example:
      sudo apt-get install default-jre wget http://downloads.cncnet.org/cncnet-tunnel.exe nohup java -jar cncnet-tunnel.exe -name "My cool server" -maxclients 200 -port 50000 -headless > cncnet-tunnel.log 2>&1 &  
       
      Windows:
      Download the server and start it: http://downloads.cncnet.org/cncnet-tunnel.exe
       
       
      Note:  To use a specific server you'll have to select it via the advanced settings while hosting a game room.
       
       
       
       
       
      The servers will not show up instantly on the website, it can take up to 4 hours
       
       
       
    • By AndrewFord
      CnCNET is great, and since RA source code has been released this is a huge step in improving the game and adding nice juicy features that allow us to enjoy the game we love.
      Add a replay system, maybe as an option as saving a replay could add more lag to games.
      Fix bug where you can ally someone who is trying to Engi your building which prevents it from being captured
      New .ini keywords, this would allow for more control over making maps of all types from nurple to Defense maps
      I'll list a few keyword suggestions
      Ability to remove darkness crate as random chance Chrono (superweapon) Crate Size of Nukes/Demo Trucks explosions Force Ore Regrowth on (ignores lobby setting "Ore Regenerates") Crusher Flag for vehicles Helicopter Firing Delay Auto Attack Flag (Tanya for example) Build Speed Multiplier (per unit/building) New Triggers New blank units if modders want to add them to maps. (Like Ferrets Tiberian Alert mod)
       
       
       
    • By Akiller7k
      I told you my scroll was broken and it was. I played the entire match holding right click to move across the screen. I think you think I b.s.'d you to get you to commit or something. That is not at all the case.
      This was on the CNC remastered ladder.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...