Search found 9 matches

by derkalle
Sat Mar 18, 2023 5:42 pm
Forum: Plugin Development Support
Topic: [CS:S] how to create a buyzone
Replies: 8
Views: 8655

Re: [CS:S] how to create a buyzone

Hi, just wanted to let you know how I got it working. I don't understand why I can set a bsp file as model, but it works, though. from engines.server import global_vars from entities.entity import Entity def create_buyzone(origin, mins, maxs, team_index): tmpEntity = Entity.create('f...
by derkalle
Sat Mar 18, 2023 4:31 pm
Forum: Plugin Development Support
Topic: [CS:S] how to create a buyzone
Replies: 8
Views: 8655

Re: [CS:S] how to create a buyzone

Thanks, makes sense! :)
by derkalle
Sat Mar 18, 2023 4:12 pm
Forum: Plugin Development Support
Topic: [CS:S] how to create a buyzone
Replies: 8
Views: 8655

Re: [CS:S] how to create a buyzone

Ah okay, now I understand, thanks for the example code. So it is not quite easy to achieve. Many thanks for the hints. I will see on what I can do. Do you know whether these existing brushes can be resized or do I have to deal with their current size? As well as cloning them would be an option.
by derkalle
Sat Mar 18, 2023 3:09 pm
Forum: Plugin Development Support
Topic: [CS:S] how to create a buyzone
Replies: 8
Views: 8655

Re: [CS:S] how to create a buyzone

Many thanks for the incredible fast reply. Okay, I see that I could work with that as a workaround. Main goal for me is to change different aspects of different maps, including spawns but also a lot of other stuff because some mappers did things that do not work well. I could go with your solution a...
by derkalle
Sat Mar 18, 2023 1:30 pm
Forum: Plugin Development Support
Topic: [CS:S] how to create a buyzone
Replies: 8
Views: 8655

[CS:S] how to create a buyzone

Hi, I have trouble creating a buyzone. Somehow it gets created (EntityIter shows it) and I can position it where I want. But it does not get triggered. I have seen some Sourcemod and AMX mod which utilize func_buyzone and they simply "spawn" and "activate" it along with the team ...
by derkalle
Mon Dec 05, 2022 9:35 pm
Forum: Plugin Development Support
Topic: [CS:S] how to set team score properly?
Replies: 3
Views: 2678

Re: [CS:S] how to set team score properly?

Many thanks! :) learning everyday about Sourcepython and I really like the possibilites!
by derkalle
Mon Dec 05, 2022 5:10 pm
Forum: Plugin Development Support
Topic: [CS:S] how to set team score properly?
Replies: 3
Views: 2678

[CS:S] how to set team score properly?

Hi all, found a problem while setting the team score. It seems to work but it will reset after the end of the next round. I wanted to have this to be able to switch teams after 50% of the rounds are over. This is what I came up with def set_team_score(self, team, score): for entity in EntityIter('cs...
by derkalle
Mon Nov 28, 2022 5:24 pm
Forum: Plugin Development Support
Topic: [CS:S] how to change player model pose/animation?
Replies: 2
Views: 1801

Re: [CS:S] how to change player model pose/animation?

Many thanks for the fast reply!

Seems it is not possible to change it via some commands in-game. So I will have to modify the mdl file somehow and make myself familiar on how to do that!
by derkalle
Sun Nov 27, 2022 6:37 pm
Forum: Plugin Development Support
Topic: [CS:S] how to change player model pose/animation?
Replies: 2
Views: 1801

[CS:S] how to change player model pose/animation?

Hi everyone, I am currently looking more deeply into changing stuff on Counter-Strike:Source including the ability to change the hostages model. Normally you find a lot of models online but they all have a default pose where one does hold a weapon. I know there should be multiple animations a player...

Go to advanced search