Author Topic: Ok, for the good of the code  (Read 9222 times)

0 Members and 1 Guest are viewing this topic.

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Ok, for the good of the code
I'm not going to do the 3DS conversion code myself.  I don't use 3DS studio max, and I don't like the documentation for the file format.

What I am going to do is im writing code right know that will make it so people ran write Conversion Plugins.

These DLLs will have a set API so my program can use them, but it will be able to load as many as are written.

Ok... i just set the basic API - the basic functions you must include are

const char* GetFormatInfo();
int CountFormatExt();
const char* GetFormatExt(int ExtNum);
const char* GetAuthorInfo();
int Capabilties();

int ConvertToPof(const char* Inputfile, POF &PCinst);
int ConvertFromPof(const char* Outputfile, POF &PCinst);

I'll write full documentation on writing plugins at a later time.

The Plugin SDK's PCSApi.h has comments that expain each of the functions
------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Alliance Productions
http://alliance.sourceforge.net

Did you say you wanted your head used as a soccer ball?
The Klooges are coming! RUN! RUN FOR YOUR LIVES!

[This message has been edited by Kazan (edited 06-09-2001).]

[This message has been edited by Kazan (edited 06-10-2001).]
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
Ok, for the good of the code
That's great Basil, but what does it all mean?
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."

 

Offline Pez

  • 26
Ok, for the good of the code
 
Quote
Originally posted by Snipes:
That's great Basil, but what does it all mean?

Whoo....that rolling text is weird and annoying  


 

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
Ok, for the good of the code
it's called < marquee >

hehe

I forgot that HLP had HTML on  
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."

 

Offline Jabu

  • One of our many cases
  • 29
Ok, for the good of the code
If you didn't understand that, it pretty much doesn't apply to you  

 

Offline Sandwich

  • Got Screen?
  • 213
    • Skype
    • Steam
    • Twitter
    • Brainzipper
Ok, for the good of the code
           
Quote
Originally posted by Snipes:
it's called < marquee >

hehe

I forgot that HLP had HTML on            

You have done well, my Padawan learner...            

Hehe - HTML + stylesheets:


STARReturn Of The Jedi


WARS


------------------
"He who laughs last thinks slowest."
"Just becase you're paranoid doesn't mean they're not out to get you."
"To err is human; to really screw up you need a computer."
Creator of the Sandvich Bar

[This message has been edited by sandwich (edited 06-09-2001).]
SERIOUSLY...! | {The Sandvich Bar} - Rhino-FS2 Tutorial | CapShip Turret Upgrade | The Complete FS2 Ship List | System Background Package

"...The quintessential quality of our age is that of dreams coming true. Just think of it. For centuries we have dreamt of flying; recently we made that come true: we have always hankered for speed; now we have speeds greater than we can stand: we wanted to speak to far parts of the Earth; we can: we wanted to explore the sea bottom; we have: and so  on, and so on: and, too, we wanted the power to smash our enemies utterly; we have it. If we had truly wanted peace, we should have had that as well. But true peace has never been one of the genuine dreams - we have got little further than preaching against war in order to appease our consciences. The truly wishful dreams, the many-minded dreams are now irresistible - they become facts." - 'The Outward Urge' by John Wyndham

"The very essence of tolerance rests on the fact that we have to be intolerant of intolerance. Stretching right back to Kant, through the Frankfurt School and up to today, liberalism means that we can do anything we like as long as we don't hurt others. This means that if we are tolerant of others' intolerance - especially when that intolerance is a call for genocide - then all we are doing is allowing that intolerance to flourish, and allowing the violence that will spring from that intolerance to continue unabated." - Bren Carlill

 

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
Ok, for the good of the code
 
Quote
Originally posted by sandwich:

SuckLoser Series


Stories



hehe, that's too much html  


[This message has been edited by Snipes (edited 06-09-2001).]
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Ok, for the good of the code
pls stay ON subject

------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Alliance Productions
http://alliance.sourceforge.net

Did you say you wanted your head used as a soccer ball?
The Klooges are coming! RUN! RUN FOR YOUR LIVES!
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Pez

  • 26
Ok, for the good of the code
Yeah, let's stay on the subject. I don't quite follow you here Kazan.

 
Quote
What I am going to do is im writing code right know that will make it so people ran write Conversion Plugins.

While I be able to use this in 3DS Max or are these DLL files something that someone else must finish writing and then they are complete?

[This message has been edited by Pez (edited 06-09-2001).]

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Ok, for the good of the code
I dont feel confident writing the code for 3DS since I don't use 3DS so I'm writing a plugin support into POF CS so people can write plugins to do different file types such as 3DS

------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Alliance Productions
http://alliance.sourceforge.net

Did you say you wanted your head used as a soccer ball?
The Klooges are coming! RUN! RUN FOR YOUR LIVES!
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
Ok, for the good of the code
and LWO?
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Ok, for the good of the code
prolly not because i can barely use lightwave - but you will be able to write a plugin.. im about to zip up the 'Framework' MSVC++ project

------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Alliance Productions
http://alliance.sourceforge.net

Did you say you wanted your head used as a soccer ball?
The Klooges are coming! RUN! RUN FOR YOUR LIVES!
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline DragonClaw

  • Romeo Kilo India Foxtrot
  • 210
Ok, for the good of the code

STARThe Loser Generation


TREK


