Search found 84 matches

by Speed0x
Sun Jul 25, 2021 11:24 am
Forum: Plugin Development Support
Topic: Disable Skybox dynamically
Replies: 0
Views: 2926

Disable Skybox dynamically

Hey, does anybody know if it is possible to toggle the 3D skybox ON/OFF for a specific player via sp? ( not the skyname/skytexture, but what's visible via sky_camera ) from what i looked into it is possible to change Playerproperties, but they can't toggle it on/off, only change local viewdata: Play...
by Speed0x
Mon Jul 12, 2021 3:58 pm
Forum: Plugin Development Support
Topic: enable voicechat in danger zone
Replies: 8
Views: 4549

Re: enable voicechat in danger zone

If args[3] is always False it can either mean that there is nothing being broadcasted or that the server mutes the clients. You can try if setting it to True has an effect. yeah i already tested with a friend and it works :) it seems the dangerzone mode each tick sets the listening to False in &quo...
by Speed0x
Mon Jul 12, 2021 3:31 pm
Forum: Plugin Development Support
Topic: Can we make player jump with source python?
Replies: 6
Views: 18462

Re: Can we make player jump with source python?

look for onplayerruncommand for forcing the jump. depending on what you want to with the velocity you could inject into the Event('player_jump'). i think this post can be useful or you can give more info on what exactly you want to be done. https://forums.sourcepython.com/viewtopic.php?f=7&t=211...
by Speed0x
Mon Jul 12, 2021 3:25 pm
Forum: Plugin Development Support
Topic: enable voicechat in danger zone
Replies: 8
Views: 4549

Re: enable voicechat in danger zone

I think another DataType.POINTER (for the acual this-pointer) When i change it like you propose, i can only receive the client object from the first pointer, while the second pointer gives me a "NULL Pointer" Error when i try to create the client object from it. Does this mean my signatur...
by Speed0x
Mon Jul 12, 2021 2:49 pm
Forum: Plugin Development Support
Topic: Can we make player jump with source python?
Replies: 6
Views: 18462

Re: Can we make player jump with source python?

just search the forums for it. i think there a many topics about it.
by Speed0x
Sun Jul 11, 2021 11:00 pm
Forum: Plugin Development Support
Topic: enable voicechat in danger zone
Replies: 8
Views: 4549

Re: enable voicechat in danger zone

import memory from memory import DataType from memory import Convention from memory.hooks import PreHook from players import Client engine = memory.find_binary('engine') BroadcastVoiceData = engine[b"\x55\x8B\xEC\x83\xE4\xF8\x81\xEC\xE4\x00\x00\x00\x53\x56\x57"].make_funct...
by Speed0x
Sun Jul 11, 2021 7:17 pm
Forum: Plugin Development Support
Topic: enable voicechat in danger zone
Replies: 8
Views: 4549

Re: enable voicechat in danger zone

already tried that and unfortunately didn't work :(

when i use "voice_show_mute" it lists other current active players, as if they are muted. which is strange ? if i use "voice_unmute {id}" they also still remain on the mutelist.
by Speed0x
Sun Jul 11, 2021 10:55 am
Forum: Plugin Development Support
Topic: enable voicechat in danger zone
Replies: 8
Views: 4549

Re: enable voicechat in danger zone

when i view the netchannel traffic i can see that the clients sends the voicedata to the server when using +voicerecord, but noone else on the server can receive it. so i think the server in dangerzone gamemode somehow has it disabled. i couldn't find any server commands to enable it, so i was wonde...
by Speed0x
Sat Jul 10, 2021 11:32 pm
Forum: Plugin Development Support
Topic: enable voicechat in danger zone
Replies: 8
Views: 4549

enable voicechat in danger zone

is it possible to enable voice chat in danger zone via source python? i think it's disabled in the gamemode by default..
by Speed0x
Sat Oct 31, 2020 4:07 am
Forum: Whatever
Topic: model_header values ?
Replies: 14
Views: 14372

Re: model_header values ?

okay, great. is the v_index you used for css or csgo ? sorry : i didn't mention that i am testing this in csgo.. :(
by Speed0x
Sat Oct 31, 2020 4:00 am
Forum: Whatever
Topic: model_header values ?
Replies: 14
Views: 14372

Re: model_header values ?

so the VFunction "GetBoneTransform" takes care of calculating the correct inworld-position by taking into account animations etc ? ( i am asking for comprehension as it would be done behind the scenes )
by Speed0x
Sat Oct 31, 2020 3:56 am
Forum: Whatever
Topic: model_header values ?
Replies: 14
Views: 14372

Re: model_header values ?

i just read the thread. it looks like we approached in the same way that i did here. which let to: just reading the base bone positions from a mdl file. but you are right, every animation moves the active bone positions. so reading the header file is no use unless we want to create the entire math f...
by Speed0x
Sat Oct 31, 2020 3:34 am
Forum: Whatever
Topic: model_header values ?
Replies: 14
Views: 14372

Re: model_header values ?

I think the default bone positions are not their idling stance, but their T pose they get when they hold no weapons with "idle" i meant "default" in the sequence tab of SDK. i think the problem is that in my code i am just reading default mdl file bone positions... not "in ...
by Speed0x
Sat Oct 31, 2020 3:09 am
Forum: Whatever
Topic: model_header values ?
Replies: 14
Views: 14372

Re: model_header values ?

Why do you expect them to be different? that's what i was wondering... when i calculated them ingame they were only aligning for some models... when i check in studiomdl the idle animation of both models ( modelviewer csgo:sdk ) bones LOOK different. but perhaps that derives from the animation. bon...
by Speed0x
Sat Oct 31, 2020 12:30 am
Forum: Whatever
Topic: model_header values ?
Replies: 14
Views: 14372

Re: model_header values ?

looking at this : https://github.com/VSES/SourceEngine2007/blob/master/src_main/datacache/mdlcache.cpp#L2001 it seems that the header i get from sourcepython should be a correct cached studiohdr object. but why are then all the bone values the same for each header? maybe i am receiving only the &quo...
by Speed0x
Fri Oct 30, 2020 11:54 pm
Forum: Whatever
Topic: model_header values ?
Replies: 14
Views: 14372

Re: model_header values ?

maybe this has to do with unexposed methods for modelcache? perhaps each model_header needs to be "loaded" into the shared header separately ? does anyone know what "mode_cachel.add_reference" does ? or what "mode_cachel.release" does ? it seems a bit like each modelhea...
by Speed0x
Fri Oct 30, 2020 11:25 pm
Forum: Whatever
Topic: model_header values ?
Replies: 14
Views: 14372

Re: model_header values ?

print(model_cache.get_model_header(model_cache.find_model("models/player/custom_player/legacy/ctm_idf_variantE.mdl")).id) print(model_cache.get_model_header(model_cache.find_model("models/player/custom_player/legacy/tm_leet_variantC.mdl")).id) print(model_cache.get_model_header(...
by Speed0x
Fri Oct 30, 2020 11:04 pm
Forum: Whatever
Topic: model_header values ?
Replies: 14
Views: 14372

Re: model_header values ?

print(model_cache.find_model("player/custom_player/legacy/ctm_idf_variante.mdl")) print(model_cache.find_model("models/player/custom_player/legacy/tm_leet_variantC.mdl")) print(model_cache.find_model("player/custom_player/legacy/tm_leet_variantC.mdl")) 681 1125 680 pri...
by Speed0x
Fri Oct 30, 2020 9:49 pm
Forum: Whatever
Topic: model_header values ?
Replies: 14
Views: 14372

model_header values ?

hey i've checked the bone structure for playermodels, but when i receive the bones it gives me the same values on position and euler values for all models ? ( as if this function only reads the data for one specific type of model ? ) this is how i received the data: header = player.model_header bone...
by Speed0x
Sun Sep 06, 2020 5:05 pm
Forum: Plugin Development Support
Topic: Can't set user_cmd.view_angles in a OnPlayerRunCommand listener
Replies: 19
Views: 20926

Re: Can't set user_cmd.view_angles in a OnPlayerRunCommand listener

i want to update on this post. btw i am testing this in csgo. when i set spawnflags by "bot.flags = 8192" (or 256 etc) right before spawning the mentioned crash doesn't happen. why is that ? but then the controller doesn't work. aka any changes via the controller in botcmd doesn't change a...

Go to advanced search