Thread: MCV effect
View Single Post
Old 06-24-2003, 03:28 PM   #1 (permalink)
kornlord283
Member
 
Join Date: Feb 2003
Location: not really shure
Posts: 74
Send a message via ICQ to kornlord283 Send a message via AIM to kornlord283 Send a message via MSN to kornlord283
Default MCV effect

okay, I have been trying to create a MCV effect for my mod AR3

First, background...one side, Dezhor, starts a skirmish/multiplayer game with a Battle Command (commandcenter barracks) and 2 MCVs. One MCV deploys into a Assembly Bay (warfactory), the other into a Nexus (primary powerplant).

Now, for the MCV effect to be achieved, this was my original approach: Each MCV would have 2 OCLs triggered by an object upgrade. The upgrade would be instant. The first OCL created the structure itself. The second created an invisible unit that auto-fired a suicide weapon. That same unit also had a deathweapon that killed only the MCV with a special weapontype that only affected the MCV armor.

Theoretically, this should work. However I tested it ingame and it crashed. The ReleaseCrashInfo.txt only gave me a "; Reason Uncaught Exception during initialization.", so that wasn't very useful. I tried different things to avoid the crash, but it always occured.

I then decided to instead give each MCV a lifetime of 30 seconds. This was plenty of time to let the player deploy the MCV. However, I knew that I couldn't keep this method, so I am searching for a new way.

If anyone know of a better way or a solution to my original approach, I would really like to know, as this is a serious problem to the mod.
kornlord283 is offline   Reply With Quote