Staredit Network

Staredit Network -> Modding Assistance -> Changing Listed Weapon Damage
Report, edit, etc...Posted by EzDay281 on 2006-03-24 at 15:40:23
Alright, I'm wondering how I can change the listed weapon damage for various weapons.
For example, I want Marine to display "Damage per shot: X"(similar to Valkyrie), and I want Firebat to display 3x damage, isntead of 2x.
Report, edit, etc...Posted by nirvanajung on 2006-03-24 at 19:41:47
there are many ways to like that
Typically when appear weapons motions that is under the control of weapon.dat and iscript.bin

first off, it can make to similar with weapon.dat editing
if cooldown time be faster then would be play to like similar that
but that is not enough to mind

to make more effective u have to edit script

marines:

add Attack opcode 2~3 times and should insert " wait #" values as u want between each Attack codes

then will playing looks multiple shot in one breath
if u not figure out that exactly then try with reference to Valkyrie's Script

firebat is do like as remarked above
firebat has attack use with differece opcode but basic using opcode form is similar

i would not give answer to u totally and exactly...that why is for rising of ur power
but i gave u almost solution..... wink.gif
Report, edit, etc...Posted by EzDay281 on 2006-03-24 at 23:01:25
I know how to change their attack, I'm trying to change their LISTED attack.
As in - my Firebat fires 3 grenades of 9 damage, which means 27 total damage. However, Starcraft automaticaly says "Okay, we'll say 2x damage.", so when I hover my cursor over its weapon, it says 18.

As for Marine, I made it such that it fires a variable number of shots based on its distance from the target, but the minimum is 2, so it can do anywhere from 2 to 5 times the damage that it says it does - extremely misleading. So, I'd like to make it say "Damage per shot:", instead of just "Damage:".
Report, edit, etc...Posted by nirvanajung on 2006-03-25 at 00:51:13
ok i see ur means
u're saying is want change description text of weapon damge in display box right?
i think that is not under controled of iscritpt.bin

maybe that need to change calculation basis of SC game engine

i had been changed many shooting weapon's of times with script
but there is no way to change displyed wepons damage variable number as correct
Report, edit, etc...Posted by BroodKiller on 2006-03-25 at 13:40:39
Play with the "Factor" property is weapons.dat. it produces interesting effects related precisely to your problem.
Report, edit, etc...Posted by EzDay281 on 2006-04-04 at 16:59:39
Doesn't the factor also effect the unit's damage too though?
Report, edit, etc...Posted by Voyager7456(MM) on 2006-04-04 at 17:15:34
I'm pretty sure factor only determines the listed damage.
Report, edit, etc...Posted by DiscipleOfAdun on 2006-04-05 at 09:26:40
Umm, nirvanajung was closest. The firebats and zealots multiplier is hardcoded, so it will always show up as 2x, but factor is included into that before it is doubled, if I remember correctly. Something for me to think about for Firegraft, eh? Factor messes with the damage also, and partially with how many weapons are launched. I cannot explain it, and sometime I will, but the way I did the air weapon for the Avenger for SCR messes with launch angles, factor, and multiple shots. I actually got it to be somewhat random on whether it launches from the left or the right.
Report, edit, etc...Posted by BroodKiller on 2006-04-06 at 10:01:44
Well, Factor makes the unit double-attack if it set to 2. Other than this, the unit will attack only once, BUT the damage listed will be multiplied by the factor's value.
Report, edit, etc...Posted by EzDay281 on 2006-04-13 at 15:34:54
QUOTE
The firebats and zealots multiplier is hardcoded

Ah. That sucks.
Would this also apply to the Valkyrie's "damage per missile:", too?
Next Page (1)