Author Topic: MD2 Files, how to make new ones work?  (Read 6936 times)

Offline Ace

  • Full Member
  • ***
  • Posts: 143
  • Band, the MMORPGDM
    • View Profile
    • ACE Intergraphs
  • Rated:
Re: MD2 Files, how to make new ones work?
« Reply #15 on: December 29, 2010, 12:35:51 AM »
I did too, and I am being disrespectfull maybe becuase of the fact that, people tell me to do the obvious..... this is how it has been setup and was before I created this topic:

Quote
void SP_worldspawn (edict_t *ent);
void SP_viewthing (edict_t *ent);

void SP_light (edict_t *self);
void SP_light_mine1 (edict_t *ent);
void SP_light_mine2 (edict_t *ent);
void SP_info_null (edict_t *self);
void SP_info_notnull (edict_t *self);
void SP_path_corner (edict_t *self);
void SP_point_combat (edict_t *self);
void SP_torch (edict_t *ent); //NOTE IT WAS SP_misc_torch, but that never worked either!

void SP_misc_explobox (edict_t *self);
void SP_misc_banner (edict_t *self);
void SP_misc_satellite_dish (edict_t *self);
void SP_misc_actor (edict_t *self);
void SP_misc_gib_arm (edict_t *self);
void SP_misc_gib_leg (edict_t *self);
void SP_misc_gib_head (edict_t *self);
void SP_misc_insane (edict_t *self);
void SP_misc_deadsoldier (edict_t *self);
void SP_misc_viper (edict_t *self);
void SP_misc_viper_bomb (edict_t *self);
void SP_misc_bigviper (edict_t *self);
void SP_misc_strogg_ship (edict_t *self);
void SP_misc_teleporter (edict_t *self);
void SP_misc_teleporter_dest (edict_t *self);
void SP_misc_blackhole (edict_t *self);
void SP_misc_eastertank (edict_t *self);
void SP_misc_easterchick (edict_t *self);
void SP_misc_easterchick2 (edict_t *self);
void SP_misc_model (edict_t *self);

void SP_monster_berserk (edict_t *self);
void SP_monster_gladiator (edict_t *self);

Theres the first part, now the second part AGAIN....

Quote
{"light", SP_light},
   {"light_mine1", SP_light_mine1},
   {"light_mine2", SP_light_mine2},
   {"info_null", SP_info_null},
   {"func_group", SP_info_null},
   {"info_notnull", SP_info_notnull},
   {"path_corner", SP_path_corner},
   {"point_combat", SP_point_combat},

   {"misc_explobox", SP_misc_explobox},
   {"misc_banner", SP_misc_banner},
   {"misc_satellite_dish", SP_misc_satellite_dish},
   {"misc_actor", SP_misc_actor},
   {"misc_gib_arm", SP_misc_gib_arm},
   {"misc_gib_leg", SP_misc_gib_leg},
   {"misc_gib_head", SP_misc_gib_head},
   {"misc_insane", SP_misc_insane},
   {"misc_deadsoldier", SP_misc_deadsoldier},
   {"misc_viper", SP_misc_viper},
   {"misc_viper_bomb", SP_misc_viper_bomb},
   {"misc_bigviper", SP_misc_bigviper},
   {"misc_strogg_ship", SP_misc_strogg_ship},
   {"misc_teleporter", SP_misc_teleporter},
   {"misc_teleporter_dest", SP_misc_teleporter_dest},
   {"misc_blackhole", SP_misc_blackhole},
   {"misc_eastertank", SP_misc_eastertank},
   {"misc_easterchick", SP_misc_easterchick},
   {"misc_easterchick2", SP_misc_easterchick2},
   {"misc_model", SP_misc_model},
   {"misc_torch", SP_torch},

And now the other file.... torch.h

Quote
// Generated by ModelEd

#define FRAME_torch1   0

#define MODEL_SCALE   1.000000

and finally, this: in g_misc.c

Quote
/*BANDED light_mine1 (0 1 0) (-2 -2 -12) (2 2 12)
*/
void SP_light_mine1 (edict_t *ent)
{
   ent->movetype = MOVETYPE_NONE;
   ent->solid = SOLID_BBOX;
   ent->s.modelIndex = gi.modelindex ("models/objects/minelite/light1/tris.md2");
   gi.linkentity (ent);
}


