Forum

> > CS2D > General > [WIP] Stargate
ForenübersichtCS2D-ÜbersichtGeneral-ÜbersichtEinloggen, um zu antworten

Englisch [WIP] Stargate

7 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt [WIP] Stargate

webnull
User Off Offline

Zitieren
Hello, im working on Stargate mod for Counter-Strike 2D.

Stargate is TV series, where earth people are travelling to another planets in another galaxies.

Progress of the mod:
http://www.youtube.com/watch?v=vAOWG-lAiiM

Many games already have Stargate mods.

Garry's Mod:
http://www.youtube.com/watch?v=IKTy7qxXoX8

Operation Flashpoint:
http://www.youtube.com/watch?v=ClLiKR7LvcI

Counter-Strike: Source:
http://www.youtube.com/watch?v=wIpnomIVTRE

Oblivion:
http://www.youtube.com/watch?v=HCNMeIdYSss

Second life:
http://www.youtube.com/watch?v=iG27I2hT-UA

And moore, more...

And ofcourse all mods are based on dialing from TV series, so there is video:
Stargate Universe ( Also the first gates are from Stargate SG-1 and second from SG:U ):
http://www.youtube.com/watch?v=Mh9Wj-pHnt8

Stargate: Atlantis:
http://www.youtube.com/watch?v=oIEQB0ACWd4


So... now is time make Stargate mod for Counter-Strike 2D.

Im using Garry's Mod to take screenshots of Stargates and its animations.

With GIMP im editing screenshots and creating animations for Counter-Strike 2D.

To place the Stargates you just must create configuration file in maps directory, name it same as map name.

The script will automaticaly place Stargates ready to dial.

I can do complete Stargate system, but i now have some problems.

1. How to play sound only on X and Y
2. FIX THE TIMER FUNCTION PLEASE...
3. Why there is no support for GIF in image lua function?


-- WebNuLL

alt Re: [WIP] Stargate

Vectarrio
User Off Offline

Zitieren
You can place env_sound on map, then write in lua
1
parse("trigger \"nameofentity\"")

alt Re: [WIP] Stargate

webnull
User Off Offline

Zitieren
Vectar666 hat geschrieben
You can place env_sound on map, then write in lua
1
parse("trigger \"nameofentity\"")


Thank you.
On this way i will lost chance to made Stargate placement on a map without editing a map file...

But can i create new entity with LUA script?

-- WebNuLL

alt Re: [WIP] Stargate

Matsu-Kiri
User Off Offline

Zitieren
do you have a DHD yet? I cant remember where i got mine, but if you need one i might be able to make you the sprite.

btw, are you going to add lua scripts in this, like sg member get p90, colt 1911, he grenade, flash, light amror, etc?

alt Re: [WIP] Stargate

webnull
User Off Offline

Zitieren
I can take pictures of DHD from Garry's Mod, its not a problem - and i will do this.

Zitat
btw, are you going to add lua scripts in this, like sg member get p90, colt 1911, he grenade, flash, light amror, etc?


So, i can do this, but it will be disabled by default.

-- WebNuLL

alt Re: [WIP] Stargate

Flacko
User Off Offline

Zitieren
Zitat
3. Why there is no support for GIF in image lua function?

Gif is not free like bmp or png

Zitat
But can i create new entity with LUA script?

No.

alt Re: [WIP] Stargate

goweiwen
User Off Offline

Zitieren
For the sound problem, I use this.
1
2
3
4
5
6
7
8
9
10
function radiussound(sound, x, y, radiusx, radiusy)
	if not (radiusx and radiusy) then radiusx, radiusy = 320, 240 end
	local x1, y1, x2, y2 = x-radiusx, y-radiusy, x+radiusx, y+radiusy
	for _, v in ipairs(player(0, 'table')) do
		if player(v, 'x') >= x1 and player(v, 'x') <= x2 and player(v, 'y') >= y1 and player(v, 'y') <= y2 then
			parse("sv_sound2 " .. v .. " " .. sound)
		end
	end
	return 1
end
It doesn't vary the volume based on distance, but does the job for me.

alt Re: [WIP] Stargate

webnull
User Off Offline

Zitieren
Zitat
weiwen


REALLY THANK YOU!

THIS IS WHAT I NEED!

So i will test it today, thank you again.

-- WebNuLL
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antwortenGeneral-ÜbersichtCS2D-ÜbersichtForenübersicht