Digital Paint Discussion Board

Development => Bugs, Feature Requests, and Feedback => Topic started by: McDuck on December 27, 2005, 07:46:19 PM

Title: moding?
Post by: McDuck on December 27, 2005, 07: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)
Title: _
Post by: IronFist on December 27, 2005, 08:14:33 PM
Post removed
Title: Re: moding?
Post by: McDuck on December 27, 2005, 08: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
Title: _
Post by: IronFist on December 27, 2005, 11:17:32 PM
Post removed
Title: Re: moding?
Post by: jitspoe on December 28, 2005, 12:58:28 PM
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.
Title: _
Post by: IronFist on December 28, 2005, 01:39:03 PM
Post removed
Title: Re: moding?
Post by: McDuck on December 28, 2005, 02: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
Title: _
Post by: P!nk on December 28, 2005, 02:32:03 PM
Post removed
Title: Re: moding?
Post by: jitspoe on December 28, 2005, 03: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.
Title: Re: moding?
Post by: McDuck on January 03, 2006, 05: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!
Title: Re: moding?
Post by: koniqi on January 28, 2006, 12:24:17 PM
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