Staredit Network > Forums > Modding Assistance > Topic: Tank Turret positioning
Tank Turret positioning
Mar 5 2009, 8:41 am
By: TriggR_HappE  

Mar 5 2009, 8:41 am TriggR_HappE Post #1



I'm trying to reposition the tankt.grp so that it sits in the right spot on the tank.grp but I can't seem to figure it out. I tried changing the x y coordinates in the iscript but it doesnt seem to relocate it at all. I did like -20 for x and it didn't even move as far as I can tell. Am I doing something wrong? Or do I need to edit something other than the tank iscript to move it? Or is it just hardcoded?


Quote
Or you can go to images.dat and change special overlays placement to the one for dropships.
Maybe someone could explain to me how to do that?

Anyways, thanks for any/all help :)

Post has been edited 1 time(s), last time on Mar 5 2009, 8:51 am by TriggR_HappE.



None.

Mar 5 2009, 9:12 pm Yawgmoth Post #2



Quote from TriggR_HappE
I'm trying to reposition the tankt.grp so that it sits in the right spot on the tank.grp but I can't seem to figure it out. I tried changing the x y coordinates in the iscript but it doesnt seem to relocate it at all. I did like -20 for x and it didn't even move as far as I can tell. Am I doing something wrong? Or do I need to edit something other than the tank iscript to move it? Or is it just hardcoded?


Quote
Or you can go to images.dat and change special overlays placement to the one for dropships.
Maybe someone could explain to me how to do that?

Anyways, thanks for any/all help :)

Did you changed any of the GRP's? If so, you must to edit the .LO? file (tank.lol if I remember well), with the LOEdit program. It is useless to change the offsets with the imgol x y iscript opcode, that only will move the turret in one of the xy coordinates, making the turret immobile when the tank base turns.

Quote
Or you can go to images.dat and change special overlays placement to the one for dropships.

that is done with DatEdit, go to the Images.dat Tab and modify the tabs there appear. But, in this case, that is another alternative.

Don't mess withe the iscript in this case, just play toggling offset in the LO? file I mentioned. You must to intoduce the sentence "imgoluselo" to do it.

imgoluselo 251 2 0 # SiegeTankTankTurret (terran\tankt.grp)

There it is. From here you may change the offset if you want.



None.

Mar 6 2009, 12:05 am ShadowFlare Post #3



btw, that line that spawns the turret is only for when displaying it in StarEdit, not in the game. Turrets aren't spawned through iscript.bin. That's why changing the iscript doesn't affect the position of it.

Also, if you have the latest version of IceCC that I've put up so far, that animation would be labeled something like StarEditInit. I had it mislabeled previously, since I hadn't actually tested it. As far as poiuy_qwert's PyICE program, I don't really know whether it has that label or the old one, but I think it does have my updated label for it.



None.

Mar 6 2009, 2:24 am TriggR_HappE Post #4



Woot! Works great. Thanks for the help. :)



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[11:30 pm]
Ultraviolet -- That's strange, it looks like you targeted the base image file (sometimes people make the mistake of just using the imgur page link which doesn't work for embedding) but it still didn't work it sounds like.
[03:34 pm]
ManCubuS -- Used : " [img=https://i.imgur.com/gpOjTuD.jpeg] "
[03:28 pm]
ManCubuS -- Even tried with imgur, doesn't attach.
[03:14 pm]
ManCubuS -- I should try a workaround, thanks! Sadly imgur is blocked in my country for some unknown reason.
[03:05 pm]
NudeRaider -- I think SEN has trouble with https or hotlinking is forbidden. It certainly is nothing about the size, it just fails to get any size. You can get it working if you use imgur and include the actual image link for the img tag. Like this: [img=https://i.imgur.com/ddYqXZa.jpeg]
[11:15 am]
ManCubuS -- Hey fellas! Anyone knows why when I try to upload an image it says "failed to get image size"? I even tried making it so small. Imgur isn't working here and I tried postimg no luck.
[2026-7-23. : 6:40 am]
Oh_Man -- true
[2026-7-23. : 3:16 am]
RIVE -- Still annoyed there was never a trigger to stop or pause wavs.
[2026-7-23. : 1:40 am]
Oh_Man -- tthen u come to SCBW and it's like - upload WAV, play WAV.... sigh why cant it be that easy
[2026-7-23. : 1:40 am]
Oh_Man -- and no consistent easy to use way to then play the audio either
Please log in to shout.


Members Online: Symmetry, Roy