Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Product Chat / Limite of FPS

Author
Message
Hi ! All !
16
Years of Service
User Offline
Joined: 20th Dec 2007
Location:
Posted: 21st Aug 2009 16:16 Edited at: 21st Aug 2009 16:18
Hi everyone
I'm a news mod developper and i search a big line was he can help me for unlock the limit of fps ( the limit per default is 38 ), but the search engine of DB Pro is too bad, so i cant find him without ur help ! =(

So, i need to find the line where the limit is, and the X, T, and Y button are ( for change the fps limit ).

PS : i have search in the fpsc-game source code

Thx advance ;
Dannyssj4

Hellgaroth Mod Developpement : 46 %
knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 21st Aug 2009 16:51
Changing the FPS sync too high or too low will have very bad results.
The guns and movements etc.. will all speed up or go slow mo.

But search for this: sync rate

knxrb

Avid
17
Years of Service
User Offline
Joined: 24th Jun 2007
Location:
Posted: 21st Aug 2009 18:51
38 is actually a bit high, I noticed my animations were a bit fast at that. I think 33 is a more reasonable setting. Or use a mod that doesn't sync by framerate, but has an independent timer.

Visit my site http://www.fpsmodels.com for models and media for fps creator.
Red Eye
15
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 21st Aug 2009 20:20
32, is normal. But with my engine i do just capped at 120. And i can reduce animations speed myself. So no problem with that.


Hi ! All !
16
Years of Service
User Offline
Joined: 20th Dec 2007
Location:
Posted: 23rd Aug 2009 13:50
Hi,
Thx you knxrb, i have find the command to change the limit, but now i have an other questions

How to add FPI command ?

Thx u advance.

Hellgaroth mod in developpement
knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 23rd Aug 2009 15:48 Edited at: 23rd Aug 2009 15:50
Ok you need to edit three parts of the code to add an FPI command.

First Part:
1. Search for this in the source code: #constant AIACTTIMERSTART 1211
2. Copy the line and paste it below.
3. Edit it for your own command, you must also increase the number at the end by one for each new command.
For example:
#constant AIACTSETSYNC 1212

Second Part:
1. Search for this in the source code: actword$(AIACTTIMERSTART)="timerstart"
2. Copy the line and paste it below.
3. Edit it for your command.
For example:
actword$(AIACTSETSYNC)="setsync"

Third Part:
1. Search for this in the source code: case AIACTTIMERSTART:
2. Copy the whole case (from case to endcase) and paste it below.
3. Edit it for your command.
For example:
case AIACTSETSYNC:
variable = aiactionseq(seq).value
endcase

Make sure that for all the lines you keep the AIACT bit the same.

knxrb

Hi ! All !
16
Years of Service
User Offline
Joined: 20th Dec 2007
Location:
Posted: 23rd Aug 2009 16:18
Thank you very much !!
Now, a last questions :s
How can i set the limit of fps at heuu... 80 ? the animation is speedy, i now, but how can i do for make it normaly ?

Thank you advance

Hellgaroth mod in developpement
knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 23rd Aug 2009 16:20
You need to either code or get a timer system that will regulate the animation speeds of the guns and characters etc..

knxrb

Hi ! All !
16
Years of Service
User Offline
Joined: 20th Dec 2007
Location:
Posted: 23rd Aug 2009 16:36
like the source code of airmod include a timer ?

Hellgaroth mod in developpement
knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 23rd Aug 2009 16:39
Yes

knxrb

Hi ! All !
16
Years of Service
User Offline
Joined: 20th Dec 2007
Location:
Posted: 23rd Aug 2009 16:49
Ok, but i have a error in his source code, i dont remember, i take a screen for you in a moment.

And heu, i have add a fpi command, but it's hard : a objectif, when i press the "g" buton, the objectif appear, that's the command :




And when i compile, i have


Help

Hellgaroth mod in developpement
knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 23rd Aug 2009 16:54
Have you just started learning DBPro?
If you have then I suggest not editing the FPSC source and making some small apps and games and learn about the DBPRO language. Then later on come back to the source and edit it.

knxrb

Hi ! All !
16
Years of Service
User Offline
Joined: 20th Dec 2007
Location:
Posted: 23rd Aug 2009 16:56
I really wanna start in FPSC, i have made some program but the coding in fps creator source is hard ( just for what i'm doing :p )

Hellgaroth mod in developpement
knxrb
FPSC Tool Maker
16
Years of Service
User Offline
Joined: 10th Oct 2008
Location: United Kingdom
Posted: 23rd Aug 2009 17:03 Edited at: 23rd Aug 2009 17:04
Quote: "but the coding in fps creator source is hard"

Exactly. You need to learn the DBPro language well enough to know solutions to problems like the one you posted above.
I would give it another go in a couple of months or so.

knxrb

Metal Devil123
16
Years of Service
User Offline
Joined: 13th Jul 2008
Location: Suomi, Finland
Posted: 23rd Aug 2009 18:29
I think that 38 is just good. IĀ“For me, if it's slower, the sounds will come faster than the animation.


PS: -.- ,,|,
Hi ! All !
16
Years of Service
User Offline
Joined: 20th Dec 2007
Location:
Posted: 24th Aug 2009 23:56
Ok, i will take the timer from airmod so ^^
And knxrb, if you know... how to make bloom effect ?
Or flashlight effect ?

Thx

Hellgaroth mod in developpement
Red Eye
15
Years of Service
User Offline
Joined: 15th Oct 2008
Location:
Posted: 25th Aug 2009 17:00


Check out for the tutorial that ply made.


Asteric
16
Years of Service
User Offline
Joined: 1st Jan 2008
Location: Geordie Land
Posted: 25th Aug 2009 17:06
What tutorial?

Hi ! All !
16
Years of Service
User Offline
Joined: 20th Dec 2007
Location:
Posted: 26th Aug 2009 15:32
Yes, what tutorial ? and where is it ? =( please

Hellgaroth mod in developpement
Asteric
16
Years of Service
User Offline
Joined: 1st Jan 2008
Location: Geordie Land
Posted: 27th Aug 2009 21:03
Found it and lost it again, it is a tutorial for adding FPI commands in, but for bloom, look up eveolved's shaders

RelMayer
16
Years of Service
User Offline
Joined: 14th Apr 2008
Location: France
Posted: 27th Aug 2009 22:37
Capping the FPS Limit at 75 is totally useless.

Unless you have a God Like System Requirements, you'll always get this freakin' slowdown issue (3 Colonels X > 15 FPS on my computer).

Try to ask to S4real the S4MOD source code, it may be useful.
Hi ! All !
16
Years of Service
User Offline
Joined: 20th Dec 2007
Location:
Posted: 27th Aug 2009 23:50
Yes, but with mod tigre i have 400 fps or more.
I think i could talk to JPM, the creator of this mod.

Hellgaroth mod in developpement

Login to post a reply

Server time is: 2024-10-12 23:17:17
Your offset time is: 2024-10-12 23:17:17