About line splash.

Help - Resources - AI Scripting - Grafting - Plugins - Modding Projects
SCFAN
Posts: 14
Joined: Fri May 01, 2009 11:35 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

About line splash.

Postby SCFAN » Tue Jun 09, 2009 4:22 am

I'm trying to give the ATA lasers of the battlecruiser line splash damage so it can go through multiple targets as once. However when I set the weapon to line splash no damage was dealt on the target, it just shows the laser going through it without doing any damage on it or anything behind it. Why did that happen and how can I fix it? PS: I aslo set the missile properties to "Sub.Spines" and splash radii to 20.
IskatuMesk
Posts: 329
Joined: Wed May 16, 2007 5:57 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby IskatuMesk » Tue Jun 09, 2009 9:59 pm

It is as Baja says - the missile must be triggering damage during its travel or, oddly enough, it won't do damage when it passes over a target.

Virtually all of my shockwave explosions are built that way.
SCFAN
Posts: 14
Joined: Fri May 01, 2009 11:35 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby SCFAN » Tue Jun 09, 2009 10:46 pm

It didn't work. Please show me exactly where to put the codes.

# ----------------------------------------------------------------------------- #
# This header is used by images.dat entries:
# 218 Battlecruiser (terranBattleCr.grp)
.headerstart
IsId 66
Type 12
Init BattlecruiserInit
Death BattlecruiserDeath
GndAttkInit BattlecruiserGndAttkInit
AirAttkInit BattlecruiserAirAttkInit
Unused1 [NONE]
GndAttkRpt BattlecruiserGndAttkInit
AirAttkRpt BattlecruiserAirAttkInit
CastSpell BattlecruiserCastSpell
GndAttkToIdle BattlecruiserGndAttkToIdle
AirAttkToIdle BattlecruiserGndAttkToIdle
Unused2 [NONE]
Walking BattlecruiserWalking
WalkingToIdle BattlecruiserWalkingToIdle
SpecialState1 [NONE]
.headerend
# ----------------------------------------------------------------------------- #

BattlecruiserInit:
imgul 219 0 42 # BattlecruiserShad (terranBattleCr.grp)
playfram 0x00 # frame set 0
goto BattlecruiserGndAttkToIdle

BattlecruiserGndAttkToIdle:
wait 125
goto BattlecruiserGndAttkToIdle

BattlecruiserDeath:
playsnd 177 # TerranBATTLEtbaDth00.wav
imgol 333 0 0 # TerranBuildingExplosionmedium (thingytBangL.grp)
wait 3
end

BattlecruiserGndAttkInit:
goto BattlecruiserLocal00

BattlecruiserLocal00:
wait 1
attackwith 1
domissiledmg
gotorepeatattk
goto BattlecruiserGndAttkToIdle

BattlecruiserAirAttkInit:
goto BattlecruiserLocal01

BattlecruiserLocal01:
wait 1
attackwith 2
domissiledmg
gotorepeatattk
goto BattlecruiserGndAttkToIdle

BattlecruiserCastSpell:
imgolorig 543 # Unknown543 (thingyeycBlast.grp)
goto BattlecruiserGndAttkToIdle

BattlecruiserWalking:
imgol 220 0 0 # BattlecruiserGlow (thingytbaGlow.grp)
goto BattlecruiserGndAttkToIdle

BattlecruiserWalkingToIdle:
setvertpos 1
waitrand 8 10
setvertpos 2
waitrand 8 10
setvertpos 1
waitrand 8 10
setvertpos 0
waitrand 8 10
goto BattlecruiserWalkingToIdle
IskatuMesk
Posts: 329
Joined: Wed May 16, 2007 5:57 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby IskatuMesk » Tue Jun 09, 2009 11:41 pm

They have to go into the projectile itself, not the unit.
SCFAN
Posts: 14
Joined: Fri May 01, 2009 11:35 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby SCFAN » Wed Jun 10, 2009 12:47 am

Can you show me exactly where to add that?
IskatuMesk
Posts: 329
Joined: Wed May 16, 2007 5:57 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby IskatuMesk » Wed Jun 10, 2009 4:53 am

IskatuMesk
Posts: 329
Joined: Wed May 16, 2007 5:57 pm
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Postby IskatuMesk » Wed Jun 10, 2009 6:40 am

I have no unit sheets or anything.

You can check out Nanoapocalypse. That's the Destroyer's wave attack. Mal`Ash's would be called "Eclipse".

Mal`Ash's wave attack pretty much does what it was intended to do, which was decimate every unit it hits and kill all buildings at close and moderate ranges (the shockwave extends to about 1/4 of a 128x128 map.)

[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Return to “StarCraft Modding”

Who is online

Users browsing this forum: No registered users and 1 guest