4472: lasers not working?

4472: lasers not working?

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

4472: lasers not working?

Post by Caydr »

Trying this new build, can't make any laser-type weapons work. Possibly other weapons affected as well, I haven't used it for more than 5 minutes.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Post by imbaczek »

need more details and preferably a minimal mod to reproduce that behaviour.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

beamlaser or lasercannon?

A quick test with CvC had lasercannons, beamlasers and large beamlasers working. What weapons fail for you?
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

I can't make instigators or LLTs fire, those were the two I tested. They are beam lasers. (single-segment instagib-type)

Flash on the other hand, work perfect. I did a side-by-side comparison between the Flash and Gator FBI files and there aren't any differences that would cause the unit to be unable to fire.

The attack command for Gators/LLTs isn't present at all, just "Fight". They do not turn their turrets or make any other indication that they're an armed unit.

Their weapon files are fine, although Flash's weapon file is plain "weapons.tdf" if I'm not mistaken, while the Gator's weapon is in "lasers.tdf". I have my weapons split up into major groups that way. It's never caused a problem before.

It's a clean Spring installation, and no other mods are installed (I'm using AA).

Are new gamedata/etc files needed in order to run mods? I mean, like a resources.tdf or something... Would've had to have been made a requirement in the last 2 months or so, since my build of Spring from back then worked fine.

I'll look into the problem more when I get home tonight. Could be it's a problem on my end, but I'm not sure how.
User avatar
NOiZE
Balanced Annihilation Developer
Posts: 3984
Joined: 28 Apr 2005, 19:29

Post by NOiZE »

did you try other mods?
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Post by KDR_11k »

Probably a missing } or so in lasers.tdf, the new lua parser throws the whole file out if that happens.
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Post by Caydr »

No, I didn't check any other mods. I was going through a checklist of stuff, "does this work," "does this work," "does this work," etc, in a big rush. I noticed lasers didn't, so I just made a quick post about it... rush rush rush :(
KDR_11k wrote:Probably a missing } or so in lasers.tdf, the new lua parser throws the whole file out if that happens.
Oh I see... That would probably explain it, I'll look for anything like that.
Post Reply

Return to “Engine”