Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Zelenium

#1
Quote from: wsa30h on July 20, 2025, 11:16:32 AMteam that you made blue that is a value that i could find in the classic collection wheres to make 4 teams all hostile to each other i would need to create the function
You have to find how to distinguish teams. Then create your own function and place it in the existing code

Quote from: wsa30h on July 20, 2025, 11:16:32 AMDo you have discord by any chance ?
Yes. But I'll only give it in private messages if you need it
#2
Quote from: wsa30h on July 20, 2025, 07:09:34 AMhow did you find the value for changing the secondary team to blue ?

Yeah, IDA + CheatEngine + time

Quote from: wsa30h on July 20, 2025, 07:09:34 AMis it just 1 value for making them team 4 look different ?

No, you will have to create your own function like I did
And find how to distinguish these teams in the code (without sources it is difficult)
#3
Quote from: wsa30h on July 20, 2025, 03:35:45 AMfor the dvd version

This will probably work for other versions as well
As I understood there are the same problem

Quote from: wsa30h on July 20, 2025, 03:35:45 AMwhat other things have you planned?

I want to increase the limit furthermore (if it possible)
And perhaps allow the Jedi bonus to be used in Lua for multiplayer.
#4
In multiplayer, when playing with a large number of bots or players, you may stop seeing units and their arrows on the minimap. The same goes for vehicles.

As it turns out, in the original EXE there is a limit of 32 units (including healer droids and other things) for multiplayer (actually, the developers put a limit of 32 units in some places and 62 in others :crazy: ).
I increased the limit to 62 (more is possible, but REALLY difficult):
1. Using HexEditor, find the next code: "03 83 F9 20 7D 07 41"
2. Сhange the code from "03 83 F9 20 7D 07 41" to "03 83 F9 3F 7D 07 41"
3. Find the next code: "34 83 FF 20 7D 0E 89"
4. Сhange the code from "34 83 FF 20 7D 0E 89" to "34 80 FA 3F 73 0E 89"


P.S. I really want increase the limit to at least 126
But there are big problems with that :(
#5
SWBF1 Modding / Re: Battlefront team colors change
July 19, 2025, 09:42:24 AM
Quote from: wsa30h on July 17, 2025, 11:42:19 AMI mean like in original bf1 you only have 3 models in regular animation mode with the gun and all. any unit after that is in that weird low poly mode

Got it. No, I will not change it in the near future.

Quote from: wsa30h on July 17, 2025, 11:42:19 AMalso quick question is there any chance at some point you might look into doing 4 teams all hostile to one another and allowing different cp colors for all

No, it's not so easy to do it. At least, I have to find one value and do that without sources will be hard

Quote from: wsa30h on July 17, 2025, 11:42:19 AMi also want to change the green friendly color of team 1 to blue like bf2 would you know where that can be changed ?

You can do that. I told how in the second section (II)
#6
SWBF1 Modding / Re: Battlefront team colors change
July 17, 2025, 10:39:14 AM
Quote from: wsa30h on July 16, 2025, 05:29:52 AMsorry for the bump do you plan to modify how many highrez units can be on the map at any one time ?

I really don't know what you talking about... What do you mean "highrez"?
If it just about graphic - I have no interest in this
#7
SWBF1 Modding / Re: Battlefront team colors change
July 15, 2025, 12:24:25 PM
I'm going to rest now. Don't know if I'll do what you talk about
Now I wanna do some more work on minimap.
Do you know if the multiplayer of other versions of the game has a problem with displaying a large number of units on the minimap?
#8
SWBF1 Modding / Re: Battlefront team colors change
July 15, 2025, 10:03:47 AM
Quote from: wsa30h on July 15, 2025, 09:00:15 AMawesome thank you epic work keep it up. i wonder how well this would translate to the classic collection ?
Thank you.
I don't know about other versions. The game must be the similar, but the changes may require other areas of memory
But where you need to find not memory, but the code itself - it should work
#9
SWBF1 Modding / Re: Battlefront team colors change
July 15, 2025, 08:35:41 AM
Quote from: wsa30h on July 15, 2025, 05:18:37 AMis this the cd dvd version or steam gog ? and is it possible to have 4 teams all hostile to one another in different colors ?

It's the dvd version.
About teams - yes, it's possible, but it requires more manipulation of the EXE
#10
SWBF1 Modding / Re: Battlefront team colors change
July 14, 2025, 01:50:58 PM
Updated
#11
SWBF1 Modding / Battlefront team colors change
July 12, 2025, 04:04:33 PM
I. How to fix multiplayer minimap bug for all teams whose value is greater than 3.
There is a problem when you in multiplayer decide to add more than 3 teams. In singleplayer, each new one will just be yellow (or green/red if they have the right name). However, in multiplayer they will become white or other colors, which is very inconvenient. Plus, the white ones will be visible even to enemies.
The thing is that the developers for some reason instead of 3 bits read only 2 bits of information about the team number to display on the minimap. In addition, they constantly overwrite the correct value with the wrong one. This happens only in multiplayer (in single player there is no overwriting and the values remain correct). I solved the problem by removing overwriting in multiplayer.

The solution:
1. Using HexEditor, find the next code: "57 89 96 DC 00 00 00 E8"
2. Сhange the code from "57 89 96 DC 00 00 00 E8" to "57 90 90 90 90 90 90 E8"

II. How to change the main colors used in the game.
The game has the basic colors sewn in, which are used for a variety of things during game (colors of arrows on the mini-map, health bars, player names and even the message "Leaving the battlefield"). By changing them you can change all the basic colors. However, keep in mind that you cannot change the color for nickname or arrows separately in this way.
You cannot view this attachment.

The solution:
1. Using HexEditor, find the next code: "FF FF FF FF C0 C0 C0 FF 80 80 80 FF"
2. First "FF" is the beginning, change can be started from there. The colors go one by one, no indentation
As you understand, all colors are written as hex numbers (0 to FF). The order of colors is as follows: blue, green, red, alpha.
For example, you can change the red color of enemies to cyan. Just change "20 20 DF FF" to "DF DF 20 FF"

III. I changed the color of the yellow team that is in alliance with the enemy and made them blue.
And similar to the green-red arrows, these ones will change to yellow and blue depending on their relationship to your team.
Essentially, allies will look green or yellow, and enemies will look red or blue (green and red = primary team, blue and yellow = secondary team)
You cannot view this attachment.

The solution:
1. Using HexEditor, find the next code: "08 8B 0D 00 7A 72 00 EB"
2. Сhange the code from "08 8B 0D 00 7A 72 00 EB" to "08 E9 F9 A0 17 00 90 EB"
3. Navigate to address "3048F0"
4. Change the code from zeros to "8A 8C 32 8C 00 00 00 84 C9 7E 0B 8B 0D 00 7A 72 00 E9 15 5F E8 FF 8B 0D F4 79 72 00 0F 8C 09 5F E8 FF 8B 0D DC 79 72 00 E9 FE 5E E8 FF"
#12
Thank you, that's a very good discovery.
I know that the complexity of AI not only determines their accuracy, but also their behavior, dodging skills and delay between actions. All of these should, in theory, be boosted by the bonus.

The final thing I'm interested in: what's the spread within the team?
Let's say the difficulty of the team is set to 10. Then how strong and weak bots will spawn? How big is the spread between the weakest AI on the team and the strongest? Is there an answer to this question?
Because I've noticed that the same team can have bots that are clearly stronger and clearly weaker than others.
It gets to the point that in the first part of the game, sometimes there are extremely strong bots that destroy everything in their path.
#13
Do I understand correctly that by default the game has AI difficulties ranging from 0 to 20, and the elite training bonus adds +4 points to the team with the bonus?
Furthermore, have you found a variable that allows you to increase the maximum AI difficulty limit? I.e. make the maximum limit not 20, but 30?
#14
Hm, very interesting
Do you know what the highest and lowest levels of teamDifficulty (or it's standart 0-20)? I mean, how good this bonus is compared to the default values?
#15
Please, check if it works (or at least runs):

Instruction for Classic collection "Battlefront1.dll":
1. Using HexEditor, navigate to address "314937"
2. Сhange the code from "00 02 FF" to "00 16 FF"
3. Navigate to address "314AA0"
4. Сhange the code from "B9 80 00 00 00 48 89 44 24 20 41 B8 00 00 00 02 48" to "B9 00 08 00 00 48 89 44 24 20 41 B8 00 00 00 16 48"