The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Creative Discussions > Game Development > Scripts & Tutorials
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

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.


Reply
 
Thread Tools
  #1    
Old November 5th, 2012, 10:12 AM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Near a laptop
Age: 17
Gender: Male
Nature: Quiet
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
__________________
Things I'm working on:
Pokemon Essentials GTS System
Pokemon Essentials Mach & Acro Bike Script
PvP Script
Random Battle Generator

If you wish to donate to me you can do so here:
https://www.paypal.com/cgi-bin/websc...if%3aNonHosted

Last edited by hansiec; November 5th, 2012 at 11:03 AM.
Reply With Quote
  #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: 17
Gender: Male
Nature: Adamant
---------------------------
Script 'Irrlicht' line 26: RuntimeError occurred.

LoadLibrary: XPIrrlicht

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

Slight technical hitch with this one.
__________________
"Souls Will Fall, Darkness Will Spread, Chaos Will Rise"

Pokémon Chaos
12th January 2014




My Youtube Channel | Pokémon Chaos Thread | My DeviantArt | Mystery Dungeon Starter Kit Discussion Thread
Reply With Quote
  #3    
Old November 5th, 2012, 11:00 AM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Near a laptop
Age: 17
Gender: Male
Nature: Quiet
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
__________________
Things I'm working on:
Pokemon Essentials GTS System
Pokemon Essentials Mach & Acro Bike Script
PvP Script
Random Battle Generator

If you wish to donate to me you can do so here:
https://www.paypal.com/cgi-bin/websc...if%3aNonHosted
Reply With Quote
  #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: 17
Gender: Male
Nature: Adamant
That's probably the problem. What are the dll files?
__________________
"Souls Will Fall, Darkness Will Spread, Chaos Will Rise"

Pokémon Chaos
12th January 2014




My Youtube Channel | Pokémon Chaos Thread | My DeviantArt | Mystery Dungeon Starter Kit Discussion Thread
Reply With Quote
  #5    
Old November 5th, 2012, 11:18 AM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Near a laptop
Age: 17
Gender: Male
Nature: Quiet
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.
__________________
Things I'm working on:
Pokemon Essentials GTS System
Pokemon Essentials Mach & Acro Bike Script
PvP Script
Random Battle Generator

If you wish to donate to me you can do so here:
https://www.paypal.com/cgi-bin/websc...if%3aNonHosted
Reply With Quote
  #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: 17
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

---------------------------
__________________
"Souls Will Fall, Darkness Will Spread, Chaos Will Rise"

Pokémon Chaos
12th January 2014




My Youtube Channel | Pokémon Chaos Thread | My DeviantArt | Mystery Dungeon Starter Kit Discussion Thread
Reply With Quote
  #7    
Old November 5th, 2012, 11:38 AM
Nintendork15
I'm gone. Bye.
 
Join Date: Feb 2009
Location: Undertaker. Co.
Age: 19
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.
Reply With Quote
  #8    
Old November 5th, 2012, 11:41 AM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Near a laptop
Age: 17
Gender: Male
Nature: Quiet
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
__________________
Things I'm working on:
Pokemon Essentials GTS System
Pokemon Essentials Mach & Acro Bike Script
PvP Script
Random Battle Generator

If you wish to donate to me you can do so here:
https://www.paypal.com/cgi-bin/websc...if%3aNonHosted
Reply With Quote
  #9    
Old November 9th, 2012, 05:06 PM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Near a laptop
Age: 17
Gender: Male
Nature: Quiet
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.
__________________
Things I'm working on:
Pokemon Essentials GTS System
Pokemon Essentials Mach & Acro Bike Script
PvP Script
Random Battle Generator

If you wish to donate to me you can do so here:
https://www.paypal.com/cgi-bin/websc...if%3aNonHosted
Reply With Quote
  #10    
Old November 9th, 2012, 07:18 PM
KingCharizard's Avatar
KingCharizard
C++ Developer Extraordinaire
 
Join Date: Dec 2009
Location: Pennsylvania
Age: 25
Gender: Male
Nature: Bold
why are you trying to use RMXP and Irrlicht together?
__________________
My personal website. UPDATED 8/29/2013
Reply With Quote
  #11    
Old November 10th, 2012, 08:09 AM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Near a laptop
Age: 17
Gender: Male
Nature: Quiet
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)
__________________
Things I'm working on:
Pokemon Essentials GTS System
Pokemon Essentials Mach & Acro Bike Script
PvP Script
Random Battle Generator

If you wish to donate to me you can do so here:
https://www.paypal.com/cgi-bin/websc...if%3aNonHosted
Reply With Quote
  #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.
Reply With Quote
  #13    
Old November 16th, 2012, 11:12 AM
hansiec's Avatar
hansiec
Scripting Genius
 
Join Date: Aug 2009
Location: Near a laptop
Age: 17
Gender: Male
Nature: Quiet
Yes, because Irrlicht is a 3D engine.
__________________
Things I'm working on:
Pokemon Essentials GTS System
Pokemon Essentials Mach & Acro Bike Script
PvP Script
Random Battle Generator

If you wish to donate to me you can do so here:
https://www.paypal.com/cgi-bin/websc...if%3aNonHosted
Reply With Quote
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 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 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.
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.