/*BANDED light_mine2 (0 1 0) (-2 -2 -12) (2 2 12)
*/
void SP_light_mine2 (edict_t *ent)
{
   ent->movetype = MOVETYPE_NONE;
   ent->solid = SOLID_BBOX;
   ent->s.modelIndex = gi.modelindex ("models/objects/minelite/light2/tris.md2");
   gi.linkentity (ent);
}


/*BANDED torch (0.5 0.5 0.5) (0 0 0) (8 8 16)
*/
void SP_torch (edict_t *ent)
{
   ent->movetype = MOVETYPE_NONE;
   ent->solid = SOLID_BBOX;
   ent->s.modelIndex = gi.modelindex ("models/objects/torch/tris.md2");
   gi.linkentity (ent);
}


I use worldcraft to mape design, dso the fgd has to be modified too, like so....

Quote
@PointClass base(Appearflags) color(128 128 128) size(0 0 0, 8 8 16) = misc_torch : "torch1" []

I did it alll correctly, and it still des not work! After the DLL was compiled....


After all that, compiled map and DONE EVETY THING RIGHT, the model refuses to think its there.... the gemx86.dll I created works fine, and is in my mod folder along with the model and map in the correct directors as so...  :exqueezeme:
« Last Edit: December 29, 2010, 12:41:40 AM by Ace »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
~~Ace~~

Offline peewee_RotA

  • Brobdingnagian Member
  • ***
  • Posts: 4152
  • Hi, I'm from the gov'ment and I'm here to help you
    • View Profile
  • Rated:
Re: MD2 Files, how to make new ones work?
« Reply #16 on: December 29, 2010, 04:21:29 AM »
Ace, you've devolved your own thread from a request for help to an argument about "he said, she said"

You're not going to get any help that way.


Cool off a bit and come back. What we need most to help are error messages.

I did it alll correctly, and it still des not work!


That statement is a paradox. lol
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
GOTO ROTAMODS (rocketgib)
GOTO ROTAMAPS (fireworks)
HappyFriar- q2server.fuzzylogicinc.com
 Tune in to the Tastycast!!!!  http://dna.zeliepa.net

Offline Ace

  • Full Member
  • ***
  • Posts: 143
  • Band, the MMORPGDM
    • View Profile
    • ACE Intergraphs
  • Rated:
Re: MD2 Files, how to make new ones work?
« Reply #17 on: December 29, 2010, 04:34:46 AM »
Ace, you've devolved your own thread from a request for help to an argument about "he said, she said"

You're not going to get any help that way.


Cool off a bit and come back. What we need most to help are error messages.

I did it alll correctly, and it still des not work!


That statement is a paradox. lol


I did not know how sensative the code was, so I fixed it all finally....  apparently, the "misc"
 part is most importatn
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
~~Ace~~

Offline [BTF] Reflex

  • Loquaciously Multiloquent Member
  • ****
  • Posts: 5324
  • !
    • View Profile
  • Rated:
Re: MD2 Files, how to make new ones work?
« Reply #18 on: December 29, 2010, 05:32:06 AM »
“If debugging is the process of removing bugs, then programming must be the process of putting them in.”

                                                                                                                                             (Edsger W. Dijkstra)
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
Sometimes I think it’s a sin when I feel like I’m winnin’ when I’m losin’ again

Offline Ace

  • Full Member
  • ***
  • Posts: 143
  • Band, the MMORPGDM
    • View Profile
    • ACE Intergraphs
  • Rated:
Re: MD2 Files, how to make new ones work?
« Reply #19 on: December 30, 2010, 06:11:49 AM »
Thats too bad, (and not meaning in a asshole way), to be honest when I ask a question always.... this is how I work, I work on solving it myself without actual help, but ask a question to see input from others to:

A: Proof read aka make sure things are right
B: to see if I missed something
C: to make sure there is something new I was not aware of that could be done
D: to see if there is a "EASY" way to do it rather than code after code after code after code process, which irritates the hell out of me btw.... and there is always a "EASY" way to do it without constant links to other c and h files.... just people like to program strange it seems to me, or like to be organized I guess
E: finally, to rest assured I am doing things right....

