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.
[2026-4-26. : 1:58 pm]
lil-Inferno -- ya
[2026-4-25. : 11:50 pm]
JamaL -- Glad to see SEN will never die. Kudos to whoever is paying the hosting fees these days!
[2026-4-25. : 3:37 pm]
NudeRaider -- (-.-,)
[2026-4-25. : 3:35 pm]
Zoan -- ;o I thought that was a monkey emote
[2026-4-25. : 3:34 pm]
Zoan -- :mods:
[2026-4-25. : 3:34 pm]
Zoan -- :mods"
[2026-4-25. : 3:20 pm]
NudeRaider -- Vrael
Vrael shouted: moderation? on SEN? in 2026? completely localized in anoeth47's topic? at this time of year?
boy, if you're not careful I'll moderate your sorry ass too!
[2026-4-25. : 3:06 pm]
RIVE -- Yyyes. Don't you see it?
[2026-4-25. : 2:11 pm]
Vrael -- moderation? on SEN? in 2026? completely localized in anoeth47's topic? at this time of year?
[2026-4-25. : 1:39 pm]
NudeRaider -- anoeth47
anoeth47 shouted: Can I get a moderator/lord of the forum to clean up my topics - delete posts not really part of the topic.
send me the links of the posts you want deleted via pm
Please log in to shout.


Members Online: NiceNowIHaveAName