Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 11:54 pm
All times are UTC + 0
Ra2yr question.Problems on missions and AI (fixed)
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [16 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Lansmozar
Vehicle Drone


Joined: 16 Oct 2018

PostPosted: Mon Aug 23, 2021 3:25 pm    Post subject:  Ra2yr question.Problems on missions and AI (fixed)
Subject description: Newside/Country/AI triggers/new looks ingame/plus RA2 campaign.
Reply with quote  Mark this post and the followings unread

Allied mission1 tanya wont came out
Allied mission4 instant victory when start
Allied last mission when i create soviet radar choro reinforcement wont arrived

Its started this problems when i create a new side and country of my mod.
On skirmish my side/country are woking well, ia can played also on my new country..

How can i fix this? Thanks

Last edited by Lansmozar on Fri Sep 03, 2021 1:50 pm; edited 1 time in total

Back to top
View user's profile Send private message
maestro21
Soldier


Joined: 25 Feb 2008
Location: Philippines

PostPosted: Mon Aug 23, 2021 4:56 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message Send e-mail YouTube User URL Facebook Profile URL Twitter Channel URL AIM Address
m7
Commander


Joined: 17 Apr 2009

PostPosted: Mon Aug 23, 2021 5:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

Creating sides and countries breaks the original campaigns. The campaigns depend on the specific index location of each country in the [Countries] list if I remember correctly, so you'd have to edit all the original campaigns to fix this on each map.

Back to top
View user's profile Send private message
Lansmozar
Vehicle Drone


Joined: 16 Oct 2018

PostPosted: Tue Aug 24, 2021 4:16 am    Post subject: Reply with quote  Mark this post and the followings unread

problem on mission is solve thanks but when i play on skirmish picked on mynewside as AI the game is crush...

this is my code working before on ia but problem on missions..
and now after i done copy paste from tutorial missions fixed but crushed on IA..

Spoiler (click here to read it):
****************************************************************************************************

; hack section
Shipyard=ZAYARD

RepairBay=ZADEPT
BaseUnit=ZMCV

HarvesterUnit=zChronoMiner,zWarMiner
PadAircraft=DHWK





****************************************************************************************************

; Building prerequisite categories are specified here.
PrerequisitePower=ZAPOWR
PrerequisiteFactory=ZAWEAP
PrerequisiteBarracks=ZAPILE
PrerequisiteRadar=ZAAIRC
PrerequisiteTech=ZATECH
PrerequisiteProc=ZAREFN,ZAMINIREFN





****************************************************************************************************

[Countries]
10=Outzider


NOTE new sides must listed between yuri and civilian

[Sides]
OutziderSide=Outzider





****************************************************************************************************

[AI]
BuildConst=ZACNST
BuildPower=ZAPOWR

BuildRefinery=ZAMINIREFN;ZAREFN
BuildBarracks=ZAPILE
BuildTech=ZATECH
BuildWeapons=ZAWEAP

BuildRadar=ZAAIRC
ConcreteWalls=ZAFENC

BuildNavalYard=ZAYARD
BuildDummy=GAPILL,NALASR,YAGGUN





****************************************************************************************************

; ******* Country Statistics *******

[Outzider]
UIName=NOSTR:Outzider
Name=Outzider
Suffix=Allied
Prefix=G
Color=Gold
Multiplay=yes
Side=OutziderSide
SmartAI=yes
;Airspeed = ;multiplier to speed for all air units [larger means faster] (def=1.0)
;Armor = ;multiplier to armor strength for all units and buildings [larger means stronger] (def=1.0)
;Cost = ;multiplier to cost for all units and buildings [larger means costlier] (def=1.0)
;Firepower = ;multiplier to firepower for all weapons [larger means more damage] (def=1.0)
;Groundspeed = ;multiplier to speed for all ground units [larger means faster] (def=1.0)
;ROF = ;multiplier to Rate Of Fire for all weapons [larger means slower ROF] (def=1.0)
;BuildTime = ;multiplier to general object build time [larger means longer to build] (def=1.0)
;WallOwner = ;Will this house own walls that are placed near its buildings (def=yes)?
CostInfantryMult=1.0
BuildTimeInfantryMult=1.0
CostUnitsMult=1.0
BuildTimeUnitsMult=1.0
;For info look into Ares documents
AI.PowerPlants=ZAPOWR
ParaDrop.Types=SpecialForce
ParaDrop.Num=5
;ParaDrop.Aircraft=
;Parachute.Anim=
;VeteranBuildings=
;VeteranAircraft=
;VeteranUnits=
;VeteranInfantry=
MenuText.Status=NOSTR:Outzider is very special. ;This is from menu bar
;ListIndex=1
RandomSelectionWeight=1
AIRandomSelectionWeight=1
;File.Flag=
;File.ObserverBackgound=
;File.ObserverFlag=
;File.ObserverFlagAltPalette=
;File.LoadScreen=
;File.LoadScreenPAL=
;File.Taunt=
;LoadScreenText.Color=
;LoadingTheme=
LoadScreenText.Brief=NOSTR:Outzider Tech ;lowerleft
LoadScreenText.Name=NOSTR:Outzider Force ;rightside
LoadScreenText.SpecialName=NOSTR:Outzider is formidable ;upperleft
StartInMultiplayer.Types=SpecialForce,ZAPOC
StartInMultiplayer.WithConst=no
;StartInMultiplayerUnitCost=
;AI.BaseDefenses=
;AI.BaseDefenseCounts=





[OutziderSide]
UIName=NOSTR:OutziderSide
Name=OutziderSide
Crew=SpecialForce
Engineer=ENGINEER
Technician=CTECH
DefaultDisguise=SpecialForce
SurvivorDivisor=500
AI.BaseDefenses=ZABNKR,ZAAGUN,GTGCAN
AI.BaseDefenseCounts=10,10,10
ParaDrop.Types=SpecialForce
ParaDrop.Num=5
;ParaDrop.Aircraft=
;Parachute.Anim=
;HunterSeeker=
;Sidebar.MixFileIndex=1
;Sidebar.YuriFileNames=false
;ToolTipColor=
MessageTextColor=43,239,255 ;192,0,0
LoadScreenText.Color=43,239,255 ;192,0,0
EVA.Tag=Americans



Rulesmd.ini
 Description:
full rulesmd.ini

Download
 Filename:  Rulesmd.ini
 Filesize:  885.18 KB
 Downloaded:  3 Time(s)


Last edited by Lansmozar on Thu Aug 26, 2021 12:53 am; edited 2 times in total

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Tue Aug 24, 2021 5:28 am    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
Lansmozar
Vehicle Drone


Joined: 16 Oct 2018

PostPosted: Tue Aug 24, 2021 12:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

Already done on aimd and walls before.... My problem is
the mission affected by my new side...

When i remove the newside on country statistic the mission is okey...


But when i returned the side the mission have problem like on mission 1 allied tanya wony came out..

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Wed Aug 25, 2021 4:14 am    Post subject: Reply with quote  Mark this post and the followings unread

As @m7 mentioned, you have to edit every SP map to correct the country/house index references when you add new countries/sides.

Back to top
View user's profile Send private message
Virgil
Stealth Laser Trooper


Joined: 22 Jul 2018

PostPosted: Wed Aug 25, 2021 4:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

The problem here is, that game is referring to the Country used in triggers with their index in list, not their name, so if you add one new country to rules, you will need to change all triggers involved with the list by giving +1 to the index they use, and +2 if you add two new countries...

Back to top
View user's profile Send private message
Lansmozar
Vehicle Drone


Joined: 16 Oct 2018

PostPosted: Thu Aug 26, 2021 12:47 am    Post subject: Reply with quote  Mark this post and the followings unread

i found a solution.....

my problem is when i put outzider(mynew country) on the counties like this between yuri country and GDI ihave no problems on skirmish AI, but on some mission is eror.
Spoiler (click here to read it):
[Countries]
0=Americans
1=Alliance
2=French
3=Germans
4=British
5=Africans
6=Arabs
7=Confederation
8=Russians
9=YuriCountry
10=Outzider     ;my country
11=GDI
12=Nod
13=Neutral
14=CACOUNTRY0
15=CACOUNTRY1
16=CACOUNTRY2
17=CACOUNTRY3
18=CACOUNTRY4
19=CACOUNTRY5
20=CACOUNTRY6
21=CACOUNTRY7
22=CACOUNTRY8
23=CACOUNTRY9
24=CACOUNTRY10;Add additional countries after this point.
25=Special


but if i put outzider followed on CACOUNTRY10 like this, nothing happend on mission but on the ai skirmish is crushed..
Spoiler (click here to read it):
[Countries]
0=Americans
1=Alliance
2=French
3=Germans
4=British
5=Africans
6=Arabs
7=Confederation
8=Russians
9=YuriCountry
10=GDI
11=Nod
12=Neutral
13=CACOUNTRY0
14=CACOUNTRY1
15=CACOUNTRY2
16=CACOUNTRY3
17=CACOUNTRY4
18=CACOUNTRY5
19=CACOUNTRY6
20=CACOUNTRY7
21=CACOUNTRY8
22=CACOUNTRY9
23=CACOUNTRY10;Add additional countries after this point.
24=Outzider
26=Special


so i decided to put both of outzider on the list
10=outzider   between yuricountry and GDI
25=Outzider and next to CACOUNTRY
and so far dont have problems
Spoiler (click here to read it):
[Countries]
0=Americans
1=Alliance
2=French
3=Germans
4=British
5=Africans
6=Arabs
7=Confederation
8=Russians
9=YuriCountry
10=Outzider
11=GDI
12=Nod
13=Neutral
14=CACOUNTRY0
15=CACOUNTRY1
16=CACOUNTRY2
17=CACOUNTRY3
18=CACOUNTRY4
19=CACOUNTRY5
20=CACOUNTRY6
21=CACOUNTRY7
22=CACOUNTRY8
23=CACOUNTRY9
24=CACOUNTRY10;Add additional countries after this point.
25=Outzider
26=Special

Back to top
View user's profile Send private message
MRMIdAS
Energy Commando


Joined: 17 Jul 2008

PostPosted: Thu Aug 26, 2021 8:22 am    Post subject: Reply with quote  Mark this post and the followings unread

I've not done 4th side logic, but I'd bet dollars to donuts you need an "Outzider Side" and an "Outzider Country" so I'd rename them like that, maybe "OutziderS" and "OutziderC" and see if that works.

Also, if it does, try shifting them about and seeing if the missions and skirmishes still work.

_________________
MIdAS - Turning wages into beer since 2002

Back to top
View user's profile Send private message
Lansmozar
Vehicle Drone


Joined: 16 Oct 2018

PostPosted: Wed Sep 29, 2021 10:00 am    Post subject: Reply with quote  Mark this post and the followings unread

SAMPLE 4th side country with AI and RA2 campaign.



PASTE TO DIRECTORY.rar
 Description:

Download
 Filename:  PASTE TO DIRECTORY.rar
 Filesize:  8.65 MB
 Downloaded:  9 Time(s)


Back to top
View user's profile Send private message
Concolor1
GDI Hacker


Joined: 16 Jul 2020

PostPosted: Mon Dec 06, 2021 5:15 pm    Post subject: Vanilla Campaign for ThirdSide Single Player Reply with quote  Mark this post and the followings unread

I do have a question that follows on from this. Ive been looking into the vanilla campaign for ThirdSide House. For a single player.

Now on Modenc there is a section on Campaign Progression.
https://modenc.renegadeprojects.com/Campaign_Progression

It states that its possible to make a ThirdSide Campaign in vanilla.

Now ive messed around with this and so far failed. Ive asked a few ppl that thought they knew but they failed to come up with the solution also.

Ok so heres where im at.

1>I have 3 maps, all Yuri Player House.

sov01umd.map, sov02umd.map and sov03umd.map


2>Each map is set to end after 20 seconds, the Yuri House is the winner.
3>It fails.

4>I thought I followed the rules. I added [Third Side] and simply copied the Soviet campaign codes.

So here ive the mapsselmd file where I added this.
[ThirdSide]
Anims=Anims
Sounds=NODSFX
1=Yur01
2=Yur02
3=Yur03

then further down

[Yur01]
Scenario=Sov01umd.MAP
Description=787
VoiceOver=NOD-01.AUD
MapVQ=NODMAP01.VQA
Overlays=TN02A.SHP,TG02A.SHP
Targets=1,190,100
ClickMap=NODCLK01.PCX
2=Sov02smd.MAP

[Yur02]
Scenario=sov02smd.MAP
Description=788
VoiceOver=NOD-01.AUD
MapVQ=NODMAP01.VQA
Overlays=TN02A.SHP,TG02A.SHP
Targets=1,190,100
ClickMap=NODCLK01.PCX
3=Sov03umd.MAP

[Yur03]
Scenario=sov03umd.MAP
Description=789
VoiceOver=NOD-01.AUD
MapVQ=NODMAP01.VQA
Overlays=TN02A.SHP,TG02A.SHP
Targets=1,190,100
ClickMap=NODCLK01.PCX
4=Sov04

5>Have I missed something in the editor? Next Mission maybe? Is there something I should be adding in Final Alert in the basic section.

The battle.ini Ive simply left. as the mission Md. (If its just copying the soviet campaign why change it).
Now I was told the the Sidenc03mix is made from the sidenc02 of RA2.

The sidenc files are only present in pre-yuri ra2 and contain literally copies of the ts map screen elements,
presumably because the game will crash without them. whoever wrote that modenc article must mean that you need to copy the sidenc02 and rename it sidenc03 to satisfy the game.
there is no sidenc01 or 02md so presumably the same would apply to sidenc03

If I could get my head around this I could write a tutorial as we seem to be lacking one for this subject.

Would really appreciate some insight as to how this is supposed to work as Ive a campaign in the works.

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Mon Dec 06, 2021 5:29 pm    Post subject: Reply with quote  Mark this post and the followings unread


_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Concolor1
GDI Hacker


Joined: 16 Jul 2020

PostPosted: Mon Dec 06, 2021 5:49 pm    Post subject: Reply with quote  Mark this post and the followings unread

Oh bugger, Ive never used Ares, its all new to me. I thought it could be done in vanilla, as the Modenc page never mentions it.
Is it a case of downloading and running it to find the right section to generate a Ui File, Im guessing it has to run alongside.
Is there an easy tutorial to follow through for this, and would I have to include this Ares with the campaign?
Thanks Mig Eater, guess if I want it vanilla Id have to offer each part seperate, im up to 11.

Back to top
View user's profile Send private message
Mig Eater
Defense Minister


Joined: 13 Nov 2003
Location: Eindhoven

PostPosted: Tue Dec 07, 2021 5:54 am    Post subject: Reply with quote  Mark this post and the followings unread

You can technically add more missions as the Modenc page described, but there are only 2 campaign buttons in the main menu. So it's a bit pointless unless you patch/hack the game to add more.  

Ares includes a readme file that covers the basics of its use. If you really want to use vanilla though, then you can also just replace either the Allied or Soviet missions with the new ones.

_________________



Back to top
View user's profile Send private message Visit poster's website ModDB Profile ID YouTube User URL Facebook Profile URL Twitter Channel URL
Concolor1
GDI Hacker


Joined: 16 Jul 2020

PostPosted: Tue Dec 07, 2021 6:36 am    Post subject: Reply with quote  Mark this post and the followings unread

Thanks Mig Eater, thats what I was trying to do, running the Soviet campaign but it still won't let me. Sure it plays the first mission, they all do, but when it moves onto the second mission it crashes. Despite the alterations I mentioned above.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [16 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.2025s ][ Queries: 13 (0.0131s) ][ Debug on ]