Cod4 Server Help?

Talk about anything related with the servers

Moderator: Core Staff

Post Reply
hullabalusa
CJ Wannabe
CJ Wannabe
Posts: 27
Joined: October 8th, 2011, 1:34 am

Cod4 Server Help?

Post by hullabalusa » July 15th, 2013, 12:49 pm

Bought a server from YCNHosting.com, got my own server cfg ect, now iv been having a problem implementing DVAR's, i wish to have "jump_slowdownenable 0" ect ect, but no idea on how to implement it... can anyone help ? :)

Pedsdude
Site Admin
Site Admin
Posts: 15908
Joined: October 15th, 2004, 7:18 pm
Location: UK

Re: Cod4 Server Help?

Post by Pedsdude » July 15th, 2013, 6:03 pm

Add it to your server config file, and/or command line.

set jump_slowdownenable "0"
Image
Image

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: Cod4 Server Help?

Post by F |Madness| U » July 15th, 2013, 9:04 pm

^Note you need to enable cheats on the server (devmap) to have that implemented IIRC.

Other way to do it is by having a linux-based server and editing the .exe in some way.
-

Pedsdude
Site Admin
Site Admin
Posts: 15908
Joined: October 15th, 2004, 7:18 pm
Location: UK

Re: Cod4 Server Help?

Post by Pedsdude » July 16th, 2013, 6:02 pm

It's possible with a mod, right?
Image
Image

hullabalusa
CJ Wannabe
CJ Wannabe
Posts: 27
Joined: October 8th, 2011, 1:34 am

Re: Cod4 Server Help?

Post by hullabalusa » July 17th, 2013, 12:39 am

Nevermind i figured it out. I had to add it to a script.

Also, anyone have any idea on how to get custom noclip/teleport scripts working?

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: Cod4 Server Help?

Post by F |Madness| U » July 17th, 2013, 1:40 pm

hullabalusa wrote:Nevermind i figured it out. I had to add it to a script.

Also, anyone have any idea on how to get custom noclip/teleport scripts working?
For adding custom noclip/teleport scripts, you would just add it in the same way? Unless you mean you're unsure of how to script the custom noclip/teleport.
-

hullabalusa
CJ Wannabe
CJ Wannabe
Posts: 27
Joined: October 8th, 2011, 1:34 am

Re: Cod4 Server Help?

Post by hullabalusa » July 18th, 2013, 12:02 am

Ok i now have noclip/Pickupmod working, both in the "addon.gsc" anyone have a teleport script ? :)

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: Cod4 Server Help?

Post by F |Madness| U » July 18th, 2013, 10:41 am

Look at the scripting guide for dummies and think about making one yourself.
-

hullabalusa
CJ Wannabe
CJ Wannabe
Posts: 27
Joined: October 8th, 2011, 1:34 am

Re: Cod4 Server Help?

Post by hullabalusa » July 18th, 2013, 9:29 pm

F |Madness| U wrote:Look at the scripting guide for dummies and think about making one yourself.

not very helpful, read through it and didnt really tell me much tbh, i would need to know how to configure it, get the words ect

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: Cod4 Server Help?

Post by F |Madness| U » July 18th, 2013, 9:44 pm

hullabalusa wrote:
F |Madness| U wrote:Look at the scripting guide for dummies and think about making one yourself.

not very helpful, read through it and didnt really tell me much tbh, i would need to know how to configure it, get the words ect
Seriously? Not very helpful? It's an amazingly well-written guide that has probably helped hundreds, if not more, to learn to script. I know I learnt by using that guide and looking at various scripts already written (both stock scripts and custom ones made by non-devs), and I found it for the most part extremely clear and easy to understand.

Anyway, if you don't want to learn how to script a teleport function yourself, I'm sure if you google hard enough you will find one.
-

hullabalusa
CJ Wannabe
CJ Wannabe
Posts: 27
Joined: October 8th, 2011, 1:34 am

Re: Cod4 Server Help?

Post by hullabalusa » July 19th, 2013, 1:59 am

i did find it helpful, although i already knew 90% of it.

what i need is like the middle code :S i dunno its hard to explain

F |Madness| U
CJ G0D!
CJ G0D!
Posts: 1575
Joined: June 3rd, 2009, 9:02 pm
Location: Cardiff University, UK

Re: Cod4 Server Help?

Post by F |Madness| U » July 19th, 2013, 11:47 am

By `middle words` I assume you mean the code that is kind of specific to CoD(4)? Such as for using any sort of teleport system you're going to need the words self.origin or player.origin, and setOrigin().

If this is what you mean, this website is going to help a lot. http://www.zeroy.com/script/
-

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 6 guests