NewsUnrealEdFilesModsFragBULiandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 6th Feb 2002, 10:49 PM   #1
LedZep
k last title kinda gay :p
 
LedZep's Avatar
 
Join Date: Jan. 23rd, 2002
Location: little kid throwing a rock at a tank :)
Posts: 446
Post Please help with mutator

allright, a couple of questions for a mutator im making:

How do i write sruff at the bottom of the screen, Example. "You got the flag, return to base"

How do i tell a bot to go to a specific vector (and look at a specific rotator but thats optional) and stay there for a specific amount of time?

how do i get a bot to support a specific pawn, i think its:
var pawn P;
var bot B;
B.supportingplayer = P;
but im not sure.

and last, how do i tell a bot to hunt down a specific pawn (not only attitude or setenemy but actually HUNT DOWN the pawn)

i hope someone can help me with those problems.
those are my last questions so i wont bother u guys anytime soon

thanks alot!
__________________
"Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances." - The First Amendment to the U.S. Constitution
LedZep is offline   Reply With Quote
Old 6th Feb 2002, 11:26 PM   #2
aspie
It's all good baby.
 
aspie's Avatar
 
Join Date: Feb. 24th, 2001
Location: Australia
Posts: 315
1. You can send a message to a pawn, but if the message is important or must stay while a certain action is happening you should use the HUD.

2. Don't know, sorry

3. Do you mean like follow around and take hits for the player or just follow his path.

4. Not sure
__________________
Kicking it, old school style...
aspie is offline   Reply With Quote
Old 7th Feb 2002, 09:43 PM   #3
LedZep
k last title kinda gay :p
 
LedZep's Avatar
 
Join Date: Jan. 23rd, 2002
Location: little kid throwing a rock at a tank :)
Posts: 446
Post

1. how do i do that?

2. thats ok, no problem

3. i mean follow around and attack whoever is attacking him (king of like "cover me" but for other pawns, not only playerpawn)

4. dont worry about it


thanks, hope to hear from you soon!
__________________
"Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances." - The First Amendment to the U.S. Constitution
LedZep is offline   Reply With Quote
Old 7th Feb 2002, 10:38 PM   #4
aspie
It's all good baby.
 
aspie's Avatar
 
Join Date: Feb. 24th, 2001
Location: Australia
Posts: 315
1:

http://www.unrealscript.com/tutorials/tut28.php
http://www.unrealscript.com/tutorials/tut21.html
http://www.unrealscript.com/tutorials/tut01.php

2:

http://www.unrealscript.com/tutorials/tut26.php


Hmmm prob not much help...
__________________
Kicking it, old school style...
aspie is offline   Reply With Quote
Old 7th Feb 2002, 11:04 PM   #5
LedZep
k last title kinda gay :p
 
LedZep's Avatar
 
Join Date: Jan. 23rd, 2002
Location: little kid throwing a rock at a tank :)
Posts: 446
I know all of this stuff already but it doesnt answer my questions.

well thanks anyway!
__________________
"Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances." - The First Amendment to the U.S. Constitution
LedZep is offline   Reply With Quote
Old 8th Feb 2002, 04:59 PM   #6
Blödsinn machen
cannon fodder
 
Blödsinn machen's Avatar
 
Join Date: Dec. 4th, 2001
Location: Switzerland
Posts: 68
Quote:
how do i get a bot to support a specific pawn, i think its:
var pawn P;
var bot B;
B.supportingplayer = P;
but im not sure.
the function:
Code:
 SetOrders(name NewOrders, Pawn OrderGiver, optional bool bNoAck)
in class Bot sets the bot orders and is used by the "Cover Me" menu option by setting OrderGiver to the player. If you set OrderGiver as another bot then the bot that received that order will act accordingly. this works exactly the same as "Cover Me", but for a bot...
Blödsinn machen is offline   Reply With Quote
Old 8th Feb 2002, 07:37 PM   #7
LedZep
k last title kinda gay :p
 
LedZep's Avatar
 
Join Date: Jan. 23rd, 2002
Location: little kid throwing a rock at a tank :)
Posts: 446
oh yeah... i see it.
Thanks alot!

But do u know the answers to my other questions?
__________________
"Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances." - The First Amendment to the U.S. Constitution
LedZep is offline   Reply With Quote
Old 10th Feb 2002, 06:33 AM   #8
Blödsinn machen
cannon fodder
 
Blödsinn machen's Avatar
 
Join Date: Dec. 4th, 2001
Location: Switzerland
Posts: 68
sorry, but I haven't got any ideas about your second problem at the moment.

but as for writing a message at the bottom of the screen, it might help if you look at the CTFMessage2 and ChallengeCTFHUD.
the ChallengeCTFHUD checks, in each call to timer, the state of the MyFlag variable (which is your team's flag), and if you have the flag or the flag has been taken, it issues your HUD either a CTFMessage or a CTFMessage2. this check takes place every second, so it will appear as though the text drawn on your screen (e.g. "The enemy has your flag, recover it!") is constantly being updated. check it out...
Blödsinn machen is offline   Reply With Quote
Old 10th Feb 2002, 05:01 PM   #9
LedZep
k last title kinda gay :p
 
LedZep's Avatar
 
Join Date: Jan. 23rd, 2002
Location: little kid throwing a rock at a tank :)
Posts: 446
Wow thanks!
I foud out how it works by looking at CTFMessage and ChallengeCTFHud.
__________________
"Congress shall make no law respecting an establishment of religion, or prohibiting the free exercise thereof; or abridging the freedom of speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances." - The First Amendment to the U.S. Constitution
LedZep is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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

Forum Jump


All times are GMT -5. The time now is 04:05 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer