• This is a reminder of 3 IMPORTANT RULES:

    1- External self-promotion websites or apps are NOT allowed here, like Discord/Twitter/Patreon/etc.

    2- Do NOT post in other languages. English-only.

    3- Crack/Warez/Piracy talk is NOT allowed.

    Breaking any of the above rules will result in your messages being deleted and you will be banned upon repetition.

    Please, stop by this thread SoccerGaming Forum Rules And Guidelines and make sure you read and understand our policies.

    Thank you!

.:: Revolution Mod 13 ::.

Sepak

Cocaine
Staff member
Moderator
I wanted to make a lua for my referees faces, and I create a "referees.lua" with nothing inside and then I assign the faces for the referees and add the statement in assets.lua but there's no change ingame. What did I do wrong?
thanks
 

scouser09

Senior Squad
Ronson;3343084 said:
yes, i'm going by the manual but I added all kind od Gk statments trying to make it work. Now I have only those four.
I downloaded some random gk kits, I think Mainz (Id 169). Then renamed the kits from 169_12_0.rx3 into 121_12_0.rx3. I can try later again. If only I could see one kit working I would figure it all out from there. Just can't brake the ice with first kit:-(

Just updated the code to:
assignGKKit(121,1,12)
assignGKKit(121,0,32)
assignKitDetails(121,12,18,"FFFFFF ",16,-1,1,1,-1,0) --GK white
assignKitDetails(121,32,18,"FFFFFF ",16,-1,1,1,-1,0) --GK Grün

This is the example from manual:
assignKitDetails(9,12,18, "FFFFFF ",16,-1,1,1,-1,0)
This assigns a GK kit (type 12) to Liverpool’s away kit. This kit is then assigned white Premier League style name and numbers, also collar 0. The new kit is kit_9_12_0.rx3

Not working.

There is actually a small error in my example, thanks for finding it. The
error is that the order of the namecurve and namefont parameters have been switched. There should also not be a space in the hex code.

This code should work. The first line is needed to change the GK kit from generic to specific.

assignSpecificGKKit(121)
assignGKKit(121,1,12)
assignGKKit(121,0,32)
assignKitDetails(121,12,18,"FFFFFF",-1,16,1,1,-1,0) --GK white
assignKitDetails(121,32,18,"FFFFFF",-1,16,1,1,-1,0) --GK Grün


AcidPT;3343380 said:
New problem, I added a generic league adboard for both spanish leagues - the id is 5 for both. This is the default adboard for the league. All teams that don't already have custom adboards should display this new generic one, but they display the EA default. I don't want to use assigntournamentadboard because that would replace all adboards for all teams... wat do?

I changed the generic IDs for some leagues so each league has its own generic adboard. I moved Segunda A to ID 6. There is a full list in the manual.


V.K;3343461 said:
Any chance for 'assignTournamentStadium' or 'assignTournamentStadiumFinal' feature?
Would be very nice for career mode tournament finals.

At present I can not change stadiums because I can not change the crowd position file.


xPr0metheus;3343482 said:
So I hope you can add the accessory feature in future version of your mod :)

another question: is there a way to change a players body? (from thick to slim, e. g.)

I am not sure if that is possible.
 

AcidPT

Club Supporter
But I wasn't playing on Segunda, I was playing on the Spanish 1st league and from what you have written on the manual the id is still 5... today I moved to the italian 1st league, same problem
 

pe pe

Club Supporter
I got a question about assignKitDetails and arguments namefont and namecolor.

Aren't those values suppose to override displaying player names from 0 to 1 if by default they are disabled? If no, is it possible to force displaying player names with other function? Or maybe I'm doing something wrong?

Code:
template: assignKitDetails(teamid,kittype,namefont,namecolour,namelayout,numberset,numbercolourshirt,numbercolourshort,fit,collarnumber)

assignKitDetails(1871,1,66,-1,-1,66,-1,2,-1,7)

I double checked for font_66.ttf file in data/scenassets/jerseyfonts/
 

scouser09

Senior Squad
Can someone please check to see if an updated ball.lua or stadium.lua was included in any of EAs official updates? I am still working with the demo.


AcidPT;3344812 said:
But I wasn't playing on Segunda, I was playing on the Spanish 1st league and from what you have written on the manual the id is still 5... today I moved to the italian 1st league, same problem

Which adboard shows instead, the original generic La Liga/Serie A or another adboard ID?


erick91;3345294 said:
as gk kits to add real madrid examples please

There are examples in the manual.


