MystyMood now for lite-c!!!

Posted By: Loopix

MystyMood now for lite-c!!! - 11/14/07 12:42

Hello dev-buddys

I'm very happy that Alex aka Shadow969 converted all the MystyMod code (must be around 5000 lines of code...) into lite-c. We also should be gratefull to D3D who was the initiator of this conversion...

Download MystyMood lite-c here!
NOTE: You need the latest public beta to be able to run this!

Please consider this MystyMood lite-c version as a beta version...and feel encouraged to find bugs and fix existing ones (please post the fixes here or sent them to me)...THANKS!

Known issues:
-the ffp-fallback water effects don't work correctly (river, lake, waterfall)
-some alpha sorting errors (mainly with water entities)




Posted By: bstudio

Re: MystyMood now for lite-c!!! - 11/14/07 13:06

Cool loopix, this may become usefull for me now as I only use Lite-C lately
Posted By: Slin

Re: MystyMood now for lite-c!!! - 11/14/07 14:04

Thanks to Shadow969 and to you
I love the Water

Did he also clean the script a bit? But even if not, it is still a great contribution

Is it okay if I add a link to the 3DGS Wikis scripts section and add the watershader to the shader section (just in case you are to lazy/have no time for it, if not do it yourself if you want to )?
btw, I am back home since thursday, just in case you have some questions/problems/what ever, I will might answer now ^^

Slin
Posted By: Nowherebrain

Re: MystyMood now for lite-c!!! - 11/16/07 12:21

Thanks, I will check it out, tear it apart, and get a better handle on lite-c.
Posted By: Loopix

Re: MystyMood now for lite-c!!! - 11/18/07 09:06

Hey Slin...welcome back! Fell free to add all the stuff you want to the wiki...I'm always lazy and short of time Btw. would be great if you could help me solving THIS problem...and of course everybody will be gratefull if you can optimize and clean some code ...if all issues are solved, I will ask George to add it to the AU-Resources.

Thanks!
Posted By: Ahriman

Re: MystyMood now for lite-c!!! - 01/11/08 10:43

Hey just wanted to say great work on all of this, I got the A7 version of it working but I cant get the Lite-c one to work at all. Maybe I am doing something wrong but it goes to the A7 splash that says compiling and just freezes there doesnt seem to do anything no matter how long I wait for it?
Posted By: Loopix

Re: MystyMood now for lite-c!!! - 01/11/08 18:12

I just tested with the latest public beta and it worked fine. Though a french developer told me that it wont start with beta version 7.0.7.5. I'm not sure (as I'm not a beta tester) weather this could be due to a changement with PRAGMA_PATH and the backslashes...jcl mentioned that somewehre.

Would be great for the community if someone could help!
Posted By: frazzle

Re: MystyMood now for lite-c!!! - 01/11/08 19:59

I actually never noticed this great thread until now.
Congratz to the both of you whereby I mean Shadow and Loopix for their efforts

Edit: post #2222 Specially preserved for this thread

Cheers

Frazzle
Posted By: Ahriman

Re: MystyMood now for lite-c!!! - 01/11/08 20:00

Yea I am using the latest Public Beta that must mean something is wrong on my end I will have to look into it. How do you run the script from WED? SED? I am going to try and re download it again.
Posted By: Shadow969

Re: MystyMood now for lite-c!!! - 01/11/08 22:26

i'll download the latest beta and check what's wrong ASAP. probably tomorrow
Posted By: Shadow969

Re: MystyMood now for lite-c!!! - 01/12/08 19:09

yep, it's somehow caused by PRAGMA_PATH. quick and dirty fix - copy all scripts from mystymood_data\\mm_scripts folder into your project folder and create a wdl file with the same name as the main script with the following

Code:
PATH "scripts";
PATH "models";
PATH "textures";
PATH "mystymood_data\\mm_scripts";
PATH "mystymood_data\\mm_models";
PATH "mystymood_data\\mm_textures";
PATH "mystymood_data\\mm_lensflares";
PATH "mystymood_data\\mm_sounds";



works fine with latest beta
Posted By: Nidhogg

Re: MystyMood , Shadowmap generator error (Solved) - 01/20/08 04:40

