Welcome to Open Carnage

A resource for modders and technology enthusiasts; have a wander to see why we're worth the time! EST. 2012

Weyland

Adjusting vehicle health / shield vitality

Hi,

 

Just looking for a script to adjust the health / shield vitality of different vehicles types.

 

Specifically an OP Falcon that is affecting game balance.

 

Thanks

Share this post


Link to post
Share on other sites

Members of Open Carnage never see off-site ads.

A Falcon? Are you running a map with custom vehicles have that are destructible? Or are you asking for something to change the amount of damage the player in the vehicle takes?

I'm not a scripter but just curious about what you're asking for.

Edited by ShikuTeshi

"You're nothing but a thing to me." -Tucker933 2016   

"Mine's not huge, but neither are my hands, so it's a real good fit." -Badga666 2017                

"It's not incest until it's in." -Caesar 2017

"Poison dart frogs aren't poisonous. Mankind is a poison and the dart frogs are the cure."-Somewhere on the internet  

Share this post


Link to post
Share on other sites

No, I’m not using any custom vehicles.

 

I’m simply wanting a way to tweak how easy to destroy different vehicle types are.

 

Specifically I want to make Falcons easier to destroy, as they are slightly OP on the map I host and players are tending to spam with them.

Share this post


Link to post
Share on other sites
On 2/12/2018 at 10:15 PM, giraffe said:

You can try this and let me know if it helps.

 

https://pastebin.com/A3bMRB4k

@giraffe This script is awesome! Thank you so much! So I am using this on bigass final and I have it set up so I can change the strength of multiple vehicles, and it works perfectly for the falcon. However, whenever a player destory's a tank or truck at its spawn location, another truck or tank pops out right on top of it. Any ideas of how to fix it?

vitality_settings_bigass.lua

Share this post


Link to post
Share on other sites
13 hours ago, Vic Firth said:

@giraffe This script is awesome! Thank you so much! So I am using this on bigass final and I have it set up so I can change the strength of multiple vehicles, and it works perfectly for the falcon. However, whenever a player destory's a tank or truck at its spawn location, another truck or tank pops out right on top of it. Any ideas of how to fix it?

vitality_settings_bigass.lua

 

Your post leaves me a bit confused. What do you mean another truck or tank pops out? Does the original vehicle not get deleted when the destroyed variant is created? I'm also confused as you say it works for the falcon, however, the settings for the falcon in the script you uploaded are the default settings (meaning nothing changes unless you change it yourself).

 

Also, some minor things you can consider:

  1. Giving every destroyable vehicle the same settings as a falcon might come across as being unbalanced
  2. You also have the scorpion's tag path set to "altis\\vehicles\\scorpion\\scorpion_mp", but the destroyable scorpion used is "altis\\vehicles\\scorpion\\scorpion"
  3. The katyusha truck isn't destroyable as far as I'm aware, so having settings for it would show little to no effect

dynamic.png

Share this post


Link to post
Share on other sites

@giraffe Firstly, my apologies on the confusing post. What was happening was that when a player would stand in front of the truck and blow it up, the destroyed truck would appear, but also a brand new truck would appear right on top of it. This brand new truck would usually shoot forward towards the direction of the player. That is what I mean't by "pops out", because it looked as if the new truck was popping out form the original truck. I realize I should have been more clear.

Moreover, I want to say thank you for getting back to me and taking the time to help me out. In point number 2 you mentioned how the scorpion needs to be destroy-able. I did not realize that's how it worked, I thought I was supposed to put the tag path of the regular vehicles. When I figured that out, I changed the truck path to the destroyed truck, and it totally fixed everything, now the truck and tank explodes like normal.

Finally, I have adjusted the settings as seen in this new version of the script, and was wondering if you had any recommendations for settings for the bigass final map?  Currently on my server players have 100%health, but they don't have shields.

Thank you again!

VF

vitality_settings_bigass.lua

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.