Grand Theft Sauerbraten

Started by ArdTheSheep, September 27, 2013, 09:09:36 PM

Previous topic - Next topic

ArdTheSheep

As some of you know of my script, PPST (http://quadropolis.us/node/3793), I'll be using the same concept to create a Grand Theft Auto mod for sauer.

Interesting huh?

List of features and shit:

- you get a random amount of 'coins' per player you kill.  your coins-per-kill increases by 10 for each level you gain.
- you get 10xp per kill, and each level doubles the amount of xp required to go up a level. (100, 200, 400, 800, 1600, 3200, etc)
- there are some temporary xp boosters that will be in the store.  say, 10,000 coins for +10 xp/kill for 30 minutes.  or 20,000 coins for +20 xp/kill, etc. 
- every ten levels you gain your xp per kill automatically goes up by 10. 
- missions: assassination, rampage, challenge, war, bar, phone call, rich man, and more.
- phone call missions are a random event, and offer extremely high rewards.
- rich man mission is pretty much: find the guy with the stash
- war is a rather interesting concept here, you will need 'military strength' in order to challenge another 'fake sauer country' to a game of ctf.  if you win, you get special bonuses for owning that land.
- bar missions are acquired from completing other missions, they pretty much send you into a 'dream world', in this case, single player mode.

- a coin generator (unlockable after completing 25 missions), you click a button to get free coins! no click limit either, though the amount generated is fairly low. (amount generated is increased by 5 per level attained.  you can also purchase a higher generation from the in-game-store)
- platinum coins are a rare drop from players (1/25 chance per kill), and can also be acquired from missions.
- platinum coins are a special currency, which can be used in the store, to bypass mission authorization, and a few other things.

- nuclear cores are an extremely rare drop (1/1000 chance per player killed), nuclear cores are used to build nukes of course.  which increase your military strength by 100,000.

- purchasable buildings that generate coins, platinum coins, and nuclear cores. (can be upgraded to generate more stuff per second, has infinite upgrades)

- challenge mode is pretty much a bot match.  but if you reach a specific frag count in said amount of time, you complete the challenge mission.

and many more things.


for now, blahmap#4 is on halt until i complete this mod, and finish up ppst. (as i've gotten a few pm's in #sauerbraten recently, asking when i was gonna finish ppst)
Signature

Suicizer

Good luck coding so; see you next year (or even another year).

ArdTheSheep

#2
Nah, won't take that long.

I've already got a few missions completed, only took about 10 minutes.

If i worked from start to finish on ppst, it would take about 3-5 hours.  it only took forever because i kept getting distracted. 

So really, if i spent all my time on this, the whole thing could be done in a couple of days.  But i doubt that will happen as i get caught up in my work and like to test for errors all the time.  Bigger the script is, the harder it is to find errors.

You're open to contribute ideas if you want, Suicizer, though this will be 100% cubescript.  So, no cars, planes, tanks, etc.  Though some missions will ask you to steal a tank or car, but those will be imaginary tanks and cars.
Signature

ArdTheSheep

Here's a demo of Cop Mode.

Anyone have opinions on it?

To start it:

first exec the cfg (well no shit)

2nd: type /showgui copmode

3rd: click start

4th: arrest (kill) all of the bots.  (they are auto deleted when you kill them)

5th: dont die.  (you can suicide, but you cant get killed by another bot)
Signature

RaZgRiZ

Enough with the lame excuses of "I can't do it" and "It's their choice to use my script, why should I care what i break?" Either make shit work right or don't bother sharing really.
I really do hope to see some results tomorrow that at least partly work, or a really elaborate excuse and the drive to improve, or you can forget about getting further reviews or help from me. That is all.

Suicizer

Razgriz, nothing personal as I respect you man. But let the guy show his experiments. You can help him by pointing him in the right direction (I know that's hard as I'm guilty of rather just telling what and how to do on mapping). I know you like cubescript challenges and want to publish your probably way much better script all around the community, but do so after that particular scripter has given up or asks for the real deal.
Also, this isn't Quadropolis (and such practices shouldn't be done there as well), so again, let him go; he needs to learn it some way.

[End of respectful rant]

ArdTheSheep

#6
Actually, Suicizer, I have to agree with Raz now since I've thought about what he said about /clearsleep.  He has a point, as I will eventually want to run PPST and GTS at the same time, and I want to learn how to stop specific scripts without stopping everything.  I'd rather deal with Raz and actually learn something, than deal with gear4's bitching on quadro.

I fucked around with cop mode, and fixed the infinite loop problem (via clearsleep...)

