Community

The PokéCommunity

We are still working on a better slogan!

Visit Index



Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Notices

Scripts & Tutorials This forum is for scripts and code, as well as all kinds of tutorials, software, tools and so forth. Remember to give credit!
The thread revival limit does not apply here.

Post Reply
 
Thread Tools
  #1    
Old November 5th, 2012, 10:12 AM
Umbreon's Avatar
Umbreon
Community Supporter
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 17
Gender: Male
Nature: Calm
XP Irrlicht

Version: 1.0

Description:

This is a port from Irrlicht to Rpg Maker XP, just like what DemonFire did except mine is open source (not the dll though)

Features As of Now:
3D models (.md2, .obj, ect.) Any models that Irrlicht can support by default
Model Textures (.png, .bmp, ect.) Any Texture that Irrlicht can support by default
Custom BG color (No explanation needed really)
Model Transformation (scaling,rotation,transformation)


Notes:
For now the only help you get is that of which is exampled in the Scene_Irrlicht
I shall in the next release add camera viewing and 2D GUIs
Do not use unless you have some scripting knowledge, otherwise you'll get lost easily
Yes, I know a second screen pops-up (The one is the old game window and the other renders Irrlicht, I'll try to fix this so only 1 window pops up)

Images

Spoiler:




Finally:
You can vouch that this is mine for 2 reasons 1 the build of mine is very much different than DemonFire's and secondly I added a dll function which the sole purpose is to return my username I use more commonly (Hansiec)

Downloads:
#1.0#

Credits:
Hansiec/Ho-oh 112 (which either way is me) -- Creator of the DLL/Ruby Scripts
Irrlicht -- Creator of Irrlicht and the model (with the texture) used for the example
DemonFire -- Of course for giving me the idea for using Irrlicht with RMXP

Last edited by Umbreon; November 5th, 2012 at 11:03 AM.
  #2    
Old November 5th, 2012, 10:52 AM
Rayquaza.'s Avatar
Rayquaza.
Lead Dev in Pokémon Chaos
 
Join Date: Sep 2011
Location: United Kingdom
Age: 18
Gender: Male
Nature: Adamant
---------------------------
Script 'Irrlicht' line 26: RuntimeError occurred.

LoadLibrary: XPIrrlicht

---------------------------

Slight technical hitch with this one.
  #3    
Old November 5th, 2012, 11:00 AM
Umbreon's Avatar
Umbreon
Community Supporter
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 17
Gender: Male
Nature: Calm
Quote:
Originally Posted by Rayquaza. View Post
---------------------------
Script 'Irrlicht' line 26: RuntimeError occurred.

LoadLibrary: XPIrrlicht

---------------------------

Slight technical hitch with this one.
I don't get the error, are you using it as it is plainly? (Don't use with Essentials) Also, you need the two dlls included
  #4    
Old November 5th, 2012, 11:16 AM
Rayquaza.'s Avatar
Rayquaza.
Lead Dev in Pokémon Chaos
 
Join Date: Sep 2011
Location: United Kingdom
Age: 18
Gender: Male
Nature: Adamant
That's probably the problem. What are the dll files?
  #5    
Old November 5th, 2012, 11:18 AM
Umbreon's Avatar
Umbreon
Community Supporter
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 17
Gender: Male
Nature: Calm
Quote:
Originally Posted by Rayquaza. View Post
That's probably the problem. What are the dll files?
XPIrrlicht and Irrlicht, both are included, check the zip if you don't have them.
  #6    
Old November 5th, 2012, 11:31 AM
Rayquaza.'s Avatar
Rayquaza.
Lead Dev in Pokémon Chaos
 
Join Date: Sep 2011
Location: United Kingdom
Age: 18
Gender: Male
Nature: Adamant
They're in the folder, I got this though when loading from game.exe:

---------------------------
3d project: Game.exe - System Error
---------------------------
The program can't start because MSVCR100D.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------

---------------------------
Script 'Irrlicht' line 26: RuntimeError occurred.

LoadLibrary: XPIrrlicht

---------------------------
  #7    
