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 4:40 pm
All times are UTC + 0
Map has error...?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [5 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Bugsey827
Grenadier


Joined: 15 Apr 2008

PostPosted: Fri Aug 14, 2009 12:35 pm    Post subject:  Map has error...? Reply with quote  Mark this post and the followings unread

OK... as you may not be aware or care about, I'm making a mod for YR, and I'm sooo close to finishing making the Campaign. But, the final Allied mission is Moscow has an error, and I'm not sure why. It appears as random whenever things are destroy, and these things are not objectives, or trigger other stuff to happen: The first time it was a refinary, and 2nd, a Tesla coil, and the 3rd, a MKII Apocalypse. Everytime it has an error, it closer to when I started the level. the 3rd error happened about 3 minutes through, and I played for atleast 10 minutes the first time.

Here is all the coding I used in the map. Could somebody please check for Errors?

Rulesmd.ini
Code:

[CARUS03]
Capturable=yes
NeedsEngineer=yes
Strength=5000
CanBeOccupied=no
MaxNumberOccupants=0
;DistributedFire=no
CanOccupyFire=no

[GAYARD]
TechLevel=-1

[NAYARD]
TechLevel=-1

[NukeSpecial]
RechargeTime=20

[IronCurtainSpecial]
RechargeTime=10

[GENERAL]
SecretInfantry=none

SecretUnits=TSAR

SecretBuildings=none

[FKREMLIN]
Capturable=yes
NeedsEngineer=yes
Strength=5000
CanBeOccupied=no
MaxNumberOccupants=0
;DistributedFire=no
CanOccupyFire=no

[CAFNCP]
Strength=200
Crushable=no

[CombatDamage]
DestroyableBridges=no  ; Can bridges be destroyed?
BridgeStrength=1500000000  ; strength of bridge [smaller means more easily destroyed]

[BEAG]
Owner=British,French,Germans,Americans,Alliance
RequiredHouses=British

[GTGCAN]
Owner=British,French,Germans,Americans,Alliance
RequiredHouses=British

[AMRADR]
Owner=British,French,Germans,Americans,Alliance
RequiredHouses=British

[GAAIRC]
ForbiddenHouses=British

[TNKD]
Owner=British,French,Germans,Americans,Alliance
RequiredHouses=British

[Arabs]
UIName=Name:Arabs
Name=Arab Union
Suffix=Soviet
Prefix=B
Color=NeonGreen
Multiplay=yes
Side=Nod
SmartAI=yes
;IncomeMult=1.2


AImd.ini... this isn't that important. Could this be the Error? I'm not sure how to get this stuff to work. Something to do with AI triigers...? No idea how to use them.
Code:

[0CD9CF1C-G]
Name=6 KGB
0=6,KGB
Group=-1

[0D2F847C-G]
Name=8 Shock T
0=8,SHK
Group=-1

[0D081B0C-G]
Name=4 KGB, 1 KGB Officer, 5 Tesla
0=4,KGB
1=1,KGBOFF
2=5,SHK
Group=-1

[0D0812BC-G]
Name=10 Tesla, 2 Engineers
0=10,SHK
1=2,SENGINEER
Group=-1

[0D30551C-G]
Name=10 KGB, 3 KGB Officer, 10 Tesla, 3 Commando
0=10,KGB
1=3,KGBOFF
2=10,SHK
3=3,SHKCOM
Group=-1

[0D3052DC-G]
Name=5 Flak, 3 KGB, 6 Shock, 1 Commando
0=5,FLAKT
1=3,KGB
2=6,SHK
3=1,SHKCOM
Group=-1

[0A37731C-G]
Name=2 Rhino, 1 Flak Track, 1 MKII Rhino, 2 WZ-10
0=2,HTNK
1=1,HTK
2=1,XTNK
3=2,WZTEN
Group=-1

[0A427B9C-G]
Name=3 Rhino, 2 Flak, 1 Apocalypse, 1 WZ-10
0=2,HTK
1=3,HTNK
2=1,APOC
3=1,WZTEN
Group=-1

[0ACDC72C-G]
Name=4 Rhino, 2 Flak, 2 Apocalypse, 1 MKII Apocalypse, 5 KGB, 10 Tesla Trooper, 2 Commando, 1 Tsar Tank
0=2,HTK
1=4,HTNK
2=2,APOC
3=1,MASS
4=5,KGB
5=10,SHK
6=2,SHKCOM
7=1,TSAR
Group=-1

[0ACDDC9C-G]
Name=5 V3
0=5,V3
Group=-1

[0ACDDA5C-G]
Name=5 V3, 2 Flak, 2 MKII Rhino, 3 KGB Officers
0=5,V3
1=2,HTK
2=2,XTNK
3=3,KGBOFF
Group=-1

[0ACDD81C-G]
Name=2 Flak Track, 4 Shock, 3 V3
0=3,V3ROCKET
1=4,SHK
2=2,HTK
Group=-1

[0ACDADEC-G]
Name=5 Rhino Tanks, 3 MKII Rhino
0=5,HTNK
1=3,XTNK
Group=-1

[0ACDA62C-G]
Name=4 Apoc, 2 MKII Apocalypse, 1 Tsar Tank
0=4,APOC
1=2,MASS
2=1,TSAR
Group=-1

[0EC2118C-G]
Name=8 Apoc, 4 MKII Apocalypse, 2 Tsar Tank, 4 WZ-10
0=8,APOC
1=4,MASS
2=4,WZTEN
3=2,TSAR
Group=-1

[0EC204BC-G]
Name=10 Subs, 4 Squid
0=10,SUB
1=4,SQD
Group=-1

[0EC2027C-G]
Name=3 Dread, 3 Scorps, 3 Squid, 6 Subs
0=3,DRED
1=3,HYD
2=3,SQD
3=6,SUB
Group=-1

[0C90985C-G]
Name=1 Terror Drone
0=1,DRON
Group=-1

[0EC24A6C-G]
Name=1 Terror Drone
0=1,DRON
Group=-1

[0EC2482C-G]
Name=3 Tesla Tank, 3 Rhino, 1 MKII Apocalypse, 2 MKII Rhino, 1 Tsar Tank
0=3,TTNK
1=3,HTNK
2=1,MASS
3=2,XTNK
4=1,TSAR
Group=-1

[0EC245EC-G]
Name=1 Flak Track, 5 Terrorists, 3 MKII Apocalypse, 20 Tesla
0=1,HTK
1=5,TERROR
2=3,MASS
3=20,SHK
Group=-1

[0EC7C19C-G]
Name=2 Desolators, 1 Apocalypse, 1 MKII Apocalypse
0=2,DESO
1=1,APOC
2=1,MASS
Group=-1

[0EC797DC-G]
Name=2 Demo Truck, 2 Apocalypse, 1 MKII Apocalypse, 7 KGB, 10 Shock, 3 Commando
0=2,DTRUCK
1=2,APOC
2=1,MASS
3=7,KGB
4=10,SHK
5=3,SHKCOM
Group=-1

[0EC7959C-G]
Name=4 Kirov
0=4,ZEP
Group=-1

[0EC7935C-G]
Name=8 Kirov
0=8,ZEP
Group=-1

[08A2824C-G]
Name=1 Flak, 5 Engineers
0=1,HTK
1=5,SENGINEER
Group=-1

[0A42EAEC-G]
Name=Flak Track, 5 Ivans
0=1,HTK
1=5,IVAN
Group=-1

[0D2C5DCC-G]
Name=5 Tesla, 5 Flak Troopers
0=5,SHK
1=5,FLAKT
Group=-1

[0A31360C-G]
Name=1 Soviet Engineer
0=1,SENGINEER
Group=-1

[0ECCF03C-G]
Name=1 War Miner
0=1,HARV
Group=-1

[0ECC96CC-G]
Name=1 Chrono Miner
0=1,CMIN
Group=-1

[0A313C6C-G]
Name=2 soviet dogs
0=2,DOG
Group=-1

[0D082E0C-G]
Name=2 Soviet Dogs
0=2,DOG
Group=-1

[0D02070C-G]
Name=4 Kirovs
0=3,ZEP
Group=-1

[0C9E903C-G]
Name=7 Flak Troopers
0=7,FLAKT
Group=-1

[0C1510CC-G]
Name=2 Rhino, 1 MKII Rhino, 1 Flak Track
0=2,HTNK
1=1,XTNK
2=1,HTK
Group=-1

[0D27D04C-G]
Name=2 Rhinos, 1 Apocalypse
0=2,HTNK
1=1,Apocalypse
Group=-1

[0A454A8C-G]
Name=2 Terror Drones
0=2,DRON
Group=-1

[0A36DDEC-G]
Name=5 Shock Trooper, 1 Commando
0=5,SHK
1=1,SHKCOM
Group=-1

[07C338DC-G]
Name=10 KGB, 1 KGB Officer
0=10,KGB
1=1,KGBOFF
Group=-1

[07C47F1C-G]
Name=2 Siege Choppers, 2 WZ-10
0=2,SCHP
1=2,WZTEN
Group=-1

[0D0817DC-G]
Name=10 KGB, 2 KGB Officers
0=10,KGB
1=2,KGBOFF
Group=-1

[0D0816CC-G]
Name=5 KGB, 6 Shock T, 2 Commando
0=6,SHK
1=5,KGB
2=2,SHKCOM
Group=-1

[0D0814DC-G]
Name=6 Flak T, 6 Shock T, 1 Commando
0=6,FLAKT
1=6,SHK
2=1,SHKCOM
Group=-1

[0D082F1C-G]
Name=1 Soviet Engineer
0=1,SENGINEER
Group=-1

[0D08269C-G]
Name=1 Desolator, 1 MKII Apocalypse
0=1,DESO
1=1,MASS
Group=-1


Ahhhghghhh! Long! #Good Gift

Back to top
View user's profile Send private message Visit poster's website Skype Account
Lin Kuei Ominae
Seth


Joined: 16 Aug 2006
Location: Germany

PostPosted: Fri Aug 14, 2009 1:12 pm    Post subject: Reply with quote  Mark this post and the followings unread

i flew over the code and just found this
Code:

[0ACDD81C-G]
Name=2 Flak Track, 4 Shock, 3 V3
0=3,V3ROCKET
1=4,SHK
2=2,HTK
Group=-1

you force the ai to create a [V3ROCKET] instead of the [V3] unit

Due to the special missile behaviour this could be the reason for the random crashes.

My suggestion is you go very precisely over your code again and check if all the units you've listed in the teams do really exist and are written correct.

_________________
SHP Artist of Twisted Insurrection:  Nod buildings

Public SHPs
X-Mech Calendar (28 Mechs for GDI and Nod)
5 GDI, 5 Nod, 1 Mutant, 1 Scrin unit, 1 GDI building

Tools
Image Shaper______TMP Shop______C&C Executable Modifier

Back to top
View user's profile Send private message
Dutchygamer
President


Joined: 18 Jun 2005
Location: Dordrecht, the Netherlands

PostPosted: Fri Aug 14, 2009 2:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Lin Kuei Ominae wrote:
i flew over the code and just found this
Code:

[0ACDD81C-G]
Name=2 Flak Track, 4 Shock, 3 V3
0=3,V3ROCKET
1=4,SHK
2=2,HTK
Group=-1

you force the ai to create a [V3ROCKET] instead of the [V3] unit

Due to the special missile behaviour this could be the reason for the random crashes.

My suggestion is you go very precisely over your code again and check if all the units you've listed in the teams do really exist and are written correct.

That's probably not it LKO: it's a WW error as it's in the standard RA2 AI too Wink

Back to top
View user's profile Send private message Send e-mail Skype Account
crevio
Commander


Joined: 19 Apr 2009

PostPosted: Fri Aug 14, 2009 3:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

Whenever an AI unit,building is destroyed it tells the AI to build something else to replace the missing unit/building. So it sounds like after you kill something the AI is trying to build something that is not there. Like LKO said, check over everything and make sure everything is availalbe to the AI.

Back to top
View user's profile Send private message
Bugsey827
Grenadier


Joined: 15 Apr 2008

PostPosted: Fri Aug 14, 2009 8:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Thanks for your help everyone! It works now! I really should have read it more than once before posting a topic of it on here, but oh well Wink

I'm just sooo glad it works. THE. CAMPAIGN. IS. COMPLETED!! I've just got to make the loading screens, and some other stuff. But I can't remember what program I used to make the Soviet loading screens. Does anyone know? I'll hunt around for it on my PC as well.
Once again, thanks!!!

Wizard

Back to top
View user's profile Send private message Visit poster's website Skype Account
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [5 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.1573s ][ Queries: 11 (0.0086s) ][ Debug on ]