-
Posts
397 -
Joined
-
Last visited
Content Type
Blogs
Forums
Store
Gallery
Videos
Downloads
Everything posted by flachdrache
-
Hmmm, so i could add actions to "dead" physical objects in the scene ?! A chain of commands for a big explosion of some fuel tank would be : while object.health > 0 do if object.health is decreased then object.health = object.health - object.decrease end else object:Destroy() end function object:Destroy() ... blabla GetEntityPosition(self); self.spawn_explosion; self.spawn_shakeCamera; self.spawn_explosionEmmiter; ... blabla end How complicated would the flowgraph get - i mean, its just one object but several events and would such flowgraph_eventbehavior be saved to file for being used again and again ( x times the same fuelTank = sameExplosion behavior ) ? thx
-
Cool ... make a benny hill mod, please.
-
For unknown reasons animated and static models do explode on me once in a while - i guess its because : x, fbx formats do export its sceneRoot in form of a single bone/joint an old, outdated fbx version just crashes converter apps on import an dae model has a scale value assigned to its rootBone which the importer cant handle beside the animated X models issue, which are using d3d indexed skinning (FPSC models) - i would like to have a list of which file format(s) "revision" should be used with the converter tools ! ... should be used is a bit vague since the dae issue persists, fbx at least had a 2010 head revision which should be used for all animated models ?! PS : "specification" was the word.
-
I wouldnt say its all your fault josh - as a user we need to expect that the software is configured properly. In case of a backup i too would expect the default setting would be "all-and-everything". Got me tempted though and i might have to put a bbord up myself, just to work with it. I hope its not too bad for lw beginners ... at least there is the wiki, the set of tutorials, the user-manual and the C api manual from sep2010.
-
Well, i meant to use "PointEntity" with an array of stuff you would like to look at while going on - not manually using the mouse. I thought i road something about "movie-camera" - my tired eyes. thx macklebee to pick that up.
-
Quick and dirty from fps lua script ... require("Scripts/linkedlist") require("Scripts/spline") require("Scripts/constants/keycodes") --Variables camerapitch=0.0 camerayaw=0.0 camerapitch=fw.main.camera.rotation.x camerayaw=fw.main.camera.rotation.y HideMouse() FlushMouse() FlushKeys() local dummy = LoadModel( "abstract::info_camera_node.gmf" ) local node local currentnode if dummy~=nil then for node in iterate(dummy.reference.instances) do if node:GetKey("starthere")=="1" then currentnode=node break end end dummy:Free() end if currentnode==nil then Notify("No starting camera node found!") return end local nextnode=currentnode:GetTarget() if nextnode==nil then Notify("At least two camera nodes are required.") return end local tension=EntityDistance(currentnode,nextnode)*0.5 local spline=CreateSpline(currentnode.position,currentnode.mat:K():Scale(tension),nextnode.position,nextnode.mat:K():Scale(tension),0.75) local splinelength = spline:Length() fw.main.camera:SetMatrix(currentnode.mat) local n=0.0 while KeyHit(KEY_ESCAPE)==0 do if n>=1.0 then currentnode=nextnode nextnode=currentnode:GetTarget() if nextnode==nil then break end tension=EntityDistance(currentnode,nextnode)*0.5 spline=CreateSpline(currentnode.position,currentnode.mat:K():Scale(tension),nextnode.position,nextnode.mat:K():Scale(tension),0.75) n=0.0 splinelength=spline:Length() end p=Vec3(0) t=Vec3(0) if nextnode~=nil then --less smooth n = n + ( 0.01*AppSpeed()/splinelength*10.0 ) spline:Interpolate(n,p,t) --Camera look gx=Round(GraphicsWidth()/2) gy=Round(GraphicsHeight()/2) dx=Curve((MouseX()-gx)/4.0,dx, 0.01*AppSpeed() ) dy=Curve((MouseY()-gy)/4.0,dy, 0.01*AppSpeed() ) MoveMouse(gx,gy) camerapitch=camerapitch+dy camerayaw=camerayaw-dx camerapitch=math.min(camerapitch,89) camerapitch=math.max(camerapitch,-89) fw.main.camera:SetRotationf(camerapitch,camerayaw,0,1) -- if KeyDown(KEY_SPACE)~=1 then fw.main.camera:SetPosition(p) fw.main.camera:AlignToVector(t,3,0.01*AppSpeed() ) end --was --MoveMouse(GraphicsWidth()/2,GraphicsHeight()/2) end fw:Update() fw:Render() Flip(0) end ShowMouse()
-
Hmmm, magnetism comes to mind - scale velocity towards bodys. Iam in doubt with searching for just "quaternion camera" .. but it might gives a better idea. Report back if you find something about using the xbox360 controller for this if you dont mind - iam completely lost on that part.
-
FYI : there are plenty of "blender game engine" samples - at least for 2.4x. Search for "matrix scene" or that jump&run "Apricot". However, i havent seen any highDef inGame scene within blender yet + getting into a new engine its always better to choose something with a strong community imho. I know i should have added a "no blender game engine discussion". :)
-
request - animated model conversion ( 3ds max )
flachdrache replied to flachdrache's topic in Game Artwork
Would be great - the thug is a great stereotype kind of a guy. -
Hi, there are some pretty nice (GPL) models (animated) i would like to use - especially the thug model. Anyone can take the time convert these old max characters to fbx, dae or gmf for me ? - please do so. link : catmother the thug ( a hero and a cut-scene cherry pop ) is in the "cm-gfx-20030922.zip" file. PS : while we are at it - the hitman from codename47 can be found here. ( just riggid though )
-
For me i dropped the idea ( which would bre great ) because of random knee (etc) juggling and having not the skills / tools to clean those out. Would be some great asset though. Its using all the same skels iirc - no fingers or toes tough. [edit] stupid reason i guess - aint much noticable on running or other faster motions.
-
Lots of tweaking needs to go into this tho - e.g. these are straight recordings of them sessions afaik.
-
Hmmm, an underwater game is a very good reason to implement some sort of infinite terrain - some kind of underwater s.t.a.l.k.e.r maybe.
-
iirc is the "ProcessScene" code, you are using, outdated and does not handle terrain entitys ( or waterplanes etc. ) - comment out the very last part which frees nonProcessed ( not marked ) entitys. I suggest to use the "gameLib" ( dont know which version for 2.28, however ) since it will keep a lot of trouble away of yours. PS : some forum people still using 2.28/2.27, beside the lua enabled, current version.
-
I was just thinking out loud how practical my approach is by loading floors, walls etc. into a empty dummy model in terms of physics ... ill take another look into it later. Dont know whats going on with your material file though. I guess it should be enough to load/create the transparent obejct in the transparency world and just render it like that. Dont know with shader mods atm - one could render the whole inside offscreen i.e. green-screen and copy it over the scene - but again how practical can it be. A material unable to receive dir lighting shadows would work too i guess. PS : if the material has noDraw=1 but shadows=1 - it is invisible but casts shadows. So, from the outside view it makes no sense to me that the shadows inside the building, casted by light inside the building is not visible from outside. It might should be noDraw, shadows, transparent = 1 ... and No iam not aware of a switch like "transparent".
-
Hmmm, going through the scripts i think the conclusion is a exzessive use of the lua "scene definition" - i mean its currently half-baked. One could load all the static objects into the "house-object" too and be sparse with physic objects or make them destructible for the player_controller - which means to rewrite/change my approach. However, the objective would be pretty much drag & drop then. PS : the front material seams to be correct in my script but i dont create the object in the transparency.world - refraction shader showed me. ^^
-
For the preview i actually planned it that way, that the walls are removed too - where the walls where removed can be seen on the floor but i like the see-through idea. I just test in the editor - how one has to sort the transparency.world outside the editor i can only guess atm. Another idea is to just hide the mesh - make it allways ambient_midnight or high noon, so the sun isnt in the way that much. I didnt played many such games ( only jagged alliance and fallout iirc - which are iso ) but i guess they had a lot of such issues in the design to solve.
-
Here is the lua render - and these are separate model, assembled witin a dummy lua model. In this case its only the roof texture which gets replaced by a glass texture after close enough to the object if fw~=nil then object.model:Hide() pick2 = CameraPick(camera,Vec3(GraphicsWidth()/2,GraphicsHeight()/2, 25.0),0,0) object.model:Show() if pick2~=nil then SetWorld(fw.transparency.world) object.model:Paint(LoadMaterial("abstract::dirtyglass2.mat"), 1) SetWorld(fw.main.world) else -- [fixme] rePaint original material ... -- and scale materials alpha value by distance object.model:Paint(LoadMaterial("abstract::gTown_1_1024.mat"), 1) end end http://www.devmex.com/leFiles/blendRoof.png PS : lightmaps could be viewed from outside still.
-
I experimented ( a lot ) with it - keeping a barely visible roof with no direct lighting texture0="abstract::dirtyglass2.dds" clamp0=0,0,0 //seethrough color=1,1,1,0.55 blend=1 //but cast shadow //nodraw=1 castshadows=1 depthmask=1 depthtest=1 cullface=1 overlay=0 zsort=0 specular=0.4 bumpscale=0.1 gloss=0.4 shader="abstract::mesh_diffuse.vert","abstract::mesh_diffuse.frag" shadowshader="abstract::mesh_shadow.vert","" However, shadows casted in the house aint visible from outside too. [edit] changed nodraw commnad
-
No sign of any uploads recently... Still working on it?
flachdrache commented on Mumbles's blog entry in Rachel's Dev-Blog
Two things from a german - one does not need to know everything but one need to know where to find the right answer. Dont downgrade your reality or youll end up somewhere completely different as initially planned. PS: Vector and matrix math seams to be the only game programming related math i continuously find in the interwebs. -
Nice ... , seams like iam not the only one who has to do some new, unknown stuff on the way - great to see that there are so many different game_types people are working on. I like to add a "shoot`em up" and an action-rpg (FPS) to the list then. Currently i setup a testApp to experiment with "camera & cutScene" with the hope to archive some knowledge about movie FX.
-
So, i dont want to know how far it is or whatever - but i would like to know how many people actually are working on a computer game using leadwerks. And, if you like to add, which type of game. PS: Iam allready aware of the fact that at least three people, working on such, usually aint visiting the forum on a daily basis.
-
What is the Final Word on the Blender "Plugin" for LE3?
flachdrache replied to Pancakes's topic in General Discussion
I know that ... the whole ASE terrain thing within E.T. was blender or nothing, since i dont own a copy of 3DStudio. However, some front-ends are simply counterproductive (aint for me since 2.5 though). If configuration is simple enough i would happily download such a "configuration/plugIn" but forcing me to have to use this or that, since there is no other solution available, amplifies the possibility that i have to use another counterproductive tool. -
glew basically helps to make ARB and EXT gl_extensions available iirc. However, you could take a look into the "glext.h" for which extension the "CompressedTexImage2D" command would ask for and implement the extension yourself. There are plenty of tutorials how one would implement FrameBufferObjects etc. - its all the same "basically". imho 3rd party libs are great if not to huge or simply redundant i.e. horrible to write a own openGL renderer w/o such thinks like glew i assume. [edit] glCompressedTexImage2D (OpenGL 1.3, ARB_texture_compression)
-
.lib would be great i assume - however, that bears another question (iam self learning e.g. not in school) - who would suggest bloodshed using Mingw/GCC 3.4.2 over Ms-EE version(s)? And - is there any differance at all, in terms of which (windows) dlls will be included ? Iirc missing dx dll`s are allways debug builds from the SDK (which would need to be provided) and missing windows dll`s are from the windows SDK (if one is using those) ?! Sorry if i miss the point.