Change Physics in Csm mod

Posted by littleone90 
Change Physics in Csm mod
Date: April 21, 2014 11:41PM
Posted by: littleone90
hi everyone, my question is simple, how i can create a choise in csm for the game physics?
i have try this:

Swap.ini
Folder11=GpxPatch\Physics\%Physics%,gpxpdata

Globalvars.ini
[Physics]
AllowChange		=1
Name			=Physics
Name Icon		=
VarCount		=2
Var1			=2013
Varname1		=2013 Physics
VarName1 Icon		=
VarPreview1		=
Var2			=2014
Varname2		=2014 Physics
VarName2 Icon		=
VarPreview2		=

i create 2 folder in GpxPatch\Physics like write in the swap.ini


but ingame i have the original physic (it's easy recognisable because 2014 physics that i use have max rpm at 15.000)

any help?
thanks


Re: Change Physics in Csm mod
Date: April 22, 2014 12:27AM
Posted by: phantaman
(Y)

----signature--------------------------------------------------------

RELEASE => Physics (under FIA Technical Regulations)
MagicDatas? Setups? Pit Stop Strategies? Track Specific Performances? Up2Date GP?
Power Torque Curve? Where's this stuff? All download is available at ..




Edited 2 time(s). Last edit at 04/25/2014 01:00PM by phantaman.
Re: Change Physics in Csm mod
Date: April 22, 2014 01:01AM
Posted by: littleone90
maybe my question was not clear, I would choose between 2 physics file.
i have try to adapt your solution, but didn't work..


Re: Change Physics in Csm mod
Date: April 22, 2014 01:48AM
Posted by: phantaman
(Y)

----signature--------------------------------------------------------

RELEASE => Physics (under FIA Technical Regulations)
MagicDatas? Setups? Pit Stop Strategies? Track Specific Performances? Up2Date GP?
Power Torque Curve? Where's this stuff? All download is available at ..




Edited 3 time(s). Last edit at 04/25/2014 01:00PM by phantaman.
Re: Change Physics in Csm mod
Date: April 22, 2014 09:00AM
Posted by: kedy89
Could you post the content of the gpxset.ini?




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: Change Physics in Csm mod
Date: April 22, 2014 12:08PM
Posted by: littleone90
kedy89 Wrote:
-------------------------------------------------------
> Could you post the content of the gpxset.ini?

[CommandLine]
SeasonSet=
[Misc]
DisableProgressBar=0
TeamPower=1
skya=skya
tarmac=tarmacmap.bmp
QuickraceLength=20
QualifyLaps=30
Weather=0
RainChance=50
FreePracticeCars=22
ConsecutiveCars=16
FuelLaps=5
[PerfManager]
Enable			=1
Path			=gpxpdata\Generic.txt
Path01			=gpxpdata\Melbourne.txt
Path02			=gpxpdata\Sepang.txt
Path03			=gpxpdata\Sakhir.txt
Path04			=gpxpdata\Shangai.txt
Path05			=gpxpdata\Yeongam.txt
Path06			=gpxpdata\Barcelona.txt
Path07			=gpxpdata\Monaco.txt
Path08			=gpxpdata\Imola.txt
Path09			=gpxpdata\Indianapolis.txt
Path10			=gpxpdata\Montreal.txt
Path11			=gpxpdata\A1 Ring.txt
Path12			=gpxpdata\Istanbul.txt
Path13			=gpxpdata\Silverstone.txt
Path14			=gpxpdata\Hockeneim.txt
Path15			=gpxpdata\Ti Aida.txt
Path16			=gpxpdata\Hungaroring.txt
Path17			=gpxpdata\Spa.txt
[PhysicsManager]
Enable=1
Path=gpxpdata\csmphysics.g3p
[Random]
Type=0
Seed=
Session=0
[FriPrac]
UseQualMenu=0
ConsecutiveCars=
FuelLaps=
[FreePrac]
ConsecutiveCars=
FuelLaps=
[SatPrac]
ConsecutiveCars=
FuelLaps=
[SatQual]
ConsecutiveCars=
FuelLaps=
[Warmup]
ConsecutiveCars=
FuelLaps=

@ phantaman: didn't work, don't know why :(


Re: Change Physics in Csm mod
Date: April 22, 2014 12:23PM
Posted by: kedy89
You swap the folders with the physics file (2013/2014), but in your gpxset.ini you don't have the correct path

[PhysicsManager]
Enable=1
Path=gpxpdata\csmphysics.g3p

Depending on which you select, it either has to be gpxpdata\2013\csmphysics.g3p or gpxpdata\2014\csmphysics.g3p




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: Change Physics in Csm mod
Date: April 22, 2014 02:26PM
Posted by: phantaman
(Y)

----signature--------------------------------------------------------

RELEASE => Physics (under FIA Technical Regulations)
MagicDatas? Setups? Pit Stop Strategies? Track Specific Performances? Up2Date GP?
Power Torque Curve? Where's this stuff? All download is available at ..




Edited 1 time(s). Last edit at 04/25/2014 01:01PM by phantaman.
Re: Change Physics in Csm mod
Date: April 22, 2014 04:00PM
Posted by: littleone90
@phantaman:
still not work.. here is what i have done:

2014.csm
[Settings]
SwapINI				=swap.ini,stwheels.ini,physic_swap%options%.ini

Globalvars
[physic_swap]
AllowChange = 1
Name = F1 Physic
Name Icon = .. \ Data \ Files \ Info \ icons \ physic.ico
VarCount = 2
Var1 = physic_swap-phantaman
VarName1 = Phantaman
VarName1 Icon = .. \ Data \ Files \ Info \ icons \ on.ico
Var2 = physic_swap-phantaman2
VarName2 = Phantaman2
VarName2 Icon = .. \ Data \ Files \ Info \ icons \ on.ico
modify = physic_file

[physic_file]
AllowChange = 0
VarCount = 2
Var1 = phantaman
Var2 = phantaman2

i have created Physics Folder



with that file: (phantaman.g3p is 2013 physics and phantaman2.g3p is 2014)



physic_swap-phantaman.ini
[Main]
Format =

[Swapfiles]
Physic File1 = \ phantaman2.g3p, gpxpdata \ csmphysics.g3p

physic_swap-phantaman2.ini
[Main]
Format =

[Swapfiles]
Physic File1 = \ phantaman2.g3p, gpxpdata \ csmphysics.g3p

i forgot something? don't know why not works..






Edited 2 time(s). Last edit at 04/22/2014 04:05PM by littleone90.
Re: Change Physics in Csm mod
Date: April 22, 2014 04:03PM
Posted by: littleone90
kedy89 Wrote:
-------------------------------------------------------
> You swap the folders with the physics file
> (2013/2014), but in your gpxset.ini you don't have
> the correct path
>
>
>
> Enable=1
> Path=gpxpdata\csmphysics.g3p
>
>
> Depending on which you select, it either has to be
> gpxpdata\2013\csmphysics.g3p or
> gpxpdata\2014\csmphysics.g3p

so what i have to write to make it work?


Re: Change Physics in Csm mod
Date: April 22, 2014 04:09PM
Posted by: kedy89
The correct path!?!

Anyway it won't work now as you've changed the structure in the meantime.




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: Change Physics in Csm mod
Date: April 22, 2014 04:22PM
Posted by: littleone90
kedy89 Wrote:
-------------------------------------------------------
> The correct path!?!
>
> Anyway it won't work now as you've changed the
> structure in the meantime.

yes but i don't want to change the path line every time
i have try before change the structure with
gpxpdata\%Physics%\csmphysics.g3p
but didn't work


Re: Change Physics in Csm mod
Date: April 22, 2014 06:04PM
Posted by: kedy89
Well then, this is how I did it in my 2013 mod:

Physic files placed in Data\Physics

globalvars.ini
Note: I made it dependent on the selected track, if you want to change it yourself, set allowchange to 1, and adjust the number of variables
[physics]
AllowChange		=0
Name			=Physics
VarCount		=19
Var1			=Prime
Var2			=Prime
Var3			=Option_DRS
Var4			=Option
Var5			=Prime_DRS
Var6			=Prime_DRS
Var7			=Option_DRS
Var8			=Option_DRS
Var9			=Option
Var10			=Prime_DRS
Var11			=Prime
Var12			=Option
Var13			=Option
Var14			=Option
Var15			=Prime
Var16			=Option_DRS
Var17			=Option_DRS
Var18			=Option_DRS
Var19			=Option

swap.ini
[SwapFolder]
...
Folder16	=Physics,gpxpdata

MergeINI.lst
Files\Merge\gpxset.txt,gpxpdata\gpxset.ini

gpxset.txt in Data\Files\Merge
[PhysicsManager]
Path		=gpxpdata\%physics%.g3p




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: Change Physics in Csm mod
Date: April 22, 2014 08:09PM
Posted by: phantaman
(Y)

----signature--------------------------------------------------------

RELEASE => Physics (under FIA Technical Regulations)
MagicDatas? Setups? Pit Stop Strategies? Track Specific Performances? Up2Date GP?
Power Torque Curve? Where's this stuff? All download is available at ..




Edited 3 time(s). Last edit at 04/25/2014 01:02PM by phantaman.
Re: Change Physics in Csm mod
Date: April 22, 2014 08:15PM
Posted by: phantaman
@kedy89

I had previously tested with the variables of his example and not worked for me and that's when I remembered that I made this just as transcribed in my example here on a MOD 2010 and this work satisfactorily

----signature--------------------------------------------------------

RELEASE => Physics (under FIA Technical Regulations)
MagicDatas? Setups? Pit Stop Strategies? Track Specific Performances? Up2Date GP?
Power Torque Curve? Where's this stuff? All download is available at ..
Re: Change Physics in Csm mod
Date: April 22, 2014 08:27PM
Posted by: kedy89
@phantaman

I don't get how your system is supposed to work, you've named the 2nd swap.ini in the mod.csm to physic_swap%options%.ini, but you've called the variable [physic_file] with Var1=phantaman, Var2=phantaman2, and the inis themselves are named physic_swap-phantaman/physic_swap-phantaman2. It should be physic_swap-%physic_file%.ini in the mod.csm, else it won't work imo. Also, if you just name it %physic_swap%.ini in the mod.csm, you don't even need the [physic_file] part in the globalvars.ini, as the name of the physic swap.inis is already defined in the variables of [physic_swap].




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: Change Physics in Csm mod
Date: April 22, 2014 08:40PM
Posted by: phantaman
(Y)

----signature--------------------------------------------------------

RELEASE => Physics (under FIA Technical Regulations)
MagicDatas? Setups? Pit Stop Strategies? Track Specific Performances? Up2Date GP?
Power Torque Curve? Where's this stuff? All download is available at ..




Edited 1 time(s). Last edit at 04/25/2014 01:03PM by phantaman.
Re: Change Physics in Csm mod
Date: April 22, 2014 08:44PM
Posted by: phantaman
(Y)

----signature--------------------------------------------------------

RELEASE => Physics (under FIA Technical Regulations)
MagicDatas? Setups? Pit Stop Strategies? Track Specific Performances? Up2Date GP?
Power Torque Curve? Where's this stuff? All download is available at ..




Edited 1 time(s). Last edit at 04/25/2014 01:04PM by phantaman.
Re: Change Physics in Csm mod
Date: April 22, 2014 09:19PM
Posted by: kedy89
I don't doubt that it shows up in the mod's configurables, I just don't get how the respective physic_swap-xxx.ini is used when starting the mod if you've named the variable options in the mod.csm, but physic_file/swap in the globalvars.ini.




Some mods
F1 1996 | F1 2002 | F1 2007 | F1 2011 | F1 2013 | F1 2015 | F1 2018
Re: Change Physics in Csm mod
Date: April 22, 2014 09:43PM
Posted by: littleone90
phantaman Wrote:
-------------------------------------------------------
> did not work because you have mistakenly put the
> files in the wrong folders
>
> 1) create a folder and name it PHYSIC (without
> the letter "S", Ok?, and under the DATA folder)
> and put the files .g3p it
>
> 2) files physic_swap-phantaman.ini and
> physic_swap-phantaman2.ini necessarily have to
> stay in the folder SETTINGS in your MOD
>
>
> test and see if it works (Y)

sorry, but still not work..


Sorry, only registered users may post in this forum.

Click here to login

Maintainer: mortal, stephan | Design: stephan, Lo2k | Moderatoren: mortal, TomMK, Noog, stephan | Downloads: Lo2k | Supported by: Atlassian Experts Berlin | Forum Rules | Policy