Panzershreck mod

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Weve updated the Tripwire Privacy Notice under our Policies to be clearer about our use of customer information to come in line with the EU General Data Protection Regulation (GDPR) rules that come into force today (25th May 2018). The following are highlights of our changes:


    We've incorporated the relevant concepts from the GDPR including joining the EU and Swiss Privacy Shield framework. We've added explanations for why and how Tripwire processes customer data and the types of data that we process, as well as information about your data protection rights.



    For more information about our privacy practices, please review the new Privacy Policy found here: https://tripwireinteractive.com/#/privacy-notice

otester

FNG / Fresh Meat
Mar 7, 2006
366
5
0
I work for Darkest Hour as 3D artist but I know a little about coding and I want to make a Panzershreck, using the existing Panzerfaust code.

I need to change the; speed of the rocket, flight path so it's more straight & damage. Model etc. can be done later, assuming I get anywhere :D

Since Darkest Hour is a total conversion mod, it has it's own folder, I think I need these 4 class files to do the 3 things needed. Could someone confirm this?

Also am I running this mod correctly by using folder layout and mod execution from shortcut?

click here for file (RAR)
 

SchutzeSepp

FNG / Fresh Meat
Sep 23, 2006
1,540
8
0
35
who is this? apekop??

the mare nostrum mod are making a bazooka, so the schreck is pretty similar to the bazooka.
maybe contact them
 

otester

FNG / Fresh Meat
Mar 7, 2006
366
5
0
who is this? apekop??

the mare nostrum mod are making a bazooka, so the schreck is pretty similar to the bazooka.
maybe contact them

this is oli and i've been hunting but since drax left i cant find anyone to talk to (thats a coder) :eek:
 

[TW]Ramm-Jaeger

Tripwire Interactive President
Oct 11, 2005
1,887
3,113
0
www.redorchestragame.com
The two files I would look at are RORocketProj.uc and PanzerFaustRocket.uc. Those have the code for the panzerfaust projectile. I would subclass PanzerFaustRocket and then modify the StraightFlightTime variable. This variable determines how far the projectile travels in a straight line before it starts falling.
 

otester

FNG / Fresh Meat
Mar 7, 2006
366
5
0
The two files I would look at are RORocketProj.uc and PanzerFaustRocket.uc. Those have the code for the panzerfaust projectile. I would subclass PanzerFaustRocket and then modify the StraightFlightTime variable. This variable determines how far the projectile travels in a straight line before it starts falling.

Yup, done that, working, but it falls very steeply :cool:
 

[TW]Ramm-Jaeger

Tripwire Interactive President
Oct 11, 2005
1,887
3,113
0
www.redorchestragame.com
Yup, done that, working, but it falls very steeply :cool:

Well technically you could just use Phys_Projectile and then write your own code to affect the accelleration of the projectile every tick. That is what we did for all the bullets and such in the UT2k4 mod version. Either that, or you might look into using the same physics set up as tank shells.
 

otester

FNG / Fresh Meat
Mar 7, 2006
366
5
0
Well technically you could just use Phys_Projectile and then write your own code to affect the accelleration of the projectile every tick. That is what we did for all the bullets and such in the UT2k4 mod version. Either that, or you might look into using the same physics set up as tank shells.

yeh I think tank shell pretty much summed it up.

Is it possible to make it have tankshell physics, low velocity and slightly more dip ?

And how would I go about doing this?
 

worluk

FNG / Fresh Meat
Nov 21, 2005
2,226
85
0
set the physics to PHYS_Projectile
edit the BC of the projectile so it dips a little
and set the velocity of the projectile the way you want it
 

otester

FNG / Fresh Meat
Mar 7, 2006
366
5
0
Ok I looked through the code in RORocketProj

It says when it's out of propellant it will change to PHYS_Falling.

How can I edit PHYS_Falling or make my own?

Is PHYS_Falling class based so I can extend it like all the other things?
 

Amizaur

FNG / Fresh Meat
Aug 18, 2006
275
3
0
44
Gdansk, Poland
Please contact me as I'm editing the Panzerfaust currently, and did some modifications to it behaviour and fligh patch. Shouldn't be much of problem to modifymy version for faster Panzershreck rocket now.
 

otester

FNG / Fresh Meat
Mar 7, 2006
366
5
0
Just use the tank shell physics and adjust the ballistics coefficient and the muzzle velocity so that it moves slower. That will be the easiest way.

I will have to use the formula and find out the cooefficient for the panzerschreck rocket for real?

EDIT: Does anyone have picture of sights for panzerschrek? what distance were on the sights? eg: 50m,100m,200m etc.
 
Last edited: