Static Camera Like Resident Evil And 3d Cacodemon

5 replies to this topic

#1 briantrlov

briantrlov

GMC Member

• GMC Member
• 610 posts

Posted 16 November 2009 - 04:04 AM

Hello, i have created this wonderful engine for static camera's and a 3d model of a cacodemon implemented into the fps's.

STATIC CAMERA

Because of inner doubt of you actually reading game comments i will post the manual here.

Screenshots

Manual:
Obj_c1-5:These are the floor pieces for the camera to switch upon i.e. (obj_player collision with obj_c1) = obj_camera.camera=1
Obj_camera and its variables:
camera=1 *This is the camera you will be using
var1-var9 are the arguments (i.e. d3d_draw_cylinder(x-4,y-4,z x-4 is argument0 y-4 is argument1) for d3d_set_projection. in this case those arguments are:
d3d_set_projection(var1,var2,var3,var4,var5,var6,v
ar7,var8,var9);
//xfrom,yfrom,zfrom,xto,yto,zto,xup,yup,zup
More detail:
xfrom=is the x position of the camera
yfrom=is the y position of the camera
zfrom=etc. z position
xto=the x the camera will face i.e. if the camera is at x,y position 32,32 and you want the camera to face 48,48 xto would equal 16 because the difference between 32 and 48 is 16.
yto=same as xto but y positions
zto=same as xto but z positions
xup=the rotation of the camera i would say i am not 100%
yup and zup are the same just play with them and have your personal conclusion.
that is everything that d3d_set_projection does, so knowing that all this engine does is have 5 different projections and when obj_player collides with a different obj_c the projection changes to another view.
if that was too hard to understand try examining the fps tutorial alone and take it apart until you got it down around 80% correct.

3D CACODEMON

Ok this is a rather complicated example of putting a 3d model into Game Maker it turned out pretty well. This example is only to show how to put a 3d cacodemon into Game Maker not how to model one so i spent more time on coding then modeling so please don't criticize the model.

also keep in mind this is basic there is no A.I. set for the monsters this was strictly showing how to put a 3d model into game maker as a monster instead of a picture

Download fps.zip you need to un zip it for it to work

Screenshot

Edited by briantrlov, 28 November 2009 - 04:55 PM.

• 0

#2 briantrlov

briantrlov

GMC Member

• GMC Member
• 610 posts

Posted 25 November 2009 - 03:41 AM

Anyone find this useful?
• 0

#3 briantrlov

briantrlov

GMC Member

• GMC Member
• 610 posts

Posted 28 November 2009 - 02:47 AM

• 0

#4 NoobieKills

NoobieKills

GMC Member

• New Member
• 21 posts

Posted 28 November 2009 - 09:40 AM

PM me a link cause the link for the 3d cacodemon does not work. I cannot use megaupload, rapid share, and you share. Use other like www.mediafire.com or 64 digits or host-a.net. If you PM me a link, I will give you full credit in my game. Thanks.
• 0

#5 briantrlov

briantrlov

GMC Member

• GMC Member
• 610 posts

Posted 28 November 2009 - 04:56 PM

• 0

#6 briantrlov

briantrlov

GMC Member

• GMC Member
• 610 posts

Posted 19 January 2012 - 05:07 AM

Better Model Here
• 0

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users