Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » How 2 make COOP bots not lag shoot?
How 2 make COOP bots not lag shoot? [message #215945] Mon, 28 August 2006 23:59 Go to next message
Ivan275 is currently offline  Ivan275
Messages: 41
Registered: August 2006
Karma: 0
Recruit
I read a bunch coop/bot threads and a few tutorials and I can't find anything that can help me.

Here is what my problem is. When I make bots for a coop m00_tutorial.mix map they can look/aim away from you, shoot and still hit you. Also when the moving bots run it looks like they are lagging.

Here is how I make my bots now.
Preset>Object>Soldier_Presets>GDI>GDI_MiniGunner_3Boss "Mod"
when i try to temp this and edit when player joins server they crash out.
Weapon Error tried 5/10/20
UseInnateBehavior v
InnateAgressiveness tried 5/10/.5
IsStationary v
"SAVE"
I tried changing TurnRate, WeaponTurnRate and other settings but can't seem to stop the bot from shooting and hitting me while hes not even aiming at me. He would be turning twords me and shooting and before hes gun actually aim at me he can hit me...


Preset>Object>Spawner>Object Spawners "Temp"
name it
Pick Presets... "GDI_MiniGunner_3Boss"
Player Type GDI
SpawnMax 50
TeleportFirstSpawne v
ApplySpawnMaterialEffect v
"SAVE"

File>Export Mod Package... as "m00_tutorial.mix"

Its like the server controlled bot and the bot on player screen are out of sync. On player screen the bot isn't looking at them but the server side of things the bot is aiming at them already. What am I doing wrong? Is there another way of making bots? This has to work server side without any client download.

Thank you for any help.

[Updated on: Tue, 29 August 2006 00:29]

Report message to a moderator

Re: How 2 make COOP bots not lag shoot? [message #215958 is a reply to message #215945] Tue, 29 August 2006 02:43 Go to previous messageGo to next message
SODPaddy is currently offline  SODPaddy
Messages: 232
Registered: August 2005
Location: Germany
Karma: 0
Recruit

http://renhelp.laeubi-soft.de/index.php?tut=40

Website: www.Area54.eu

Once 54, Always 54.
(\__/)
(O.o )
(___)
Visit us at www.Area54.eu
Re: How 2 make COOP bots not lag shoot? [message #215984 is a reply to message #215945] Tue, 29 August 2006 07:12 Go to previous messageGo to next message
Oblivion165 is currently offline  Oblivion165
Messages: 3468
Registered: June 2003
Location: Hendersonville, North Car...
Karma: 0
General (3 Stars)
Bah, no one updates the link:

http://www.renhelp.net/index.php?mod=Tutorials&action=vi ew&id=13

Same tutorial, but the new site has more tutorials than our old one.


WOL: Ob165ion Skype: Oblivion165 Yahoo Instant Messenger: CaptainJohn165
Re: How 2 make COOP bots not lag shoot? [message #215996 is a reply to message #215945] Tue, 29 August 2006 07:58 Go to previous messageGo to next message
EvilWhiteDragon is currently offline  EvilWhiteDragon
Messages: 3751
Registered: October 2005
Location: The Netherlands
Karma: 0
General (3 Stars)

Maybe it is because you dont have the turret lag fix ? try it:
http://www.renegadeforums.com/index.php?t=msg&th=21053&a mp;start=0&rid=20224


http://www.blackintel.org/usr/evilwhitedragon/pointfix.gif
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/

V, V for Vendetta

People should not be afraid of their governments.
Governments should be afraid of their people.
Re: How 2 make COOP bots not lag shoot? [message #216016 is a reply to message #215996] Tue, 29 August 2006 08:51 Go to previous messageGo to next message
LR01 is currently offline  LR01
Messages: 842
Registered: April 2006
Location: The Netherlands
Karma: 0
Colonel
Bots lag anyway in Renegade, nomatter what you do
(you can only less it, but I never saw non-lagging bots)


Moding can be real Fun...
Re: How 2 make COOP bots not lag shoot? [message #216130 is a reply to message #215958] Tue, 29 August 2006 15:15 Go to previous messageGo to next message
Ivan275 is currently offline  Ivan275
Messages: 41
Registered: August 2006
Karma: 0
Recruit
TGPaddy wrote on Tue, 29 August 2006 04:43

http://renhelp.laeubi-soft.de/index.php?tut=40
That is basically what I do now

Oblivion165 wrote on Tue, 29 August 2006 15:12

http://www.renhelp.net/index.php?mod=Tutorials&action=vi ew&id=13

when I "Temp the soldier, and name it whatever you want your bot to be." Once I do that and export my map as "00_tut.mix" server loads the map fine but when player joins they crash out of the server.

EvilWhiteDragon wrote on Tue, 29 August 2006 09:58

Maybe it is because you dont have the turret lag fix ? try it:

I'll give this a try in about 8 hours hope it fixes my problem

LR01 wrote on Tue, 29 August 2006 11:51

Bots lag anyway in Renegade, nomatter what you do
(you can only less it, but I never saw non-lagging bots)

Go to WOL and play on "AdadServ" and "westwood" servers. In "AdadServ" moving bots lag just after they span and start running to you, and they can look away from you, shoot and still kill you. But in "westwood" the bots don't seem to do it at all.


SideNote:
Also "westwood" server seems to have bots turn faster then on my and server even if i put 500 or 5000 for turn rate. Maybe that's what the problem is. If I use 500 and 5000 for turn rate they look about the same. Maybe I'm saving the map wrong? Not copying some file where it needs to be? I do copy objects.ddb into data folder and rename to aow.
Re: How 2 make COOP bots not lag shoot? [message #216181 is a reply to message #216130] Tue, 29 August 2006 22:17 Go to previous messageGo to next message
Ivan275 is currently offline  Ivan275
Messages: 41
Registered: August 2006
Karma: 0
Recruit
EvilWhiteDragon well I tried the server side fix, and also client side fix didn't do anything for the bots, but the client side fix made my turrets spin quickly but it's the client fix which won't work for me.

Any chance of seeing the source code for the fix? Or at least some info on what it does and how it works?

I need to some how increase the bot turn rate SERVER side by about 2x and i think it will solve my problem.

[Updated on: Tue, 29 August 2006 23:47]

Report message to a moderator

Re: How 2 make COOP bots not lag shoot? [message #216195 is a reply to message #215945] Wed, 30 August 2006 00:02 Go to previous message
StealthEye is currently offline  StealthEye
Messages: 2518
Registered: May 2006
Location: The Netherlands
Karma: 0
General (2 Stars)

It sounds like a typical case of turret "lag" to me... You would need only the client for it to make a difference. However I'm not sure whether it works for soldier too. It should definitely work for vehicles.
Maybe, because the bots are handled on the server you would need some kind of server side turret lag fix. If you could give me some example code I could take a look into it sometime...


BlackIntel admin/founder/coder
Please visit http://www.blackintel.org/
Previous Topic: how do people do this?
Next Topic: I am considering moving scripts.dll to visual studio 2005
Goto Forum:
  


Current Time: Thu May 23 12:37:01 MST 2024

Total time taken to generate the page: 1.47305 seconds