Posted By: i_program_games
Serious Vegetation svegetation lite-c - 04/24/08 21:32
I've ported the AUM58 svegetation scripts to lite-c.
You may find it here:
svegetation_lc.rar
Posted By: Nowherebrain
Re: Serious Vegetation svegetation lite-c - 04/24/08 23:44
Neat, I know a lot of people were looking for this....uhh not me though(lol).
Posted By: Nowherebrain
Re: Serious Vegetation svegetation lite-c - 04/26/08 01:31
well it creates entities, but I wasn't able too see them. I also stuck the main function(forget its handle)inside a loop, otherwise it never gets called...so I may be the one at fault, but never got it working...I didn't invest much time though..
Posted By: i_program_games
Re: Serious Vegetation svegetation lite-c - 04/26/08 03:34
Strange, I tested this prior to uploading. I'm running 7.07 and just checked it again and it appears to work without changes. What version do you have?
Posted By: Nowherebrain
Re: Serious Vegetation svegetation lite-c - 04/26/08 22:28
7.07, where are you calling the function. I'm calling it from my_terrains action.??? Not sure what it could be, all the resources exist and are labeled correctly..I changed the BMAP* pointer to my map, other than that no changes..and since the pointer is pointing to a file "foliage.tga" there should be no issue there, all other lookups are looking to the pointer so....?
Posted By: Darkyyes
Re: Serious Vegetation svegetation lite-c - 04/27/08 05:41
Worked for me except the camera went all wild and crazy :p and when i tried to move over the terrain in went to the groun and suddenly bounce up in the air :p
Posted By: JackShephard
Re: Serious Vegetation svegetation lite-c - 04/27/08 09:09
Oh..thanks...this is good surprise =)
Posted By: i_program_games
Re: Serious Vegetation svegetation lite-c - 04/27/08 10:00
Worked for me except the camera went all wild and crazy :p and when i tried to move over the terrain in went to the groun and suddenly bounce up in the air :p
Just checked the original and it's got strange camera problems too. I believe it's the player move code so simply replace it.
Posted By: i_program_games
Re: Serious Vegetation svegetation lite-c - 04/27/08 10:02
I also stuck the main function(forget its handle)inside a loop, otherwise it never gets called...
Download it again if you want. I uploaded that version on accident. The correct version is there now.
Posted By: BastovBros
Re: Serious Vegetation svegetation lite-c - 06/22/10 08:14
could anyone reupload the file please? The link is broken...
Posted By: CD_saber
Re: Serious Vegetation svegetation lite-c - 06/21/11 05:31
Yes,can anyone please Upload the file, send it to me or just post the code? Thanks in advance!
Posted By: djfeeler
Re: Serious Vegetation svegetation lite-c - 06/26/11 14:54
Hello,
I have converted the svegetation in lite c
link Djfeeler
Posted By: CD_saber
Re: Serious Vegetation svegetation lite-c - 06/28/11 07:56
Thank you very much Djfeeler, the Code Works like a charme!
Posted By: Anonymous
Re: Serious Vegetation svegetation lite-c - 08/12/11 13:23
hey community!
ive looked into this code, and I really wanna use it but there is a downside to it.
When I run it, my game has around 800 functions running, which slows down the game oviously...
I think its because all the grass models around the level running with a function even not visible and far away.
Can someone optimize the code maybe ?
Posted By: darkinferno
Re: Serious Vegetation svegetation lite-c - 08/12/11 13:43
just remove the while loop that contains the swaying and use a shader instead
Posted By: Anonymous
Re: Serious Vegetation svegetation lite-c - 08/12/11 13:46
nope, did that already. Every Grass model running with a function when its creating. Its not the swaying function.
Posted By: 3run
Re: Serious Vegetation svegetation lite-c - 08/12/11 17:17
I think it's ok for each grass model to have a function, but without while loops, which are killing framerate.