Staredit Network > Forums > Modding Assistance > Topic: code not working?
code not working?
Mar 6 2009, 10:20 am
By: thunderaga  

Mar 6 2009, 10:20 am thunderaga Post #1



Code
PylonIsWorking:
    playfram               0x00     # Frame set 0
    wait                   1
    playfram               1     # Frame set 0, direction 1
    wait                   1
    playfram               2     # Frame set 0, direction 2
    wait                   1
    playfram               3     # Frame set 0, direction 3
    wait                   1
    playfram               4     # Frame set 0, direction 4
    wait                   1
    playfram               5     # Frame set 0, direction 5
    wait                   1
    playfram               6     # Frame set 0, direction 6
    wait                   1
    playfram               7     # Frame set 0, direction 7
    wait                   1
    playfram               8     # Frame set 0, direction 8
    wait                   1
    playfram               9     # Frame set 0, direction 9
    wait                   1
    playfram               10     # Frame set 0, direction 10
    wait                   1
    playfram               11     # Frame set 0, direction 11
    wait                   1
    playfram               12     # Frame set 0, direction 12
    wait                   1
    playfram               13     # Frame set 0, direction 13
    wait                   1
    playfram               14     # Frame set 0, direction 14
    wait                   1
    playfram               15     # Frame set 0, direction 15
    wait                   1
    playfram               16     # Frame set 0, direction 16
    wait                   1
    playfram               0x11     # Frame set 1
    wait                   1
    playfram               18     # Frame set 1, direction 1
    wait                   1
    playfram               19     # Frame set 1, direction 2
    wait                   1
    goto                   PylonIsWorking




None.

Mar 6 2009, 4:12 pm Yawgmoth Post #2



As I understand, are your pylon frames supposed to be a turning feature?

Maybe the problem is that you have selected the "Graphic Turns" option in the images.dat entry of the pylon. Try deselecting it.

If not, in the images.dat, select the "Graphic Turns" option and in the script, use 19 times the "turncwise 1" opcode, one per frame (with the wait between them). That should work fine. If not, in the pylon's flingy.dat entry, change the "Turn Type" option from "0" to "127".



None.

Mar 6 2009, 7:44 pm Biophysicist Post #3



What are you trying to do, and what's not working? DETALEZ PLZ.



None.

Mar 6 2009, 8:10 pm thunderaga Post #4



I was experimenting with something with the terran command center, and saw that when it was staying still that I could make it do something else and play another image. So I tried it out and every second it went to almost build command center then back. so I was like "cool". but then I thought I could do the same with my pylon like I saw in those videos of Starcraft 2. So instead of 1 image showing, I wanted it to spin like this:




None.

Mar 6 2009, 8:18 pm Biophysicist Post #5



What's not working?

Make sure you didn't break your GRP like I did once...

Oh, you might want to post the entire iscript for your Pylon.



None.

Mar 6 2009, 8:52 pm thunderaga Post #6



well it warps in and then it crashes



None.

Mar 6 2009, 8:59 pm Biophysicist Post #7



Then that's probably something else breaking. Maybe you forgot to save the modified GRP, or saved it incorrectly.



None.

Mar 6 2009, 9:19 pm thunderaga Post #8



but I think I did all the GRP's right by replacing every frame, could it be the shadow or the code?



None.

Mar 6 2009, 9:20 pm Symmetry Post #9

Dungeon Master

How many frames does your grp have?



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

Mar 6 2009, 9:21 pm Biophysicist Post #10



It COULD be the shadow, take it out and see what happens.

Also, what's the Pylon saved as in the mpq? "unit\protoss\pylon.grp"?

And what K_K said.



None.

Mar 6 2009, 9:22 pm thunderaga Post #11



Quote
How many frames does your grp have?
20



None.

Mar 6 2009, 9:24 pm thunderaga Post #12



Quote
It COULD be the shadow, take it out and see what happens.

Also, what's the Pylon saved as in the mpq? "unit\protoss\pylon.grp"?

And what K_K said.

yes of course I did that right! when I left the pylon code with the original, it showed... just didn't play the other frames (of course)



None.

Mar 6 2009, 10:44 pm Corbo Post #13

ALL PRAISE YOUR SUPREME LORD CORBO

Play the individual frames only and not the whole framesets and tell us if that worked.



fuck you all

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[01:59 am]
RIVE -- Lots of fun little nods to different works of others in the cheats too.
[2026-6-06. : 5:17 pm]
Oh_Man -- so i was today years old wen i learned rebel yell starcraft mission is named after a billy idol song. makes me wonder wat other missions are named after songs
[2026-6-04. : 3:42 am]
RIVE -- Hellooooo, Nurse
[2026-6-03. : 4:19 pm]
NudeRaider -- Hello World!
[2026-6-01. : 4:03 pm]
IskatuMesk -- no Hello World? No Hello . jpeg? Not even ddosing some government website? smh my head
[2026-5-31. : 10:02 pm]
Symmetry -- I was really just figuring out how to compile
[2026-5-31. : 10:02 pm]
Symmetry -- I didn't make it do anything
[2026-5-31. : 9:17 pm]
Ultraviolet -- hell yeah. did you have trouble making the button functional, or just haven't gotten there yet?
[2026-5-31. : 8:29 pm]
Symmetry -- I made the marine shoot lasers and gave the medic a nonfunctional button
[2026-5-31. : 8:07 pm]
Ultraviolet -- Symmetry
Symmetry shouted: I did my first EUD thing today. Feels like me finding arsenal at age 8 again
haha for sure. in some ways it's even more exciting because you can play EUD maps on regular battle.net, don't need to convince someone to download your mod to play with you. what did you do?
Please log in to shout.


Members Online: l)ark_ssj9kevin