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 FunkyFr3sh
      All maps that receive more than 50% of the votes will be added. If there is none then the two maps with the most votes will be added only.
      Poll will close automatically in 1 week.
       
      This poll is for ladder players only, please don't vote if you're not interested in playing ranked games!
      https://ladder.cncnet.org/ladder/11-2019/ra/

    • By FunkyFr3sh
      We're going to have a ladder map poll soon, you can suggest maps that should be added to the poll here.
      If it's a new/unknown map or a modified version of a original map then please add a screenshot.
       
      https://ladder.cncnet.org/ladder/11-2019/ra/
    • By Tiny_mario
      Is this one ddos me or what. Cos i  hardwired to the internet with 300 down and 20 up no throttle no vpn
       
       
      Unable to read data from the transport connection: An established connection was aborted by the software in your host machine
    • By jesterrescue1
      I was trying to be careful and the map worked in its early versions. The version have now is causing myself and other players to desync about 5 minutes into the game with this custom map. The map is kinda fun and different. Tried to take inspiration from starcrafts style. Its not too radical. But
      I think my questions are what makes the red alert 1 (include aftermath) dsync online? Consider its custom map, unit alterations, image changes. Worse case scenario I'll release it as a single player skirmish map. I make use of the spawn file that holds images of c&c dawn units. The RAedit adds triggers. I tried deactivating the triggers and teams hopping that was the mighty fix. Well didn't seem to do it. 
    • By FunkyFr3sh
      We removed the macOS downloads since Apple dropped support for 32-bit applications in their latest version of macOS (10.15 Catalina).
      Downloads might be added again at a later point once there is a solution for supporting the new macOS Catalina.
       
       
       
      If you're running a older version of macOS you can still try to install the games (C&C / Red Alert / Tiberian Sun) manually:
       
      Step 1: Install wine-stable https://wiki.winehq.org/MacOS
      Step 2: Download the following script, right-click and select Open https://downloads.cncnet.org/cncnet.command.zip
       
       
       
      If you're running the new macOS Catalina 10.15:
       
      Use bootcamp: https://support.apple.com/en-us/HT201468
       
       
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...