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 - Dark_Phantom

#376
Yeah I can see it in memory but it probably would require some type of source modification to show it
#377
Other than it's missing a comma, good job.
I can see in memory where it is running correctly, which I didn't expect, and it follows the same rules as reinforcements of other teams.
#378
Released Maps and Mods / Re: Kejim Supplies Depot Alpha
December 07, 2019, 07:57:25 PM
I actually looked at this thread recently for a reason I can't remember lol. I can help with sounds, just PM what you need.
#379
Yeah I'll be on about 2 or 3 PM EST
#380
This is your friendly reminder that this is coming in 2 days!
#381
Quote from: wsa30h on December 05, 2019, 01:17:15 AM
am trying to give multiple symbols to local teams and vehicles to team 4 just like battlefront2 rumble conquest

...

works in battlefront 2 but doesent work in battlefront 1

This is the key.  I don't want to say it's impossible, because we've all been proven wrong, but I can say with confidence right now that there is no method in BF1 to edit symbol settings and vehicles for teams beyond 3.
I don't know how BF2 rumble conquest does it, but BF1 is limited in its capabilities.  Modders who come from BF2 have had their hopes dashed like this for years, and though we can do more than we could several years ago, the same concepts apply.

The reason it is probably functional in BF2 is that they had to make sure that certain campaign maps and game modes worked with more than 3 teams.  I can't think of any specifically, but think about it this way: in BF1, they had a brand new game, when it went to testing, they didn't think about whether they could put X amount of teams in there.  They wanted to make sure what they had worked without any bugs.  Now, the programmers thought ahead and left functionality in there for up to 7 teams + team 0 (8 total), but teams 3-7 all probably copy the same code, which had the unintended side effect of not allowing team 4+ localization.  Same way with the spawn screen, the programmers left code in there for up to 12 units + 1 hero per team.  However, somebody else did the PC spawn screen and it was only tested with 5 units and that's all it supports without hex editing (and that presents its own issues).

Sorry for the long rant, but I felt the need to explain this from a different perspective.  I'm not going to say it will never work, but we know enough about the game now to say what is and isn't possible at this point, and no amount of lua scripting will make this stuff possible.  This is why I started digging into the exe - to try to get past some of these limits.
#382
I'm not quite sure what you are asking. I saw you working with post script stuff in BF2 but that doesnt exist in BF1. Like I said, we can't add hard coded stuff at this point. You can write your own lua stuff to do plenty of things, but we would need to know what you are trying to accomplish
#383
It's not that easy.  The exe stuff I do is all related to modification/removal, not addition.  Theoretically there are ways to add content, but they are well beyond my knowledge at this point
#384
Battlefront.exe+1396C6 = go to line 1396C0 in your hex editor, and find 83 7A 14 19 (in hex) and change the 19 to 00.
In hex, 19 = "25"
You are telling the game to execute the check at 0 instead of 25.
#385
Hard coded = you must hex edit the exe (or attach a trainer).

There is no other way.  My suggestion was to supply my directions on the locations in the hex editor.
#386
It's a hard coded command in BF1.  See here (this was in an advanced modders topic that I thought I cross posted but didn't):

Quote from: Dark_Phantasmagorical on November 11, 2017, 05:36:39 PM
Found both the Hero Death and the AI getting out of vehicles.

How I did this:  I attached the CE debugger to the reinforcement counts.  I had to check every code that accessed them (only about 10-12 I think), and NOP them one by one, reactivating code that didn't affect my tests (except the 25 reinforcements - it tipped me off by the direct reference to 25)

Battlefront.exe+17CEAB - Disables check for hero - I and hero don't respawn at/under 20 reinforcements
-->Line 17CEA0 - Change 8B 48 14 to 90 90 90 (NOP)


Battlefront.exe+1396C6 - Disables check for 25 reinforcements (get out of vehicles)
-->Line 1396C0 - Change 83 7A 14 19 to 83 7A 14 00  (changes check from 25 to 0)


These should both work by hex editing your exe.

edit: aka I'd totally prefer if you added these directions to your mod if it's so essential, rather than releasing another exe.  ggctuk uses these for his full conversion, but asking people to replace their exe for mods other than a full conversion (or online fix) is not a great idea.
#387
Star Wars Battlefront (2004 Original) / Re: Start up bug
November 29, 2019, 01:55:48 PM
Might need to replace your shell.lvl (need to know what version first) as well, after you answer Led's questions
#388
Star Wars Battlefront (2004 Original) / Re: Start up bug
November 27, 2019, 08:54:17 PM
Did you get the game from steam?  If so, I would redownload it - sounds like the shell file is corrupted.
#389
We have always toyed with the idea, but nothing has really materialized.  The problem comes in where there is really no standardized way to keep track of the mods other than how the game handles them.  Maybe we still will someday, but it's not a priority.

Also, for argument's sake, the limit is 50 (each era of a map takes 1 slot).
#390
Team 0 can't spawn in.  There's no code to back it up, for player or AI.
If you hack yourself onto team 0, you can see the units, but they can't spawn.