Page 1 of 1

adding raw data

Posted: Tue Mar 16, 2004 1:34 pm
by Tiamat
can anyone help me add raw data to a map file. Because I need to add a modle and i have isolated its raw data i just don't know where to place it.

Posted: Tue Mar 16, 2004 2:37 pm
by New Age
is this even possible? well go read the mapfile header tutorial in the news section and learn a little about that... maybe that'll help

Re: adding raw data

Posted: Tue Mar 16, 2004 3:27 pm
by halofan141
Tiamat wrote:can anyone help me add raw data to a map file. Because I need to add a modle and i have isolated its raw data i just don't know where to place it.
Sure just put eof before injecting the bitmap and that adds it to the end of bitmaps.map

Posted: Tue Mar 16, 2004 4:13 pm
by New Age
halofan you know your stuff

Posted: Tue Mar 16, 2004 4:30 pm
by halofan141
New Age wrote:halofan you know your stuff
Thanks. I always run out of ideas so I try to at least keep up to date with the rest of the community.

Posted: Tue Mar 16, 2004 4:48 pm
by New Age
lol i guess im a little behind

Posted: Tue Mar 16, 2004 5:38 pm
by Tiamat
i'm talking modles i know how to do bitmaps, read what I said ^

Posted: Tue Mar 16, 2004 5:48 pm
by halofan141
Tiamat wrote:i'm talking modles i know how to do bitmaps, read what I said ^
I do not know if there is empty space left over in the raw data for the map file for models. One would assume there would be for any addons or alterations, but your on your own otherwise.

Posted: Tue Mar 16, 2004 9:38 pm
by Tiamat
yes there is emty space, four whole bytes :lol: . Now can anyone seriously help.

Posted: Wed Mar 17, 2004 4:50 am
by {IAS}Bunkerking
i dont tink this is possible but i may be wrong

Posted: Wed Mar 17, 2004 5:47 am
by MasterNeoChief
Crap, I''m really behind...

Posted: Wed Mar 17, 2004 1:25 pm
by halofan141
I'm sure it is possible if there is enough space left over. Otherwise it is impossible. Or you would have to maybe screw with magic... Or some other stuff I cannot quite comprehend right now or else I would be doing it.

Posted: Fri Mar 19, 2004 2:56 pm
by bobindashadows
ok... this is how it goes. I'll answer your question, but I don't know if it'll help you.

There are 2 types of raw model data. Indices, and Vertices. Vertices describe each vertex of the model, and indices organize them into triangles. There are two blocks: vertices, and indices. If you want to add model data, you simply paste in your new model's vertices at the end of the vertex block, and you paste in the new model's indices at the end of the index block. This is the reason we have magic - so that we can change how much data comes before the meta, without fudging up the offsets or reflexives.

Posted: Fri Mar 19, 2004 10:02 pm
by Tiamat
yes that does help :D

Posted: Fri Mar 26, 2004 5:49 pm
by XwitX
Hey if you duplicate a vehicle can you change its model without chaging its originals model?

Posted: Thu Apr 01, 2004 8:13 am
by New Age
can you do this with a new model that you made? i made a new banshee that is the mini longsword. and i finished my Mechwarrior but the problem is that i cant put it in.