Author Topic: Making skill commands.  (Read 1712 times)

0 Members and 1 Guest are viewing this topic.

Offline Drax

  • Soldier
  • **
  • Posts: 241
Making skill commands.
« on: February 24, 2014, 05:20:15 am »
How to make skill commends? like /flamer and player gets flamer or /heal or /nade you know what I mean? also things like passive skills etc.

Offline Akinaro

  • Flagrunner
  • ****
  • Posts: 749
Re: Making skill commands.
« Reply #1 on: February 24, 2014, 08:29:33 am »
to be honest, its Huge ass script that need even few days to make. You really need to know lots about scripting to do such skill based script.

Better find existing script and modify it to your needs.

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: Making skill commands.
« Reply #2 on: February 24, 2014, 11:14:19 am »
At this points /spawn id command is only available to the admins, a quick mock up might change that i think.

// Admin commands <3
function OnCommand(ID: byte; text: string): boolean;
begin
  result := false;

  delete(text, 1, 1);
  case lowercase(getpiece(text, ' ', 0)) of
    'spawn': if ID <> 255 then SpawnObject(getplayerstat(ID, 'X'), getplayerstat(ID, 'Y') - iif(StrToInt(getpiece(text, ' ', 1)) = 15, 8, 20), StrToInt(getpiece(text, ' ', 1)));
  end;

end;

Im chill like that

Offline Drax

  • Soldier
  • **
  • Posts: 241
Re: Making skill commands.
« Reply #3 on: February 24, 2014, 12:47:17 pm »
you have any scriptis Akinaro? or anyone? :)

Offline Akinaro

  • Flagrunner
  • ****
  • Posts: 749
Re: Making skill commands.
« Reply #4 on: February 24, 2014, 01:16:45 pm »
Well I think that by saying skills you mean rpg style skills and accounts with gold/manna. SO thats why I Sad that you need lots of experience to make such script.

So you could use one of few Shop/rpg script that you can find in: forums.soldat.pl/index.php?board=41.0
Just type in search bar shop or rpg you should see few results