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 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.
    • By Allen262
      Current version of Red Dawn is Red Dawn 2014
       
      Last updated 5-29-20
       
       
      Red Dawn 2014 is standalone like 2013 and still uses Iran Patch/Portable RA that added Hires and better compatibility for Vista and forward systems. Red Dawn 2014 dosen't differ to much from Red Dawn 2013 when it comes to single player missions. The most noteable change is Nod now uses secondary colors for all missions. Five new mission added and one fan made are now included in the game. Jungle theater by Tschokky added and used for five of the new missions.
       
      Red Dawn Online has been merged with Red Dawn 2014. This mean online play on CnCNet 5 (old CnCNet 4 has been removed). Aftermath Game option is now Classic C&C option and when turned on the game will only use C&C95 units and buildings. The exceptions are the Missile Silo, Ship Yard, Gunboats and Tranport. The Missile Silo is needed as it is the only way for a Nuke to be made. The Ship Yard, Gunboats and Tranport are need for some RA1 maps most notable "Docklands (Medium)".
       
      RAED (Map/Scenario Editor) has been updated to the version edited by Iran to use all 6 theaters. At this time the CnCNet 5 ra95-spawn.exe dosen't support the Jungle theater but I have updated the CnCNet 5 lobby's map preview generator so when/if CnCNet 5 updates the ra95-spawn.exe to use the Jungle theater things are ready to go.
       
      System Requirements
      Windows 2000, XP, Vista or 7. Launcher and configuration tool require the .Net 2.0 framework. I think you could run on Win95 to ME with out the Launcher and configuration tool by starting the game from the RA95.exe. You may be able to get it to work on Linux and Mac with tweaks. PortableRA's Linux and Mac tabs should be able to help http://iran.cnc-comm.com/ra/
       
       
       
      GDI Hires

       
      Nod Hires

       
      C&C Classic GDI9

       
      C&C Classic Nod 11B

       
      CnCNet 5 Lobby

       
       
       
      “Red Dawn 2014 Installer” Required For Play (49.06 MB)
      https://1drv.ms/u/s!Apc3I0Sl1vNFctDgXQQsnUGIt1I?e=izf7sq
      https://www.dropbox.com/s/099qbz4em3qpyb3/Red%20Dawn%202014%20Installer.exe?dl=0
      Note if the game won't start trying deleting the wsock32.dll from the the game folder!
       
      Full game with Terrain Editor (EDWIN) and C&C-RAED v1.26.
       
      “Red Dawn 2014 Music Installer” Optional. (61.63 MB)
      https://1drv.ms/u/s!Apc3I0Sl1vNFc7ylpxYNEVTBGro?e=w1ihpK
      https://www.dropbox.com/s/konze9ii5p1u0sg/Red%20Dawn%202014%20Music%20Installer.exe?dl=0
       
      35 music soundtracks from C&C95 and Covert Ops add-ons.
       
      “Red Dawn 2014 Videos Installer” Optional. (179.83 MB)
      https://1drv.ms/u/s!Apc3I0Sl1vNFdPHsUJ9p1QGzFX4?e=ktmgTT
      https://www.dropbox.com/s/sh7ymqows0cxfki/Red%20Dawn%202014%20Videos%20Installer.exe?dl=0
       
      Win and Lose movies for all missions plus some briefing.
       
       
      Old Red Dawn 2012
       
       
      I'm keeping support for Red Dawn 2012 as there is small change of systems out there that won't work with the Iran patch setup. Also it is a good source for modders looking for C&C 95 building and units that are already converted for use in RA1.
       
      System Requirements
      Windows 95, 98 2000, Me, XP, Vista or 7. You may be able to get it to work on Linux with tweaks. I tested Red Dawn on Win 7 however if it is not working on Vista or 7 you can try ddraw.dll by Hifi http://hifi.iki.fi/cnc-ddraw/#download has download link and configuration.
       
      “Red Dawn 2012 Installer” Required For Play (75.76 MB)
      http://www.ppmsite.com/downloads/C&C%20Red%20Alert%201%20Mod%20Red%20Dawn%20Mod%202012%20Main.exe
       
      “Red Dawn 2012 Movie Installer” Optional. (165.84 MB)
      http://www.ppmsite.com/downloads/C&C%20Red%20Alert%201%20Mod%20Red%20Dawn%20Mod%202012%20AVs.exe
       
      "Red Dawn 2012 Covert Ops Music" Optional (29 MB)
      http://www.ppmsite.com/downloads/Red%20Dawn%202012%20Covert%20Ops%20Music.exe
       
      "Red Dawn 2012 Mission Bulider" Optional (21 MB)
      http://www.ppmsite.com/downloads/Red%20Dawn%202012%20Mission%20Bulider.exe
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...