News:

Come Chat with us live! Learn how HERE!

Main Menu

Pbot GPP

Started by Celestial_Rage, March 14, 2011, 01:35:21 AM

Celestial_Rage

Updated it. Link fixed in OP.

Here is the new link: http://www.filedropper.com/pbot
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

Thanks for update will give this a try had to download via me phone took a while lol

zoomer

#32
The patch file worked fine, dont know if you worked on the .qvm or not but still cant join the human team, removed nearly all ref to human team in g_bot.c & compiled, still got the om error

Celestial_Rage

You have to replace the game.qvm. The patch file and g_bot.c file is only there if you wish to change stuff and compile from source yourself. Just put the game.qvm in %APPDATA%/Tremulous/gpp/vm
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

#34
allready have the server setup correctly with the pbot game.qvm file, when i try to join humans it comes up with overmind error it allows you to join aliens

all other game.qvm work perfectly with the setup i have

i've pached the trem source code /ggp and successfully compiled the new game.qvm,  editing the code to try and figure out why it wont let me join humans








Celestial_Rage

The code isn't the issue. It's the datar####-gpp.pk3. Make sure you have the latest one.
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

Thanks i was missing the vms-gppr2203.pk3 from c:\program files\server

zoomer

Ran a net/wan server atcs/niveus with path files for a few hours

Issues
Sometimes the human bots would not leave the spawns and shout come on
bots had problem with walking past target following along path and no attack
could not figure out how to get bots to connect if a server password was added

Celestial_Rage

Yeah, I actually prefer the other bots to these bots. Although, the other bots cannot navigate the map as readily, it's more fun fighting them. As for adding bots on a passworded server... I'll look into that.
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

#39
hows about adding both the bots to 1 qvm ?

Celestial_Rage

Yeah, but it won't be fun to combine them (coding-wise).
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

#41
Could you not just search replace all the functions with bot2 add for example then combine the code

Celestial_Rage

Yes, and rename the conflicting functions and all instances of them. I'm sure you can do it with search and replace, but I'm a bit too lazy for that.
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

http://www.megafileupload.com/en/file/316787/g-bot2-c.html

Renamed all cases of bot to bot2 (bot,Bot,BOT) I realise this is not all that needed to change in the code and that the end result will be quite alot of duplicated code.

Also played with the patchfile which i dont really understand much about and tried to patch it after the pbot code was added i it was about 40% successful patch allready applied errors


Celestial_Rage

You actually only need to rename certain cases of bot to bot2. I'll try to do this today.
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

#45
Excellent, going to work on some maps and path files then

found this might be usefull to people

g_level1_range 1100
g_level1UPG_range 1200
g_level2_range 1300
g_level2UPG_range 1400
g_level3_range 1500
g_level3UPG_range 2000
g_level4_range 300
g_human_range 3000
g_bot_evolve 1 (allow/deny evolving)
g_bot_mgun 1(allow/deny weapons)
g_bot_shotgun 1
g_bot_psaw 1
g_bot_lasgun 1
g_bot_mdriver 1
g_bot_chaingun 1
g_bot_prifle 1
g_bot_flamer 1
g_bot_lcannon 1


Celestial_Rage

#46
Okay, I didn't quite combine them, but made them not follow paths while an enemy is near (in essence, making them act like the pathless bots), which means that they don't run away from the enemy and instead follow it for a bit. If no enemy is found, it'll look for the nearest path and continue patrolling.

New link in OP and here.

http://www.mediafire.com/?xdqnrbj43txhnpq
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

That sounds spot on aliens were retarded will give this ago

zoomer

the aliens get stuck quite abit however it was alot more fair scores wise

kharnov

#49
So I decided to have the bots scrim each other.

Local server. Two teams of bots, 3 members each, confined to the outside area of Ingar's ATCS HD.

The alien base:



The human base:



The human bots had a distinct advantage. They had auto-aim, and thus completely ignored the dodging inherent to the alien team. Thus, the human bots were the first to gain heavy weapons.



As you can see, naked humans with lucifer cannons. And they were winning.



Happy mara.



About 20 minutes in, I turned gravity off.



Tyrant is happy because he is no longer constrained by his enormous bulk.



Poor tyrant. Those humans took him down.



Conclusion: bot vs bot scrims are completely hilarious and should be tried by everyone. If you've already downloaded the Brindus mod, you have them available. Just switch to the Brindus mod via the main Trem screen, type /devmap whatever, and set sv_privateclients to the number of bots you want. Build their bases, add the bots, watch them go.

Thanks go to Ingar (for ATCS HD) and Celestial_Rage for the bots.

F50

One problem kharnov: Those aren't pbots. Those are actually these bots.
"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law


kharnov

#51
I thought we were using these bots on Brindus?

Oh, crap.

Well, regardless. The other bots were still added/ported by Celestial, so the credits aren't any different.  :P

Would a moderator mind moving that post with the screenshots to this thread? http://tremulous.net/forum/index.php?topic=15100.0

Celestial_Rage

If you want to make it more fair, give the humans a skill of 50 or so, so their aim isn't quite so aimbot like.
"The reports of my death are greatly exaggerated" ~Mark Twain

ziplocpeople

Quote from: Celestial_Rage on June 22, 2011, 08:58:18 PM
If you want to make it more fair, give the humans a skill of 50 or so, so their aim isn't quite so medistation like.
Oh, you. Complementing me behind my back and all that. I really don't know what to say.
Quote from: Sir|Periculosusyes yes spam a little more and heyll understand! yes yes
मैं स्पैम बॉट समर्थन
मैं हिन्दी का समर्थन
~The Medistation

zoomer

hey,

If its not to much greef whats the command to create the patch file

example "diff -u g_bot.c"

many thanks ?

Celestial_Rage

#55
Yeah. It's

diff -u [oldfile] [newfile] > patchfile
"The reports of my death are greatly exaggerated" ~Mark Twain

zoomer

http://www.sendspace.com/file/mrqzgp

Removed not used // /* code & cleaned up slightly 
Removed bot friend
Decreased bot enemy range
* aliens can now win
* aliens dont get stuck as much


ULTRA Random ViruS

#57
I can't get the actual game to detect the qvm... I put it in library/app support/tremulous/gpp/vm (mac OS) and i can't seem to finds a tremded-gpp for mac... help?

This is the console, me trying to do the server commands... There's no bot command!
Quote]bot
unknown command: bot
]!help   
unknown command: !help
]adminhelp
adjustban   adminhelp   admintest   alienint    allowbuild  allready   
ban         builder     buildlog    cancelvote  changemap   denybuild   
humanint    kick        listadmins  listlayouts listplayers lock       
mute        namelog     nextmap     passvote    pause       putteam     
readconfig  rename      restart     revert      setlevel    showbans   
spec999     specint     time        unban       unlock      unmute     
adminhelp: 36 available commands
run adminhelp [command] for adminhelp with a specific command.
And this is the path: Library/Application Support/Tremulous/gpp/vm/game.qvm

Anyone knows what happened?

zoomer

maybe this will help but it might be diffrent for mac

library/app support/tremulous/yourserver folder/vm

tremded-gpp.exe +set fs_game  +exec "yourserver folder" server.cfg

Celestial_Rage

You put the qvm in the wrong place. Type fs_homepath in console and put the qvm there/gpp/vm.
"The reports of my death are greatly exaggerated" ~Mark Twain