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, 12610302 views, last view: 11/14/2024 04:20

for questions, announcements etc.

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

#12547: Changing HP and starting weapons URGENT

by J_M on 09/10/2009 16:58

Hi, i need to change the HP to 1 or the weapons power to their maximum so when a player shoots an enemy or another player he dies with just one shoot. I also need to change the starting weapons, right now when you start a map you start with a pistol, a grenade laucher and the chainsaw, how can i make the player start only with the pistol? can someone tell me if its possible and how can i do it?

The reason for this is that im trying to make a paintball version of cube for school.

Thank you all in advance! :)

reply to this message

#12548: Re: Changing HP and starting weapons URGENT

by SheeEttin on 09/10/2009 17:28, refers to #12547

First, try instagib. No need to change HP or weapon power.

To change starting weapons, see src/fpsgame/game.h, functions respawn and spawnstate.

(Also, Blood Frontier already has a paintball mode.)

reply to this message

#12549: ..

by J_M on 09/10/2009 17:37

Thank you, im gonna try that. Another thing, is it possible to make the players disapear when killed? i mean, in paintball you arent suposed to drop dead on the floor.

reply to this message

#12550: ..

by J_M on 09/10/2009 18:29

looking at the game.h i can see:

health = maxhealth;
armour = 0;
armourtype = A_BLUE;
quadmillis = 0;
gunselect = GUN_PISTOL;
gunwait = 0;
loopi(NUMGUNS) ammo[i] = 0;
ammo[GUN_FIST] = 1;

Can i change maxhealth so the player starts with 1HP in every gamemode?
As for the weapons, i wanted only the pistol, even when out of amo, but i guess thats not possible or TOO MUCH work?

Thank you

reply to this message

#12551: Re: ..

by SheeEttin on 09/10/2009 22:01, refers to #12550

Yes, yes, and yes.

Easiest thing to do would be set bodies to disappear immediately.

For the pistol, just look at the insta code and make it do the infinite ammo for the pistol too.

Oh, and I'd suggest changing the definition of PROTOCOL_VERSION (also in game.h) to ensure your version isn't going to try and play with mainline Cube 2.

reply to this message

#12552: Re: Save game in progress in Campaign mode?

by cquante on 09/10/2009 22:34, refers to #12546

Thanks! I'm a little slow sometimes.

reply to this message

#12553: Re: ..

by J_M on 09/10/2009 23:21, refers to #12551

The option to make the bodies disapear is also in game.h? Can i make the changes to game.h using notepad or do i have to open with a special program and recompile everything again?

reply to this message

#12554: Re: ..

by baby~rabbit on 09/10/2009 23:35, refers to #12553

you'll have to recompile - see the docs/wiki for info on how to go about that..

reply to this message

#12555: single player cheats

by Martin10 on 09/12/2009 12:22

is there someone how has a cheat for the single player mode.
I never play on line, I only use sauerbraten in single player mode, but I cant stay alive.
So i need a kind of cheat, so after learning I can keep the cheat away, but till the???

reply to this message

#12556: MD2/MD3 hudguns in Trooper Edition?

by thojoh370 on 09/12/2009 15:23

Hey,
I recently found out that MD5 seems to be the only supported hudgun format around these days. Does MD2 and MD3 still work, or are they outdated due to the new muzzleflash effect?

reply to this message

#12557: Re: single player cheats

by tentus_ on 09/12/2009 16:41, refers to #12555

/gamespeed X
Use a lower number in the place of X to go into slow motion (gamespeed 50 would give you 50% bullet time, for example). This will only work in single player.

reply to this message

#12558: Re: single player cheats

by {WA}Zama on 09/12/2009 21:08, refers to #12555

There is more then a dozen ways to cheat single player mode. One edit the maps!
Another change the story up a bit in your cubes folder/packages/base/map.cfg but if your not good at making your own maps then don't change anything.

ADVISORY edit online maps at your own risk of getn kicked out forever after two years Im still waitn with this ip to cheat again!

reply to this message

#12559: Re: thx

by BuRnItDoWn on 09/13/2009 01:11, refers to #12543

I'd like to know how to do that, but with a slitghtly lower number. I don't know what computer that I have, but it's about an '05 Dell, so I only want the number to be 10 or 15. Thanks in advance.

reply to this message

#12560: ..

by J_M on 09/13/2009 15:57

How can i stop the game from searching normal servers and only search for servers that use my mod?

Also, how can i change the game so when i create a server i can chose the map and not let him chose "complex" everytime.

reply to this message

#12561: Message censored by administrator

by Nixot on 09/13/2009 17:37

#12562: Secondevermap remake!

by Nixot on 09/13/2009 17:37

I'm gonna try and make secondevermap into a proper map!

reply to this message

#12563: ..

by J_M on 09/13/2009 17:59

Ive opened the source code with codeblocks and ive been improving the game, how can i give infinite ammo to the players? i cant find the code line for that!!!
Also, how can i take out the 9min map change?

Thanks

reply to this message

#12564: Message censored by administrator

by Nixot on 09/13/2009 19:43, refers to #12563

#12565: Inky

by tentus_ on 09/13/2009 20:41

I think everyone on SVN can agree that Inky is the best thing since sliced sauerbread. He looks awesome Gear, keep up the ballin' work!

reply to this message

#12566: Message censored by administrator

by Nixot on 09/13/2009 21:38

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

8 times 7 =


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