------------------
    -Director of the staff of Hidden Terror.
   -Fleet Admiral of The Ancients Armada

         
Quote
The fear always controls our attitude, let us fear no more!

[This message has been edited by RKIF-DragonClaw (edited 06-09-2001).]

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Ok, for the good of the code
Growl what did i say about ON TOPIC
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Setekh

  • Jar of Clay
  • 215
    • Hard Light Productions
Ok, for the good of the code
Nice work Kazan - hopefully this will help the dude who is writing the 3DS->POF plugin.

Where's wEvil?  
- Eddie Kent Woo, Setekh, Steak (of Steaks), AWACS. Seriously, just pick one.
HARD LIGHT PRODUCTIONS, now V3.0. Bringing Modders Together since January 2001.
THE HARD LIGHT ARRAY. Always makes you say wow.

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Ok, for the good of the code
It's a plugin SDK for writing plugins into POF CS.. but it does have the BSP handling code...

------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Alliance Productions
http://alliance.sourceforge.net

Did you say you wanted your head used as a soccer ball?
The Klooges are coming! RUN! RUN FOR YOUR LIVES!
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline Sandwich

  • Got Screen?
  • 213
    • Skype
    • Steam
    • Twitter
    • Brainzipper
Ok, for the good of the code
 
Quote
Originally posted by Kazan:
Growl what did i say about ON TOPIC

Sorry for starting it (actually it was Snipes, as usual  ), but at least I didn't continue the OTish-ness...
And since all this coding stuff is waaaayy over my head (and I'm a tall guy...) I'll forget this topic exists. "Have fun storming the castle!"



------------------
"He who laughs last thinks slowest."
"Just becase you're paranoid doesn't mean they're not out to get you."
"To err is human; to really screw up you need a computer."
Creator of the Sandvich Bar
SERIOUSLY...! | {The Sandvich Bar} - Rhino-FS2 Tutorial | CapShip Turret Upgrade | The Complete FS2 Ship List | System Background Package

"...The quintessential quality of our age is that of dreams coming true. Just think of it. For centuries we have dreamt of flying; recently we made that come true: we have always hankered for speed; now we have speeds greater than we can stand: we wanted to speak to far parts of the Earth; we can: we wanted to explore the sea bottom; we have: and so  on, and so on: and, too, we wanted the power to smash our enemies utterly; we have it. If we had truly wanted peace, we should have had that as well. But true peace has never been one of the genuine dreams - we have got little further than preaching against war in order to appease our consciences. The truly wishful dreams, the many-minded dreams are now irresistible - they become facts." - 'The Outward Urge' by John Wyndham

"The very essence of tolerance rests on the fact that we have to be intolerant of intolerance. Stretching right back to Kant, through the Frankfurt School and up to today, liberalism means that we can do anything we like as long as we don't hurt others. This means that if we are tolerant of others' intolerance - especially when that intolerance is a call for genocide - then all we are doing is allowing that intolerance to flourish, and allowing the violence that will spring from that intolerance to continue unabated." - Bren Carlill

 

Offline Sandwich

  • Got Screen?
  • 213
    • Skype
    • Steam
    • Twitter
    • Brainzipper
Ok, for the good of the code
What the heck happened to my post?!? Kazan, you bloodied it!  

------------------
"He who laughs last thinks slowest."
"Just becase you're paranoid doesn't mean they're not out to get you."
"To err is human; to really screw up you need a computer."
Creator of the Sandvich Bar
SERIOUSLY...! | {The Sandvich Bar} - Rhino-FS2 Tutorial | CapShip Turret Upgrade | The Complete FS2 Ship List | System Background Package

"...The quintessential quality of our age is that of dreams coming true. Just think of it. For centuries we have dreamt of flying; recently we made that come true: we have always hankered for speed; now we have speeds greater than we can stand: we wanted to speak to far parts of the Earth; we can: we wanted to explore the sea bottom; we have: and so  on, and so on: and, too, we wanted the power to smash our enemies utterly; we have it. If we had truly wanted peace, we should have had that as well. But true peace has never been one of the genuine dreams - we have got little further than preaching against war in order to appease our consciences. The truly wishful dreams, the many-minded dreams are now irresistible - they become facts." - 'The Outward Urge' by John Wyndham

"The very essence of tolerance rests on the fact that we have to be intolerant of intolerance. Stretching right back to Kant, through the Frankfurt School and up to today, liberalism means that we can do anything we like as long as we don't hurt others. This means that if we are tolerant of others' intolerance - especially when that intolerance is a call for genocide - then all we are doing is allowing that intolerance to flourish, and allowing the violence that will spring from that intolerance to continue unabated." - Bren Carlill

  

Offline Pez

  • 26
Ok, for the good of the code
Kazan, as always. Great work, hopefully this will be to some good for us 3DS Maxers out there some day.

And Sandwich. Your siggie is wrong, it should be: "....doesn't mean they're not after you".  

Pez

 

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Ok, for the good of the code
a good 3DS modeller and programmer could write a 3DS plugin

------------------
FreeSpace 2: The Babylon Project Effects Nerd and Programmer.
http://freespace.volitionwatch.com/babylon

Alliance Productions
http://alliance.sourceforge.net

Did you say you wanted your head used as a soccer ball?
The Klooges are coming! RUN! RUN FOR YOUR LIVES!
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir