Forum

> > CS2D > General > Ideas for CS2D - READ THE FIRST POST (OP)!
Forums overviewCS2D overviewGeneral overviewLog in to reply

English Ideas for CS2D - READ THE FIRST POST (OP)!

3,231 replies
Page
To the start Previous 1 236 37 38161 162 Next To the start

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Necr0
User Off Offline

Quote
@user Marcell: that would be great

An objectspawn hook would be nice.
An objectmove hook for NPCs would also be nice.
A possibility to set the NPC's (or even every object's) position (and rotation?) would be awesome. Exmpl.:
1
setobjectpos(id,x,y[,rot])
or
1
parse("setobjectpos "..id.." "..x.." "..y[.." "..rot])

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Pagyra
User Off Offline

Quote
user Necr0 has written
@user Marcell: that would be great

An objectspawn hook would be nice.
An objectmove hook for NPCs would also be nice.
A possibility to set the NPC's (or even every object's) position (and rotation?) would be awesome. Exmpl.:
1
setobjectpos(id,x,y[,rot])
or
1
parse("setobjectpos "..id.." "..x.." "..y[.." "..rot])


3 functions for you...
P.S. For future - sometimes try to experiment with getting data from objects values.
Spoiler >
edited 1×, last 23.10.13 02:24:39 pm

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Necr0
User Off Offline

Quote
@user Pagyra: i didn't even know that it's possible to access the npc's image.
i experimentented around with it a little bit but its not actualy possible to set the npcs position and rotation
(yeah i know the only situation i would see a difference is if there is no player nearby).
if i would do it per cs2d lua cmd imagepos because as soon as i stop setting the position of an npc it would start move back to where it came from(even through walls).
And also as soon as you stop setting the object's rotation it turns back(tested in a closed room).
and i know it is possible to detect movement and spawn per lua i made a function for it and put it as an event in my own event hander(yet only for spawn) but it would be much easier with the hooks for it.
edited 1×, last 24.10.13 01:25:42 pm

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Pagyra
User Off Offline

Quote
@user Necr0: Do not look for simple ways - you will find the truth ...
@user Rainoth:
You can in moment attack of turret, stop it and create projectile which you'll need.

1 - Zombie (id 249 weapon)
2 - Headcrab (id 249 weapon)
3 - Snark (id 249 weapon)
4 - Vortigaunt (id 249 weapon)
5 - Soldier (id 248 weapon)

8 - Turret (id 253 weapon)
11 - Dual Turret (id 253 weapon)
12 - Triple Turret (id 253 weapon)

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Rainoth
Moderator Off Offline

Quote
@user Pagyra: You didn't quite understand me. Well you probably didn't read my thread either. Anyways, I want turrets to have different weapon IDs because the shots from turret 1/2/3 are all the same (just like you said) so I can't check if I was hit by a single/double/triple turret because it returns me 253 (turret shot) at any time. I want the shots to be same but be different for each type of turret.

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Pagyra
User Off Offline

Quote
user Rainoth has written
@user Pagyra: You didn't quite understand me. Well you probably didn't read my thread either. Anyways, I want turrets to have different weapon IDs because the shots from turret 1/2/3 are all the same (just like you said) so I can't check if I was hit by a single/double/triple turret because it returns me 253 (turret shot) at any time. I want the shots to be same but be different for each type of turret.


@user Rainoth: You can check it as this:
Spoiler >


@user Necr0: If you imitate the movement of object - then destroy it when object image reaches end coordinates and then spawn it with the current coordinates/and rotation.
edited 3×, last 24.10.13 08:31:33 am

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

ShouldBeNew
BANNED Off Offline

Quote
For the move, use object there should be an option called:
1 Time
Which could allow us to press a button, move to that position only 1 time. We should need them for message cause it appears that players spam with it.

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Rainoth
Moderator Off Offline

Quote
Option to allow longer strings in names.

Example :

parse("mp_longname 1")

will allow
Name of something something [GN]Raining Mammoths


I guess it COULD be abused but if the server automatically sets the names. I think it could be really handy to show people everyone's location/ranks/health and all the other things that you might want others to know about when you're creating a mod.

user iii created a script that shows it so it's fine for him because the strings although are 2 word long, it's not a problem because his name is 3 letters long. But my name (and most of other's) gets cut off to just "Rai","Rain"...

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Rainoth
Moderator Off Offline

Quote
user EP has written
@user Rainoth: yeah i'd be able to set my name to "raining mammoths is a flying potato with poop wings  "


That's why I said that it could be turned off. I'd obviously make it impossible to abuse such a thing. I'd use it to be able to input my own strings from scripts/game info and you wouldn't have enough space for your personal crap. The names are already long enough to write senseless stuff.

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

FlooD
GAME BANNED Off Offline

Quote
user FlooD has written
DC, this has been suggested a few times before, but can you make a sv_sound3 command
like
sv_sound3 <id> <soundfile> <x> <y>
where x and y are the map positions of the sound. if you can do this i swear i'll never bug you about lag comp again

actually now that i think about it, fixing lag comp would be easier than implementing this simple command

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

XeniTh
User Off Offline

Quote
The awp scope is ridicilous... why pressing right click increases damage and doesnt let you see stuff?

the worst is if you zoom x2... i cant hit anyone with that little scope.

the right click should allow you to pan the camera around.
now THATS a 2d sniper.

old Re: Ideas for CS2D - READ THE FIRST POST (OP)!

Avo
User Off Offline

Quote
Transparency parameter for "effect" command.
1
effect <name> <x> <y> <p1> <p2> <r> <g> <b> <trans.>
For example:
1
effect "colorsmoke" 100 90 20 20 255 0 0 0.5
would give red, semi-transparent smoke.
To the start Previous 1 236 37 38161 162 Next To the start
Log in to replyGeneral overviewCS2D overviewForums overview