Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.

In the meantime please join the new Discord Server!

If you have any questions please e-mail me through the Platinum Arts website.

Saurbraten Cube 2 question

Discussion of things not related to Sandbox
Locked
owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen

Saurbraten Cube 2 question

Post by owenisred »

Yea I know this is related to sandbox, but I wasn't sure where to put it so I decided to stick it here.

Basically I have been trying, instead of coding my own guns anew, simply heavily editing saurbraten and replacing its guns and models with mine.

Is this possible? I mean my plan to begin with is to dramatically increase the kickback of a particular gun, along with its damage. I dont know how this would effect me playing online: whether I'd have awesome beefed out guns, I couldnt play online, or that I simply couldnt edit the game at all.

Anyway I had a look in game.h and I found this line:

static const struct guninfo { short sound, attackdelay, damage, projspeed, part, kickamount, range; const char *name, *file; } guns[NUMGUNS] =
{
{ S_PUNCH1, 250, 50, 0, 0, 0, 14, "fist", "fist" },
{ S_SG, 1400, 10, 0, 0, 20, 1024, "shotgun", "shotg" }, // *SGRAYS
{ S_CG, 100, 30, 0, 0, 7, 1024, "chaingun", "chaing"},
{ S_RLFIRE, 800, 120, 80, 0, 10, 1024, "rocketlauncher", "rocket"},
{ S_RIFLE, 1500, 100, 0, 0, 30, 2048, "rifle", "rifle" },
{ S_FLAUNCH, 500, 75, 80, 0, 10, 1024, "grenadelauncher", "gl" },
{ S_PISTOL, 500, 25, 0, 0, 9000, 1024, "pistol", "pistol" },
{ S_FLAUNCH, 200, 20, 50, PART_FIREBALL1, 1, 1024, "fireball", NULL },
{ S_ICEBALL, 200, 40, 30, PART_FIREBALL2, 1, 1024, "iceball", NULL },
{ S_SLIMEBALL, 200, 30, 160, PART_FIREBALL3, 1, 1024, "slimeball", NULL },
{ S_PIGR1, 250, 50, 0, 0, 1, 12, "bite", NULL },
{ -1, 0, 120, 0, 0, 0, 0, "barrel", NULL }
};



So I tried to change one of the values in the list (i.e. the 9000 part for the pistol) However apparently this file has no effect on gameplay at all... When I saved this and entered the game NOTHING changed.


I got confused - can anyone help?

Thanks a lot,
Owen.
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:

viewtopic.php?f=9&t=2704&start=0

My tutorial site - still under construction, but lots of good stuff there:

http://pasandbox.webs.com/
arcones
Support Team
Support Team
Posts: 2734
Joined: January 13th, 2010, 12:42 pm
Name: Timothy
IRC Username: I use Steam
Location: Looking over your shoulder...
Contact:

Re: Saurbraten Cube 2 question

Post by arcones »

Why not trying out the Sandbox Chat? ;D

Anyway, I'd try to find the model reference and see if anything I changed there affected the game.
Image
Want a user bar like this one? PM Leo!
User avatar
InHumanUnit
Member
Member
Posts: 1450
Joined: May 22nd, 2010, 7:23 am
Name: Ian, Haiku, I got alot ;)
Location: Toyko, Japan. Currently in Illonis, Round Lake in America for secret purposes
Contact:

Re: Saurbraten Cube 2 question

Post by InHumanUnit »

owenisred wrote: (i.e. the 9000 part for the pistol)

I got confused - can anyone help?

Thanks a lot,
Owen.
I'm sorry but....
Scouter:Hey Vegata! What does a scouter say about his power level?
Vegeta:ITS OVER 9000!!!!!
Image
Image
Image
XEON BOX GAMES - XBG is a blast from the past of a pirate mast to a cars thats fast.
You dare challenge me to Halo:Reach? You must die!
owenisred
Member
Member
Posts: 452
Joined: August 9th, 2010, 9:33 am
Name: Owen

Re: Saurbraten Cube 2 question

Post by owenisred »

Lmao! :) I like :)
I'm taking modelling requests again - any models you want created,skinned or animated (or all 3) leave a post here:

viewtopic.php?f=9&t=2704&start=0

My tutorial site - still under construction, but lots of good stuff there:

http://pasandbox.webs.com/
chocolatepie33
Support Team
Support Team
Posts: 2458
Joined: April 27th, 2010, 5:31 pm
IRC Username: CP

Re: Saurbraten Cube 2 question

Post by chocolatepie33 »

I loved that show.
Julius wrote:Contribute to http://www.opengameart.org NOW!
Save the wiki!
Locked