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.
[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?
[2026-5-31. : 6:47 pm]
Symmetry -- I did my first EUD thing today. Feels like me finding arsenal at age 8 again
[2026-5-31. : 3:20 pm]
l)ark_ssj9kevin -- le reddit
Please log in to shout.


Members Online: Roy