Posts: 719
Threads: 69
Joined: Nov 2010
Reputation:
76
(01-08-2013, 06:29)[Z00MBY] Alex Wrote: But, PlayFX work only for Players currently on the map. If Player connect after PlayerFX, he sees no effect. If Player reconnect, effect also disappears.
Not sure why the game is doing that, sorry. I think the same thing would happen if it was done in GSC too.
A casual conversation between barata and I about Nukem.
Posts: 322
Threads: 43
Joined: Mar 2012
Reputation:
-4
(01-08-2013, 07:13)master131 Wrote: (01-08-2013, 06:29)[Z00MBY] Alex Wrote: But, PlayFX work only for Players currently on the map. If Player connect after PlayerFX, he sees no effect. If Player reconnect, effect also disappears.
Not sure why the game is doing that, sorry. I think the same thing would happen if it was done in GSC too.
JayDi said that he did permanent effect. Ask him.
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
(01-08-2013, 07:13)master131 Wrote: (01-08-2013, 06:29)[Z00MBY] Alex Wrote: But, PlayFX work only for Players currently on the map. If Player connect after PlayerFX, he sees no effect. If Player reconnect, effect also disappears.
Not sure why the game is doing that, sorry. I think the same thing would happen if it was done in GSC too.
It seems you found something wrong.
As i remember, same happened in mw2 with 'SpawnFx' and 'TriggerFx'.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Posts: 719
Threads: 69
Joined: Nov 2010
Reputation:
76
01-08-2013, 10:01
(This post was last modified: 01-08-2013, 10:02 by master131.)
Eh, I don't know. Pretty sure the function I found was PlayFX, it's just like the one in COD4. Could be something to do with the GSC functions that I omitted, but I'm pretty sure they were not needed because they returned the FX entity.
Anyway, just an update. I got a basic OnNotify working (aka, waittill). I can trace all the types/messages like spawned_player, death and other stuff but so far no parameters yet or who the message belongs to. It involved function hooking (yes, in C#, but hey, it works).
A casual conversation between barata and I about Nukem.
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
01-08-2013, 10:40
(This post was last modified: 01-08-2013, 10:42 by Nekochan.)
(01-08-2013, 10:01)master131 Wrote: Eh, I don't know. Pretty sure the function I found was PlayFX, it's just like the one in COD4. Could be something to do with the GSC functions that I omitted, but I'm pretty sure they were not needed because they returned the FX entity.
Anyway, just an update. I got a basic OnNotify working (aka, waittill). I can trace all the types/messages like spawned_player, death and other stuff but so far no parameters yet or who the message belongs to. It involved function hooking (yes, in C#, but hey, it works).
Really?
I you. ( no gay )
Just what i needed.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Posts: 719
Threads: 69
Joined: Nov 2010
Reputation:
76
01-08-2013, 12:16
(This post was last modified: 01-08-2013, 12:19 by master131.)
Alright, figured out how to verify which entity/client the notify event was meant for. Now to get the parameters associated with the notify event. Once I get that figured out, I can put SetCanDamage back.
A casual conversation between barata and I about Nukem.
Posts: 42
Threads: 3
Joined: Dec 2012
Reputation:
0
I cannot compile, you can lay out a ready made addon?
Posts: 719
Threads: 69
Joined: Nov 2010
Reputation:
76
(01-08-2013, 12:20)SaviouR9966 Wrote: I cannot compile, you can lay out a ready made addon?
What errors/warnings are you getting?
This is what I'm using to test the stuff:
http://pastebin.com/raw.php?i=CgzsWpP7
A casual conversation between barata and I about Nukem.
Posts: 42
Threads: 3
Joined: Dec 2012
Reputation:
0
(01-08-2013, 12:28)master131 Wrote: (01-08-2013, 12:20)SaviouR9966 Wrote: I cannot compile, you can lay out a ready made addon?
What errors/warnings are you getting?
This is what I'm using to test the stuff:
http://pastebin.com/raw.php?i=CgzsWpP7
No mistakes. just when I compile I added a link to this addon, but for some reason he does not work. I write: using addon2; but he does not appear. So I think it may have a bug in the compiler. Can you describe in detail how to compile this addon.
Posts: 3,704
Threads: 147
Joined: Jan 2011
Reputation:
119
(01-08-2013, 12:50)SaviouR9966 Wrote: (01-08-2013, 12:28)master131 Wrote: (01-08-2013, 12:20)SaviouR9966 Wrote: I cannot compile, you can lay out a ready made addon?
What errors/warnings are you getting?
This is what I'm using to test the stuff:
http://pastebin.com/raw.php?i=CgzsWpP7
No mistakes. just when I compile I added a link to this addon, but for some reason he does not work. I write: using addon2; but he does not appear. So I think it may have a bug in the compiler. Can you describe in detail how to compile this addon.
Bug in compiler.. heheh
Are you sure that you switched net framework to 3.0?
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
|