Urban Terror Forums: Scripting -- Need Help Please - Urban Terror Forums

Jump to content

 Login | Register 
Advertisement
Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

Scripting -- Need Help Please Rate Topic: -----

#1 Guest_exorcism

Posted 27 August 2004 - 06:26 PM

I would like to have a script that will add 4 bots when a player connects, and take away 4 bots when a player disconnects. I don't know how to do this, but I'd be willing to try if anyone could point me in the right direction. Otherwise, would someone be willing to write up a quick script for me? Thanks :)

#2 User is offline   Zex_Suik (old) Icon

  • Joined: 18-May 04
  • Posts: 328
  • LocationArizona

Posted 27 August 2004 - 10:02 PM

why do you want this? logically, in most cases, no one would connect to an empty server, they're more likely to connect to a server with players on it.

Also it's not possible. There is no IF/THEN for scripting in the Quake III engine

if you want more scripts than you know what to do with we have pretty much every script thought of in utscripts @ desrat.com

#3 User is offline   illogical Icon

  •   verified user   
    Retired Master Server Administrator
  • Account: illogical
  • Main tag: 6th|
  • Country:
  • Joined: 08-March 10
  • Posts: 2,349

Posted 27 August 2004 - 10:46 PM

A console wrapper is about the only way to do this.

#4 Guest_exorcism

Posted 27 August 2004 - 10:48 PM

Quote

A console wrapper is about the only way to do this.


What's that and how do I do that?

Also, the reason being because I run a bot server, Zex_Suik. It's players vs. bots, and I'm sure you will debate it's pointlessness, but it's full a great deal of the time. People love it.

#5 User is offline   illogical Icon

  •   verified user   
    Retired Master Server Administrator
  • Account: illogical
  • Main tag: 6th|
  • Country:
  • Joined: 08-March 10
  • Posts: 2,349

Posted 27 August 2004 - 10:52 PM

Provided the server is non-Win32, the wrapper redirects q3ded's output to its input, and q3ded's input to its output. Then you have to write a logic to watch for players and add/remove bots.

bullet_loaderAdvertisement

#6 Guest_exorcism

Posted 27 August 2004 - 11:39 PM

[quote name='"illogical"]Provided the server is non-Win32' date=' the wrapper redirects q3ded's output to its input, and q3ded's input to its output. Then you have to write a logic to watch for players and add/remove bots.[/quote']

Ah, that's an incredible idea! Unfortunetly it is win32, so I guess I'm screwed.

I would submit some feature requests to the urt guys, but they probably could care less.

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

Advertisement


Copyright © 1999-2024 Frozensand Games Limited  |  All rights reserved  |  Urban Terror™ and FrozenSand™ are trademarks of Frozensand Games Limited

Frozensand Games is a Limited company registered in England and Wales. Company Reg No: 10343942