[Code] PrBot spawn script in local server

Making or wanting help making your own asset? Check in here
Post Reply
bosco_
Retired PR Developer
Posts: 14620
Joined: 2006-12-17 19:04

Re: PrBot spawn script in local server

Post by bosco_ »

Interesting, gonna give it a try. :)
Image
bosco_
Retired PR Developer
Posts: 14620
Joined: 2006-12-17 19:04

Re: PrBot spawn script in local server

Post by bosco_ »

Works fine, great work. :grin:
Image
BloodBane611
Posts: 6576
Joined: 2007-11-14 23:31

Re: PrBot spawn script in local server

Post by BloodBane611 »

This is excellent, thanks!
[R-CON]creepin - "because on the internet 0=1"
dunem666
Posts: 559
Joined: 2009-06-02 13:04

Re: PrBot spawn script in local server

Post by dunem666 »

nice job works fine for me

is this using some edited modmanager merged with the rcon prbot command?
ive added this to my pr_edit so i can test my maps without the console stuff :)
dunem
ImageImage
ImageImage
dbzao
Retired PR Developer
Posts: 9381
Joined: 2006-06-08 19:13

Re: PrBot spawn script in local server

Post by dbzao »

It's using chat instead of the rcon console command that for some reason is not allowed in local for some things (unless you run with the debugger). I intended to do this change eventually, and hopefully I will do it for the next release.

"There's always one more bug." - Lubarsky's Law of Cybernetic Entomology
kevlarorc
Posts: 147
Joined: 2008-04-13 19:44

Re: [Code] PrBot spawn script in local server

Post by kevlarorc »

Thanks for this, Vaiper. +1000 rep
VapoMan
Retired PR Developer
Posts: 1139
Joined: 2009-05-29 07:11

Re: [Code] PrBot spawn script in local server

Post by VapoMan »

Its a really handy script for testing out maps.

Thanks.

Image"Eight glorious sides and eight stunning angles!"Image
DevilDog812
Posts: 491
Joined: 2010-01-26 22:22

Re: [Code] PrBot spawn script in local server

Post by DevilDog812 »

might be a dumb question, but how do you edit .py files? i can add in those lines, but it wont let me save it as a .py, just a .txt (im using notepad btw)
Image
ANTI-WIKILEAKS, PROUD SUPPORTER OF THE MILITARY
Spekta
Posts: 73
Joined: 2007-02-26 12:33

Re: [Code] PrBot spawn script in local server

Post by Spekta »

save it as .txt and change the ending to .py ;)
Sniperdog
Retired PR Developer
Posts: 1177
Joined: 2009-02-27 00:06

Re: [Code] PrBot spawn script in local server

Post by Sniperdog »

FYI to all who just replied; this feature is standard to PR as of .95

In local (without modification to pr) you can simply type into all chat:

Code: Select all

rcon prbot
to spawn prbot. or...

Code: Select all

rcon camera
to spawn the camera kit.
Last edited by dbzao on 2010-10-24 02:10, edited 1 time in total.
Image

Image

Will Stahl aka "Merlin" in the Squad community
Acemantura
Posts: 2463
Joined: 2007-08-18 06:50

Re: [Code] PrBot spawn script in local server

Post by Acemantura »

what about private?

Is there anything that will allow this as well?
marineveteranm4
Posts: 2
Joined: 2022-04-23 00:58

Re: [Code] PrBot spawn script in local server

Post by marineveteranm4 »

dead link
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2208
Joined: 2016-10-12 13:25
Location: Poland

Re: [Code] PrBot spawn script in local server

Post by Suchar »

This thread is very outdated. You don't need anything like that to spawn a prbot.
Image
Post Reply

Return to “PR:BF2 Community Modding”