Old November 5th, 2012, 11:38 AM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 20
Gender: Male
Nature: Naughty
Quote:
Originally Posted by Rayquaza. View Post
They're in the folder, I got this though when loading from game.exe:

---------------------------
3d project: Game.exe - System Error
---------------------------
The program can't start because MSVCR100D.dll is missing from your computer. Try reinstalling the program to fix this problem.
---------------------------

---------------------------
Script 'Irrlicht' line 26: RuntimeError occurred.

LoadLibrary: XPIrrlicht

---------------------------
Yeah :/
I'm getting this error as well.
gone.
  #8    
Old November 5th, 2012, 11:41 AM
Umbreon's Avatar
Umbreon
Community Supporter
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 17
Gender: Male
Nature: Calm
Quote:
Originally Posted by Nintendork15 View Post
Yeah :/
I'm getting this error as well.
What windows version are you guys using?


Anyways here: dlls.zip

If that does not work: msvcr100d.zip

I am using windows 7 64x
  #9    
Old November 9th, 2012, 05:06 PM
Umbreon's Avatar
Umbreon
Community Supporter
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 17
Gender: Male
Nature: Calm
Alright Updates:

I changed the dll from debug to release this hopefully will remove the dll errors.
I got the game rendering directly onto the rgss window! (Now only 1 window pops up) Should currently be compatible with Essentials
Added A projection (custom camera views)
Added lighting
Added support for Irrlicht's built in sphere/block models
Added Sky Boxes! (Panorama folder)
Added Animation support
Added Gui Support
And much more!

Glitches:
When moving the mouse on the window it flickers black, this is due to the game's internal graphics rendering (I need to cancel this out)

I had to sacrifice the Hangup to continue running the process, unless you all wanted the game to flicker black every time you call Graphics.Update.

Anyways, if you know how to stop XP's internal graphics from rendering, that will be great!

I'll release it next week.
  #10    
Old November 9th, 2012, 07:18 PM
KingCharizard's Avatar
KingCharizard
C++ Developer Extraordinaire
 
Join Date: Dec 2009
Location: Pennsylvania
Age: 26
Gender: Male
Nature: Bold
why are you trying to use RMXP and Irrlicht together?
My personal website. UPDATED 8/29/2013
  #11    
Old November 10th, 2012, 08:09 AM
Umbreon's Avatar
Umbreon
Community Supporter
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 17
Gender: Male
Nature: Calm
1. 3D Support for XP

2. Increases my skills in c++.

3. Increases my skills in Irrlicht.

Mostly, I am doing this because there is no real 3D system, MGC's Hmode7 can only support 1 polygon and can lag which makes it difficult to make a 3D game.

But then again, I suppose the best port from Irrlicht to XP would require a complete re-make of the built in graphics rendering (or at least prevent it from rendering) because this is my only problem, it will start to render if you move the mouse on screen. (if the mouse is off the window or you are holding a button in it will not render)
  #12    
Old November 16th, 2012, 10:47 AM
ppooookkkkkkk
Banned
 
Join Date: May 2012
Location: Newbud town (Pokemon Morning/Night)
Age: 13
Gender: Male
Nature: Gentle
will every body be able to make 3d models like bw and add them to there game?

i know it sounds dumb but just asking

Last edited by ppooookkkkkkk; November 16th, 2012 at 10:54 AM.
  #13    
Old November 16th, 2012, 11:12 AM
Umbreon's Avatar
Umbreon
Community Supporter
 
Join Date: Aug 2009
Location: Nearby my feet.
Age: 17
Gender: Male
Nature: Calm
Yes, because Irrlicht is a 3D engine.
Post Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 07:29 PM.

About Us
© 2002 - 2014 The PokéCommunity™, pokecommunity.com. Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.

Copyright
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com. PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator. Header artwork by Jordanice of deviantART.

Social Media
If you would like to stay up-to-date with us on the go, when we're down, or other such things, follow us on social media sites--most notibly Twitter, Facebook, and Google Plus--by clicking on the links provided.

Design presented by Peitharchia. Special thanks to Hiroshi Sotomura and Ausaudriel.