air with personal shield

Everything about mods can be found here.

Moderator: Morax

air with personal shield

Postby Ithilis_Quo » 30 Apr 2015, 01:21

Hi guys, im making one huge mode, and also want to change spectra for cheap and fast gunship, with shield.
But problem is that i have no idea how :(

I copypast continental bubble shield . What work but its responsible for weird bug where +- 50% of AA attack on gunship is going through shield and immediately damage gunship even with full shield. I think that personal shield would fix it, but dont know how to make it.

Is here someone with this kind of knowledge, and can help me?
"Fixed in Equilibrium" Washy
User avatar
Ithilis_Quo
Supreme Commander
 
Posts: 1390
Joined: 29 Dec 2012, 15:55
Location: Slovakia
Has liked: 395 times
Been liked: 181 times
FAF User Name: Ithilis

Re: air with personal shield

Postby Resin_Smoker » 30 Apr 2015, 03:27

Personal shields don't work well on aircraft as the shield has a very difficult time keeping up with the aircraft's position in physical space. Odds are that 50% of the time the aircraft will not be covered by the shield as the shields position is updated every 4 ticks while the rendering engine updates 10x faster. This is why ALL aircraft (including the Continental) use bubble hit-boxes for both general impacts and shielding. Consequently, it's also why aircraft have such huge hit-boxes in relation to their mesh size.

Now why i could tell you how the shield is works, it's better to have to look at the UEF Titan and see what was done there instead. You'll learn far more and understand the basics of shielding if you just sit down and read it. Unit ID UEL0303 I think... look at both script and bp. with what is shown there you can manually add P-shields to anything you'd like. I made a mod that does this on the fly via my nifty little shield drone. (4DC)

Resin
Resin_Smoker
Evaluator
 
Posts: 858
Joined: 14 Mar 2012, 17:58
Has liked: 54 times
Been liked: 106 times

Re: air with personal shield

Postby Ithilis_Quo » 30 Apr 2015, 10:12

thx for answer. Hmm And on continental shield work fine, or i only thought that it work fine? Ad first i was copypasting p-shield from obsidian, what is imho same as on titan, but that was change my units for some vierd kind of packing flying tank :D that was imposible to shoot. and units model was total crazy, have some parth from obsidian but was loking as when you are trying pack him on small place:D i will try it with titan p shield, but imho it would be same.
"Fixed in Equilibrium" Washy
User avatar
Ithilis_Quo
Supreme Commander
 
Posts: 1390
Joined: 29 Dec 2012, 15:55
Location: Slovakia
Has liked: 395 times
Been liked: 181 times
FAF User Name: Ithilis

Re: air with personal shield

Postby Resin_Smoker » 30 Apr 2015, 15:29

Ithilis_Quo wrote:thx for answer. Hmm And on continental shield work fine, or i only thought that it work fine? Ad first i was copypasting p-shield from obsidian, what is imho same as on titan, but that was change my units for some vierd kind of packing flying tank :D that was imposible to shoot. and units model was total crazy, have some parth from obsidian but was looking as when you are trying pack him on small place:D i will try it with titan p shield, but imho it would be same.



Copy and Paste wont do it.... Part of why is that technically the unit is changing its texture / shader when the shield kicks on. What you need to do is define a new "Mesh" blueprint that the units blueprint / script go to when the shield is called for. Look for a secondary blueprint file in the units folder and you'll see that it's just a mesh blueprint. The meshname and path must be added to that units blueprint definition of the shield.

Keep in mind that if you copy and paste from another unit your likely to see your unit change skins to look like another unit entirely.

Resin
Resin_Smoker
Evaluator
 
Posts: 858
Joined: 14 Mar 2012, 17:58
Has liked: 54 times
Been liked: 106 times

Re: air with personal shield

Postby Ithilis_Quo » 20 May 2015, 13:41

It was cause plenty of problem so i let be personal shield on air in past..

what i was try is make personal shield on bout, and again it make some vierd problem.
- i creat mesh file, remane stuf inside, shield work, recive dmg insted of hp, but dont show on (naval) units. dont idea why.
- when shiep is destroyed in cca 20% wreck dont sink, and then its unreclaimable what is pretty sad, and dont know what to do with it.

any advice?
"Fixed in Equilibrium" Washy
User avatar
Ithilis_Quo
Supreme Commander
 
Posts: 1390
Joined: 29 Dec 2012, 15:55
Location: Slovakia
Has liked: 395 times
Been liked: 181 times
FAF User Name: Ithilis

Re: air with personal shield

Postby Resin_Smoker » 20 May 2015, 13:43

Ithilis_Quo wrote:It was cause plenty of problem so i let be personal shield on air in past..

what i was try is make personal shield on bout, and again it make some vierd problem.
- i creat mesh file, remane stuf inside, shield work, recive dmg insted of hp, but dont show on (naval) units. dont idea why.
- when shiep is destroyed in cca 20% wreck dont sink, and then its unreclaimable what is pretty sad, and dont know what to do with it.

any advice?



Link me your files please
Resin_Smoker
Evaluator
 
Posts: 858
Joined: 14 Mar 2012, 17:58
Has liked: 54 times
Been liked: 106 times

Re: air with personal shield

Postby Ithilis_Quo » 20 May 2015, 17:51

https://mega.co.nz/#!6ltnBBZB!Kl2QNcjI8 ... kN4O4MH4sg

here is it. Its whole mode, frigate with shield issue, is in unit/navy/t1/frigate/uas0103 -> also before was trying take it on hook, or only with .bp whiteout other files, but with same outcome :(
Last edited by Ithilis_Quo on 20 May 2015, 22:59, edited 1 time in total.
"Fixed in Equilibrium" Washy
User avatar
Ithilis_Quo
Supreme Commander
 
Posts: 1390
Joined: 29 Dec 2012, 15:55
Location: Slovakia
Has liked: 395 times
Been liked: 181 times
FAF User Name: Ithilis

Re: air with personal shield

Postby Resin_Smoker » 20 May 2015, 18:00

Will checkbit out either tonight or tomorrow then post my suggestions / fix.

Resin
Resin_Smoker
Evaluator
 
Posts: 858
Joined: 14 Mar 2012, 17:58
Has liked: 54 times
Been liked: 106 times

Re: air with personal shield

Postby zeroAPM » 20 May 2015, 19:12

Resin_Smoker wrote:Personal shields don't work well on aircraft as the shield has a very difficult time keeping up with the aircraft's position in physical space. Odds are that 50% of the time the aircraft will not be covered by the shield as the shields position is updated every 4 ticks while the rendering engine updates 10x faster. This is why ALL aircraft (including the Continental) use bubble hit-boxes for both general impacts and shielding. Consequently, it's also why aircraft have such huge hit-boxes in relation to their mesh size.

Now why i could tell you how the shield is works, it's better to have to look at the UEF Titan and see what was done there instead. You'll learn far more and understand the basics of shielding if you just sit down and read it. Unit ID UEL0303 I think... look at both script and bp. with what is shown there you can manually add P-shields to anything you'd like. I made a mod that does this on the fly via my nifty little shield drone. (4DC)

Resin


Would be possible to have the shield work as a extra function "inside" the unit acting as a second HP bar?
pseudocode example

Code: Select all
Event=WeaponHit
If ShieldHP>0
ShieldMesh=TRUE
ShieldHP=ShieldHP-WeaponDamage
else
ShieldMesh=0
[follows normal "unit takes damage" code]
zeroAPM
Priest
 
Posts: 452
Joined: 21 May 2014, 20:39
Has liked: 3 times
Been liked: 52 times
FAF User Name: Impressingbutton

Re: air with personal shield

Postby Aulex » 20 May 2015, 23:11

Don't shields produce a lot of particles when they're hit, or is that just a single effect.
"Let's start beating ass and die" - drunk TA4Life

"Just because you have a d*** doesn't mean you need to be one...pussy" -Blackdeath

SCOUTING SAVES LIVES
http://imgur.com/YGk0W0o

How to play Sup Com by Ubilaz
http://goo.gl/je83z
User avatar
Aulex
Contributor
 
Posts: 1050
Joined: 17 Nov 2012, 05:29
Has liked: 299 times
Been liked: 225 times
FAF User Name: VoR_Aulex

Next

Return to Mods & Tools

Who is online

Users browsing this forum: No registered users and 1 guest