So basically in essance, I am asking for input, shared info, not a "HOW TO FOR DUMMIES", or "I THINK YOUR DUMBASS 101", or "I AM GOD AND KNOW MORE THAN YOU EVER WILL DO",  and earlier statements qualify in that catagory, and pisses me the hell off with a passion....  Don't get me wrong I appriciate input and help, but not if I am being spoken to or treated like a compleate total; dumbass, your going to get a negative reaction from me...  and thats my 2 cents....  Not to mention I have 16+ years expereince in all things computers.... sure I hate certain things in programming in C, but it does not mean I do not KNOW HOW!
« Last Edit: December 30, 2010, 06:33:37 AM by Ace »
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
~~Ace~~

Offline peewee_RotA

  • Brobdingnagian Member
  • ***
  • Posts: 4152
  • Hi, I'm from the gov'ment and I'm here to help you
    • View Profile
  • Rated:
Re: MD2 Files, how to make new ones work?
« Reply #20 on: December 30, 2010, 11:19:24 AM »
Thats too bad, (and not meaning in a asshole way), to be honest when I ask a question always.... this is how I work, I work on solving it myself without actual help, but ask a question to see input from others to:

A: Proof read aka make sure things are right
B: to see if I missed something
C: to make sure there is something new I was not aware of that could be done
D: to see if there is a "EASY" way to do it rather than code after code after code after code process, which irritates the hell out of me btw.... and there is always a "EASY" way to do it without constant links to other c and h files.... just people like to program strange it seems to me, or like to be organized I guess
E: finally, to rest assured I am doing things right....

So basically in essance, I am asking for input, shared info, not a "HOW TO FOR DUMMIES", or "I THINK YOUR DUMBASS 101", or "I AM GOD AND KNOW MORE THAN YOU EVER WILL DO",  and earlier statements qualify in that catagory, and pisses me the hell off with a passion....  Don't get me wrong I appriciate input and help, but not if I am being spoken to or treated like a compleate total; dumbass, your going to get a negative reaction from me...  and thats my 2 cents....  Not to mention I have 16+ years expereince in all things computers.... sure I hate certain things in programming in C, but it does not mean I do not KNOW HOW!

That's probably just a matter in inexperience in forums. I personally avoid posting questions and prefer to look for existing answers. My posts with programming questions usually consist of me explaining how I eventually solved the problem.

Anytime you ask a question expect the first 2 replies to require more information. This generally includes more code and more error messages.

Another suggestion is to only ask the question when you are giving up on that particular change for the day and review the responses the next day.

A few years ago I engaged in a similar hotblooded kind of question on r1ch's forums. I'm fairly sure that Qwazy was the person that responded first. Since then I cooled off and just changed the way I use forums for questions.

If you find yourself asking a lot of forum questions, at least half the time you'll find out that you're just complaining and you don't really have a question at all.
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
GOTO ROTAMODS (rocketgib)
GOTO ROTAMAPS (fireworks)
HappyFriar- q2server.fuzzylogicinc.com
 Tune in to the Tastycast!!!!  http://dna.zeliepa.net

Offline Ace

  • Full Member
  • ***
  • Posts: 143
  • Band, the MMORPGDM
    • View Profile
    • ACE Intergraphs
  • Rated:
Re: MD2 Files, how to make new ones work?
« Reply #21 on: December 30, 2010, 02:23:54 PM »
Thats too bad, (and not meaning in a asshole way), to be honest when I ask a question always.... this is how I work, I work on solving it myself without actual help, but ask a question to see input from others to:

A: Proof read aka make sure things are right
B: to see if I missed something
C: to make sure there is something new I was not aware of that could be done
D: to see if there is a "EASY" way to do it rather than code after code after code after code process, which irritates the hell out of me btw.... and there is always a "EASY" way to do it without constant links to other c and h files.... just people like to program strange it seems to me, or like to be organized I guess
E: finally, to rest assured I am doing things right....

