The Future

Welcome to my work in progress. Ill be turning cataclysm into a thing of the future! I just need to figure out all the kinks first…
Any help would be appreciated! https://www.dropbox.com/sh/dewd4m6mo3yfpok/sa_w12prtr (See whats wrong with the guns/ammo?)

Ill be adding in things like the final model of power armor, MOAR LAZER (and other energy) WEAPONS, a shishkebab! (That I [sorta] got working!) Ill also be open to suggestions. BUT YEAH, THIS MAY SUCK OR BE AWESOME.

If you don’t mind someone who has to learn C++ first, then ok.
(Cataclysm is written in C++, am I rite?)

Yeah, to my knowledge its not too hard adding items (except for getting them to spawn naturally)

{ "id": "laser_rifle", "type": "GUN", "symbol": "(", "color": "light_blue", "name": "Aerial laser rifle", "description": "A state of the art laser rifle, made by Aerial industries, turn those foes into ash!", "rarity": 10, "price": 100, "material": "STEEL", "flags": "MODE_BURST", "skill": "rifle", "ammo": "laser_ammo", "weight": 30, "volume": 12, "bashing": 12, "cutting": 0, "to_hit": 1, "ranged_damage": 10, "range": 0, "accuracy": 15, "recoil": 5, "durability": 8, "burst": 5, "clip_size": 20, "reload": 500 },

{ "type" : "AMMO", "id" : "laser_ammo", "rarity" : 8, "price" : 800, "name" : "laser", "symbol" : "=", "color" : "red", "description" : "A fist size battery, its warm to the touch and makes a quiet hum", "material" : "STEEL", "volume" : 0, "weight" : 25, "bashing" : 1, "cutting" : 0, "to_hit" : 0, "ammo_type" : "laser", "damage" : 40, "pierce" : 14, "range" : 12, "accuracy" : 8, "recoil" : 0, "count" : 25, "effects" : ["INCENDIARY"] }

Something like that? (WOULD IT WOOOORK?!)

Also, something melee: (FO inspired)

{ "id": "Shishkebab", "symbol": ";", "color": "red", "name": "Shishkebab", "description": "A crudely made weapon, made from a gastank, lawnmower blade and a handbreak", "rarity": 10, "price": 100, "material": ["IRON"], "weight": 15, "volume": 10, "bashing": 5, "cutting": 20, "to_hit": 3, "effects" : ["INCENDIARY"] }

Ima start up a notepad file. start with some weapons and the sort. Ill put it in a dropbox download. OFF I GO!

They seem good but I’m not sure about all those values. You should try to add them to the game and see if all those things aren’t OP or weak.

As for spawning them naturally - We could work something out.

Today I’m going to look at the source and see if I can even understand it. If it turns out to be readable I’m going to try modifying it to see if I could even do something in C++.

Alright, Ill add GTAguys tesla rifle and ammo to the game and see if it works

EDIT: It keeps telling me that my guns ‘dont reload normally’ help?

LAZER GUNZ probably don’t have recoil. Better come up with some names for them too.

Yeah, not laser, but probably tesla and plasma. Could you try see whats wrong with the guns/ammo?
(Heres some of the guns ATM)

[spoiler][code]

