Author |
Message |
piipu
Joined: Mon Jun 30, 2008 9:13 pm Posts: 499 Location: Finland
|
Re: HELP?
I think that is for rockets. I don't think it works for dropships.
|
Sun May 31, 2009 8:11 pm |
|
|
ccontinisio
Joined: Tue May 19, 2009 12:54 pm Posts: 27
|
Re: HELP?
piipu wrote: I think that is for rockets. I don't think it works for dropships. It coul be... but it's strange nonetheless because Dropships and Rockets are so similar... Anyway number 3 (Always Ping Pong) seems to be more of general use, and doesn't work on my dropship. Any clue?
|
Sun May 31, 2009 11:57 pm |
|
|
Rawtoast
Joined: Mon Apr 06, 2009 9:41 am Posts: 712 Location: New York
|
Re: HELP?
ccontinisio wrote: Rawtoast wrote: Does "pingpong" mean it plays the animation forwards then backwards? I guess so, but it doesn't work. Does it for you? Never tried it. Will test it out with the mod I'm working on (actor with a long dangly neck that will be animated to sway). I have enough trouble working out the sprite offsets. I don't understand what they're based off at all. Are the measurements some fraction of a pixel? How does the axis work? Should - go to the left? Wouldn't really matter which way it went seeing as the X and Y axis rarely seem to actually be right. Or am I missing something?
|
Mon Jun 01, 2009 3:41 am |
|
|
ccontinisio
Joined: Tue May 19, 2009 12:54 pm Posts: 27
|
Re: HELP?
I know for sure that fractions of pixels don't work. The only values that can have decimals are the forces, like impulses, the mass of the objects and so on. Not the offsets. The axis are strange. There's a tutorial that says that the X axis is inverted, but I read on the forums that sometimes it's not this way. The best thing to do is use the Actor Viewer editor. With it you can see the actor, then tweak the offsets in the .ini, reload the .ini in the pie menu and see the actor updated in no time. I fear though that this editor is available only if you buy the game.
|
Mon Jun 01, 2009 10:03 am |
|
|
piipu
Joined: Mon Jun 30, 2008 9:13 pm Posts: 499 Location: Finland
|
Re: HELP?
Fractions of pixels do work for offsets.
|
Mon Jun 01, 2009 10:14 am |
|
|
ccontinisio
Joined: Tue May 19, 2009 12:54 pm Posts: 27
|
Re: HELP?
piipu wrote: Fractions of pixels do work for offsets. I know that you can put a decimal in the .ini for an offset, but probably it would be rounded by the game. That guide on the wiki says: Wiki wrote: Note: If your sprite Offset has a decimal, just round it to the nearest whole. There's no such thing as half a pixel.
|
Mon Jun 01, 2009 10:20 am |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
Re: HELP?
spriteoffsets are used to "center" sprites, by moving the sprite along the normal axes until the center of the sprite is at the origin. basically, spriteoffsets are what you get when you write Code: X = -<Sprite X Dimension/2> Y = -<Sprite Y Dimension/2> notice that the coordinates are always negative.
|
Mon Jun 01, 2009 10:34 am |
|
|
Rawtoast
Joined: Mon Apr 06, 2009 9:41 am Posts: 712 Location: New York
|
Re: HELP?
ccontinisio wrote: I know for sure that fractions of pixels don't work. The only values that can have decimals are the forces, like impulses, the mass of the objects and so on. Not the offsets. The axis are strange. There's a tutorial that says that the X axis is inverted, but I read on the forums that sometimes it's not this way. The best thing to do is use the Actor Viewer editor. With it you can see the actor, then tweak the offsets in the .ini, reload the .ini in the pie menu and see the actor updated in no time. I fear though that this editor is available only if you buy the game. YOU CAN UPDATE THE INI IN THE ACTOR VIEWER? HOLYSHITCAKES THAT'S AWESOME. I'm gonna go make a mod now.
|
Mon Jun 01, 2009 11:27 am |
|
|
ccontinisio
Joined: Tue May 19, 2009 12:54 pm Posts: 27
|
Re: HELP?
Geti wrote: spriteoffsets are used to "center" sprites, by moving the sprite along the normal axes until the center of the sprite is at the origin. basically, spriteoffsets are what you get when you write Yeah, Geti, but we were discussing wether you could write fractions of coordinates or not. Anyway half a pixel is never a big deal. Rawtoast wrote: YOU CAN UPDATE THE INI IN THE ACTOR VIEWER? Yes but as I said I think the Actor Viewer is only available to those who buy the game. I assume you have it, from what you say. To reload an actor's .ini it's Right Click (brings up the action wheel) and then mouse gesture up in the Actor Viewer. Works in the Gib Editor too.
|
Mon Jun 01, 2009 12:12 pm |
|
|
|