Author Topic: No Spawn Kill v0.3  (Read 3189 times)

0 Members and 1 Guest are viewing this topic.

Offline zop

  • Major
  • *
  • Posts: 81
No Spawn Kill v0.3
« on: September 05, 2008, 10:01:36 am »
Script Name:No Spawn Kill v0.1
Script Description:I hate spawn kill...
Original Author(s):Zop
Core Version: 2.6.3
Code:Download and read if you need please. ^_^

How it work:
-Player will get no damage after spawn for 3 secs.
-Player will get damage like usual if spawn near flag.

I hate SK, but sometimes SK is needed to get flag.

20080908-01_update:v0.3
-Fixed HP bug.

20080906-01_update:v0.2
-Fixed m79 kill.
-You will get hurt by enemy when you respawn and then go close to flags even in first 3 secs.
-You can hurt self in first 3 secs.
« Last Edit: September 07, 2008, 06:06:23 pm by zop »

http://122.116.167.31:23238:23238/galavela/?inc=player&name=%5BTomato+Bird%5D+Cibo[/size=1]

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: No Spawn Kill v0.1
« Reply #1 on: September 05, 2008, 11:25:16 am »
What about bullet time?

Offline As de Espada

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1493
  • Mapper
    • My maps
Re: No Spawn Kill v0.1
« Reply #2 on: September 05, 2008, 12:33:33 pm »
wtf bullet time has to do with sk?
All my maps | my latest map: SoldatX Racing Mappack
me making a map on youtube: ctf_FastMade

Offline zop

  • Major
  • *
  • Posts: 81
Re: No Spawn Kill v0.1
« Reply #3 on: September 05, 2008, 01:59:28 pm »
bullet time?
I can't understand what you mean =.="

There is still a bug that M79 still hurt ppl. :(

http://122.116.167.31:23238:23238/galavela/?inc=player&name=%5BTomato+Bird%5D+Cibo[/size=1]

Offline zakath

  • Inactive Soldat Developer
  • Veteran
  • ******
  • Posts: 1224
    • Soldatladder
Re: No Spawn Kill v0.1
« Reply #4 on: September 05, 2008, 03:49:59 pm »
bullet time?
I can't understand what you mean =.="

There is still a bug that M79 still hurt ppl. :(

thats because m79 does an instant kill mostly

#soldat.mapping - #soldat.inc - #soldatladder - #soldat.gather.nordic

Offline amb2010

  • Camper
  • ***
  • Posts: 264
  • Fear the dot ...
Re: No Spawn Kill v0.1
« Reply #5 on: September 05, 2008, 05:16:31 pm »
wtf bullet time has to do with sk?

It still counts the shot so it goes into bullet time while doing no damage and at the moment I don't think you can change that...I haven't tested it much but other than that I don't see anything wrong..
And as the lyrics go in the United State's national anthem: "America, f**k YEAH!".

Offline Iq Unlimited

  • Flagrunner
  • ****
  • Posts: 864
  • mr. foobar2000
Re: No Spawn Kill v0.1
« Reply #6 on: September 05, 2008, 11:18:41 pm »
Quote
There is still a bug that M79 still hurt ppl.
make Result := -9999 instead of Result := 0 in OnPlayerDamage, because M79 bugs out when Result := 0;


Offline zop

  • Major
  • *
  • Posts: 81
Re: No Spawn Kill v0.1
« Reply #7 on: September 05, 2008, 11:51:57 pm »
Thanks for teaching and suggestion :D

result := (Damage - Damage);

This should work well.
« Last Edit: September 06, 2008, 03:43:07 am by zop »

http://122.116.167.31:23238:23238/galavela/?inc=player&name=%5BTomato+Bird%5D+Cibo[/size=1]

Offline freestyler

  • Soldat Beta Team
  • Camper
  • ******
  • Posts: 326
Re: No Spawn Kill v0.2 *Update
« Reply #8 on: September 06, 2008, 03:57:51 pm »
result := (Damage - Damage);

This should work well.
Don't you think result:=0 will work the same way, but without the need of calculating it every time?

Offline UPNPAD

  • Major(1)
  • Posts: 36
Re: No Spawn Kill v0.2 *Update
« Reply #9 on: September 06, 2008, 06:22:19 pm »
He probably means

Code: [Select]
Result := -1 * Damage;
or something similar.

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: No Spawn Kill v0.2 *Update
« Reply #10 on: September 06, 2008, 06:38:31 pm »
Thanks for teaching and suggestion :D

result := (Damage - Damage);

This should work well.

lol.
You must learn some math basics first.
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline Mr

  • Inactive Soldat Developer
  • Soldier
  • ******
  • Posts: 166
Re: No Spawn Kill v0.2 *Update
« Reply #11 on: September 07, 2008, 01:29:32 am »
A := A-A
is a basic math string, if you use it on a program language, then it will always set the variable A to 0. What xmRipper said is true, your scripts are nice, but... yes, X-X is always 0, that's basic math.

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: No Spawn Kill v0.2 *Update
« Reply #12 on: September 07, 2008, 01:58:46 am »
Tried.

Result;
result := 0 and result := damage - damage are the same.
Both, I killed with m79.
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline xmRipper

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 742
    • Personal
Re: No Spawn Kill v0.2 *Update
« Reply #13 on: September 07, 2008, 02:06:42 am »
He probably means

Code: [Select]
Result := -1 * Damage;
or something similar.

And yeah. This one works.
Co-Founder / CTO @ Macellan
Founder Turkish Soldat Community

Offline zop

  • Major
  • *
  • Posts: 81
Re: No Spawn Kill v0.2 *Update
« Reply #14 on: September 07, 2008, 03:18:28 am »
I apologized to everyone for my attitude.

I will try to add something to fix this problem.

Thanks for everthing.

Date Posted: September 07, 2008, 03:19:08 am
« Last Edit: September 07, 2008, 06:04:50 pm by zop »

http://122.116.167.31:23238:23238/galavela/?inc=player&name=%5BTomato+Bird%5D+Cibo[/size=1]