Index | FAQ | Search | Memberlist | Usergroups | Profile | Log in to check your private messages | Log in | Register

Impulse commands Goto page Previous 1, 2, 3 Next

| Inside3d Forums Forum Index -> QuakeC Programming

View previous topic :: View next topic
Author | Message
--- | ---
Sajt Joined: 16 Oct 2004 Posts: 1026 |

Posted: Mon Aug 13, 2007 4:00 pm Post subject: |

Argh I didn't even pay attention to the impulse command. localcmd probably wouldn't have worked at all... And you're probably right about it only spawning one... Doh! _________________ F. A. Špork, an enlightened nobleman and a great patron of art, had a stately Baroque spa complex built on the banks of the River Labe.

Back to top |

redrum Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York |

Posted: Mon Aug 13, 2007 4:27 pm Post subject: |

Thanks guys, I'll give it a whirl. BTW, where can I read up on how to do edit QuakeC? _________________ Welcome to the Overlook Hotel 69.113.123.178:27500

Back to top |

redrum Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York |

Posted: Mon Aug 13, 2007 8:26 pm Post subject: |

No luck It doesn't seem to be working. I tried both codes. I can't even get a bot to spawn at all. I edited world.qc, compiled, started the server, connected, typed serverinfo bot_num 2 at the console, restarted the server, nothing??? _________________
Welcome to the Overlook Hotel 69.113.123.178:27500

Back to top |

FrikaC Site Admin Joined: 08 Oct 2004 Posts: 947 |

Posted: Tue Aug 14, 2007 4:08 pm Post subject: |

Impulse is a client command, it will not work on the server. To add bots on the server, just call BotConnect directly, the first parm is the template, and the second the desired skill level. 0 for template chooses a random one, like the impulse 100 command does.

Back to top |

redrum Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York |

Posted: Tue Aug 14, 2007 8:26 pm Post subject: |

FrikaC, can you give me an example please. _________________ Welcome to the Overlook Hotel 69.113.123.178:27500

Back to top |

redrum Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York |

Posted: Fri Aug 17, 2007 2:38 pm Post subject: |

umm.....anyone home? _________________ Welcome to the Overlook Hotel 69.113.123.178:27500

Back to top |

FrikaC Site Admin Joined: 08 Oct 2004 Posts: 947 |

Posted: Fri Aug 17, 2007 2:58 pm Post subject: |

zzzzzzzzzzzzZZZZZZZZZZZZZZZZZzzzzzz

Back to top |

Dr. Shadowborg Inside3D Staff Joined: 16 Oct 2004 Posts: 726 |

Posted: Fri Aug 17, 2007 5:33 pm Post subject: |

What FrikaC means, is something like this:

Code:
while(spawnnum < bot_num) { BotConnect(team, whatbot, skill); spawnnum = spawnnum + 1; }

Where bot_num is how many bots should connect, team is what team they're on (can be 0 if no teamplay), whatbot being what bot it is (0 makes it random), and skill is obviously what skill level they're at. (use something like cvar to get the skill cvar)
Put that in somewhere in client.qc or maybe world.qc and it really should work.
_________________
"Roboto suggests Plasma Bazooka."

Back to top |

redrum Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York |

Posted: Sat Aug 18, 2007 5:10 pm Post subject: |

Thank you Doc! _________________ Welcome to the Overlook Hotel 69.113.123.178:27500

Back to top |

redrum Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York |

Posted: Sun Aug 19, 2007 11:09 pm Post subject: |

Still no luck . Won't compile. _________________ Welcome to the Overlook Hotel 69.113.123.178:27500

Back to top |

Dr. Shadowborg Inside3D Staff Joined: 16 Oct 2004 Posts: 726 |

Posted: Mon Aug 20, 2007 3:52 pm Post subject: |

redrum wrote:
Still no luck . Won't compile.

Error messages please.
_________________
"Roboto suggests Plasma Bazooka."

Back to top |

redrum Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York |

Posted: Tue Aug 21, 2007 12:25 am Post subject: |

"while" is not a type _________________ Welcome to the Overlook Hotel 69.113.123.178:27500

Back to top |

Urre Joined: 05 Nov 2004 Posts: 1073 Location: Sweden |

Posted: Tue Aug 21, 2007 6:43 am Post subject: |

Typos suck... redrum, you need to learn some coding to fix things properly. _________________ Look out for Twigboy

Back to top |

redrum Joined: 28 Mar 2007 Posts: 367 Location: Long Island, New York |

Posted: Tue Aug 21, 2007 4:06 pm Post subject: |

I know. Where should I start? _________________ Welcome to the Overlook Hotel 69.113.123.178:27500

Back to top |

Urre Joined: 05 Nov 2004 Posts: 1073 Location: Sweden |

Posted: Tue Aug 21, 2007 9:36 pm Post subject: |

There are tutorials on the very site your on. Also get hooked up with Coffee's tut's, those are some quality stuff. I can safely say that's where most of my coding skills originate from, along with a lot of help from friendly people. Also try the allmighty irc.
_________________
Look out for Twigboy

Back to top |

Display posts from previous:

| Inside3d Forums Forum Index -> QuakeC Programming | All times are GMT Goto page Previous 1, 2, 3 Next
Page 2 of 3

Jump to:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2004 phpBB Group