I am having a problem with the shadowmap generator.

I keep getting this error
ERROR 1514
Invalid Pointer or Handle in blur!

Anybody fixed this and if so what do I need to change in that
part of the terrain script.

Many thanks......

P.S I am using v7.07.6 Pro of the latest beta.


EDIT: Ok I found the problem but still can't fix it.
It has to do with the filenaming part of the code.
Where it says shadow_fhandle_n=file_open_write(shadowmap_file_name);
I changed it to shadow_fhandle_n=file_open_write("terr_shadowmap_1.tga"); and it worked....

Hope that makes the problem solving easier.

EDIT_2: Ok I fixed the problem...

Where it says shadow_fhandle_n=file_open_write(shadowmap_file_name);
Should be around line 112..

Replace it with
shadow_fhandle_n=file_open_write(terr_shadowmap_tempstr1);

Also make sure you delete the (shadowmap_file_name) strings..
eg: function write_shadowmap_tga(shadowmap_file_name)
change it to function write_shadowmap_tga()...

Also in the part where it says write_shadowmap_tga(terr_shadowmap_tempstr1) in the blur function around line 234..
Change it to write_shadowmap_tga();

Thanks anyway people...

Posted By: NeoNeper

Re: MystyMood , Shadowmap generator error (Solved) - 02/11/08 19:23

Heloo brothers...
I am trying to use the MystyMoonds, however I am not obtaining to make to function the textures of the land and the water.
The land is all gray and the water is all black color.
With plus somebody happened this?
Somebody knows as to arrange?
I am thankful since already...
Very obliged to all!
Posted By: Loopix

Re: MystyMood , Shadowmap generator error (Solved) - 02/11/08 21:22

Sounds like your graphic card doesen't support shader model 2.0
you can check the "ter_ffe_only" of the terrain (behaviour panel in WED)...the same with the water
Posted By: Shadow969

Re: MystyMood , Shadowmap generator error (Solved) - 02/11/08 21:41

@NeoNeper
what gamestudio version do you use?
what's you graphics card model?
perhaps you can make a screenshot - it'll be easier to say what's wrong
Posted By: Nidhogg

Re: MystyMood , Shadowmap generator error (Solved) - 02/12/08 13:23

Also, Is with with your own terrain or is it the same when you run the demo..
Posted By: jackdupp

Re: MystyMood , Shadowmap generator error (Solved) - 02/18/08 13:53

Does anyone notice the strange saturation difference in textures with the Lite-C version of MystyMood? Visual quality suffers a bit because of it, I'd been keen to fix this one, but i've no idea where to start.

(overbright ground texture/much darker shadowmap)

and what is with the particles on lite-c?
So amazingly slow, I looked through MystyMood, but the only conclusion I could come to was that particle generation was much slower than C-script.
Posted By: dtntr

Re: MystyMood now for lite-c!!! - 04/01/08 12:00

When i run my main script, i see message "Can`t open file<model name>" This occur with any model. How i can fix this problem? Thanks.
Posted By: Nidhogg

Re: MystyMood now for lite-c!!! - 04/01/08 17:18

You need to fix your paths in your code to let GS know where to find the files.

If you are not sure on how to do this, Please read the manual.
Posted By: dtntr

Re: MystyMood now for lite-c!!! - 04/02/08 09:05

I do this through PRAGMA_PATH. Code:#define PRAGMA_PATH "%EXE_DIR%\work\My_game"; Model name-correct! Path-Correct! But it not work.
Bug begin when i include mistymood in my main script.
Posted By: Nidhogg

Re: MystyMood now for lite-c!!! - 04/02/08 09:15

Maybe the path error is in mystmoods script.

All I did was copy mystymoods stuff over into my own project folders.
Never had a problem then.
Posted By: dtntr

Re: MystyMood now for lite-c!!! - 04/17/08 18:50

Why model of my river is blinking?
Posted By: dtntr

Re: MystyMood , Shadowmap generator error (Solved) - 05/13/08 21:29

Shadow Generator Don`t work. I don`t see shadow on my shadow map. But i see string "Shadowmap is now generated and saved to your project folder!"
© 2024 lite-C Forums