Staredit Network

Staredit Network -> Modding Assistance -> Max hit? [SOLVED]
Report, edit, etc...Posted by Dark_Prophet on 2005-11-27 at 11:40:06
ok well i just have a quick question what does the max hit mean when your editing a units weapon and also can somebody help me make a really fast moving unit and how do you change the range of a weapon??
Report, edit, etc...Posted by Ermac on 2005-11-27 at 13:45:08
Max hit is how many times the weapon will be used
(the valkyrie has 4 max hits for example, because it launches 4 pairs of rockets)

The weapon range can be changed in arsenal III weapon editor:

ADDITION:
As for the speed, open flingy editor in Arsenal III and edit the speed:
Report, edit, etc...Posted by DT_Battlekruser on 2005-11-27 at 14:40:49
Wrong. Max hit is just a prettyful string to display in the editor. I never saw the purpose. It might multiply the damage displayed for the weapon ingame, but I doubt it.

The number of times a weapon is used is controlled by occurences of the UseWeap() command in the attack animation.
Report, edit, etc...Posted by Oo.Insane.oO on 2005-11-27 at 15:34:34
Wow I always thought that the max hit thing was the amount of dmg each upgrade increases but I guess I was wrong
Report, edit, etc...Posted by Ermac on 2005-11-27 at 16:39:49
QUOTE(Insane @ Nov 27 2005, 03:34 PM)
Wow I always thought that the max hit thing was the amount of dmg each upgrade increases but I guess I was wrong
[right][snapback]365920[/snapback][/right]


The amount of damage increased after the upgrade, is below the amount box in Arsenal III weapon editor and is called "bonus"
Report, edit, etc...Posted by Darius.DeValle on 2005-11-27 at 16:47:39
I think that it does multiply the overall damage ratio, to an extent, for some units, while for the Valkyrie, I've noticed that when any of the values are changed, it determines, how many times the missiles will launch before cooldown.

So, if you set the factor to 2, the Max hit to 4 and the cooldown to 20, it will launch 2 missiles 4 times before cooldown. Rinse and repeat.

Honestly, though, I think it's ann iscript thing, since the Valkyrie is scripted to allow 4 missiles to launch at once. Change how many missile/projectiles are allowed for a unit in the iscript, then change the Max hit, and you're golden.

Now, as for the speed editing, you can modify how fast some units, such as the Warith, Vulture, dropship, and most Terran Buildings, the workers, and some others, in the flingy editor in Arsenal III. Just change a value until you have the speedy unit you like. Others have to be edited in iscript, but I can't help you there; I'm kinda new to it myself.

The weapon range is edited in the Weapon editor of Arsenal III. Look for a boxto the top left that says attack ranges. Minimum is for how far from the target you have to be from (think Siege tank in siege mode) while maximum is the max range of the unit. It's all in matrices, but just look at the other weapon ranges for the 'norm' and modify from there.

Hope that helped some.
Report, edit, etc...Posted by BSTRhino on 2005-11-27 at 21:31:28
QUOTE(DT_Battlekruser @ Nov 28 2005, 08:40 AM)
Wrong.  Max hit is just a prettyful string to display in the editor.  I never saw the purpose.  It might multiply the damage displayed for the weapon ingame, but I doubt it.

The number of times a weapon is used is controlled by occurences of the UseWeap() command in the attack animation.

[right][snapback]365868[/snapback][/right]

Yeah, he's pretty much right. Max hit is there for looks, StarCraft doesn't read the value.
Report, edit, etc...Posted by DT_Battlekruser on 2005-11-27 at 21:57:53
What does Starcraft multiply the editor damage by to print the "damage" amount ingame?
Report, edit, etc...Posted by Voyager7456(MM) on 2005-11-27 at 22:02:38
I think it's the "Factor" box in Arsenal III.
Report, edit, etc...Posted by BSTRhino on 2005-11-27 at 22:07:20
That's right Voyager. In addition, the Firebat, Zealot and maybe some other units that exist but I can't remember always have their weapon values multiplied by two before being multiplied by the factor value.
Report, edit, etc...Posted by Voyager7456(MM) on 2005-11-27 at 22:16:08
Oh really? That explains the trouble I had with the Firebat... Thanks BST! tongue.gif
Report, edit, etc...Posted by DiscipleOfAdun on 2005-11-28 at 10:08:13
Also, Firebats, Zealots, and Fenix(Zealot) also have their display value doubled via the engine. For example, the normal Zealot's Psi blade shows 8 when you edit it. But, in the game, it shows 16. Same for the other two units. If max hits were going to be implemented anywhere, it would be here first, but it isn't.
Next Page (1)