Search found 73 matches

by russ
Thu Oct 24, 2019 8:39 am
Forum: 1942 Modding Discussion
Topic: The writeExeCrc command
Replies: 2
Views: 25474

Re: The writeExeCrc command

The CRC the client sends is unfortunately hardcoded.
by russ
Sat Jul 20, 2019 12:56 am
Forum: 1942 Modding Discussion
Topic: Discussion: Conditional statements in BF1942
Replies: 28
Views: 84045

Re: Discussion: Conditional statements in BF1942

I haven't used it. You can use it across if statements which can be useful. If you use a beginrem/endrem across an if statement it breaks the flow control.
by russ
Tue Jul 16, 2019 10:21 am
Forum: 1942 Modding Discussion
Topic: Discussion: Conditional statements in BF1942
Replies: 28
Views: 84045

Re: Discussion: Conditional statements in BF1942

beginNoExecution/endNoExecution differs slightly from beginRem/endRem in that it still processes flow control statements.

You're missing unAlias, listAlias, quit (identical to exit), var (and related v_...), const (and related c_...) and echo.
by russ
Sun Jul 07, 2019 1:03 am
Forum: 1942 Modding Discussion
Topic: "if not allowed on the highest level"
Replies: 5
Views: 13877

Re: "if not allowed on the highest level"

The current patch doesn't modify that code path so if you can't use run now, it also wouldn't run with the patch.
by russ
Thu Jul 04, 2019 7:46 am
Forum: 1942 Modding Discussion
Topic: "if not allowed on the highest level"
Replies: 5
Views: 13877

Re: "if not allowed on the highest level"

So these only run if the depth is non-zero. depth gets bumped inside while loops, if loops and run commands. So you want to run the script rather than include it.
by russ
Tue Apr 30, 2019 11:22 pm
Forum: 1942 Modding Discussion
Topic: Speedmod
Replies: 3
Views: 9998

Re: Speedmod

The only normal gameplay events I can think of that would have their damage modified unintentionally would be getting hit by vehicles and possibly knife, but I'd need to look up how the knife deals damage. Other options: * Change the material/material damage modifier value for collisions. This would...
by russ
Mon Apr 29, 2019 12:20 am
Forum: 1942 Modding Discussion
Topic: Is there a completed material list available anywhere?
Replies: 2
Views: 8394

Re: Is there a completed material list available anywhere?

In addition, material 90 is the only material that fails the "isSolidMaterial" test in 'dice::ref2::world::PointResponsePhysics::checkObjectVsObject' Some additional defined materials: 43 Car: Kubel (hood/lower front) 44 ? 45 Car: Willy (all) Kubel (most of body) * Landing Craft 46 Arty/AP...
by russ
Mon Apr 15, 2019 6:58 pm
Forum: 1942 Modding Discussion
Topic: bf1942_lnxded server fixes
Replies: 13
Views: 32174

Re: bf1942_lnxded server fixes

Adding that command to the RFA on the server won't effect your client. If you want to use these commands, I think running a non-internet server and connecting with BF1942_r.exe will get you going. Anything else would be discussion of enabling blatant cheats.
by russ
Sat Apr 13, 2019 5:21 am
Forum: 1942 Modding Discussion
Topic: bf1942_lnxded server fixes
Replies: 13
Views: 32174

Re: bf1942_lnxded server fixes

This is just the linux dedicated binary. You still won't be able to run arbitrary console commands client side and the binary is headless, so drawDebug the command is there, but of course won't have any effect on non-existent rendering.
by russ
Thu Apr 11, 2019 7:08 am
Forum: 1942 Modding Discussion
Topic: bf1942_lnxded server fixes
Replies: 13
Views: 32174

Re: bf1942_lnxded server fixes

There's a place in the code where it checks if a command should be allowed. The patch is just to short circuit that. There's a couple of sites out there that document all the bf commands.