home home

downloads files

forum forum

docs docs

wiki wiki

faq faq

Cube & Cube 2 FORUM


General Thread

by Aardappel on 01/05/2002 01:55, 15527 messages, last message: 03/01/2024 13:02, 12520563 views, last view: 11/01/2024 17:27

for questions, announcements etc.

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages

#10876: Re: ..

by SheeEttin on 07/08/2008 17:24, refers to #10875

If you grep the source for 'COMMANDN?(' and 'I?VAR[FP]*(', you'll get a list of all commands and vars... Most you can figure out what they do by looking at them. Any that you can't figure out what they do, well, you probably shouldn't mess with them. :P

reply to this message

#10877: ..

by Osbios on 07/08/2008 18:06

I know the getweapon and how to use it from "solaris hudguns".

You could get some of the scripts from quadropolis and try to understand them.

reply to this message

#10878: Help Command?

by Jomskylark on 07/08/2008 20:25

It's probably right there in front of me, but what's the default help command to type? I've tried /help and #help, but neither works.

For example, #stats works to show stats.

Thanks!

reply to this message

#10879: Re: Help Command?

by Jomskylark on 07/08/2008 20:34, refers to #10878

Ok, so I found #info. But what command can I type to bring up the info ABOUT the gametype?

If you press tab, it lets you see WHAT gametype. But how do I figure out what I'm supposed to do in that certain gametype?

Thanks.

reply to this message

#10880: Re: Help Command?

by jbuk2k7s cookie has gone on 07/08/2008 21:32, refers to #10879

http://sauerbraten.org/docs/game.html#mode

reply to this message

#10881: Re: Help Command?

by Jomskylark on 07/09/2008 00:20, refers to #10880

Okay, I thought there was a little menu that popped up during each gametype or something, but thanks anyway!

reply to this message

#10882: Simple texture ( aka picmip-like)

by DavZ on 07/09/2008 10:27

Is it possible to set same textures for all maps? I mean one texture by wall /ground/sky etc...

I want to make my game to simple texture like this: http://img233.imageshack.us/my.php?image=ezquake007hi2.jpg

Thank\'s in advance :)

reply to this message

#10883: ..

by Osbios on 07/09/2008 12:19

Sounds like a attempt of "visual cheating" to me... sorry but I wont tell you. Except you can tell me a good (non cheating) use for it!

reply to this message

#10884: Re: ..

by a~baby~rabbit on 07/09/2008 13:08, refers to #10883

usage: so your maps load really fast :P

reply to this message

#10885: Re: ..

by Hirato Kirata on 07/09/2008 13:33, refers to #10884

solution: /texreduce 12 ;P

reply to this message

#10886: Reducing gridpower?

by ingsoc on 07/09/2008 14:26

Hi,
I've been trying to get a new mode of game working where each player has an 'edit gun' that can modify the terrain. I've been hacking on the source for a while, but I can't find where the maximum gridpower is set. This means that most games end by some idiot wiping out the entire map :)
Can anyone help me out?

reply to this message

#10887: Re: ..

by DavZ on 07/09/2008 15:33, refers to #10885

@Osbios: do you really think that if i wanted to cheat i'd post on a public forum?

Ho thx Hirato! How can i turn off my skyboxe?

reply to this message

#10888: re: gridpower

by Osbios on 07/09/2008 15:44

For the current CTF release you find the gridpower command here:

src/engine/octaedit.cpp line 93

The VARF works like this:

VARF( variable_name, min_value, standard_value, max_value

so you could change

VARF(gridpower, 3-VVEC_FRAC, 3, VVEC_INT-1,

to

VARF(gridpower, 3, 3, 3,

If you change the standard value also take care to change the standard value of gridsize!

reply to this message

#10889: ..

by Osbios on 07/09/2008 15:54

@DavZ:
Wouldn't be the first time somebody does this. ;)

If you tell us what you exactly have in mind we could help much better anyway...

Or is it a secret?

reply to this message

#10890: irc client?

by zopiac on 07/10/2008 04:49

what is the irc client for sauer, found it at irc.netsplit.de, but i dont know how to get to it (on opera, or especially pidgin). does anyone know?

reply to this message

#10891: ..

by {Qs}Homicidal on 07/10/2008 05:51

if your win windows try

http://www.icechat.net/site/

runs perfect under wine as well

reply to this message

#10892: Re: ..

by noerrorsfound(deletescookies) on 07/10/2008 06:43, refers to #10891

There are better native clients for Linux, though, so there's no need for that.

reply to this message

#10893: Re: ..

by Red October on 07/10/2008 13:09, refers to #10876

SheeEttin: I searched through the project files for commands relating to armour, and found none.

Right now what I'm thinking is that for a reload function, a simple solution would be to turn armour into reserve ammo; when you reload, your clip ammo returns to full while your reserve ammo/armour decreases by the same amount.
I could edit the line that allows armour to absorb hits so that it doesn't do so, effectively turning armour into ammo.

I'm pretty sure this would all have to be done in C++, in which case I need to know how to get COMMAND(reload, "") working (gives me an error right now).

Thanks,
RO

reply to this message

#10894: Re: ..

by SheeEttin on 07/10/2008 15:33, refers to #10893

Probably because armor is an entity. :)
Good luck with messing with entities. Every time I've tried, I've failed miserably.

Making a reload command shouldn't be too hard. Just follow the same form as the other commands and it should work fine.

reply to this message

#10895: Re: ..

by Quin on 07/11/2008 04:48, refers to #10893

Ok, I'm gonna step in and suggest you may be a little over your head for the moment. Things like health, armour, and ammo are regulated by the server and needs to be updated as such.

This was the original problem Acord had with reloading in Blood Frontier, he never sent a message to the server telling it to update the ammo, so while the client thinks it has ammo, the server says they don't and refuses to pass on shooting messages.

As for your problem with the COMMAND macro, this is a common problem, but really requires an understanding of C++ to fully grasp. Due to the way the ident macros use classes, there is an alternate way to create them for inline use within another class (like fpsclient). Look at the top of each of the files in the fpsgame directory; You'll notice the use of IVAR and CCOMMAND instead (extra 'C'), the latter requires they be defined inside the constructor.

Now, if all that goes over your head, you'll understand why I usually just say "go learn C++" to people :P It becomes worse with Sauerbraten, because working with it is almost an artform.

reply to this message

Go to first 20 messagesGo to previous 20 messages    Board Index    Go to next 20 messagesGo to last 20 messages


Post a Message

Username

Email

Subject

Body

1 plus 3 =


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
58268722 visitors requested 76220403 pages
page created in 0.181 seconds using 10 queries
hosted by Boost Digital