{ “id”: “Bubbadoo”,
“type”: “GUN”,
“symbol”: “(”,
“color”: “light_brown”,
“name”: “Bubbadoo’s ol’ fashion pistol”,
“description”: “A relic of the old days. Reproduced by bubbadoo for high demand”,
“rarity”: 5,
“price”: 13000,
“material”: “[“IRON”, “WOOD”]”,
“flags”: “RELOAD_ONE” “skill”: “pistol”,
“ammo”: “.40”,
“weight”: 5,
“volume”: 2,
“bashing”: 12,
“cutting”: 0,
“to_hit”: 1,
“ranged_damage”: 3,
“range”: 0,
“accuracy”: 23,
“recoil”: 4,
“durability”: 8,
“burst”: 0,
“clip_size”: 6,
“reload”: 55
},{ “id”: “Chainsaw_cannon”,
“type”: “GUN”,
“symbol”: “)”,
“color”: “white”,
“name”: “Chainsaw cannon”,
“description”: “Obviously made by a madman, rip apart your enemys with a barrage of chainsaws!”,
“rarity”: 5,
“price”: 13000,
“material”: “[“IRON”, “steel”]”,
“flags”: “RELOAD_ONE” “skill”: “rifle”,
“ammo”: “Chainsaw”,
“weight”: 60,
“volume”: 20,
“bashing”: 20,
“cutting”: 0,
“to_hit”: 1,
“ranged_damage”: 3,
“range”: 0,
“accuracy”: 23,
“recoil”: 4,
“durability”: 8,
“burst”: 0,
“clip_size”: 6,
“reload”: 55
},{
“id”: “modern_compbow”,
“type”: “GUN”,
“symbol”: “(”,
“color”: “yellow”,
“name”: “modern compound bow”,
“description”: “A bow with wheels that fires high velocity arrows. Weaker people can use compound bows more easily. Arrows fired from this weapon have a good chance of remaining intact for re-use. It requires 7 strength to fire”,
“rarity”: 4,
“price”: 1400,
“material”: [“STEEL”, “PLASTIC”],
“flags”: [“STR8_DRAW”, “RELOAD_AND_SHOOT”],
“skill”: “archery”,
“ammo”: “arrow”,
“weight”: 8,
“volume”: 12,
“bashing”: 8,
“cutting”: 0,
“to_hit”: 1,
“ranged_damage”: 0,
“range”: 10,
“accuracy”: 20,
“recoil”: 0,
“durability”: 6,
“burst”: 0,
“clip_size”: 1,
“reload”: 100
},{ “id”: “WS_Pistol”,
“type”: “GUN”,
“symbol”: “(”,
“color”: “light_pink”,
“name”: “World state pistol”,
“description”: “Made especially for the world state agents, uses .40 in a magazine for high stopping power”,
“rarity”: 5,
“price”: 13000,
“material”: “[“STEEL”]”,
“skill”: “pistol”,
“ammo”: “.40”,
“weight”: 5,
“volume”: 2,
“bashing”: 12,
“cutting”: 0,
“to_hit”: 1,
“ranged_damage”: 3,
“range”: 0,
“accuracy”: 23,
“recoil”: 4,
“durability”: 8,
“burst”: 0,
“clip_size”: 10,
“reload”: 300
},
[/code][/spoiler]

ANNNND AMMO:

[spoiler][code]{ “type” : “AMMO”,
“id” : “Chainsaw”,
“rarity” : 20,
“price” : 120,
“name” : “Chainsaw”,
“symbol” : “=”,
“color” : “white”,
“description” : “Well…Its chainsaws…For your chainsaw cannon PILLFORM”,
“material” : “IRON”,
“volume” : 1,
“weight” : 5,
“bashing” : 1,
“cutting” : 0,
“to_hit” : 0,
“ammo_type” : “battery”,
“damage” : 0,
“pierce” : 0,
“range” : 0,
“accuracy” : 0,
“recoil” : 0,
“count” : 20
},

“id” : “44magnum”,
“rarity” : 7,
“price” : 580,
“name” : “.44 Magnum”,
“symbol” : “=”,
“color” : “blue”,
“description” : “Described (in 1971) by Dirty Harry as "the most powerful handgun in the world," the .44 Magnum gained widespead popularity due to its depictions in the media. In reality, its intense recoil makes it unsuitable in most cases.”,
“material” : “STEEL”,
“volume” : 2,
“weight” : 15,
“bashing” : 1,
“cutting” : 0,
“to_hit” : 0,
“ammo_type” : “.44”,
“damage” : 36,
“pierce” : 2,
“range” : 16,
“accuracy” : 16,
“recoil” : 22,
“count” : 50,
“effects” : [“COOKOFF”]
},

{ “type” : “AMMO”, “id” : “tesla_ammo”, “rarity” : 8, “price” : 800, “name” : “tesla ammo”, “symbol” : “=”, “color” : “blue”, “description” : “It makes all the hairs on your body raise up, obviously filled with static electricity”, “material” : “STEEL”, “volume” : 0, “weight” : 30, “bashing” : 1, “cutting” : 0, “to_hit” : 0, “ammo_type” : “plasma”, “damage” : 70, “pierce” : 5, “range” : 8, “accuracy” : 5, “recoil” : 0, “count” : 15, “effects” : [“INCENDIARY”] }

{ “type” : “AMMO”,
“id” : “arrow_explosive”,
“rarity” : 5,
“price” : 300,
“name” : “explosive arrow”,
“symbol” : “=”,
“color” : “green”,
“description” : “High-tech carbon fiber shafts and 100 grain broadheads. Very light weight, fast, explode on contact”,
“material” : “PLASTIC”,
“volume” : 2,
“weight” : 30,
“bashing” : 1,
“cutting” : 0,
“to_hit” : 0,
“ammo_type” : “arrow”,
“damage” : 20,
“pierce” : 4,
“range” : 5,
“accuracy” : 14,
“recoil” : 0,
“count” : 8 “effects” : [“EXPLOSIVE”]

},

{ “type” : “AMMO”,
“id” : “arrow_incendiary”,
“rarity” : 5,
“price” : 300,
“name” : “incendiary arrow”,
“symbol” : “=”,
“color” : “green”,
“description” : “High-tech carbon fiber shafts and 100 grain broadheads. Very light weight, fast, release the flame!”,
“material” : “PLASTIC”,
“volume” : 2,
“weight” : 30,
“bashing” : 1,
“cutting” : 0,
“to_hit” : 0,
“ammo_type” : “arrow”,
“damage” : 15,
“pierce” : 3,
“range” : 5,
“accuracy” : 14,
“recoil” : 0,
“count” : 8 “effects” : [“INCENDIARY”]

},

[/code][/spoiler]

Sorry, not my cup of tea just yet.
All I have to say after a quick glance is… Bubbadoo? Really? Not exactly something I’d identify as a firearm, let alone a weapon. I don’t even know what that sounds like! :stuck_out_tongue:

I had a quick look through the source, and I found the code responsible for spawning items in certain places and it should be rather easy to modify it. Later on I will search for more useful stuff.

[quote=“Slax, post:9, topic:1784”]Sorry, not my cup of tea just yet.
All I have to say after a quick glance is… Bubbadoo? Really? Not exactly something I’d identify as a firearm, let alone a weapon. I don’t even know what that sounds like! :P[/quote]

I named some of the stuff from people off the forums xD

A tesla rifle? Named after me?

Cool, I have a gun named after me that can arc and stun zombies (also should arc between zombies)

I suggest using github (http://smf.cataclysmdda.com/index.php?topic=1063.0). It’s pretty easy to set it up with their application.

Github will allow you to easily get the latest source code and easily let people merge their code with your code.

Too cartoony. I mean you no ill will, just… Too cartoony. If you want to make something genuinely futuristic, add light sabers and such. Terminators, and etcetera. Not this puerile childish humor.
But I apologize. That was a little harsh, but… A mod that put Cataclysm even further in the future would be cool. Nanite zombies, infecting you with grey goo. Gotta find an EMP grenade before they convert you into grey goo.

Not childish, quite simple:
A tesla gun is a basic tesla coil with a bit more umph and also portable, an electromagnetic field would stop the rifle from backfiring on you. The main problem is the energy consumption of such a device, a micro-fission/fusion battery could easily do this.

Plasma rifle: enough heat= core of the sun hydrogen liquid launched at enemies. Power consumption is mad dog though.

Laser rifle: highly focused photons streamed so that it superheats the air, causing it to turn red like when a spacecraft re-enters atmosphere. Mainly having powerful enough photon emitters (light bulbs).

Really in the future if they had such a powerful portable energy device this shit would be child’s play.

Bubbadoo? Chainsaw gun? Come on, a little bit cartoony. But hey, have fun.

I think you read the ID of the Bubbadoo one, the names “Bubbadoos ol’ fashion pistol” Bubbadoo=company that produces them. I can easily just say .40 pistol. And Chainsaw cannon? Why not. Why WOULDNT you want a chainsaw cannon. But meh. I might take it out. I wanna get good enough at coding that I could make like chainlightning (I guess I could make it powerful enough to go THROUGH enemy’s)

I guess I could use bubblegun to shoot up all the Zs and drop them onto one pile.
Can you do M&Ms, like pebbles for slingshots, only crunchy?
I’d do M249/energy drink squirt-gun but I’m a bit busy; I can’t get solar panels to absorb rainbow instead of light. Guess Radio Bear killed all the Care Bears.

You would need a prism to create a rainbow, so yeah.

Ugh. I think im gonna drop this for now. Schools been to stressful and ive been sick for the past week. Sorry. Ill work on some in the holidays