Author Topic: Need a weapon buy system for Zombieserver  (Read 1310 times)

0 Members and 1 Guest are viewing this topic.

Offline Pelle123

  • Major(1)
  • Posts: 8
Need a weapon buy system for Zombieserver
« on: August 04, 2008, 10:57:29 am »
Hi! I need a system for my INF Zombie server that allows players to buy weapons by "/buy <weapon>"...

The players would get money for killing zombies and human players could not join Bravo team.

Where/how could I get this? :(

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: Need a weapon buy system for Zombieserver
« Reply #1 on: August 04, 2008, 11:21:36 am »
If you want a basic shop script , here it goes. This script created by Curt(DorkeyDear)

Quote
and human players could not join Bravo team.

for that you could just add this simple procedure to this shop script

Code: [Select]
procedure OnJoinTeam(ID, Team: byte)
begin
  if (Team = 2) and (GetPlayerStat(ID,'human')) then do
  Command('/setteam1 '+inttostr(ID));
end;
What it does is when a real player (real, means not a bot) join bravo team it gets switched back to alpha team.

« Last Edit: August 04, 2008, 11:28:34 am by Norbo »

Offline Pelle123

  • Major(1)
  • Posts: 8
Re: Need a weapon buy system for Zombieserver
« Reply #2 on: August 04, 2008, 11:24:17 am »
I already tried it but I wasnt able to buy weapons... (atleast with /buy WEAPONNAME)

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: Need a weapon buy system for Zombieserver
« Reply #3 on: August 04, 2008, 11:28:00 am »
I already tried it but I wasnt able to buy weapons... (atleast with /buy WEAPONNAME)
what you mean? do you know how to put scripts to your server?

Offline Pelle123

  • Major(1)
  • Posts: 8
Re: Need a weapon buy system for Zombieserver
« Reply #4 on: August 04, 2008, 11:30:55 am »
I know how to put the script in but I wasnt able to buy weapons :o


Offline Irlandec

  • Soldier
  • **
  • Posts: 176
Re: Need a weapon buy system for Zombieserver
« Reply #5 on: August 04, 2008, 01:56:37 pm »
Script , that Norbo has given , provides grenades , health and bonus kits.

Offline Pelle123

  • Major(1)
  • Posts: 8
Re: Need a weapon buy system for Zombieserver
« Reply #6 on: August 04, 2008, 02:03:21 pm »
It would be great but I need a money system where you need to buy weapons. (starts with no weapon)

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: Need a weapon buy system for Zombieserver
« Reply #7 on: August 04, 2008, 02:11:59 pm »
dude... you sound like:

"oh hait her can i plx has som ppl thaz canz giv ne a awesum zombiz scripts plskthxb?"

Nobody will make scripts just for you on a certain requirements... i mean u say you want somthing and they just do it for you... learn to script yourself, its not hard

and yes, the script i gave does provides grenades health and bonus kits, but you can easly change it to wepons... Just change the spawn object values and add all the wepons...

« Last Edit: August 04, 2008, 02:13:32 pm by Norbo »

Offline Pelle123

  • Major(1)
  • Posts: 8
Re: Need a weapon buy system for Zombieserver
« Reply #8 on: August 04, 2008, 03:47:33 pm »
Okay well sorry, I wasn't supposed to sound like "oh hait her can i plx has som ppl thaz canz giv ne a awesum zombiz scripts plskthxb?  ::)

I tthink I'm then trying out to modify the script myself... BTW Is there any scripting tutorials anywhere you would suggest?  ;)

[EDIT]

Lol or is there any program that would check where the script has a problem as I got no idea where it is... (after editing the script...)

[EDIT2]

I just want to make the items buyable by saying their names and add weapons, buyable in the same way... Could someone even point me some direction where to edit/add something?
« Last Edit: August 04, 2008, 04:12:01 pm by Pelle123 »

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: Need a weapon buy system for Zombieserver
« Reply #9 on: August 04, 2008, 04:00:50 pm »
Okay well sorry, I wasn't supposed to sound like "oh hait her can i plx has som ppl thaz canz giv ne a awesum zombiz scripts plskthxb?  ::)

I tthink I'm then trying out to modify the script myself... BTW Is there any scripting tutorials anywhere you would suggest?  ;)

[EDIT]

Lol or is there any program that would check where the script has a problem as I got no idea where it is... (after editing the script...)
No need for tutorials if you want to noodle round in soldat scripting. just learn from http://enesce.com/help/ (which is what most ppl learn from)
Also the best way to learn is to download simple scripts, experiment, modify them, and learn.

Offline Pelle123

  • Major(1)
  • Posts: 8
Re: Need a weapon buy system for Zombieserver
« Reply #10 on: August 04, 2008, 04:34:10 pm »
Okay thanks for trying to help but I must forget about this because I really don't have so much time that I could learn making that huge scripts...  There is actually one server which has the script (100%) I'm looking for:

!KR | Zombie Hellfire      {IP: 72.232.225.69}

I was just going to have fun with my friend in a Zombie server owned by me but I must say it seems its's not happening.  :(


Offline saad786

  • Major(1)
  • Posts: 35
Re: Need a weapon buy system for Zombieserver
« Reply #11 on: August 04, 2008, 09:32:25 pm »
Once u fix it ima try the server for sure

Offline rayanaga

  • Soldier
  • **
  • Posts: 143
  • ~Fur flying~
    • Kryonex
Re: Need a weapon buy system for Zombieserver
« Reply #12 on: August 05, 2008, 02:28:19 pm »
Well, I built the Zombie Hellfire Script from scratch so good luck downloading it on the forums. xD

I was really taking into mind letting a few people use it and I will take you to mind.

Do you have a 24/7 server or are you wanting to host it on your home computer?

Private Message me.
[kY] Kryonex - Your local zombie fanatics.
http://www.kryonex.com/