Author Topic: moding?  (Read 1589 times)

McDuck

  • Guest
moding?
« on: December 27, 2005, 06:46:19 PM »
heya i am a non registered member & ive been working on a private mod for my cousin who likes the game but has to much lag so i have been trying to make a single player mod 4 him to mess around with
& i have made a extra menu named multiplay
(i had to remake all of the origanal icons 4 menu didint look good wiht my new 1)
and i was wondering how to make a text box to type in say 6 and when you play there are 6 AIbots

BTW if i cannot make a mod 4 this game please tell me and i stop working on it,
(do to any reason you may have)

IronFist

  • Autococker
  • Posts: 1304
_
« Reply #1 on: December 27, 2005, 07:14:33 PM »
Post removed
« Last Edit: July 25, 2010, 10:58:38 PM by IronFist »

McDuck

  • PGP
  • Posts: 3
Re: moding?
« Reply #2 on: December 27, 2005, 07:48:26 PM »
well that would be CAKE but my cousin dosent know much about computers and i would like to make it easier than to have him have him go through a series of steps.

btw i registered

IronFist

  • Autococker
  • Posts: 1304
_
« Reply #3 on: December 27, 2005, 10:17:32 PM »
Post removed
« Last Edit: July 25, 2010, 10:58:34 PM by IronFist »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: moding?
« Reply #4 on: December 28, 2005, 11:58:28 AM »
Making an input box is easy, but I don't know if it's possible right now to add a specific number of bots.  The problem is, it saves the bots in a file, so they stay across map changes, but they also stay in after you quit and restart the game.  If you had it set to add 6 bots, quit, then restarted the game, it would add 6 more, so then you'd have 12...

To be honest, the bots aren't really ready for public use yet.  They're just there.

IronFist

  • Autococker
  • Posts: 1304
_
« Reply #5 on: December 28, 2005, 12:39:03 PM »
Post removed
« Last Edit: July 25, 2010, 10:58:28 PM by IronFist »

McDuck

  • PGP
  • Posts: 3
Re: moding?
« Reply #6 on: December 28, 2005, 01:14:15 PM »
thnx 4 the info ithink ill add a link in the ingame menu to addbot remove bot me n my lil bro have been playing online with bots and it is fun on sum maps where the bots dont stay by flag where they run around.
i added a bind 4 = and - to remove and add bots but i cant remove 1 bot at a time with removebot i have to do removeallbots or i get a error

P!nk

  • Autococker
  • Posts: 948
_
« Reply #7 on: December 28, 2005, 01:32:03 PM »
Post removed
« Last Edit: July 26, 2010, 02:50:24 AM by P!nk »

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: moding?
« Reply #8 on: December 28, 2005, 02:07:43 PM »
You have to specify the name, but you can also do "all", so you could have a couple menu items for "sv addbot" to add a bot and "sv removebot all" to remove all bots.

McDuck

  • PGP
  • Posts: 3
Re: moding?
« Reply #9 on: January 03, 2006, 04:36:17 PM »
ohh thnx ill just leave it as remove all, ;D -theese smily's are great aren't they  :P

ohh BTW HAPPY  NEW  YEAR!

koniqi

  • PGP
  • Posts: 4
Re: moding?
« Reply #10 on: January 28, 2006, 11:24:17 AM »
you can add a bot by customizing the menu too,just add ; ;debug3 1;op in the \pball\menus\play_startserver.txt in the line were the label [begin] is so you are auto op everytime you starts a game. then add in admin .txt

widget
   yrel 16
   halign center
   type text
   text "  Bots  "
   command "menu admin_bots"   

and make a new file called admin_bots.txt

paste this in

pb2menu 1

background menu_bg_ingame


widget
   xcent 0
   ycent -28
   halign center
   type field
   cvar bot_add_name
   width 10
   text ""   

widget
   yrel 16
   halign center
   type text
   text " Add Bot "
   command "cmd addbot $bot_add_name"

widget
   type field
   yrel 16
   halign center
   cvar bot_rem_name
   width 10
   text ""   
   
widget
   yrel 16
   halign center
   type text
   text " Remove Bot "
   command "cmd removebot $bot_rem_name"   
   
widget
   yrel 16
   halign center
   type text
   text " Remove all Bots "
   command "removeallbots"   

hope that works for you


« Last Edit: January 28, 2006, 11:58:14 AM by koniqi »