Now Raz, rewrite this and show me how to make it stop just this script, and not everything (and try to make it simple, unless it literally isn't possible without some fancy scripting that i have no idea how to do).  I've tried multiple times, and yet again, I couldn't figure it out.

::

youlosecop = [
   if $numargs [
      sleep 100 [
         if (!= (getdeaths) 0) [
         echo "^f6You've been killed by a criminal! Mission Failed!"
         showgui copmissionfailed
         pausegame 1
         ]
      youlosecop 1
      ]
   ]
]
Signature

Skur

to the concept: I generally like xp/coins/etc in videogames, unless they unbalance the gameplay by giving players with more playtime a large advantage. They kind of make you feel like you didn't waste your time, even if you did.  ;D But I'm not sure if it will work out that great, if they don't give you any advantage at all ... like, what's the point in collecting them? It unlocks new ways to gain more coins, but there's no real use for the coins that actually changes the gameplay. Not that I would want that in Sauer, but I think the player needs some kind of motivation.

>_> correct me if i just misunderstood it
"The secret to creativity is knowing how to hide your sources."
-Einstein

Suicizer

Quote from: Skur on September 28, 2013, 11:37:38 AM
to the concept: I generally like xp/coins/etc in videogames, unless they unbalance the gameplay by giving players with more playtime a large advantage. They kind of make you feel like you didn't waste your time, even if you did.  ;D But I'm not sure if it will work out that great, if they don't give you any advantage at all ... like, what's the point in collecting them? It unlocks new ways to gain more coins, but there's no real use for the coins that actually changes the gameplay. Not that I would want that in Sauer, but I think the player needs some kind of motivation.

>_> correct me if i just misunderstood it

You kill stuff. The end.

ArdTheSheep

This whole mod is pretty much based on http://orteil.dashnet.org/cookieclicker/

You kill stuff, the end.

Plus the coins can be used to unlock more missions, increase military strength (to unlock war missions), etc.
Signature

unixfreak

It's a good concept for a single player minigame kind of thing. It's fun.  :P

Only thing i can see wrong so far is that when you shoot a bot, sometimes it uses "delbot" on a different one.
So you can be fighting 2 bots, when you kill one, the other one nearby gets deleted, while the one you shot, respawns. Do you get what i mean?


( idea.. i know you hate Red Eclipse  :), but i can see it would work better there, for instance, changing the spawn weapon after "buying" one from the menu. Could also incorporate damage boosts / health / armour on demand with a shop style menu )
Join the Red Eclipse discord! https://www.redeclipse.net/discord

ArdTheSheep

#11
For the clearsleep problem, I either plan on 1: learning how to stop just 1 script, or 2: add a command for all of the mods core scripts, and a guitab where people and add their scripts into the main gts command.
EXAMPLE: maingtscommand = [dynfrags; dyncoins; dynplatinumcoins; $personalscript1; $personalscript2; $personalscript3; etc etc;]

I know what you mean unix, and I believe I've fixed the problem.
 
2 bots will no longer die at the same time, as I've discovered botbalance 0.  When the script delbot it goes 132, 131, 130, 129, and 128 - you win.  so if you kill bot 128, and there are 5 bots, then bot 132 will be deleted, and so on.

The shop is mainly to increase coin/platinum coin/xp drops, and maybe nuclear core drop rate.  (and a secret gui where you can unlock pornographic images (just kidding))

On the bright side, with the help of Raz, cop mode has been rewritten and is fully functional.  Though I haven't solved the /clearsleep problem yet, but I'm working on it.

TO START, EXEC THE SCRIPT AND TYPE /SHOWGUI COPMODE
Current list of cop mode features:

- loads a random map every time (credit to Raz on this one, for teaching me how to use "(at")
- ability to 'retry' the current map if you failed
- script no longer loops infinitely out of cop mode
- revised random map picker (credit to Raz on this one, for teaching me how to use "(at")

Coming soon for cop mode:
- for each mission you complete, the bot's strength moves up by 2.
- along with the bots getting stronger, the rewards will become greater.
Signature

ArdTheSheep

Rewrote it.  Again.

Updates this time: all 'clearsleep' commands have been removed. 

Happy now Raz?
Signature

Suicizer

So, are we able to drive cars yet?

ArdTheSheep

This was more a missions/cubescript new modes mod that i was gonna add with PPST.

If you want cars in sauer, go ask eihrul and he might add them in tess.

A lot of my shit is on hold, 1: school, 2: lazy, 3: because i only do sauer stuff when im in a sauer mood
Signature

Suicizer

Quote from: ArdTheSheep on November 16, 2013, 05:44:11 PM
This was more a missions/cubescript new modes mod that i was gonna add with PPST.

If you want cars in sauer, go ask eihrul and he might add them in tess.

A lot of my shit is on hold, 1: school, 2: lazy, 3: because i only do sauer stuff when im in a sauer mood

So project canceled till your retirement?

ArdTheSheep

More of, on hold until I feel like completing it.  (which shouldn't be too much of a wait, as I do sauer stuff frequently.)
Signature