UPDATE
This is the latest version of the CorVus source code.
This is for Dark Goblin to look at.
It compiles, but crashes when run in test or build game.
it keeps crashing for some odd reason, I think it's to do with the
Advanced Lighting or something like that.
This source contains:
- Removed DoF
* Everything in first post
* Latest code on FPSC 1.20 r650
* Lightscattering
* Skybox effects
* EdgeAA
* Bloom flare
* Pixel blur
* Build game and test game fix
* Universe no longer deleted
* Characters work
* Weapons work
* Characters no longer shoot through walls
* Flashlight toggled via commands
* Toggle shadow updates
* Toggle sky updates
* Toggle ToD updates
* Cleaner, prettier code
New commands:
* CorVusFlashOn -- Turn on flashlight
* CorVusFlashOff -- Turn off flashlight
* CorVusFlashToggle -- CorVusFlashOn and CorVusFlashOff merged into a single command
* DisableShadowUpdate -- Disable shadow updates
* EnableShadowUpdate -- Enable shadow updates
* DisableSkyUpdate -- Disable sky updates
* EnableSkyUpdate -- Enable sky updates
* DisableToDUpdate -- Disable ToD updates
* EnableToDUpdate -- Enable ToD updates
New setup file flags:
* lightrays -- Lightrays, not working yet 0/1
* skybox -- Skybox effects 0/1
* edgeaa -- EdgeAA 0/1
* lightcount -- Light count (default 8)
* directionalshadowsize -- Directional shadow size (should be the same as directsize)
* timeofday -- Toggle time of day effects 0/1
* pixelblur -- Pixel blur 0/1
* lightscattering -- Lightscattering 0/1
* bloomflare -- Bloom flare 0/1
Flashlight script:
;Artificial Intelligence Script
;Header
desc = CorVus Mod Flashlight
;Triggers
:state=0,keypressed=33 1:corvusflashon,state=1
:state=1,keypressed=33 0:state=2
:state=2,keypressed=33 1:corvusflashoff,state=3
:state=3,keypressed=33 0:state=0
;End of Script
Default corvus_setup.ini values:
[CorVus Addons]
dynobjectshadows=0
shadowsize=256
directsize=512
directionalshadowsize=512
lightcount=8
lightmaps=1
lightrays=0
bloom=0
depthoffield=0
edgeaa=0
pixelblur=0
bloomflare=0
lightscattering=0
todtime=7
timeofday=0
skybox=0
Download r650 Source
-TZK