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-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
[2026-7-23. : 1:39 am]
Oh_Man -- where they use third party audioprogram called WWISE which basically makes adding audio extremely difficult
[2026-7-23. : 1:39 am]
Oh_Man -- i appreciate SCBW's ability to just let us upload and play WAVs so much compared to nightmare that is total war warhammer 3
[2026-7-18. : 2:27 am]
Symmetry -- https://staredit.net/topic/18903/ THE REVIEWS ARE HERE! "ok these are pretty good memes" - ssj9Kevin
[2026-7-17. : 2:58 pm]
Ultraviolet -- Symmetry
Symmetry shouted: Man I wish we had this tech back in the day when people played ums lmao
fr fr
[2026-7-17. : 2:39 am]
Symmetry -- Man I wish we had this tech back in the day when people played ums lmao
[2026-7-16. : 6:28 am]
NudeRaider -- EUD actions, specifically. The conditions remained. Today we can even have actions again, but they're all virtualized/whitelisted (not sure on the actual technical implementation) so you can only use them for specific intended purposed, not arbitrary code injections.
Please log in to shout.


Members Online: NudeRaider