pe pe;3345471 said:
I got a question about assignKitDetails and arguments namefont and namecolor.

Aren't those values suppose to override displaying player names from 0 to 1 if by default they are disabled? If no, is it possible to force displaying player names with other function? Or maybe I'm doing something wrong?

Code:
template: assignKitDetails(teamid,kittype,namefont,namecolour,namelayout,numberset,numbercolourshirt,numbercolourshort,fit,collarnumber)

assignKitDetails(1871,1,66,-1,-1,66,-1,2,-1,7)

I double checked for font_66.ttf file in data/scenassets/jerseyfonts/

That statement does not enable the back name if it is disabled in the database. I can enable it with this mod though.
 

Cesc Fabregas

Senior Squad
scouser09;3346122 said:
Can someone please check to see if an updated ball.lua or stadium.lua was included in any of EAs official updates? I am still working with the demo.
Just checked the patch.big, no new lua files included.
 

GuyxPagaz

Youth Team
if i want to put tattoos and faces together, in what readme file do i put faces and tattoos codes? or maybe in the same file? but how LOL... ?
 

lonewolf08

Club Supporter
GuyxPagaz;3346208 said:
if i want to put tattoos and faces together, in what readme file do i put faces and tattoos codes? or maybe in the same file? but how LOL... ?

why u people don't read the manual from first to last before posting a query.....okay u can put the tattoos and face statements in the player.lua file included in the mod or create any external lua file..name it suppose "xxx" and put ur statements [only statements and nothing else] in there and add this lua file name to assets.lua using statement
addExternalFile("xxx.lua")

...and it is a lua file where u put ur statements not readme file

and why do u want to put faces and tattoos together, that will be lot of statements in one lua file which could lead to a crash, put tattoos and faces in separate lua file name it tattoos.lua and faces.lua respectively and add the lines
addExternalFile("tattoos.lua")
addExternalFile("faces.lua")
in the assets.lua file, this way is much better
 

GuyxPagaz

Youth Team
k_h_a_n;3346267 said:
why u people don't read the manual from first to last before posting a query.....okay u can put the tattoos and face statements in the player.lua file included in the mod or create any external lua file..name it suppose "xxx" and put ur statements [only statements and nothing else] in there and add this lua file name to assets.lua using statement
addExternalFile("xxx.lua")

...and it is a lua file where u put ur statements not readme file

and why do u want to put faces and tattoos together, that will be lot of statements in one lua file which could lead to a crash, put tattoos and faces in separate lua file name it tattoos.lua and faces.lua respectively and add the lines
addExternalFile("tattoos.lua")
addExternalFile("faces.lua")
in the assets.lua file, this way is much better

listen i tried already to put them together but it ruined my game... i had a backup, luckily
 

scouser09

Senior Squad
Cesc Fabregas;3346143 said:
Just checked the patch.big, no new lua files included.

Thanks. This means that the invisable ball bug fix did not involve an edit to ball.lua. If anyone still experiences this problem, and has installed the official EA update, let me know.


AcidPT;3347308 said:
It shows the original, generic EA adboard instead of the one I used to replace it.

Then the problem is not this mod. Make sure you regenerate properly.
 

zico99

Senior Squad
how can i assign random gk kits for a team,say real madrid
plz give an example
like i have 2 other gk kits, how can i assign it with the existing one.
Plz reply with the proper rm13 code and id
thnx :)
 

bra2il1985

Club Supporter
Hi guys!

Just wondering am i able to Edit Players Physique with this mod?

Or is there any other program that allows me to do this?


Thanks all!
 

ruiorey

Reserve Team
Hi Scouser, simply one question: is there any limit of the Lines we can put in a Lua file? And if yes, how can i do to solve this problem?(the game goes in crashdump after i put a line more in my boots.lua). Thnx.
 

scouser09

Senior Squad
zico99;3347986 said:
how can i assign random gk kits for a team,say real madrid
plz give an example
like i have 2 other gk kits, how can i assign it with the existing one.
Plz reply with the proper rm13 code and id
thnx :)

There is an example in the manual.


bra2il1985;3348220 said:
Hi guys!

Just wondering am i able to Edit Players Physique with this mod?

Or is there any other program that allows me to do this?


Thanks all!

I do not think it is possible, sorry.


ruiorey;3348532 said:
Hi Scouser, simply one question: is there any limit of the Lines we can put in a Lua file? And if yes, how can i do to solve this problem?(the game goes in crashdump after i put a line more in my boots.lua). Thnx.

There is a limit. You should be able to add more statements if you add an external file (see manual).
 


Top