Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Ubermeowmix

Member Since 30 Jan 2010
Offline Last Active Yesterday, 11:49 AM

#5221584 Implementing a quest/achievement system

Posted by Ubermeowmix on 06 April 2015 - 03:45 AM

What's the best way to implement a quest system that's modular and how are the variables checked for say conversations being had, are they stored in the entities themselves as boolean triggers or in a bigger global list/class.

 

I've never done one before an it's a bit daunting trying to figure out what course of action is best.

 

I thought that if I store the variables in the NPC's and then have the quest class check for whether condition1 & itemB have been done then that would be the best way to bolt on extra levels and characters.

 

Am I on the right track?




#5191708 Help, falling at the first hurdle as usual

Posted by Ubermeowmix on 07 November 2014 - 12:46 PM

Where is the file libglfw.a located? The option -lglfw on the linker command line is going to search the visible link directories for a static library called libglfw.a. If it is not located in any of the visible linker paths, then you need to specify the correct path using -L

 

I didn't understand this bit when you first advised me of it, very frustrating lol.




#5089142 Windows.h has just dissappeared!?

Posted by Ubermeowmix on 26 August 2013 - 05:03 AM

Rebooting did nothing, it seems only directX referenced files are showing up so I am uninstalling and reinstalling Visual studio and the DirectX SDK. It happened after I ran the code for a simple DirectX11 window. Was working fine then everything just dissappeared :S

 

Will let you know if it works, it's bloody frustrating. Everytime I have the time to really get going on a project, something kicks me in the nuts and stops me dead :(




#5089123 Windows.h has just dissappeared!?

Posted by Ubermeowmix on 26 August 2013 - 03:08 AM

I was coding some simple demo's, and then all of a sudden it came up with the following errors:

 

1>------ Build started: Project: Blank Direct3D, Configuration: Debug Win32 ------
1>  main.cpp
1>c:\users\Me\blank direct3d\blank direct3d\main.cpp(1): fatal error C1083: Cannot open include file: 'Windows.h': No such file or directory
1>  DX11DemoBase.cpp
1>c:\program files (x86)\microsoft directx sdk (june 2010)\include\d3d11.h(27): fatal error C1083: Cannot open include file: 'rpc.h': No such file or directory
1>  Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
 

I cannot reinstall DirectX as it fails everytime, and yes I've redownloaded the install file twice now.

 

What the Hell is going on, I did one demo using #include <Windows.h> that worked fine, now it's fallen on it's arse.

 




#5068423 OpenGL driving me crazy

Posted by Ubermeowmix on 09 June 2013 - 09:19 AM

Fixed it, schoolboy error!

 

I was including the whole freeGlut folder under Linker->general->additional includes

 

That is sooooo totally wrong, you have to (step by step)

 

1. Download & copy the freeGlut folder to your project.

2. Link in VC++Directories

2a. In 'Include Directories' the include folder in your copied freeGlut folder

2b. In 'Library Directories', to the lib folder respectively.

3. Add OpenGL32.lib, freeglut.lib to the Linker->Input->Additional Dependencies section.

 

Run the code and have a great weight lifted from your shoulders!

 

Accidentally duplicated this post, sorry guys.




#5068421 Help with OpenGL initialization

Posted by Ubermeowmix on 09 June 2013 - 09:17 AM

Fixed it, schoolboy error!

 

I was including the whole freeGlut folder under Linker->general->additional includes

 

That is sooooo totally wrong, you have to (step by step)

 

1. Download & copy the freeGlut folder to your project.

2. Link in VC++Directories

2a. In 'Include Directories' the include folder in your copied freeGlut folder

2b. In 'Library Directories', to the lib folder respectively.

3. Add OpenGL32.lib, freeglut.lib to the Linker->Input->Additional Dependencies section.

 

Run the code and have a great weight lifted from your shoulders!




PARTNERS