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.
[07:47 pm]
Ultraviolet -- Yeah, I suppose there's something to that
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
Please log in to shout.


Members Online: NudeRaider, Roy, lil-Inferno