gametechmods

Robot Arena => General Support => Topic started by: Stagfish on January 06, 2011, 10:41:46 AM

Title: Could someone teach me...
Post by: Stagfish on January 06, 2011, 10:41:46 AM
How to make the cannon ball from the stock cannon into an egg shape via GMF editing?
Title: Re: Could someone teach me...
Post by: Sage on January 06, 2011, 04:18:16 PM
It would be so much easier just to make an egg in 3DSmax or whatever and copy the GMF data into the cannon GMF. editing the vertices and such to change the shape of a sphere is a lot of work (at least from what I know.)
Title: Re: Could someone teach me...
Post by: Trovaner on January 06, 2011, 05:55:52 PM
That actually wouldn't be too difficult without 3DS Max...

1. Open up the decompiled GMF.
2. Find the object entitled "ball" and select the vertexes (lines 637 to 662 (inclusive)).
3. Copy and paste the data into excel.
4. At this point, the data should be separated by the tabs of the original code. Therefore, add a multiplier for one of the X, Y, or Z columns (that will make a nice even egg shape of the spherical cannonball).
5. Then just copy and paste that new data back into the GMF. You may need to code the excel so that everything is next to each other.

I have an excel file that does this for me but its not at my fingertips at the moment (if I remember, I'll add it to this post later...)

Edit: Here's what I use... (https://gametechmods.com/uploads/files/GMF_Rotate+Shift+Scale.rar)
Title: Re: Could someone teach me...
Post by: Clickbeetle on January 06, 2011, 11:09:24 PM
^That


Also, the grape crate cannon in FB's component pack already shoots egg-shaped projectiles (well... grapes... but they're pretty much egg-shaped), so you could just nab one of those.
Title: Re: Could someone teach me...
Post by: JoeBlo on January 06, 2011, 11:35:12 PM
^ was exactly what I was going to suggest ^