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, 11444378 views, last view: 05/17/2024 11:43

for questions, announcements etc.

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

#14206: Monster Respawns in SP

by cork279 on 11/06/2011 10:14

These forums are confusing, but I'll post my question here, and see how things go :P

My question; is it possible to make enemies respawn in SP mode? You see, I'm trying to make a freeroam zombie survival game in Cube 2 Sauerbraten, but I don't want a countdown (30 enemies left, etc), I want the game to be limitlessly playable. I want each enemy to respawn after 30 seconds, for example.

The game is here if you need more information:
http://www.moddb.com/games/revelade-revolution
I WAS using PlatinumArts Sandbox, but switched to Cube 2.

reply to this message

#14207: Re: Monster Respawns in SP

by Razgriz on 11/06/2011 10:44, refers to #14206

You and a few dozens more are hopping for a zombie survival mode but it ain\'t gonna happen, not anytime soon at least.

And.. no, not possible unless you modify the source :P

reply to this message

#14208: Complete and clean export

by unnaemd on 11/06/2011 14:27

After exporting some large piece of geometry into OBJ, I face the problem that polygon wastage is present in exported model, especially on slopes.
Are there any known tools that could be used for exported model optimization/polygon merge/remip/etc.?

reply to this message

#14209: Re: Compiling

by jAZZbASS on 11/07/2011 13:08, refers to #14196

Thanks for your response, I was not complaining, just trying to see if others had any experience, and how to go about it, it appears that there are as expected some errors in my lame attempt at coding... I have no real complaints at all about sauerbraten, I mean ffs it's free and it's fun.

reply to this message

#14210: wanting to increase max ammo in sauerbraten

by it9999 on 11/08/2011 11:40

How do i increase the maximum values for maxHealth (greater than 1000), ammo and armour. i have been confused on how to change this.

reply to this message

#14211: Re: wanting to increase max ammo in sauerbraten

by Razgriz on 11/08/2011 12:21, refers to #14210

only by modifying the source code.

reply to this message

#14212: Re: wanting to increase max ammo in sauerbraten

by it9999 on 11/08/2011 12:23, refers to #14211

i looked at the src code and i am still confused

reply to this message

#14213: Re: wanting to increase max ammo in sauerbraten

by suicizer01 on 11/08/2011 13:51, refers to #14212

As it's hardcoded, it's not such an easy task to modify this and actually shouldn't be done (as it's considered to be cheating).

reply to this message

#14214: Re: wanting to increase max ammo in sauerbraten

by Sub-Zero on 11/08/2011 19:06, refers to #14213

Ammo for servers is serversided. last time i checked, there is no way to cheat on servers with over 1000 ammo unless the server is set up to have that (thanks to erik for teaching me that)

however its very easy to modify the max ammo, but i still wouldn't advise it, there is no real point unless you have issues beating the sp modes.

also, i think the ammo is set on a var... i think its max is 1000 unless you make the vars go over 1000, but i could be wrong.

-Sub Zero

reply to this message

#14215: Re: wanting to increase max ammo in sauerbraten

by it9999 on 11/09/2011 04:10, refers to #14214

is there some tutorial that i can do this. i want to do this for offline purposes and expermentation

reply to this message

#14216: Re: wanting to increase max ammo in sauerbraten

by Zamwa on 11/09/2011 05:51, refers to #14215

For a limited time you can find books on C++ coding at a bookstore near you while you still have years of youth enjoying new knowledge!

Nature bypassing is cheating...

reply to this message

#14217: Re: wanting to increase max ammo in sauerbraten

by AlternateLives on 11/09/2011 19:28, refers to #14216

well put, zamwa.

However, sometimes it helps to to have a place to start when experimenting, so it9999, I'll give you a hint for this:

The file where the weapon coding is located is (I think) game.h, and it is in the fpsgame folder.

Hopefully you can get started from there.

reply to this message

#14218: Re: wanting to increase max ammo in sauerbraten

by it9999 on 11/10/2011 12:49, refers to #14217

i moddified that file, saved it than ran sauerbraten. the ammo values didnt change

reply to this message

#14219: Re: wanting to increase max ammo in sauerbraten

by Razgriz on 11/10/2011 13:35, refers to #14218

Did you compile a new binary?

reply to this message

#14220: Re: wanting to increase max ammo in sauerbraten

by it9999 on 11/10/2011 13:39, refers to #14219

how do i compile the binary?

reply to this message

#14221: Re: wanting to increase max ammo in sauerbraten

by Razgriz on 11/10/2011 15:50, refers to #14220

If you're on windows, download Code::Blocks with MinGW and install it, navigate to /src/vcpp, open sauerbraten.cbp, right click the project on the left and select Build.

The program will output the binary in /bin folder, and will overwrite any file with the same name.

reply to this message

#14222: Re: wanting to increase max ammo in sauerbraten

by it9999 on 11/11/2011 18:10, refers to #14221

I got a message like this

"sauerbraten - default" uses an invalid compiler. Probably the toolchain path within the compiler options is not setup correctly?! Skipping...
Nothing to be done.

it didnt work

reply to this message

#14223: Re: wanting to increase max ammo in sauerbraten

by Razgriz on 11/11/2011 18:44, refers to #14222

you shouldn't have gotten such an error, you could have messed up somewhere

reply to this message

#14224: Re: wanting to increase max ammo in sauerbraten

by it9999 on 11/12/2011 14:53, refers to #14223

my computer is currently infected and it may of damaged some of the system files. wich is preventing the compile of the src code. anyone who wants to help. send me your email address and i will send you the moddified src code. you need to compile it and email the bin file to me.

reply to this message

#14225: Re: wanting to increase max ammo in sauerbraten

by tempest on 11/12/2011 15:52, refers to #14224

"my computer is currently infected [...] and i will send you the moddified src code"
No comment. Really, no comment.

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

3 times 6 =


content by Aardappel & eihrul © 2001-2024
website by SleepwalkR © 2001-2024
54021047 visitors requested 71800692 pages
page created in 0.314 seconds using 9 queries
hosted by Boost Digital