Page 1 of 1

[Code] Drag Wounded People

Posted: 2010-01-13 06:54
by Truism
Yeh, not hardcoded, use the impeller code from CA, that should allow you to drag them slowly, bit by bit, right?

The whole "Use the *** thread and the search function, also hardcoded, don't waste our time and front page space," thing is getting a bit old. A lot of those ***'s are really outdated, and what seemed like hardcoding at the time isn't at all, it's probably worth revisiting some of them.

Re: Drag Wounded People

Posted: 2010-01-13 07:07
by Rudd
the DEVs are aware of this, they have received the suggestion, its in their ballpark now, what does resuggesting it bring?

Re: Drag Wounded People

Posted: 2010-01-13 07:09
by AfterDune
If you use a weapon which creates implosions or w/e you should be able to move objects. Realistic dragging is hardcoded, that's just not possible. But with these tweaks it can be done, but will be pretty hard to make it look good........ Nobody has come up with a decent solution yet.

Even though this still is a resuggestion, perhaps the thread can stay open, if someone can come up with a solution that actually works without being able to move other objects than bodies.

I'll wait and see, perhaps the community can come up with something nice here. This won't be a discussion thread, it's a modding thread. If it goes offtopic, it'll be locked.

Re: Drag Wounded People

Posted: 2010-01-13 13:30
by Amok@ndy
[R-DEV]AfterDune wrote:Even though this still is a resuggestion, perhaps the thread can stay open, if someone can come up with a solution that actually works without being able to move other objects than bodies.
what do you mean with other objects ? GPO objects ?

would be funny if the insurgents move the cashes away of their positions :)

Re: [Code] Drag Wounded People

Posted: 2010-01-13 13:32
by Rudd
what do you mean with other objects ? GPO objects ?
vehicles etc, any dynamic objects

Re: [Code] Drag Wounded People

Posted: 2010-01-13 13:33
by Amok@ndy
cant this be done by the mass ?

Re: [Code] Drag Wounded People

Posted: 2010-01-13 13:47
by Truism
The mass of a body is relatively low. Consider how far a body is thrown by C4 compared to say, an APC or jeep.

Even if other objects may be slowly moved, I don't personally think it's a huge issue. (Except for Caches ofc)

Re: [Code] Drag Wounded People

Posted: 2010-01-13 13:49
by Tim270
With an implosion surely a lot of animation 1p/3p could make it look acceptable I guess? obviously not perfect, but then again things seldom are in the bf engine.

Re: [Code] Drag Wounded People

Posted: 2010-01-13 19:33
by Sniperdog
dragging a dead body with implosions may not be as plausible as people think. I've tried a lot of different methods to get it work but no luck yet. There might be some variable I haven't accounted for though so I would definitely not say its hardcoded but rather unlikely and very tricky... There is a lot of code involved with dead bodies aka player "wrecks" and the key to the issue is finding a way to make them act like normal gpo's.

Re: [Code] Drag Wounded People

Posted: 2010-01-13 20:40
by Masaq
Truism wrote:Yeh, not hardcoded, use the impeller code from CA, that should allow you to drag them slowly, bit by bit, right?

The whole "Use the *** thread and the search function, also hardcoded, don't waste our time and front page space," thing is getting a bit old. A lot of those ***'s are really outdated, and what seemed like hardcoding at the time isn't at all, it's probably worth revisiting some of them.
FYI, it was a DEV entirely unconnected with PR who first cottoned on to this, and no he doesn't work with CA ;) :p

Re: [Code] Drag Wounded People

Posted: 2010-01-13 20:57
by Tim270
[R-DEV]Masaq wrote:FYI, it was a DEV entirely unconnected with PR who first cottoned on to this, and no he doesn't work with CA ;) :p
I dont think thats what he was implying... I think he was trying to say the code that is used by CA for the impeller could be applied in this instance.

Re: [Code] Drag Wounded People

