Gamestudio Links
Zorro Links
Newest Posts
Executing Trades on Next Bar Open
by vicknick. 06/13/24 08:51
Zorro Beta 2.61: PyTorch
by jcl. 06/10/24 14:42
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (VoroneTZ), 876 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 6 of 8 1 2 3 4 5 6 7 8
Re: [contribution] Fog code C-Script version [Re: MPQ] #319148
04/12/10 16:08
04/12/10 16:08
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
i tried to get it working. i got an error, empty function non existing function: random_seed(); thats in the main of the fog.wdl.

edit: ok, i changed it to random(); and it worked, but its doesnt look like the examples. i am going to play around with some settings.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: [contribution] Fog code C-Script version [Re: Blink] #319149
04/12/10 16:17
04/12/10 16:17
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
there are these huge blobs of speckled black dust floating around, and the framerate is awful. i am lost.

ok, reduced a couple of settings to clear some fog, to get framerate back, worked fine, but the dust particles that are shown in the original emre sample are just blurs, thats what thoses"speckled blobs" were. i amn alos getting an error saying "no level" on auto fog and pos_place.

Last edited by Blink; 04/12/10 16:36.

My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: [contribution] Fog code C-Script version [Re: Blink] #319151
04/12/10 16:33
04/12/10 16:33
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
@Blink, For your version you needed to change random_seed(0) to randomize().

Don't know if that will help with your framerate or not though.
Also there maybe a couple of other things that may not be compatable with your version. You may have to browse through the code and see if anything looks out of place.
It shouldn't take you long as there really isn't that much code to it. I wouldn't touch anything in the fog.fx though laugh


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: [contribution] Fog code C-Script version [Re: Nidhogg] #319156
04/12/10 16:41
04/12/10 16:41
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
@Nidhogg, I added randomize in the main of a test level. I am still getting the "no level" on auto fog and pos_place error when the level runs. i guess i am just making things worse trying to modify it.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: [contribution] Fog code C-Script version [Re: Blink] #319160
04/12/10 17:14
04/12/10 17:14
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
ok, i have officially turned a great contribution into a mess, I hope someone tests it and makes it work, i am just destroying it.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: [contribution] Fog code C-Script version [Re: Blink] #319161
04/12/10 17:19
04/12/10 17:19
Joined: Nov 2009
Posts: 201
Logitek Offline
Member
Logitek  Offline
Member

Joined: Nov 2009
Posts: 201
Hello,

I have tried it also for C-Script and there is no problem.
7.80 Com.

How old is your graphic card?
Maybe the shader is the problem for you?

Have you tried to compile the level in WED again?

The only one thing that is different to the Lite-C Version that i can see is: That the fps is much slower than with the 4 times faster Edition of Emre for Lite-C.

regards,

Logitek

Re: [contribution] Fog code C-Script version [Re: Logitek] #319168
04/12/10 17:50
04/12/10 17:50
Joined: Jan 2006
Posts: 2,157
Connecticut, USA
Blink Offline

Expert
Blink  Offline

Expert

Joined: Jan 2006
Posts: 2,157
Connecticut, USA
are you using A7 to compile a A6 script? its not my graphics card, the shader would show at all if it was. i did compile the level in wed and no change.


My Famous Quotes: "Hip hop is like a virus, infecting everyone and everything around it. Every form of media has some way,shape or form, assimilated hip hop into it." It has also mutated into other strains like, trip hop, house, rap, gangster, and conscious forms. Once you are infected with it, its with you for life."
Re: [contribution] Fog code C-Script version [Re: Blink] #319171
04/12/10 18:04
04/12/10 18:04
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
@Blink, Have a go with the A7 trial if that works than I reckon it's time you bit the bullet and update to A7. You can still use C-Script with A7 as I know that's what you are familure with.


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: [contribution] Fog code C-Script version [Re: Nidhogg] #319174
04/12/10 18:13
04/12/10 18:13
Joined: Nov 2009
Posts: 201
Logitek Offline
Member
Logitek  Offline
Member

Joined: Nov 2009
Posts: 201
Hello,

yes. I scripting the most time in C-Script.

I donīt know A6. I have A7 Com. And in some days the Pro.

It works with A7.

In C-Script it is much slower. You have to reduce the ent_create procedure. And you must also change the (while) instruction. Otherwise it would create endless functions.

I have changed it. And it works. But I like the Lite-C Version more, because it is much faster.

I have changed some parameters.
Now I have 60 fps with a maxfog value of 80 with C-Script.
I am sure it is possible to speed it up more, but I am not really interessted in it at the moment.

regards,

Logitek.

Re: [contribution] Fog code C-Script version [Re: Logitek] #319177
04/12/10 18:21
04/12/10 18:21
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
@Logitek, Could you please post your changes for others to see.
It would be a great help to them.

I also use Lite-c I mainly converted the code to C-Script to give those users
something benificial. Sorry for the couple of mistakes.

But yeah it ran ok on my machine.


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Page 6 of 8 1 2 3 4 5 6 7 8

Moderated by  adoado, checkbutton, mk_1, Perro 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1