Staredit Network > Forums > Modding Assistance > Topic: Iscript..
Iscript..
Nov 1 2008, 7:19 pm
By: XenoBlight  

Nov 1 2008, 7:19 pm XenoBlight Post #1



i want to shoot battlecruiser like hell (ground). i placed 1cooldown on dataedit but ir didnt satisfy me
so i manage to mingle w/ iscript of battlecruiser i tried it and it didnt work.

Code
BattlecruiserInit:
    imgul               219 0 42     # BattlecruiserShad (terran\BattleCr.grp)
    playfram           0x00     # frame set 0
    goto               BattlecruiserGndAttkToIdle

BattlecruiserGndAttkToIdle:
    wait               125
    goto               BattlecruiserGndAttkToIdle

BattlecruiserDeath:
    playsnd             177     # Terran\BATTLE\tbaDth00.wav
    imgol               333 0 0     # TerranBuildingExplosionmedium (thingy\tBangL.grp)
    wait               3
    end                

BattlecruiserGndAttkInit:
    imgol               446 0 0     # BCLaserFireOverlay (thingy\elbBat.grp)
    goto               BattlecruiserLocal00

BattlecruiserLocal00:  (i remember it worked before but i think i forgot something....)
    wait               1
    attackwith         1
    wait               2
    attackwith         1
    wait               2
    attackwith         1

BattlecruiserLocal03:
    randcondjmp         192 BattlecruiserLocal01
    playsndrand         3 180 181 183     # Terran\BATTLE\tbapss00.wav, Terran\BATTLE\tbapss01.wav, Terran\BATTLE\tbapss03.wav
BattlecruiserLocal01:
    gotorepeatattk    
    goto               BattlecruiserGndAttkToIdle

BattlecruiserAirAttkInit:
    imgol               446 0 0     # BCLaserFireOverlay (thingy\elbBat.grp)
    goto               BattlecruiserLocal02

BattlecruiserLocal02:
    wait               1
    attackwith         2
    goto               BattlecruiserLocal03

BattlecruiserCastSpell:
    imgolorig           543     # Unknown543 (thingy\eycBlast.grp)
    goto               BattlecruiserGndAttkToIdle

BattlecruiserWalking:
    imgol               220 0 0     # BattlecruiserGlow (thingy\tbaGlow.grp)
    goto               BattlecruiserGndAttkToIdle

BattlecruiserWalkingToIdle:
    setvertpos         1      (up to know setvertpos puzzles me of its func.)
    waitrand           8 10  (and waitrand also...)
    setvertpos         2
    waitrand           8 10
    setvertpos         1
    waitrand           8 10
    setvertpos         0
    waitrand           8 10
    goto               BattlecruiserWalkingToIdle


Post has been edited 1 time(s), last time on Nov 1 2008, 7:28 pm by Reindeer Breeder. Reason: SEN's codeboxes are wayyyyyy too small.



None.

Nov 1 2008, 7:31 pm Symmetry Post #2

Dungeon Master

I don't understand the point of

Code
BattlecruiserLocal03:
   randcondjmp         192 BattlecruiserLocal01
   playsndrand         3 180 181 183     # Terran\BATTLE\tbapss00.wav, Terran\BATTLE\tbapss01.wav, Terran\BATTLE\tbapss03.wav
BattlecruiserLocal01:
   gotorepeatattk    
   goto               BattlecruiserGndAttkToIdle


Is that there for any particular reason? Try axing that part of the iscript and see if it works.



:voy: :jaff: :voy: :jaff:

Nov 2 2008, 9:52 am XenoBlight Post #3



umm... what i axing?



None.

Nov 2 2008, 11:52 am EzDay281 Post #4



Quote
umm... what i axing?
If you're asking what he wants you to "ax", then probably the unneeded part of the iscript - i.e., just imgol, wait-attack-wait-etc, playsndrand, repeat attack, goto atktoidle, instead of the randcndjump and unnecessary header jumps.

If you're asking what "axing" is, it means to remove ( like, "chopping off with an axe" ) .
Quote
(up to know setvertpos puzzles me of its func.)
(and waitrand also...)
Setvertpos moves the graphic up/down, which is why some air units "bounce" when idle, instead of just holding still.
Waitrand is like wait, except that it has more than 1 value and just chooses which time to use randomly.

'Twould help to tell what exactly happens when you attack with it - what goes wrong, how, and when.



None.

Nov 5 2008, 3:35 pm XenoBlight Post #5



so thats what setvertpos means...

sorry for the problem above. there was a mistake, i forgot to to add the .bin on the iscript file so it will natruraly wont work.

now the burst laser has 2 animation first it will fire a laser then a small explosion will appear. what i want is to replace the second animation to other one like nuclear explosion.

my problem is where and how on icecc should i do it?



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[04:56 am]
Ultraviolet -- I suppose we'll likely never know, but my guess would be that they already saw it operating successfully and there was no monetary incentive to finish the original work. And the dev cycle in old school Blizzard was so hectic, it's possible it just got forgotten about after the original game got released. Plus there's an element of existing MPQ files that were packaged with the original discs becoming outdated if they updated it. And it's not like they remade the original MPQs, they just made new ones for BW specifically
[04:26 am]
Oh_Man -- so that makes me think maybe the theory they are unfinished is not true and its a deliberate design decision, coz why not finish them wen ur making brood war?
[04:25 am]
Oh_Man -- the thing is thos buildings are from classic. that means they went ahead and made brood war without ever finishing the 'unfinished' buildings
[2026-6-20. : 6:15 pm]
Ultraviolet -- Yeah he's talked about a lot of that stuff in his casts before. It seems plausible. Especially knowing how Blizzard of yesteryear operated.
[2026-6-20. : 3:47 pm]
NudeRaider -- to clarify: couldn't recall the behavior for every single Protoss building but I was aware the disparity exists.
[2026-6-20. : 3:43 pm]
NudeRaider -- Contained nothing new for me. Didn't know all building's behavior, but very much all unit's. Also Terran balance whine - also nothing new :lol:
[2026-6-19. : 9:57 am]
Oh_Man -- makes me wonder if SEN knows anything about the topic
[2026-6-19. : 9:57 am]
Oh_Man -- artosis dropped pretty interesting vid: https://youtu.be/EqZHB8Blra4
[2026-6-18. : 5:01 pm]
Ultraviolet -- :wob:
[2026-6-17. : 6:15 am]
RexyRex -- :wob:
Please log in to shout.


Members Online: Andrea Rosa