Dateien

> > CS2D > Lua Scripts > Customizable Turrets 1.01
DateiübersichtCS2D-ÜbersichtLua Scripts-Übersicht

Englisch Customizable Turrets 1.01 >

31 Kommentare6 kb, 839 Downloads

alt Customizable Turrets 1.01

mafia_man
User Off Offline

╔═══∗ Info

• Author: mafia_man
• Version: 1.01

╠═══∗ Changelog

╠═• 1.01
╠│It's now using tween_rotate which was bugged in earlier cs2d versions.

╠═══∗ Features

• Custom turrets.
• Destroyable turrets.
• Configurable.
• Highly customizable.
• Easy to use.
• Up to 9 turrets because of single menu. (But it can be expanded to infinite)

╠═══∗ Configurable things

• destroyonexit - True/False
╠│If true, then if owner of it will exit buildings will be destroyed.

• gfxbase - Path to graphics
╠│This is image will be drawn under turret barrel.

╠═══∗ Customizable turret fields

• name - String
╠│Name of turret.

• projid - Number (1-91)
╠│Projectile ID - thing which will be shot from turret.
╠│For more information see: cs2d cmd spawnprojectile

• health - Number (1-X)
╠│Health of turret, if it health will reach 0 when shot turrent will be destroyed

• price - Number (0-X)
╠│Price of turret, player have to pay when he builds it.

• gfx - Path to graphics
╠│This image will be drawn as turret barrel.

• shootself - True/False
╠│Depends on gamemode, if it's deathmatch and it's set to true it will only shoot owner of cannon.
╠│And if it's deathmatch and it's set to false then it will shoot everyone but owner.
╠│If gamemode is team based and it's set to true it will only shoot owner team members, else enemies.

• range - Number (0-X)
╠│Range of player detecting.

• flydist - Number (-1, 0-X)
╠│If -1 projectile will fly distance from turret position to player position, else it will use flydist number.

• shoot_delay - Number (1-X)
╠│Delay beetwen shots.

• aim_delay - Number (1-X)
╠│Aiming time (Time for turret to wait since it found player).
╠│It's also be going time for cs2d cmd tween_rotate which doesn't work currently.

• explode - True/False
╠│If true, building will explode when destroyed.

• exp_size - Number (1-X)
╠│Explosion size.

• exp_damage - Number (1-X)
╠│Explosion damage.

• f_if - Function(id, m, t)/Nil
╠│Additional condition for shooting projectile
╠│id - Player ID.
╠│m - Pointer to turret table.
╠│t - Pointer to turret configuration table.
╠│Function should return boolean, True if projectile can be shot or False/Nil if not.

╚═══∗ Conditional function example
1
2
3
4
5
6
7
f_if = function(id, m, t)
	if player(id, "health") < player(id, "maxhealth") then
		return true;
	else
		return false;
	end
end;
6× editiert, zuletzt 05.02.14 19:25:18
Zugelassen von Starkkz

Download Download

6 kb, 839 Downloads

Kommentare

31 Kommentare
Seite
Zum Anfang Vorherige 1 2 Nächste Zum Anfang

Logge dich ein!

Du musst dich einloggen, um selber Kommentare verfassen zu können!Einloggen

alt

Louie
User Off Offline

Nice script.
Ich mag es!

alt

like cs2d
User Off Offline

lol it look like american defense
Ich mag es!

alt

projr
GAME BANNED Off Offline

Not bad
Ich mag es!

alt

Ryden
User Off Offline

Nice Script but did other players can see the turret i customized ?
Ich mag es!

alt

hacked
User Off Offline

How can I make it shoot bullets?
Ich mag es!

alt

pbeloto
User Off Offline

have yes permiction EDIT?
Ich mag es!

alt

Crabby
User Off Offline

Looks like Mortars
Ich mag es!

alt

Zetax911
User Off Offline

i just created a server but i dont know how to make those turrets because when i load menu of wrench it doesnt appear btw cool mod
Ich mag es!

alt

limonata
User Off Offline

Awesome
Ich mag es!

alt

Infinite Rain
Reviewer Off Offline

Awesome, I glad to hear that someone finished this :).
Ich mag es!

alt

TK Gunz FBI
User Off Offline

I like and I can say a good word but just BANNANAS BEST TURRETS
Ich mag es!

alt

J_Lucas
User Off Offline

no words
Ich mag es!

alt

Rainoth
Moderator Off Offline

You, my bro, make world a better place. I can imagine the possibilities. Like once in 30 sec shoots a gas grenade within low range or Grenade launcher projectile + Walls. Think about the possibilities for Deathruns o.O AWESOME.
Ich mag es!

alt Tower Defence

DryDay
User Off Offline

This Script + Tower Defence map + bots Its Realy cool
Ich mag es!

alt

Gajos
BANNED Off Offline

PRO    
Ich mag es!

alt

RatedX
User Off Offline

What happened to you rage quitting Unrealsoftware.de?
Instead you remove me from Skype.
Ich mag es!

alt

Occasus
User Off Offline

Awesome script you got there, this is seriously must take a credit here.
Ich mag es!

alt

mafia_man
User Off Offline

Yeah I don't care if you edit them, it took me few minutes to make them.

alt Well done!

CY
Reviewer Off Offline

You've taken the crown! Awesome script and was it okay to edit the sprites you used for the script?
Ich mag es!
Zum Anfang Vorherige 1 2 Nächste Zum Anfang