Search found 669 matches

by L'In20Cible
Sun Jun 25, 2017 4:31 pm
Forum: Plugin Releases
Topic: Dissolver v1.3
Replies: 19
Views: 1048

Re: Dissolver v1.2

Could also be fixed easily by retrieving the ragdoll into your player_death event and use Entity.delay on it passing it to the dissolve method instead of passing the player so the delay gets cancelled if the ragdoll entity itself gets removed. This would also fix an exception into Player.from_userid...
by L'In20Cible
Tue Jun 20, 2017 2:54 pm
Forum: Plugin Releases
Topic: Dissolver v1.3
Replies: 19
Views: 1048

Re: Dissolver v1.2

If I remember correctly, back in the day Invincible explained something incorrect with SP and why INVALID_ENTITY_INTHANDLE doesn't work for checking for inthandle validity, and why -1 works (I might indeed be wrong about negative indexes - those besides -1 - in general). https://forums.sourcepython...
by L'In20Cible
Thu Jun 08, 2017 2:54 pm
Forum: Whatever
Topic: Free games!!
Replies: 15
Views: 1638

Re: Free games!!

VinciT wrote:Outland

Awesome, thank you! :smile:
by L'In20Cible
Fri May 26, 2017 2:06 am
Forum: Whatever
Topic: Free games!!
Replies: 15
Views: 1638

Re: Free games!!

Seems like I already had this game, so if anyone need a code, here is mine: 6VMWI-N2EJF-2BGKG
by L'In20Cible
Fri May 26, 2017 1:52 am
Forum: Whatever
Topic: Free games!!
Replies: 15
Views: 1638

Re: Free games!!

by L'In20Cible
Sun May 21, 2017 4:18 pm
Forum: General Discussion
Topic: [CSGO] Override win condition and panel
Replies: 2
Views: 167

Re: [CSGO] Override win condition and panel

You cannot change the displayed text. The server send an index (the reason) to the clients and they are responsible to display the text associated with it. From a server-side plugin, you can either block it or let it pass (by hooking some CCSGameRules method).
by L'In20Cible
Thu May 18, 2017 12:06 pm
Forum: Plugin Development Support
Topic: Delay Args Syntax Error
Replies: 4
Views: 170

Re: Delay Args Syntax Error

I'm not sure if this is possible. However you could create an info_null entity at the player's location, emit the sound from that entity and after the sound is done playing spawn it (an info_null get deleted when it spawns).
by L'In20Cible
Thu May 18, 2017 11:20 am
Forum: Plugin Development Support
Topic: Delay Args Syntax Error
Replies: 4
Views: 170

Re: Delay Args Syntax Error

Syntax: Select all

kwargs=dict(sample=SOUND_NAME, update_positions=False)
by L'In20Cible
Thu May 18, 2017 6:20 am
Forum: Plugin Development Support
Topic: Creating Decals
Replies: 4
Views: 164

Re: Creating Decals

Correct, you cannot remove it once it has been sent to clients. However, you cannot remove the one created by infodecal either. Once they are networked to clients, removing the entity server-side won't remove the decal displayed to them. The only way you have to remove decals, is to send the r_clear...
by L'In20Cible
Wed May 17, 2017 2:42 pm
Forum: Plugin Development Support
Topic: Creating Decals
Replies: 4
Views: 164

Re: Creating Decals

→ CTEWorldDecal from effects.base import TempEntity from engines.precache import Decal from mathlib import Vector te = TempEntity('World Decal') te.decal = Decal('decal.vmt') te.origin = Vector(0, 0, 0) te.create() EDIT: Example: https://forums.sourcep...
by L'In20Cible
Tue May 16, 2017 3:44 pm
Forum: General Discussion
Topic: Spawned weapons do not function correctly.
Replies: 5
Views: 199

Re: Spawned weapons do not function correctly.

It probably requires more work than just setting the origin of the weapon entity. Try to use Player.give_named_item or looking into CreateEntityByName into IDA to see what else you need to do to create a weapon from scratch.
by L'In20Cible
Mon May 15, 2017 1:19 pm
Forum: Plugin Requests
Topic: [HL2:DM] Show Damage
Replies: 9
Views: 369

Re: [HL2:DM] Show Damage

Hooking on_take_damage would be preferable.
by L'In20Cible
Fri May 12, 2017 3:21 am
Forum: Whatever
Topic: Free games!!
Replies: 15
Views: 1638

Re: Free games!!

by L'In20Cible
Thu Apr 27, 2017 10:20 pm
Forum: Plugin Development Support
Topic: [CSGO/HL2DM] OnEntityCreated called twice?
Replies: 2
Views: 148

Re: [CSGO/HL2DM] OnEntityCreated called twice?

Could you post the result of sp info?
by L'In20Cible
Wed Apr 26, 2017 10:19 pm
Forum: Plugin Development Support
Topic: Creating Player Hat
Replies: 4
Views: 197

Re: Creating Player Hat

decompile wrote:What are these attachements? And I couldnt find an available list for that cause.

Take a look at Entity.lookup_attachment which is a good example of how to iterate over attachments of a specific entity.
by L'In20Cible
Sat Mar 11, 2017 5:36 pm
Forum: Plugin Requests
Topic: [HL2:DM] Let bodies drop something
Replies: 25
Views: 1203

Re: [HL2:DM] Let bodies drop something

Painkiller wrote:The model is always pink and black.

That's normal. Into item_equipment.vmt, you can see the path of the vtf:

Code: Select all

models/items/item_equipment

So you need to place the file item_equipment.vmt and item_equipment.vtf file into the ../materials/models/items/* directory.
by L'In20Cible
Tue Feb 28, 2017 12:14 pm
Forum: Plugin Development Support
Topic: Error on take_damage
Replies: 10
Views: 384

Re: Error on take_damage

There is also a "Select all" option as header of the code block. ;)
by L'In20Cible
Tue Feb 28, 2017 8:59 am
Forum: Plugin Development Support
Topic: Error on take_damage
Replies: 10
Views: 384

Re: Error on take_damage

deal_damage is in your code:

Syntax: Select all

def deal_damage(victim_handle, damage, attacker_handle, weapon_handle):

Go to advanced search