[?] How to make Sp bots not drop their kit

Making or wanting help making your own asset? Check in here
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

[?] How to make Sp bots not drop their kit

Post by USMC scout sniper »

I know this is a stupid question but I have a really cool Idea on what I'll do with it. I know i've made lots of threads asking stupid questions but I just wanna know. ;)
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: How to make Sp bots not drop their kit

Post by USMC scout sniper »

In other words how can I make a dead body's geometry stay longer than 2 seconds?
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
Shovel
Posts: 860
Joined: 2010-08-26 14:23

Re: How to make Sp bots not drop their kit

Post by Shovel »

So, when a bot dies, you want his kit to stay on the ground? Or the body?
Shovel009
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: How to make Sp bots not drop their kit

Post by USMC scout sniper »

On his body
Last edited by USMC scout sniper on 2011-05-23 00:56, edited 1 time in total.
Reason: I added a useless phrase
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
Shovel
Posts: 860
Joined: 2010-08-26 14:23

Re: How to make Sp bots not drop their kit

Post by Shovel »

It's probably in the code, but honestly I have no idea.
Shovel009
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: How to make Sp bots not drop their kit

Post by USMC scout sniper »

what code?
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
Shovel
Posts: 860
Joined: 2010-08-26 14:23

Re: How to make Sp bots not drop their kit

Post by Shovel »

In the code of the kits or the soldiers, but I don't know.
Shovel009
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: How to make Sp bots not drop their kit

Post by USMC scout sniper »

I do some digging and see what happens
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
Hjid
Posts: 75
Joined: 2009-04-28 18:35

Re: How to make Sp bots not drop their kit

Post by Hjid »

Code: Select all

ObjectTemplate.ragdollLandedDelay 4
In the soldiers tweak file, this line decides how many seconds it takes for the kit to drop after the ragdoll has landed. Set it to 99 or something.
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: How to make Sp bots not drop their kit

Post by USMC scout sniper »

Thanks Hjid I'll try that out.
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: How to make Sp bots not drop their kit

Post by USMC scout sniper »

Is there a way i can make it stay forever?
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
lucky.BOY
Posts: 1438
Joined: 2010-03-03 13:25

Re: How to make Sp bots not drop their kit

Post by lucky.BOY »

If you manage to do this, it would be a nice adittion to PRSP.

-lucky
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: How to make Sp bots not drop their kit

Post by USMC scout sniper »

I can make it stay for 1 minute than it dissapears.....i'm workin oni it
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: How to make Sp bots not drop their kit

Post by USMC scout sniper »

Why is it when I put man down time 300 their geometry stays. Is there a way i can do this but they still respawn in 30 seconds?
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: How to make Sp bots not drop their kit

Post by USMC scout sniper »

As far as I know I would need to remodel the soldier meshes to contain the kit. You would need to reskin and re-export all of the soldiers for this to work. So......any modeler up for the job?
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: How to make Sp bots not drop their kit

Post by USMC scout sniper »

When I type in 999 it stays for 30 seconds. When I type in 300 it stays longer?
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
J.F.Leusch69
Retired PR Developer
Posts: 2988
Joined: 2008-04-23 16:37

Re: How to make Sp bots not drop their kit

Post by J.F.Leusch69 »

Code: Select all

ObjectTemplate.ragdollLandedDelay 4
this does work but in a limited fashion. you cant pickup the kit till its 'landed'.
so increasing this value would bring quite some gameplay issues with it.

what other way did you find?

EDIT: there is also a EDIT function
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: How to make Sp bots not drop their kit

Post by USMC scout sniper »

I found i could put man down time 300 but then they wont respawn, and keep on their geometry I just wish I could have man down time 300 but I want them to still respawn in 30 seconds? is that possible? What if I just got rid of that line all together?
Last edited by USMC scout sniper on 2011-05-28 16:12, edited 2 times in total.
Reason: Jf told me about the edit button
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
J.F.Leusch69
Retired PR Developer
Posts: 2988
Joined: 2008-04-23 16:37

Re: How to make Sp bots not drop their kit

Post by J.F.Leusch69 »

can you explain it a bit better?

where did you put that 'man down time' line?

who or what wont respawn?
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: How to make Sp bots not drop their kit

Post by USMC scout sniper »

I type sv.mandowntime 300 in the console. I shoot a bot and when he's dead, he keeps his geometry on untill his body vanishes, but this way, he wont respawn for 300 seconds. So far, this is the only way I can make the geometry stay on for longer than 1 minute. I just wish i could only make it affect the player, but still affect bots and make the bots spawn in 30 seconds.
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
Post Reply

Return to “PR:BF2 Community Modding”