Search found 174 matches

by Skull Kid
Sun May 12, 2019 10:48 am
Forum: 1942 Modding Discussion
Topic: Speedmod
Replies: 3
Views: 12197

Re: Speedmod

I'd want to make a specific vehicle invulnerable to all kinds of damage. So if anyone here knows how that's accomplished, please don't hesitate to reply here, or PM me.

EDIT: I found it... it's ObjectTemplate.hasArmor. It needs to be set to 0, then it's completely indestructible to anything.
by Skull Kid
Mon Apr 08, 2019 7:38 pm
Forum: 1942 Modding Discussion
Topic: player.vehicleHp only works in multiplayer?
Replies: 28
Views: 53874

Re: player.vehicleHp only works in multiplayer?

russ wrote:You may have to patch the server to accept all console commands.
I guess so, yes.
by Skull Kid
Sun Apr 07, 2019 11:26 pm
Forum: 1942 Modding Discussion
Topic: player.vehicleHp only works in multiplayer?
Replies: 28
Views: 53874

Re: player.vehicleHp only works in multiplayer?

Do you have an example the code you used to make it work on a multiplayer server please? I forgot to mention you need to make youself "active" by using "player.active" and your name without any spaces whatsoever, then type "player.verhiclehp" followed by a number. All ...
by Skull Kid
Sun Apr 07, 2019 9:51 pm
Forum: 1942 Modding Discussion
Topic: player.vehicleHp only works in multiplayer?
Replies: 28
Views: 53874

Re: player.vehicleHp only works in multiplayer?

Do you have an example the code you used to make it work on a multiplayer server please? I forgot to mention you need to make youself "active" by using "player.active" and your name without any spaces whatsoever, then type "player.verhiclehp" followed by a number. All ...
by Skull Kid
Sat Apr 06, 2019 8:53 pm
Forum: 1942 Modding Discussion
Topic: player.vehicleHp only works in multiplayer?
Replies: 28
Views: 53874

Re: player.vehicleHp only works in multiplayer?

Skull Kid, are you sure that player.Hp only works in MP like you said? I tried the command on a local server and it didn’t seem to work. Worked fine with the debugger though... Can you post your code please? Hi Classical Modder =) Sure can! It's "player.vehicleHp" then of course the value...
by Skull Kid
Thu Mar 14, 2019 11:50 am
Forum: 1942 Modding Discussion
Topic: Sound bug in Forgotten Hope Secret Weapon
Replies: 3
Views: 9379

Re: Sound bug in Forgotten Hope Secret Weapon

I do really appreciate any reply at the moment. I thank you both duffman and Seth, for your very helpful replies. @duffman: Quite true. I will try looking into this if nothing else helps. @Seth: Yes, I realized that I have to leave Forgotten Hope as is, and Secret Weapon as is. Right now, with or wi...
by Skull Kid
Tue Mar 12, 2019 7:38 am
Forum: 1942 Modding Discussion
Topic: Sound bug in Forgotten Hope Secret Weapon
Replies: 3
Views: 9379

Sound bug in Forgotten Hope Secret Weapon

This is what I get from the last two lines of the log made by the BF1942_r.exe. Engine\SfxPc\Sample.cpp(82): Assert: SfxPc: (chunkSize == ( stream->length() - 8 )) Sound/44kHz/tnkstrt.wav is corrupt. Error: Wrong chunk size. Engine\SfxPc\Sample.cpp(139): Assert: SfxPc: (chunkSize <= ( stream->length...
by Skull Kid
Tue Feb 12, 2019 8:36 am
Forum: 1942 Modding Discussion
Topic: player.vehicleHp only works in multiplayer?
Replies: 28
Views: 53874

Re: player.vehicleHp only works in multiplayer?

Hmm... need to do further troubleshooting with this...
by Skull Kid
Sat Feb 09, 2019 9:26 pm
Forum: 1942 Modding Discussion
Topic: player.vehicleHp only works in multiplayer?
Replies: 28
Views: 53874

Re: player.vehicleHp only works in multiplayer?

I finally got the player.vehicleHp to work! The player.active command only "seem" to work with one argument, in other words, a name without any spaces. Not even quotation marks seems to help… strange. EDIT: It can be partly fixed when naming yourself with the alias name "yourname"...
by Skull Kid
Wed Sep 12, 2018 8:26 pm
Forum: 1942 Modding Discussion
Topic: player.vehicleHp only works in multiplayer?
Replies: 28
Views: 53874

Re: player.vehicleHp only works in multiplayer?

I'm also right now trying to make the console show my vehicle ID, without typing "object.listobjectsoftemplate" and then the objects name.

Anyone who can come up with a solution for this, I'd be extremely grateful!

NOTE: This is for Single Player.