project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
19 Aug 2019, 00:00:00 (PRT)
Register Developer Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Reply
 
Thread Tools Display Modes
Old 2019-08-13, 22:03   #1
potential
Default AGM114 missile tweaking

Hello, is it possible to make missile perform faster, smoother, and more manuverable
potential is offline Reply With Quote
Old 2019-08-14, 08:27   #2
[R-DEV]​AlonTavor
PR:BF2 Developer
Default Re: Battlefield 2 Performance/Maneuverability missile

...what

Are you asking about modding? Or are you giving a suggestion?
AlonTavor is offline
Last edited by AlonTavor; 2019-08-14 at 08:44..
Reply With Quote
Old 2019-08-14, 09:00   #3
potential
Default Re: Battlefield 2 Performance/Maneuverability missile

asking about modding, i am new at this, would like some help
i am talking about agm114
potential is offline Reply With Quote
Old 2019-08-14, 13:10   #4
[R-DEV]​Arab
PR:BF2 Developer
Supporting Member

Arab's Avatar
Default Re: AGM114 missile tweaking

Moved thread to Community Modding.

First thing is to make a copy of pr folder and rename it to pr_edit, then in mods/pr_edit/bin/PRLauncher.exe, create a shortcut on the desktop and rename it to something like pr_edit so you know that launches PR with modified changes. Be aware that you can't join any servers in pr_edit.

The file to modify is in C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr_edit\content\objects_weapons_server.zi p\weapons\Armament\missiles\agm114_hellfire.tweak

Open that with Notepad++ (Recommended as it is a much better version of Notepad, avoid using Wordpad due to formatting issues)

You can increase the values in the following lines to make it faster:
Code:
ObjectTemplate.acceleration 300
ObjectTemplate.maxSpeed 125
Manuevaribility can be tweaked by increasing the values here:
Code:
rem ---BeginComp:DefaultFollowComp ---
ObjectTemplate.createComponent DefaultFollowComp
ObjectTemplate.follow.maxYaw 1.5
ObjectTemplate.follow.maxPitch 1.5
ObjectTemplate.follow.changePitch 0.2
ObjectTemplate.follow.changeYaw 0.2
ObjectTemplate.follow.minDist 10
rem ---EndComp ---
Most likely increasing changePitch, changeYaw can have a noticable difference but try increasing everything and having it the same value.

The best way to test this is in Test Airfield (COOP 64). This way, you can test your changes without organizing a playtest.

Code:
rcon debug - turns debug mode on.
rcon oneman - allows you to get into any vehicle with no kit requirements.
rcon start - allows you to skip vehicle start delay.
rcon health (name) 100 - gives you 100 HP in health.
rcon damage (name) 100 - gives you 100 HP to the vehicle.
rcon damage - turns on/off vehicle damage.
rcon spawner (vehicle) - allows you to spawn a vehicle that's in the map (otherwise game will crash).
rcon teleport 100 - to teleport 100m.
!fly (name) 100 - to launch yourself 100m.
.zip files are recommended to be opened in WinRar since it's what most people use.

You can modify soldier HP to be really high by opening each soldier in objects_common_server.zip/soldiers/pr_usa (example)/and opening each .tweak file.

Then replace ObjectTemplate.armor.maxHitPoints 100 and ObjectTemplate.armor.hitPoints 100 to 99999 and save for each.

Arab is online now
Last edited by Arab; 2019-08-14 at 13:37..
Reply With Quote
Old 2019-08-14, 19:27   #5
potential
Default Re: AGM114 missile tweaking

Thank you so much

i have alot more questions

what are the max values on those settings

--------------------------------------
ObjectTemplate.follow.maxYaw 1.5
ObjectTemplate.follow.maxPitch 1.5
ObjectTemplate.follow.changePitch 0.2
ObjectTemplate.follow.changeYaw 0.2
ObjectTemplate.follow.minDist 10
--------------------------------------

i have actually tried to change those values somewhile now, i am just going for more and more
what can be done, example there are a setting ObjectTemplate.Stiffness in that notepad file, that makes the missile very fast to move yes, i was wondering can i add anything in that section more, to make missile more ¤¤RESPONSIBLE¤¤ is the word, example can i bring in ObjectTemplate.softness or whatever more commands in the agm114,

(under)
ObjectTemplate.addTemplate S_agm114_hellfire_tv_Camera_RotationRpm

to make it even more better, i know it sounds funny or weird, but are there more ways?

keywords are:

1) best missile responsiveness
2) the most manuverable the missile can be tweaked
3) i am not necessarily looking the [faster] part of it

i am looking close to this one

https://www.youtube.com/watch?v=efNWODJ9s3c&t=101s

^ yes i know there are factors like macro
^ and of course the ping factor, video are made close to 40 ping

# can anything be changed elsewhere than agm114 file, example control.con
# or any other file, i dont know about

Thanks.
potential is offline Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 07:58.