Forum

> > CS2D > Scripts > [Script Request] Boxing/Fighting (open for ideas)
Forums overviewCS2D overview Scripts overviewLog in to reply

English [Script Request] Boxing/Fighting (open for ideas)

6 replies
To the start Previous 1 Next To the start

old [Script Request] Boxing/Fighting (open for ideas)

8Ball
User Off Offline

Quote
Hello all, I am in need of some help with lua, since I have no idea what to do.

I have made a boxing map, and thought it would be funner if it had a few other things in it.. like the following:

1
2
3
4
5
6
7
8
9
• Pop-Up Ranking System. (player presses F4 and a 'cs2d window' pops up and shows all of the player's (whom have joined the server) names, rank, and number of wins and loses. I just want the top 10 players on the list. Is it possible to do?
	
• Player spawns with the zombie claw weapon equipped. And to not be able to drop it. (this will be how the player punches)
	
• Make the zombie claw to be able to attack faster, after every win. 
-----OR-----
• Make the zombie claw attack with more power, after every win.
	
• This probably won't be required, but could there be a way to 'charge' the attack? Like hold the right click (with a zombie claw equiped) and be able to attack with a powerful hit, after a certain time delay?

I am also open for ideas, so don't be shy.

I currently have Bownok helping me at the moment, but thought other people may be interested in helping.

So if anyone could please help, I'll give you (and everyone else who helps) a big thank-you and give you all credit for the lua.

Oh, and here is what I have so far on the boxing ring and chairs, for spectators. xP
IMG:https://i53.tinypic.com/350uqo2.jpg
edited 2×, last 18.07.11 04:45:20 am

old Re: [Script Request] Boxing/Fighting (open for ideas)

Apache uwu
User Off Offline

Quote
>Pop-up ranking system.

     This is basically image() as well as hudtxt2().

>Player spawns with the...
     
     Very easy parse, and then return 1 on attempt to drop.

>Make the zombie claw...

     Changing game elements it dead impossible--and if you do it doesn't matter, client side is client side.
     
     If it's damage then it's easy, when a player hits another player, you ignore the damage, then implement your own damage factor by how many times the attacker has 'won'.

>Charge attack...
     
     There is no 'held' event in CS2D, you could make it so that the player has to spam pressing [E] to fill up the meter, then when the meter is full and the player has not attacked since it was charging it would release a very powerful attack, potentially a damage radius splash.


>I would add a slight damage push, as well as gradual healing. I would also like to add a burst of speed while you are attacking, so you actually move towards your mouse when you attack a little.

•A easy save/load system, and some sick hit damage sounds.

•You could spawn random objects around the map, as well as buildings and NPCs

•And speedmod advanatges

Good luck

old Re: [Script Request] Boxing/Fighting (open for ideas)

8Ball
User Off Offline

Quote
Koss, get on XFire. Lol.

I don't think players would like to keep hitting 'E' to fill up the bar. But maybe that's just me. It's a very good idea though.

And maybe the 'increase damage after every win' is a bad idea. Because if a player wins like 200 matches, I am afraid it would be a 1 hit KO.

Good idea, on gradually healing. I don't understand what you mean by 'burst of speed while you are attacking' though. Do you mean move faster when you attack?

Is there an easy save/load system available that i can use? or would someone have to make it.

I was thinking about adding a few sprites/images around the map that leave and enter after a certain amount of time has passed. I even thought about camera flashes when the players are in the ring, LOL.

What do you mean by speedmod advantages.
edited 2×, last 18.07.11 05:01:52 am

old Re: [Script Request] Boxing/Fighting (open for ideas)

Apache uwu
User Off Offline

Quote
>Well there must be some type of spam to fill up the charge meter--since there is no held event in cs2d.

>Oh and the damage increased is very VERY VERY little, when a player loses a match his attack power goes down. So only if the player is extremely pro, I doubt anyone would win 200 matches...unless they are boosting or something x.x.

>Burst of speed, it's not speed mod. When you attack the game will automatically push you into the direction you are moving in (attack2 only). Like this...

>Lets see what save & loads you need to have.

>Wins, Loses, Level, Skin

>Wins--how many times a player has won
Loses--how many times a player has won
Level--how many levels (1kill = 1level, 2kills = 2level, 4=3, 8=5, etc, etc)
Skin--player can choose a skin from many skins when he/she has reached a level

>Oh like fake spectators that are images. Possible, I was thinking that real players would be able to join and bet on who is going to win, the money could be used to obtain skins or special temporary or permanent powers.

>Burst of speed I mentioned before, the player would be able to have a quicker burst of speed.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview