Modding, Mission Design, and Coding > Modding Tutorials

One-Stop-Shop Player-Flyable Capship Tutorial

<< < (3/4) > >>

Dragon:

--- Quote from: Lepanto on February 25, 2014, 03:43:50 pm ---FYI, the Capship Control Script doesn't recognize turrets with weird names, like the Orion's chin-mounted BGreen, which is labeled 'turret01a'.

--- End quote ---
My version should, I've used it on ships with turrets called "turret01a". I originally tested it on Scooby's destroyer, which did have such turrets. Though it was a long time ago, maybe it was a different version, simpler version (I've originally messed with BP CSC script attempting to convert it for other ships).

Lepanto:
I've used it on the Orion, and it isn't recognizing the forward chin BGreen turret; all the other beams, with turretXX names, work just fine, but it definitely isn't working for me.

Dragon:
I was pretty convinced it worked, but it might have something to do with this being a beam. Do the large blobs work properly? The guns I've used on "turretXXa" were also blobs.

Lepanto:
I know this is rather late, but I've finally tested the Orion's blob turrets with your script. Oddly enough, the CSC script recognizes 6 out of 7 of the Orion's standard laser turrets, of which 4 are blob turrets. I haven't detected why the script recognizes most of the Orion's turrets, but ignores a couple of them. I'm hoping to release the next Battle Captains mission by the end of the month, so if you could help me fix the problem and get all the Orion's beams working with the CSC script, that would be appreciated. Thank you!  :)

Attached is the modified version of your CSC script I'm using (named bp2-csc-sct to override the version already found in WiH), if that'll help. The only changes should be the addition of some new group and weapon entries.

[attachment deleted by an evil time traveler]

Dragon:
I have less time than I'd want to have, but I'll take a look. One thing you could check yourself is case consistency. IIRC, a whole lot of things in LUA are case-sensitive, and that might include turret names. It's just a guess, but this kind of odd behavior might stem from turret being named, for instance, "Turret01A" instead of "turret01a". I'll test when I have the time, but I'm afraid it might not be the case for quite some time.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version