project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
22 Nov 2019, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Reply
 
Thread Tools Display Modes
Old 2017-12-15, 17:11   #1
CAS_ual_TY
PR Server License Administrator

CAS_ual_TY's Avatar
Default Change ticket ammount, also for skirmish?

Code:
gameLogic.setDefaultNumberOfTicketsEx 16 1 400
gameLogic.setDefaultNumberOfTicketsEx 16 2 400
gameLogic.setDefaultNumberOfTicketsEx 32 1 600
gameLogic.setDefaultNumberOfTicketsEx 32 2 600
gameLogic.setDefaultNumberOfTicketsEx 64 1 650
gameLogic.setDefaultNumberOfTicketsEx 64 2 650
gameLogic.setDefaultNumberOfTicketsEx 128 1 900
gameLogic.setDefaultNumberOfTicketsEx 128 2 900
gameLogic.setDefaultTimeToNextAIWave 8
gameLogic.setTicketLossAtEndPerMin 1000
gameLogic.setTicketLossPerMin 1 17
gameLogic.setTicketLossPerMin 2 17
Found this in the init.con of the server part in the level folders. Ive seen that eg. on korengal you use the init.con for the ins layers and init_aas.con for the aas layers.

Does it always look for an init_aas.con or does this need to be added manually?
How would I run a custom init_skirmish.con or change the tickets for skirmish?

I am currently working on realizing one of the suggestions I made (or trying out some stuff) which would allow PR to push out A LOT of content with very little work required, while also solving this annoying fallujah west 24/7

Thanks!

CAS_ual_TY is offline Reply With Quote
Old 2017-12-15, 17:52   #2
[R-DEV]​rPoXoTauJIo
PR:BF2 Developer
Supporting Member

rPoXoTauJIo's Avatar
Default Re: Change ticket ammount, also for skirmish?

Skirmish tickets are python config value('SKIRMISH_TICKETS'), after map load on skirmish layer server manually setting tickets values for both teams as specified in config.

assetruler69: I've seen things you smurfs wouldn't believe. Apaches on the Kashan. I watched burned down tank hulls after the launch of the single TOW. All those moments will be lost in time, like tears in rain.
Time to give up and respawn.
rPoXoTauJIo is offline Reply With Quote
Old 2017-12-15, 22:10   #3
[R-DEV]​Outlawz7
PR:BF2 Developer

Outlawz7's Avatar
Default Re: Change ticket ammount, also for skirmish?

Quote:
Originally Posted by CAS_ual_TY View Post
Does it always look for an init_aas.con or does this need to be added manually?
Must be added manually. Maps featuring both AAS and Ins gamemodes need separate inits to define tickets for one of the gamemodes since Ins uses ticket count to define cache amount.

Outlawz7 is offline Reply With Quote
Old 2017-12-15, 23:08   #4
CAS_ual_TY
PR Server License Administrator

CAS_ual_TY's Avatar
Default Re: Change ticket ammount, also for skirmish?

Quote:
Originally Posted by [R-DEV]rPoXoTauJIo View Post
Skirmish tickets are python config value('SKIRMISH_TICKETS'), after map load on skirmish layer server manually setting tickets values for both teams as specified in config.
Any way to change that? To make it map specific? Maybe implemend oke tyty?

Quote:
Originally Posted by [R-DEV]Outlawz7 View Post
Must be added manually. Maps featuring both AAS and Ins gamemodes need separate inits to define tickets for one of the gamemodes since Ins uses ticket count to define cache amount.
My question is rather: What would I need to do, so that my init_aas.con gets loaded? Or is the init.con used by default and then init_ins, init_sp, init_aas automatically overwrite without me needing to register these?

CAS_ual_TY is offline Reply With Quote
Old 2017-12-15, 23:10   #5
[R-DEV]​Outlawz7
PR:BF2 Developer

Outlawz7's Avatar
Default Re: Change ticket ammount, also for skirmish?

Quote:
Originally Posted by CAS_ual_TY View Post
My question is rather: What would I need to do, so that my init_aas.con gets loaded?
run ../../../Init_whatever.con at the top of GPO.

Outlawz7 is offline Reply With Quote
Old 2017-12-16, 00:22   #6
CAS_ual_TY
PR Server License Administrator

CAS_ual_TY's Avatar
Default Re: Change ticket ammount, also for skirmish?

Quote:
Originally Posted by [R-DEV]Outlawz7 View Post
run ../../../Init_whatever.con at the top of GPO.
Thanks! I suppose it doesnt work with skirmish? Or does it?

CAS_ual_TY is offline Reply With Quote
Old 2017-12-16, 07:27   #7
[R-DEV]​Rhino
PR:BF2 Developer
Supporting Member

Rhino's Avatar
Default Re: Change ticket ammount, also for skirmish?

Quote:
Originally Posted by CAS_ual_TY View Post
Thanks! I suppose it doesnt work with skirmish? Or does it?
Falklands uses them for Skirmish, in fact, it even has separate inits for both Skirmish 16 an 32 layers, and not just for tickets but to load extra statics etc too. IIRC the python is setup on skirmish to adjust the tickets, if there is no init to define them for the skirmish layers.

Code:
run ../../../Init_Skirmish16.con

Rhino is offline Reply With Quote
Old 2017-12-16, 08:59   #8
CAS_ual_TY
PR Server License Administrator

CAS_ual_TY's Avatar
Default Re: Change ticket ammount, also for skirmish?

Quote:
Originally Posted by [R-DEV]Rhino View Post
Falklands uses them for Skirmish, in fact, it even has separate inits for both Skirmish 16 an 32 layers, and not just for tickets but to load extra statics etc too. IIRC the python is setup on skirmish to adjust the tickets, if there is no init to define them for the skirmish layers.

Code:
run ../../../Init_Skirmish16.con
So no hardcoding for skirmish. Thats what I wanted to hear, thank you!

CAS_ual_TY is offline Reply With Quote
Old 2017-12-16, 09:34   #9
[R-DEV]​Outlawz7
PR:BF2 Developer

Outlawz7's Avatar
Default Re: Change ticket ammount, also for skirmish?

Nope, Falkland Skirmish tickets are defined in Python. Or rather, Falklands is the exception.

Quote:
if rcore.getMapName( ) != 'the_falklands':
bf2.gameLogic.setTickets( team, realityserver.C( 'SKIRMISH_TICKETS' ) )

Outlawz7 is offline Reply With Quote
Old 2017-12-16, 10:04   #10
CAS_ual_TY
PR Server License Administrator

CAS_ual_TY's Avatar
Default Re: Change ticket ammount, also for skirmish?

Quote:
Originally Posted by [R-DEV]Outlawz7 View Post
Nope, Falkland Skirmish tickets are defined in Python. Or rather, Falklands is the exception.
you dirty hardcoders

CAS_ual_TY is offline Reply With Quote
Reply


Tags
ammount, change, skirmish, ticket
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 02:21.