Help with Manual

7 replies [Last post]
xareo
Offline
Joined: Aug 2004
Posts:

I have absolutley no idea what i need to do to get things wo work, i've looked at the manual, but i don't get it, for example, i see:

[code:1]/* Spawn Weapons (inventory weapons)
*
* 1 - Gauntlet Star
* 2 - Machinegun Star
* 4 - Shotgun Star
* 8 - Grenade Launcher Star
* 16 - Rocket Launcher Star
* 32 - Lightning Gun Star
* 64 - Railgun Star
* 128 - Plasma Gun Star
* 256 - BFG Star
* 512 - Grappling Hook
*
* Example: Machinegun + BFG + Railgun -> 2 + 256 + 64 = 322
**/
Start Weapons: 511;[/code:1]

thats in the manual, but what do i need to enter where if i want something to work correctly? I tried a couple things in my console to no avail, a little help please?

EVOL.IZNOGOUD
Iznogoud's picture
Offline
Joined: Mar 2004
Posts:
Help with Manual

Dunno if it is this u r after, but ill post it anyways Cool:

From the manual:

Quote:

// one line comment
# one line comment

/* 1, 2 lines,
or
more lines comment */

If a line is commented out, its just a a reminder and will not be executed when interpreted by engine.

[code:1] Start Weapons: 511;[/code:1]
'Commandline.' Startweapons = inventory weapons. No comment at the beginning of the row (look for a /* to), therefore it will be executed.

Comments are very helpful. Fx u can also keep various settings in same cfg and switch between them simply by comment and uncomment them. These days a couple kb more or less dont matter. I remember when i was young ... :roll:
Btw, this comment thing is common when doing ordinary programming to keep track of what sertain lines of code or subs do. Like the yellow sticky notes Happy
And 511 equals all weapons except Grappling Hook. Add up the sum of the weapons you want available and replace the 511. All available would be 1023 (1+2+4+8+16+32+64+128+256+512). Rocket and rail => 16 + 64 = 80.
These weaponnumbers (values) are critical, coz the sum when adding any numbers must never equal any specific weaponnumber (value). Then some weaponcombinations would be excluded. This rule applies to all settings in the cfg. Exception is when 'disabeling' a feature, then it should be set to 0 (null). So if u want the players just to be running around making gestures and comments only, use 'start weapons: 0;'.

Long answer. Sorry.[/b]

Bättre pissa i stuprännan än stupa i pissrännan !

EVOL.IZNOGOUD
Iznogoud's picture
Offline
Joined: Mar 2004
Posts:
Help with Manual

Haven't really tried the last thing in my post (start weapons: 0;). So it mabe dont work. I just assume it does.

Bättre pissa i stuprännan än stupa i pissrännan !

xareo
Offline
Joined: Aug 2004
Posts:
Help with Manual

Ok, let's say i want all available, i put in

[code:1]Start weapons: 1023;[/code:1]

But my question is, Where and when do i enter that? Do i need to make a loadable file pre-game, to load it later? Do I have to do it in the console once i start?

And if i have to pre-make it, do i need to set every weapon and phyisics setting?

[MR.]Stollo
Offline
Joined: Jul 2004
Posts:
Help with Manual

I'm rather not good at setting up server, but try the following (it worked for me, at least i'm able to play on LAN together with my son Happy )

1) analyze other server configs - you can find more of them in "conf" subdirectory of "excessiveplus" folder

2) try to write your own config with only the settings you want to change; if you do not explicitly change some of the features, they will be left with default values (so you dont have to set all the features in your config unless you want change their default values)

IMPORTANT! Please note, that - as opposed to loading client config (the one with your settings like name, bindings etc.) - you execute server configuration file using LOAD statement (not exec!). Otherwise you encounter errors.

And last but not least - try to search the forums - im sure ive seen the link to BRO server configuration file - it will help you more than documentation alone (although it is very good i dont like to read docs Laughing )

Real men always attack from behind Winking

[MR.]Stollo
Offline
Joined: Jul 2004
Posts:
Help with Manual

Just one more thing... Yes, you can make your own loadable server configuration file, so you dont need to type all the server commands in the console. The server config files support even conditional execution of code, depending on type of game!
Dont give up! You CAN make your own great config - you'll see Happy

Real men always attack from behind Winking

EVOL.IZNOGOUD
Iznogoud's picture
Offline
Joined: Mar 2004
Posts:
Help with Manual

Yupp, dont give up!

Sounds as if my explanation was a bit ahead of your question. Assumed you were just about to edit some values in the default.cfg to make your own weapon/physics config. Sorry.

Stollo seems to lend a hand. Good luck guys.

Bättre pissa i stuprännan än stupa i pissrännan !

xareo
Offline
Joined: Aug 2004
Posts:
Help with Manual

ok, i'm going to try an itty bitty bit of modifaction to see if i can do this correctly...

I'll get back to you on that