So basically in essance, I am asking for input, shared info, not a "HOW TO FOR DUMMIES", or "I THINK YOUR DUMBASS 101", or "I AM GOD AND KNOW MORE THAN YOU EVER WILL DO",  and earlier statements qualify in that catagory, and pisses me the hell off with a passion....  Don't get me wrong I appriciate input and help, but not if I am being spoken to or treated like a compleate total; dumbass, your going to get a negative reaction from me...  and thats my 2 cents....  Not to mention I have 16+ years expereince in all things computers.... sure I hate certain things in programming in C, but it does not mean I do not KNOW HOW!

That's probably just a matter in inexperience in forums. I personally avoid posting questions and prefer to look for existing answers. My posts with programming questions usually consist of me explaining how I eventually solved the problem.

Anytime you ask a question expect the first 2 replies to require more information. This generally includes more code and more error messages.

Another suggestion is to only ask the question when you are giving up on that particular change for the day and review the responses the next day.

A few years ago I engaged in a similar hotblooded kind of question on r1ch's forums. I'm fairly sure that Qwazy was the person that responded first. Since then I cooled off and just changed the way I use forums for questions.

If you find yourself asking a lot of forum questions, at least half the time you'll find out that you're just complaining and you don't really have a question at all.


Thanks for the reassurances, info, help, and dedication to my "bad forum eddicate", but I am like this in real life too.... its call Aspergers, look it up sometimes, so tis not just "Forum Edditcate", or knowing how... :)    And PeeWee can you PM me, I need background information on your experiences, so I can see if your helfull for my BAND project....  I tend to avoid forums also do to the responses I get, flames, and critisim, constructive or not...  I work better on a 1 on 1 basis on help, as well.... so far only 2 people working on the project, and you seem to know alot about programming besides the map editing aspect....  Also I am having issues with an error in my map, and in teh future I might need your advice on clips.hints/ect. and how to sue them properly, as I ararely use them, and thought maybe you would be more expert at it....


Thanks,
Ace
CEO of ACE Intergraphs
  • Insightful
    Informative
    Funny
    Nice Job / Good Work
    Rock On
    Flawless Logic
    Well-Reasoned Argument and/or Conclusion
    Demonstrates Exceptional Knowlege of the Game
    Appears Not to Comprehend Game Fundamentals
    Frag of the Week
    Frag Hall of Fame
    Jump of the Week
    Jump Hall of Fame
    Best Solution
    Wins The Internet
    Whoosh! You done missed the joke thar Cletus!
    Obvious Troll Is Obvious
    DO YOU EVEN LIFT?
    DEMO OR STFU
    Offtopic
    Flamebait
    Redundant
    Factually Challenged
    Preposterously Irrational Arguments
    Blindingly Obvious Logical Fallacies
    Absurd Misconstrual of Scientific Principles or Evidence
    Amazing Conspiracy Theory Bro
    Racist Ignoramus
~~Ace~~

 

El Box de Shoutamente

Last 10 Shouts:

Costigan_Q2

November 11, 2024, 06:41:06 AM
"Stay cozy folks.

Everything is gonna be fine."

There'll be no excuses for having TDS after January 20th, there'll be no excuses AT ALL!!!
 

|iR|Focalor

November 06, 2024, 03:28:50 AM
 

RailWolf

November 05, 2024, 03:13:44 PM
Nice :)

Tom Servo

November 04, 2024, 05:05:24 PM
The Joe Rogan Experience episode 223 that dropped a couple hours ago with Musk, they're talking about Quake lol.

Costigan_Q2

November 04, 2024, 03:37:55 PM
Stay cozy folks.

Everything is gonna be fine.
 

|iR|Focalor

October 31, 2024, 08:56:37 PM

Costigan_Q2

October 17, 2024, 06:31:53 PM
Not activated your account yet?

Activate it now! join in the fun!

Tom Servo

October 11, 2024, 03:35:36 PM
HAHAHAHAHAHA
 

|iR|Focalor

October 10, 2024, 12:19:41 PM
I don't worship the devil. Jesus is Lord, friend. He died for your sins. He will forgive you if you just ask.
 

rikwad

October 09, 2024, 07:57:21 PM
Sorry, I couldn't resist my inner asshole.

Show 50 latest
Welcome, Guest. Please login or register.
November 23, 2024, 10:08:01 AM

Login with username, password and session length