Page 1 of 2
[?] How to make Sp bots not drop their kit
Posted: 2011-05-22 22:53
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.

Re: How to make Sp bots not drop their kit
Posted: 2011-05-23 00:11
by USMC scout sniper
In other words how can I make a dead body's geometry stay longer than 2 seconds?
Re: How to make Sp bots not drop their kit
Posted: 2011-05-23 00:30
by Shovel
So, when a bot dies, you want his kit to stay on the ground? Or the body?
Re: How to make Sp bots not drop their kit
Posted: 2011-05-23 00:36
by USMC scout sniper
On his body
Re: How to make Sp bots not drop their kit
Posted: 2011-05-23 01:01
by Shovel
It's probably in the code, but honestly I have no idea.
Re: How to make Sp bots not drop their kit
Posted: 2011-05-23 01:14
by USMC scout sniper
what code?
Re: How to make Sp bots not drop their kit
Posted: 2011-05-23 01:18
by Shovel
In the code of the kits or the soldiers, but I don't know.
Re: How to make Sp bots not drop their kit
Posted: 2011-05-23 01:20
by USMC scout sniper
I do some digging and see what happens
Re: How to make Sp bots not drop their kit
Posted: 2011-05-23 10:43
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.
Re: How to make Sp bots not drop their kit
Posted: 2011-05-23 13:53
by USMC scout sniper
Thanks Hjid I'll try that out.
Re: How to make Sp bots not drop their kit
Posted: 2011-05-26 14:37
by USMC scout sniper
Is there a way i can make it stay forever?
Re: How to make Sp bots not drop their kit
Posted: 2011-05-27 10:28
by lucky.BOY
If you manage to do this, it would be a nice adittion to PRSP.
-lucky
Re: How to make Sp bots not drop their kit
Posted: 2011-05-27 17:42
by USMC scout sniper
I can make it stay for 1 minute than it dissapears.....i'm workin oni it
Re: How to make Sp bots not drop their kit
Posted: 2011-05-27 18:07
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?
Re: How to make Sp bots not drop their kit
Posted: 2011-05-27 18:16
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?
Re: How to make Sp bots not drop their kit
Posted: 2011-05-28 15:46
by USMC scout sniper
When I type in 999 it stays for 30 seconds. When I type in 300 it stays longer?
Re: How to make Sp bots not drop their kit
Posted: 2011-05-28 16:01
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
Re: How to make Sp bots not drop their kit
Posted: 2011-05-28 16:08
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?
Re: How to make Sp bots not drop their kit
Posted: 2011-05-28 16:16
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?
Re: How to make Sp bots not drop their kit
Posted: 2011-05-28 16:21
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.