Unreal Playground  

Go Back   Unreal Playground > Games > Unreal Tournament > UT Mods/Mutators

UT Mods/Mutators UT - Mods and Mutators Discussion

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-18-2005, 03:31 AM   #1
Kaph
UT Rocks!
 
Kaph's Avatar
 
Join Date: Oct 2005
Posts: 4

Unhappy How to kill a bot without calling destroy()

Hi All!

I'm still playing UT GOTY on an older computer (and lovin' it!) except for one thing that is driving me NUTS:

For some reason a combination of mutators occasionally makes bots turn invisible and invincible - nothing kills them (including the Redeemer!!).

I've written a little mutator that checks for bots that have received no damage for X seconds - and at that point I want to kill them but not call destroy() (which completely removes them from the field!). Is there a way to do this? If you give the bot damage, they are as I mentioned invincible and thus this doesn't work.

I've spent a few hours now scouring the wiki trying to find anything that will do the equivalent of:

Pawn.Kill()

HELP!!
Kaph is offline   Reply With Quote
Old 10-18-2005, 04:15 AM   #2
Angel_Mapper
Spin it let's begin it.
 
Angel_Mapper's Avatar
 
Join Date: Jul 2002
Location: Cape Suzette
Posts: 2,650
Downloads: 2

Try looking for the suicide command.
__________________
Angel Mapper - Prometheus

To have said goodbye to things!
Angel_Mapper is offline   Reply With Quote
Old 10-18-2005, 07:46 AM   #3
cUnNiNg_StUnTs
Stunning don't you think?
 
cUnNiNg_StUnTs's Avatar
 
Join Date: Oct 2002
Location: San Antonio, TX, USA
Posts: 3,235
Downloads: 36

Lightbulb

LOL

Try finding a MUT that has call vote kicking of players and play with that MUT when you are playing single player games against BOTS. Then kick vote the cheating bastages.

When I played UT I noticed a lot of weirdness like that with the BOTS like you know where the flack cannon is but you see a BOT re spawn and all the sudden he kills you with the flack cannon but you are pretty sure he couldn't have got it that fast.
cUnNiNg_StUnTs is offline   Reply With Quote
Old 10-18-2005, 11:12 AM   #4
Kaph
UT Rocks!
 
Kaph's Avatar
 
Join Date: Oct 2005
Posts: 4

Yeah I guess in retrospect what I really want is a "Pawn.Die()" or "Pawn.Respawn()" command - Kill is what I want to do to these invincible bots...

The other similar thing that happens in this game on Crane (my favorite map by far) is they will fall off the structure but somehow not die (something in the mutator combination keeps their health high enough to prevent this). So every so often one of the bots will be down on the ground - waaaaaay down there - but still alive. Being able to make them Die() or Respawn() would save me the trouble of tracking them down.

I'm just amazed (and very frustrated) that I can't seem to find the equivalent of a Die() or Respawn().

I'll see if I can find the Suicide() command...
Kaph is offline   Reply With Quote
Old 10-18-2005, 12:38 PM   #5
phalanx
Deadly Nightshade user
 
phalanx's Avatar
 
Join Date: Jun 2002
Location: manchester uk
Posts: 2,386
Downloads: 3

Send a message via MSN to phalanx Send a message via Yahoo to phalanx
yeah i get the invisibilty thing
meh try instagib on average or harder you need a loque.die() command
phalanx is offline   Reply With Quote
Old 10-18-2005, 01:31 PM   #6
SuperApe
Registered Monkey
 
SuperApe's Avatar
 
Join Date: Jan 2004
Location: Inna Jungle
Posts: 6,140
Downloads: 10

I'm a UT2kX person, not really a UT person, but...

If a mutator is preventing the bot's death (ie, PreventDeath() ), this will be very difficult to do. You might be able to avoid the problem by removing it's Controller (Bot) and the game engine might automatically kill the Pawn. Another way might be to have your mutator interrupt PreventDeath() and just say every method of Dying is okay. (i.e., PreventDeath() { return false; }) Perhaps another way is to set a Lifespan on either on Pawn or it's Controller (Bot), but again, that method of death may be prevented.

My apologies if these methods to not apply to UT.
__________________
- SuperApe : )

-= Unreal Geek =-= HTML5 Padawan =-= Funoholic =-


I donate to UnrealPlayground. How do you help UP?

SuperApe is offline   Reply With Quote
Old 10-18-2005, 01:35 PM   #7
Kaph
UT Rocks!
 
Kaph's Avatar
 
Join Date: Oct 2005
Posts: 4

Hey SuperApe - thanks for the tips - good stuff all!

Hey Phalanx - I hear ya on Loque - I actually went through and have tweaked all the bots to make them tough but playable by following this procedure:

* Start Practice Session
* Click "Bots" Tab
* Press "Configure" button
* Go through and adjust any and all Bots!

They're all numbered so you have to go through and find Loque. As I recall his "Accuracy" was all the way to the right, giving him 100% accuracy (yes, he is a bastard!). I toned this down. You can go through and adjust the look, names, behaviors, accuracy, and overall skill level - it's quite a hoot once you know about this!

Oh and GOOD NEWS:

I have to test it some more, but I finally figured out how to "kill off" the bots (*in theory* until I test it tonight): Pawn.GotoState('Dying')! Intuitive, eh? Well, yes - once you know where to find it!

I have to try this with a couple of full games (tonight) and see if it works. I notice in my log file (UnlrealTournament.log in the System folder) that a few of the other mutators I play with (including Wyrm.Vampirism and an Illusion Relic) are giving warning lines that say "Access None" - this is bad (it's a protection fault - like referencing null objects, etc.) and is probably what is sending the bots into that bizarre invincible state. If my little mutator works, I'll post it so you and anyone else with this problem can play without the invisible/invincible bots! (I hate having to manually restart a game when it's getting good due to one of these bots - also the other bots can spend all their time trying to kill them).

I'll keep you posted! And let me know if that Bot Configure thing works for you! (With the Bonus Paks you can make some of the bots into Skaarj Warriors, etc. - pretty fun!)

Last edited by Kaph; 10-18-2005 at 01:37 PM.
Kaph is offline   Reply With Quote
Old 10-18-2005, 01:46 PM   #8
SuperApe
Registered Monkey
 
SuperApe's Avatar
 
Join Date: Jan 2004
Location: Inna Jungle
Posts: 6,140
Downloads: 10

Quote:
Originally Posted by Kaph
Pawn.GotoState('Dying')!
There you go. Good job hunting, Kaph.
__________________
- SuperApe : )

-= Unreal Geek =-= HTML5 Padawan =-= Funoholic =-


I donate to UnrealPlayground. How do you help UP?

SuperApe is offline   Reply With Quote
Old 10-18-2005, 01:52 PM   #9
Kaph
UT Rocks!
 
Kaph's Avatar
 
Join Date: Oct 2005
Posts: 4

Thanks! Keep your fingers crossed that it works against those invincible bad guys... (Seems like it should since I'm not trying to do any damage to them)

Which brings up another question: Is there a place to post this mutator assuming it works? I know UT:GOTY is ancient in gaming terms, but it's apparent there are others still playing it!

(Another of my favorite games is Myth II and that is also from 1998 - still haven't found anything to replace it)
Kaph is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT -5. The time now is 05:00 PM.


Powered by: vBulletin Version 3 something...
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Style and Content © 2001-2009 Unreal Playground