Projectiles that "push" [message #63201] |
Thu, 22 January 2004 17:09 |
|
htmlgod
Messages: 360 Registered: July 2003
Karma: 0
|
Commander |
|
|
I had a level edit question that I myself have not yet been able to resolve:
I recently heard of a tank in Tiberium Evolution x 12 that had the capability to push vehicles and infantry by firing at them. I tried the mod out for myself, to see if this could be true, and indeed it was. The Microwave tank, when shooting at an enemy, causes that enemy to be pushed in the direction that it is firing. As you may or may not know, I am the leader of Renegade: A New Hope ,http://swmod.tk, AKA The Starwars Mod for renegade. I would like to, for jedi of my mod, replicate a similar effect, allowing the jedi to "use the force" and push/pull enemy infantry and vehicles.
So I downloaded Tiberium Evolution, played with the tank for a bit, and then took a look at their objects.ddb settings for the vehicle, the weapon, and the ammo. After about an hour of looking around, I did not find anything particularly out-of-the-ordinary that could be allowing this phenomenon. There were no attached scripts to the vehicle, weapon, or ammo, and no dependencies either. All the presets for these things seemed normal. I want to replicate this effect. Does anyone know how they did it?
http://nova.deadlyfear.com/newhope/tibevo_evidence1.jpg There's a picture of the tank in action, just so you know what I'm talking about.
Check out http://newhope.conquergaming.com to see the progress of the STARWARS mod for Renegade.
|
|
|
|
|
|
|
Projectiles that "push" [message #63206] |
Thu, 22 January 2004 17:28 |
|
IRON FART
Messages: 1989 Registered: September 2003 Location: LOS ANGELES
Karma: 0
|
General (1 Star) |
|
|
Maybe reversing the effect of recoil. Instead of having that tank that is firing recoil, have the recoil push the other vehicle. There may be other ways though.
|
|
|
|
|
Projectiles that "push" [message #63223] |
Thu, 22 January 2004 18:40 |
|
IRON FART
Messages: 1989 Registered: September 2003 Location: LOS ANGELES
Karma: 0
|
General (1 Star) |
|
|
How does this pushing work?
Is it some kind of beam that continually pushes? or is it a one-time nudge?
|
|
|
|
|
|
Projectiles that "push" [message #63281] |
Fri, 23 January 2004 03:37 |
|
htmlgod
Messages: 360 Registered: July 2003
Karma: 0
|
Commander |
|
|
I'm fairly certain that I understand now how it works, and for a "pull" effect, a different weapon would have to be used. Thiima was right about one thing, it involves the massive rate of fire. I'm not 100% sure that I understand how it works completely, but let me tell you what I believe to be a factor:
1. A huge projectile (about the size of the medium tank, looking at it from the top) with curved edges, and physical collision options.
2. A somewhat ridiculous rate of fire (45.0, + crazy burst settings that make this pretty much a fully-automatic shotgun firing massive projectiles).
3. A relatively high SoftPierceLimit on the projectile, which causes it to pass through its target and only minutely displace it.
General Explanation:
Let me try to explain each part.
Projectile - the huge projectile with curved edges served 2 purposes:
1. it ensured that enough of the target was hit by the projectile (IE it wasnt a "glancing" hit) for the target to be displaced.
2. By having curved edges and a rather low velocity, the projectile was made able to "plow" up underneath targets
3. Also, help prevent the target object from kind of warping around when under a barrage of projectiles, they smooth out its trip through the air.
High rate of fire(45), and high spray angle(spray angle = 6.9, spray count = 8 ) -
This produced an effect somewhat like that of the shotgun, because the spray angle caused a huge amount of variety in where the projectiles flew, but at the same time, the high rate of fire allows for a "flow" effect, which is what really keeps the target vehicle in the air, because the target is continually being pushed up by hundreds of curved boxes. Without the high rate of fire the target will probably experience an effect somewhat like being pushed around by tanks, because individual projectiles produce a choppy displacement effect at best.
SoftPierceLimit -
This is one of the settings in level edit for the Ammo of the weapon. I'm still not 100% sure what it does, but I think I've got a pretty good idea. I know for certain that it allows the projectile to pass through targets, and the part that I'm partially sure about is this: I believe it causes an effect involving the trajectory of the target.... This part is kind of hard to explain. Let me make an analogy:
Pretend the target is a piece of paper suspended in the air, with its broad side facing the person firing at it. If the person firing at it is throwing beany-bags (or anything that will not easily pass through the paper) at the piece of paper, when the beany-bag hits the paper, it will kind of drag the piece of paper, causing both to continue in the direction of the projectile. However, if the projectile is something like a bullet or a dart, the projectile makes contact with the piece of paper, and the piece of paper is briefly affected by the inertia of the dart, but the dart quickly passes through the paper, after which the paper resumes its previous course.
What I'm trying to say here is that each individual projectile seemingly only has a very minute affect on the course of the target, which is caused by their higher pierce limit, which allows them to pass through the target and affect its trajectory, but only minutely. The reason this is done is to ensure a "smooth ride."
Well I hope this gives you some degree of understanding about how the weapon allows the pushing of vehicles. Now I will attempt to explain how pull could be done, and what it would entail:
I've been thinking about this for a while, and the way I see it, there is only way that it could be done, but it is still feasible. It would have to be on a different weapon, but it would function the same way as the one I described above.
This is why it would require a different weapon:
In order to push, you would want to create the same effect, except pushing the vehicle towards yourself, you would have to have the projectiles moving towards you, no? The new weapon would have to have bones that were like 50 feet away from the weapon, pointing in the direction of the person, thus firing the projectiles towards the person.
Check out http://newhope.conquergaming.com to see the progress of the STARWARS mod for Renegade.
|
|
|
Projectiles that "push" [message #63283] |
Fri, 23 January 2004 04:00 |
kn0wn
Messages: 17 Registered: January 2004
Karma: 0
|
Recruit |
|
|
But wouldnt the bullet hit you, and then it would be a continuous race where you were both the same distance apart? Like a dog chasing it's tail?
|
|
|
|
|
|
|
Projectiles that "push" [message #63390] |
Sat, 24 January 2004 05:07 |
|
General Havoc
Messages: 1564 Registered: February 2003 Location: Birmingham, England, Unit...
Karma: 0
|
General (1 Star) |
|
|
What if someone is driving the vehicle you are trying to push?
Visit my website at http://renhelp.laeubi-soft.de powered by laeubi.de
"SHUT UP AND MOD" - Dante
"ACK is the Simon Cowell of modding" - Ultron10
Scripts.dll Debugger, Map Scripter and Tutorial writer
Computer Science Bsc
Aston University in Birmingham, UK
|
|
|
|
|
Projectiles that "push" [message #63540] |
Sun, 25 January 2004 10:08 |
|
i have played w/ making doors and possibly found your answer.
the "bullets" need a push collision setting.
you can add the push setting to anything in the presetts library by using the "mod" button.
adding this setting to the "bullet" should cause it to push the object away. (the setting should be set for vehicles and infantry) dont know how to mod vehicles and such, letalone tell it where the bullet is, but that should work to get it to push things
"you cant demand respect, you have to earn it." -- Dufis791 (me)
|
|
|
|
|