Feature requests>>.mod file + offset data & more

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
User avatar
jessethemidget
On Lightcycle Grid
Posts: 36
Joined: Sun Apr 01, 2007 10:49 pm

Feature requests>>.mod file + offset data & more

Post by jessethemidget »

Here's something really easy: (I hope)

Right now, the offset of the wheels and main body are hardcoded with the function gltranslatef(x,y,z). How about loading from the .mod files to a variable so that we could edit the .mod files (y'no, with my script or by hand) to move around the wheels.

I'd like it if there was a line like this at the bottom of the .mod file:

o 0.0 0.0 0.0

o for offset, and the x,y,z values. Possibilities? I'd do it myself and post patch but I don't know enough c++...

anyway, also:
what if armagetron loaded all .mod files in a dir and drew them all with flags at the bottom for offset, like above, and also whether they rotate or not. (I know this one's a little more tricky...), that way any creative could do anything they wanted...
User avatar
Z-Man
God & Project Admin
Posts: 11717
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

Well, certainly not with the .mod format, it is too unflexible and limited. But otherwise, this kind of animation assembly is a good idea (and at the back of my head for some while) waiting for time to be implemented; I'd put it into a separate .xml file where the cycle pieces are described with material/texture and offsets and of course a rotation flag.
User avatar
jessethemidget
On Lightcycle Grid
Posts: 36
Joined: Sun Apr 01, 2007 10:49 pm

Post by jessethemidget »

I'm not sure I got what you said... it sounds good, but do you mean several .mod files (model only) and an xml file that ties them together with textures? that'd be great! (also, what about uvmap textures? kinda hard to do I know, but it could be done with a seperate mod file or just a new kind of data...)


oh, and another thing, how about being able to specify a rotation axis! so things could rotate sideways, diagonal, etc... that'd be GREAT!
User avatar
Lucifer
Project Developer
Posts: 8750
Joined: Sun Aug 15, 2004 3:32 pm
Location: Republic of Texas

Post by Lucifer »

http://forums.armagetronad.net/viewtopic.php?t=2979

That's going to be the place to talk about this some more, really. :)
Check out my YouTube channel: https://youtube.com/@davefancella?si=H--oCK3k_dQ1laDN

Be the devil's own, Lucifer's my name.
- Iron Maiden
Post Reply