chainlightning trap

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

kulasdq
Posts: 37
Joined: Tue May 04, 2021 6:04 pm
United States of America

chainlightning trap

Post by kulasdq » Tue Aug 24, 2021 6:39 pm

I tried to make asn's trap shoot chainlightning. So I found that sentry lightning is the skill used by the trap, and then basically copy/ paste chain lightning to it. Then in the missiles.txt, I did the same with sentrylightningbolt, to which I copy/ paste chainlightning. But in the game, the trap doesn't create any chain effect, it still shoots one straight lightning. Anyone can help me with it?

User avatar
Cypress
Moderator
Champion of the Light
Posts: 452
Joined: Fri Dec 01, 2017 2:08 am

Re: chainlightning trap

Post by Cypress » Thu Aug 26, 2021 10:53 pm

Chain Lightning requires a few settings to work. Namely: you want to use srvmissilea (not srvmissile) and cltmissilea (not cltmissile), srvdofunc=26, cltdofunc=27, aurarangecalc=target search radius, clc1=number of hits. It also requires missiles.txt: pclthitfunc=16,psrvhitfunc=12; although these settings should already be fine if you are referencing the chainlightning missile.

Return to “General Mod Making”