Posted: 2010-01-13 21:00
by Sniperdog
[R-DEV]Masaq wrote:FYI, it was a DEV entirely unconnected with PR who first cottoned on to this, and no he doesn't work with CA ;) :p
Indeed, the guy deserves credit for what he started. You can see the original thread here:

Airlift A Vehicle - Official BF Editor Forums


But then again also be aware though that the idea at its core is quite fundamental in nature and we put it to use in something a bit more practical than a magical hovering vehicle lifter ;)

Re: [Code] Drag Wounded People

Posted: 2010-01-14 04:30
by Truism
He does indeed deserve credit. My apologies, I thought it was CA's work. It's really incredible the workarounds that see use in Mods just to get simple things to work. Anyone who's ever looked into coding for WC3 would know the insane workarounds that Icefrog has used in DotA - lines and lines of code to make relatively simple things happen, devious tricks, triggers and dummy units abounds. I really love seeing the workarounds that are possible in a game engine and how they get used.

I do hope someone gets this to work, but I only made this thread because a new player posted a suggestion for body dragging and it was instantly locked for being hardcoded and a resuggestion without discussion or serious reply.

Re: [Code] Drag Wounded People

Posted: 2010-01-14 06:30
by 0331SgtSpyUSMC
Truism wrote:The mass of a body is relatively low. Consider how far a body is thrown by C4 compared to say, an APC or jeep.

Even if other objects may be slowly moved, I don't personally think it's a huge issue. (Except for Caches ofc)
Next thing you know, you see 5 insurgents dragging a cache across the street in Fallujah lol

Re: [Code] Drag Wounded People

Posted: 2010-01-14 22:43
by Solid Knight
It's going to be funny when you start seeing people pushing cars and stuff around.

Re: [Code] Drag Wounded People

Posted: 2010-01-14 23:20
by anglomanii
let me just point out that i really have no idea what i am talking about, and i really am out of my depth here so i apologise now. but can someone explain why the BF2 engine has no kinda tool/interaction button stuff, like some other games when you interact with the environment, doors/levers. i cant understand why you cant make a body able to interact with the player model if you press 'E' or have a weapon slot that allows you to be 'hands -on' and be able to interact with the environment.

seriously i am a complete mundane when it comes to this stuff, and i could really do with a SIMPLE explanation.

p.s: i really hope that PR2 will include a 'tool' that allows interaction with the environment and other players.

Re: [Code] Drag Wounded People

Posted: 2010-01-15 03:22
by Raic
anglomanii wrote:let me just point out that i really have no idea what i am talking about, and i really am out of my depth here so i apologise now. but can someone explain why the BF2 engine has no kinda tool/interaction button stuff, like some other games when you interact with the environment, doors/levers. i cant understand why you cant make a body able to interact with the player model if you press 'E' or have a weapon slot that allows you to be 'hands -on' and be able to interact with the environment.

seriously i am a complete mundane when it comes to this stuff, and i could really do with a SIMPLE explanation.

p.s: i really hope that PR2 will include a 'tool' that allows interaction with the environment and other players.
Cause DICE didn't need them. They made BF2 and made the engine do stuff they needed and stuff like these weren't those. Engine only does what its coded and told to do and Devs can't make any changes as it would be first, illegal and two, impossible without source code. So they work around it by causing negative explosions or whatever to make "pull effect" :D

Re: [Code] Drag Wounded People

Posted: 2010-01-15 09:34
by Truism
0331SgtSpyUSMC wrote:Next thing you know, you see 5 insurgents dragging a cache across the street in Fallujah lol
At first I thought that cache movement would be a negative. After all they're integral to gameplay, and coding them so they couldn't be moved by giving the object a huge mass shouldn't be hard (right?).

But then I thought about it, and there's no reason why an Insurgent team shouldn't be able to move their Caches if they don't like where it is. The intelligence system doesn't work anyway, so just give Insurgents two caches that they can move, get rid of all DoD for the US team, and let the Insurgents see if they can hide and defend the cache well enough.

It's genius, right?