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.
[09:18 pm]
Ultraviolet -- 🔪🐈
[12:34 pm]
NudeRaider -- curiosity kills the cat!
[06:18 am]
Sylph-Of-Space -- No complaints here, i'm just curious!
[2024-5-18. : 11:05 pm]
Ultraviolet -- :wob:
[2024-5-18. : 3:55 pm]
Zoan -- :wob:
[2024-5-18. : 10:34 am]
NudeRaider -- SEN doesn't rely on spammers initiate its sleep cycle. It hat fully automated rest and clean-up phases. Please understand that this is necessary for the smooth operation of the site. Thank you.
[2024-5-18. : 3:45 am]
Sylph-Of-Space -- Does the shoutbox get disabled when there's spammers?
[2024-5-17. : 6:47 am]
NudeRaider -- lil-Inferno
lil-Inferno shouted: nah
strong
[2024-5-17. : 5:41 am]
Ultraviolet -- 🤔 so inf is in you?
[2024-5-17. : 4:57 am]
O)FaRTy1billion[MM] -- my name is mud
Please log in to shout.


Members Online: Roy