Im working on a idear to make Hook 5 a bit easier for the massive amount of new plegde Hook 5 users.
I will only focus on the static object part on this Blog.
The plan is to give you the code you can use in your leveldefenition file to load static object in your empty room.
This will be done by using the ![OBJ]startercontentRC im working on at the moment.
and the room/position creator tool.
This is what i would like to address:
1. Navigation within Hook GUI
2. Explaining the Static object menu
3. Setting a static object.
4. Explaine name parant
5. How to use lighting
enable = true
type = spotlight spotlight/omni
position = 0.000000, 0.000000, 0.000000 yeah position
rotation = -90.000000, 0.000000, 0.000000 set -90 on x to face the light down. set 90 on y to make it rotate sideways with x
color = 255, 255, 255 color of the light to set atmosphere
intensity = 5.000000 light brightness
diffuse_only = true This one is very fps dependent. true will effect the skin ambiant occlusion only i believe. false will light the objects and normal specular maps but will save you some fps [not sure]
fov = 1.300000 This will make the lightbundle bigger or smaller
near = 0.010000 This brings the light bundle closer to the light origin point
source_radius = 0.000000 see below
source_curve = 2.000000 both of these will affect your range fade curve and radius. thats for the light falloff [i think]
range_fade = 1 the point where the lights fades and lose strength
fov_fade = 1 field of view where you can see the fade and where not.
cast_shadow = true as it named will or will not cast a shadow. for example a streetlight with the prefix false will show the light at full strength an create a lightcircle and save fps
shadow_bias = 0.000200 to control the shadow range after clamping.
clamp_range = 2.200000 This one is important for saving fps. 0 is full lights. if you look at the boundboxes with F2 you will see you will lose a lot of light thats not used. clamp 1 for very close, 2 for middle, 3 for max is good guideline
bound_color = 255, 229, 51, 153 color of the lights boundbox. set different colors for al the lights so you can see what is what
script_name = Here you can set a script to a light. movement and rotation is already in the Lua scripts folder an can be called.
parent_name = you can connect a light to a object and script the object to rotate. this way the light will follow the object
6. Using particles (fire/smoke/exc.)
7. How to set a Cubemap
8. Using water object
9. Using LUA scripts to animate a object
10. How to mod a .dds file
11. maybe how to make a hook5 object using blender
Still thinking on how to share this info. I like movies myself because i can pause it, but im a bit nervous doing that.
Please share your thoughts about the way you would like me to do it.
I will start with this once i have my first ![OBJ]startercontentRC pack ready. (getting close)