Author Topic: Leveling & EP script in developmnet for 2.6.0  (Read 6501 times)

0 Members and 1 Guest are viewing this topic.

Offline Clawbug

  • Veteran
  • *****
  • Posts: 1393
  • 1184!
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #20 on: February 03, 2007, 07:02:39 am »
Hmm, sounds and looks interesting. I wish there was a way to set a respawntime for every invidual player. You could shorten your respawn time as a skill, or ability. Could come handy in CTF, I think.
Fight! Win! Prevail!

Offline Will

  • Flagrunner
  • ****
  • Posts: 910
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #21 on: February 03, 2007, 08:11:22 am »
I think this would be cool for a singleplayer game. Could you like , deny the usage of an X weapon till you're X level. This would be really useful for spells and such.

SINGALPLEYAR HUZZAH!!!!!

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #22 on: February 03, 2007, 08:40:16 am »
I think this would be cool for a singleplayer game. Could you like , deny the usage of an X weapon till you're X level. This would be really useful for spells and such.

yes thats possible, with the finished script, you get the minigun as the ultimate gun if your reach the maximum level (maximum level can be customly defined). the minigun is disabled till then and then enabled at max level for that individual player as some ultimate gun.

@Clawbug:
yeah i thought of such skill, using the /setteam command to let the person immediatly respawn after death. but this terribly spawn the console with "X has joined alpha team" messages ;)

So far, i thought of making 3 spell classes, that improve and are learned every X levels. once you reach the required level, you are asked which of the spells of this class you want to learn:

Healing Spells - improves every 2 Levels - Choose between these spells:
-Instant Heal (on command, 1 minute cooldown): Heals you for 100%. With higher levels, you will heal even more than 100% of your max health and the cooldown decreases.
-Regeneration: Heals you for a small amount of health with every second. Heals faster if you are at very low health. Amount healed increases with higher level.
-Vampirism: Heals a big amount of health on kill and gives you some extra Expirience. Amount healed increases with higher level.

Summon Spells - improves every 5 levels - Choose between these spells:
-Summon Ghouls (on command, 3 minutes cooldown): Summons a couple of Ghouls with chainsaw on your team to protect your base for few seconds. Number of Ghouls, duration increases with higher level. Cooldown decreases with higher level.
-Summon Flame Spirit (on command, 5 minutes cooldown): Summons a mighty modded flamethrower wielding Flame Spirit on charlie team with LOTS of health that attacks everyone in the game. Duration increases with higher level, cooldown decreases.

Weapon Spells - improves every 3 levels - Choose one of these spells:
-Instant Reload (on command, 1 minute cooldown): instantly reloads your magazine with some extra ammo. Amount of Extra ammo increases with higher level, cooldown decreases
-Disarm (on command, 1,5 minutes cooldown): Disarms the nearest enemy for a couple of seconds. Duration increases with level, cooldown decreases.
-Carrion Ammo: Has a certain % chance to instantly reload your magazine on kill. % chance increases with higher level.
« Last Edit: February 03, 2007, 10:36:55 am by Avarax »
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline Krillious

  • Camper
  • ***
  • Posts: 324
  • If you were a hindu I could aim for the dot
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #23 on: February 03, 2007, 08:47:00 am »
how does it 'ask' you? a server message? and do you just type the answer?
and will the minigun be like your hovergun? :p

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #24 on: February 03, 2007, 10:29:10 am »
yeah it will ask you via a private server message. then you have to choose by writing /1, /2 or /3 in the console

you can mod the minigun however you wish, the script is quite customizable... i modded it as a flak gun firing cluster fragments... not too overpowered, yet very nice to keep opponents at range
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline mxyzptlk

  • Veteran
  • *****
  • Posts: 1493
  • The Panda Ninja
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #25 on: February 03, 2007, 01:21:17 pm »
Nice.

ONLY for 2.6.0?
*whine*

"While preceding your entrance with a grenade is a good tactic in
Quake, it can lead to problems if attempted at work." -- C Hacking

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #26 on: February 05, 2007, 12:29:39 pm »
lookey, i'm making some graphics for the manual of the script :D


---Warmth---

Category: Healing, Static

Heals you for 2% HP each second
If you are under one third of you maximum health, Warmth will regenerate 5% HP each second instead.
« Last Edit: February 06, 2007, 08:36:03 am by Avarax »
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline M.rSnow

  • Camper
  • ***
  • Posts: 482
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #27 on: February 05, 2007, 03:34:41 pm »
Nice addon to the script :)
(still want savexp)
Lapis: You need a vacation or a bullet though the head both works just fine by me.

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #28 on: February 05, 2007, 06:14:27 pm »
---Conjure Clip---

Category: Offensive, Spell ('/ofs')
Cooldown: 90 seconds

Instantly renews your ammo and even gives you some extra bullets.
The number of extra bullets is  X % of the default ammo of your gun, where X is (20 + 5 * skilllevel).
Cooldown decreases by 10 seconds per skilllevel.
« Last Edit: February 06, 2007, 08:59:51 am by Avarax »
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline Apocalypse

  • Major
  • *
  • Posts: 59
  • Who is the wiseman? beggar or king?
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #29 on: February 05, 2007, 06:44:06 pm »
cool  :o

could there maybe be a /sniper cmd where a sniper with like %99 accuracy guards where you sit or like /kruger and then 2 krugers follow you around?
Skin against skin blood and bone
You're all by yourself but you're not alone
You wanted in now you're here
Driven by hate consumed by fear


Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #30 on: February 06, 2007, 08:58:49 am »
---Disarm---

Category: Defensive, Spell ('/def')
Cooldown: 120 seconds

Disarms your nearest opponent for X seconds, where X is (2 + (skilllevel / 2)).
Cooldown decreases by 10 seconds per skilllevel.
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #31 on: February 06, 2007, 12:36:48 pm »
woow :o nice work
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #32 on: February 06, 2007, 02:44:33 pm »
Well here is a definate list of spells and talents that will be in the script. you can learn and improve only one spell / talent out of each category:

Category: Healing
Warmth: static, regeneration
Holy Medikit: spell, 100% heal
Vampirism: static, life leech

Category: Defense
Disarm: spell, disarms nearest enemy for a short duration
Evasion: static, gives you a chance to avoid damage
Thorns: static, redirects an amount of damage to the damage dealer

Category: Offense
Conjure Clip: spell, reloads your magazine and gives some extra ammo
Carrion Ammo: static, gives you a chance to instantly reload with each kill
Critical Strike: static, gives you a chance to do double or even triple of the normal damage

Category: Summoning
Summon Ghoul: spell, summons some chainsaw bots on your team for some time
Summon Flame Spirit: spell, summons a mighty flame bot on charlie team for some time
Summon Spellshield: spell, summons a shield to block the next spell casted, also negates some static effects that would affect you in a negative way


the script is about 500 lines long already, including 3 out of the 12 spells and the levelling and spell-learning system
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #33 on: February 06, 2007, 02:55:05 pm »
Sounds like a nice script and I like those graphics for the manual.

But how do you determine the closest player, just wondering how you figure that out with GetPlayerXY()
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #34 on: February 06, 2007, 03:25:04 pm »


Pythagoras says:
c²=a²+b²

Avarax says:
Code: [Select]
        GetPlayerXY(caster,X1,Y1);
        temp:=999999;
        nearest:=0;
        for i:=1 to 32 do
        If i<>caster then
          begin
            GetPlayerXY(i,X2,Y2);
            If (X2<>0) and (Y2<>0) {and GetPlayerStat(i,'Alive')} then
              begin
                temp2:=sqrt((X1-X2)*(X1-X2)+(Y1-Y2)*(Y1-Y2));
                If temp2 < temp then
                  begin
                    temp:=temp2;
                    nearest:=i;
                  end;
              end;
          end;

This part:
   temp2:=sqrt((X1-X2)*(X1-X2)+(Y1-Y2)*(Y1-Y2));
is equal to what Pythagoras says and calculates the range from Soldier A to Soldier B. The rest is for finding out which is the nearest.
« Last Edit: February 06, 2007, 03:27:32 pm by Avarax »
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline Frenchie

  • Camper
  • ***
  • Posts: 358
  • SoldatHQ
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #35 on: February 06, 2007, 04:18:15 pm »
Wow thats a good way of doing it. ;D
Code snippet saved.

Can't wait till its out.
Soldat Lobby Avec Players -New Release! - Updated AGAIN!


Offline M.rSnow

  • Camper
  • ***
  • Posts: 482
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #36 on: February 08, 2007, 04:46:54 pm »
Question!
You typed:
---Conjure Clip---

Category: Offensive, Spell ('/ofs')
Is "/ofs" the command in game?
Lapis: You need a vacation or a bullet though the head both works just fine by me.

Offline Avarax

  • Veteran
  • *****
  • Posts: 1529
    • Official Hexer & MMod site
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #37 on: February 08, 2007, 06:11:05 pm »
yap

/ofs = shortcut for all offensive spells

here is another thread in General Discussion btw, if you havent noticed yet:
http://forums.soldat.pl/index.php?topic=10754.0
i introduced the EP system there and answered some other questions there
I like to have one Martini
Two at the very most
Three I'm under the table
Four I'm under the host

Offline ghg

  • Camper
  • ***
  • Posts: 411
  • Village Idiot
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #38 on: February 09, 2007, 08:24:44 am »
Looking very promising so far. I look forward to playing this.
-=Gradius wuz you=-

Offline coolhunt

  • Major(1)
  • Posts: 25
Re: Leveling & EP script in developmnet for 2.6.0
« Reply #39 on: August 01, 2007, 02:51:41 pm »
sorry i have a stupid question but i am new here

where i have to include the script

soldat/scripts and then?

socketcore.pas
core.pas
includes.txt
networkcore
or admincore?
www.dieteam.de.vu

soldat : 192.168.5.27 : 23073