[Code] Drag Wounded People

Making or wanting help making your own asset? Check in here
Post Reply
Truism
Posts: 1189
Joined: 2008-07-27 13:52

[Code] Drag Wounded People

Post 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.
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: Drag Wounded People

Post by Rudd »

the DEVs are aware of this, they have received the suggestion, its in their ballpark now, what does resuggesting it bring?
Image
AfterDune
Retired PR Developer
Posts: 17094
Joined: 2007-02-08 07:19

Re: Drag Wounded People

Post 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.
Image
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: Drag Wounded People

Post 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 :)
Image
Rudd
Retired PR Developer
Posts: 21225
Joined: 2007-08-15 14:32

Re: [Code] Drag Wounded People

Post by Rudd »

what do you mean with other objects ? GPO objects ?
vehicles etc, any dynamic objects
Image
Amok@ndy
Retired PR Developer
Posts: 5144
Joined: 2008-11-27 22:13

Re: [Code] Drag Wounded People

Post by Amok@ndy »

cant this be done by the mass ?
Image
Truism
Posts: 1189
Joined: 2008-07-27 13:52

Re: [Code] Drag Wounded People

Post 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)
Tim270
PR:BF2 Developer
Posts: 5166
Joined: 2009-02-28 20:05

Re: [Code] Drag Wounded People

Post 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.
Image
Sniperdog
Retired PR Developer
Posts: 1177
Joined: 2009-02-27 00:06

Re: [Code] Drag Wounded People

Post 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.
Image

Image

Will Stahl aka "Merlin" in the Squad community
Masaq
Retired PR Developer
Posts: 10043
Joined: 2006-09-23 16:29

Re: [Code] Drag Wounded People

Post 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

"That's how it starts, Mas, with that warm happy feeling inside. Pretty soon you're rocking in the corner, a full grown dog addict, wondering where your next St Bernand is coming from..." - IAJTHOMAS
"Did they say what he's angry about?" asked Annette Mitchell, 77, of the district, stranded after seeing a double feature of "Piranha 3D" and "The Last Exorcism." - Washington Post
Tim270
PR:BF2 Developer
Posts: 5166
Joined: 2009-02-28 20:05

Re: [Code] Drag Wounded People

Post 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.
Image
Sniperdog
Retired PR Developer
Posts: 1177
Joined: 2009-02-27 00:06

Re: [Code] Drag Wounded People

Post 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 ;)
Image

Image

Will Stahl aka "Merlin" in the Squad community
Truism
Posts: 1189
Joined: 2008-07-27 13:52

Re: [Code] Drag Wounded People

Post 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.
0331SgtSpyUSMC
Posts: 261
Joined: 2009-05-31 16:37

Re: [Code] Drag Wounded People

Post 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
Image


Handle every stressful situation like a dog.If you can't eat it or hump it. Piss on it and walk away


Solid Knight
Posts: 2257
Joined: 2008-09-04 00:46

Re: [Code] Drag Wounded People

Post by Solid Knight »

It's going to be funny when you start seeing people pushing cars and stuff around.
anglomanii
Posts: 701
Joined: 2008-12-20 10:38

Re: [Code] Drag Wounded People

Post 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.



<22:31:15> "Supahpingi": i was actually mastrubating ferosiosly to mike meyers pictures
Raic
Posts: 776
Joined: 2007-02-24 15:59

Re: [Code] Drag Wounded People

Post 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
Truism
Posts: 1189
Joined: 2008-07-27 13:52

Re: [Code] Drag Wounded People

Post 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?
Post Reply

Return to “PR:BF2 Community Modding”