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.
[10:13 pm]
Oh_Man -- No APM in chess. Computer just outthinks the human by seeing more moves ahead and more permutations
[10:12 pm]
Oh_Man -- U reckon? Kasparov waa defeated by computer decades ago
[05:47 pm]
NimoStar -- If its any consolation, the human brain would still mop the floor with this bot if it wasn't limited by the mechanical interface
[05:34 pm]
NimoStar -- Well. The bot didn't come up with any new strategy. It just has superhuman micro. Hard to beat that. I reckon even the simplest dedicated chess engines are unbeatable for humans now.
[02:13 pm]
Oh_Man -- all g
[10:54 am]
NudeRaider -- Oh_Man
Oh_Man shouted: NudeRaider did u watch the entire video? it's not one game. it's currently dominating the ladder at number 1 position. do ur research first!
Oops, caught me there, no I haven't. :( I was imagining how the game went. Sorry for that. Watching it now. brb
[10:52 am]
NudeRaider -- NimoStar
NimoStar shouted: They were not "Unprepared" that was their fifth loss in a row against the bot. The other replays are also available
that doesn't mean he was prepared. When humans come around with new strategies it often takes weeks until the pros figure out how to shut it down. Oh_Man that's certainly a way more convincing argument for micro being "too good to beat".
[09:43 am]
DiearAnother -- wirefram
[08:35 am]
NimoStar -- Well, pros showed that long ago... half of zerg pros just ling muta rush
[08:35 am]
NimoStar -- " its shown is that you can trade 1000's of apm to make up for lack of strategy"
Please log in to shout.


Members Online: Rawflesh0615