Thread: Prism Logic
View Single Post
Old 05-04-2006, 11:27 PM   #1 (permalink)
CobraG0318
Junior Member
 
Join Date: May 2006
Posts: 9
Send a message via AIM to CobraG0318
Default Prism Logic

I've been modding the prism tanks and prism towers in RA2/Non-YR, to bring better balance to the force. Basically, fixed where prism tanks would out-range static defences, i.e. prims tower, tesla coil. etc. That went well, but now I'm wanting to make it where the prism tanks can link together, like the towers do, and possibly link to the towers.

What I've tried.
I've bypassed the turret workaroud bit and set it up like a normal tank, with primary=Comet and given them secondary=prismsupp, which is the dummy weapon used by the towers. I checked the prism support logic near the beginning of the ini file, and even added the prism tank's ID to that of the tower at "PrismType=ATESLA; " to look like "PrismType=ATESLA,SREF;", and a couple of other variations wich only seemed to break the towers.

This didn't work, the prism tank works good with the primary weapon, but it won't link up automatically if one fires. Nor will it link if a tower fires. I tried a force fire, which it will fire it's primary, and thus damage the tank/tower I was trying to link it to.

I tried comparing the tesla trooper and tesla coil scripts to see if that shed any light on how to link 2 units. Nothing there really.

Any ideas? I'm beginning to suspect that it's hardcoded in the logic.

I have not tried giving them only the secondary weapon yet. This may be a good way to find out if it's hard coded, but even if it works there, but doesn't when they have a primary, what's the point?
CobraG0318 is offline   Reply With Quote