Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Fri Apr 19, 2024 11:33 pm
All times are UTC + 0
Link to C++ code ?
Moderators: stucuk
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
abcdef
Guest




PostPosted: Tue Mar 29, 2005 1:56 am    Post subject:  Link to C++ code ? Reply with quote  Mark this post and the followings unread

Is it possible to link the voxel section editor to external C++ code (for example if I have some codes describing how certain voxels change colors or disappear etc.)

In fact I'd like to ask how to read in a vxl file (it can't be opened as ASCII). Thanks.  Smile

Back to top
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Tue Mar 29, 2005 2:02 am    Post subject: Reply with quote  Mark this post and the followings unread

You have to read it like a binary file.

And i don't know how to mix different computer languages in a program... maybe it's possible with some dll stuff or related... but the VXLSE is done with Delphi (Object Pascal).

_________________


Mods, Mods Support, Public Researchs, Map Archives, Tutorials, A Friendly Community and much more. Check it out now!

Back to top
View user's profile Send private message Visit poster's website Skype Account
abcdef
Guest




PostPosted: Tue Mar 29, 2005 2:20 am    Post subject: Reply with quote  Mark this post and the followings unread

thank you banshee

after selecting a certain voxels, how can I label them, and point to them from my codes ?

Back to top
Banshee
Supreme Banshee


Also Known As: banshee_revora (Steam)
Joined: 15 Aug 2002
Location: Brazil

PostPosted: Tue Mar 29, 2005 2:24 am    Post subject: Reply with quote  Mark this post and the followings unread

No idea. You have to check the source code, really.

_________________


Mods, Mods Support, Public Researchs, Map Archives, Tutorials, A Friendly Community and much more. Check it out now!

Back to top
View user's profile Send private message Visit poster's website Skype Account
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Tue Mar 29, 2005 3:39 am    Post subject: Reply with quote  Mark this post and the followings unread

Are you wanting to make a plugin for VXLSE III (which isn't supported currently) which can do different effects, etc?

Note: DLL Support in VXLSE III is the only way to have C++ code and delphi working together (since u can't have both in the exe. Unless u had Borland C++ Builder, or whatever its called. It can use both together)

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
abcdef
Guest




PostPosted: Tue Mar 29, 2005 4:01 am    Post subject: Reply with quote  Mark this post and the followings unread

O nice to meet you, stucuk !

At this stage I think I just want to use VXLSE to do the graphics (select certain voxels and label them). Then in my code I open array variables and read in the vxl file. However the voxel.pas looks quite complicated and I still don't know how to read in the vxl file.

In the long run, hehe, if programming is supported (such as http://www.cs.uu.nl/people/markov/gmaker/ ) then it will become a full game engine for making different games !!

Thanks again.

Back to top
abcdef
Guest




PostPosted: Tue Mar 29, 2005 4:14 am    Post subject: Reply with quote  Mark this post and the followings unread

Maybe clarifying myself. I don't need a real-time plugin. I can save the vxl file first, and then try to open it with my code. So the problems are how to label the selected voxels and how to read in the vxl data with the selected voxels labelled.

Smile

Back to top
abcdef
Guest




PostPosted: Tue Mar 29, 2005 6:59 am    Post subject: Reply with quote  Mark this post and the followings unread

Cooooo... I begin to understand procedure TVoxel.LoadFromFile now...

Back to top
stucuk
Geek


Joined: 27 Aug 2002

PostPosted: Tue Mar 29, 2005 3:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

If i was you id use real models. Voxels can't be drawn in 3d with a good fps (multipul ones). If your game will be 2d then ud have to work out how to render them in 2d (which is alot faster).

But if u want a 3d game, u should use a format like MD3, 3DS, etc

_________________
Free Map Editor - Game Requirements - Stucuk.Net

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1571s ][ Queries: 11 (0.0088s) ][ Debug on ]