Search found 32 matches
- Wed May 11, 2022 1:34 pm
- Forum: Plugin Development Support
- Topic: [HL2:DM] Jetpack use in [BMS]
- Replies: 5
- Views: 4520
Re: [HL2:DM] Jetpack use in [BMS]
That error is caused, because the game doesn't have that property, when it tries get the property that doesn't exists, it causes that value error It's may be caused due to entity change. Your function can be called for another entity. Check for that. Also, send code or explain [BMS] to me. Personal...
- Mon May 09, 2022 12:18 pm
- Forum: General Discussion
- Topic: Login in Flask application using dictionary database, user loader
- Replies: 1
- Views: 2495
- Mon May 09, 2022 12:16 pm
- Forum: Plugin Development Support
- Topic: [HL2:DM] Jetpack use in [BMS]
- Replies: 5
- Views: 4520
- Thu May 05, 2022 4:11 pm
- Forum: Plugin Development Support
- Topic: Entity I/O
- Replies: 4
- Views: 2991
Re: Entity I/O
Good answer. But I still don't know how to hook property-function, to view it's arguments. May be there's another way to view property function arguments to properly inject mine function? I mean, here: _touch_prototype = ( Convention.THISCALL, ( DataType.POINTER, # this DataType.POINTER # pO...
- Thu May 05, 2022 11:52 am
- Forum: Plugin Development Support
- Topic: Entity I/O
- Replies: 4
- Views: 2991
Previous forum
I found this , but that only slightly helped me to realize what I want. I still don't want to hook OnTrigger like in trigger_multiple , bcz there's many triggers with OnTrigger output. Can I somehow move that trigger into FireUser1-4 without Hammer? Like, add it on Dust2 customly? edit: I also did s...
- Wed May 04, 2022 6:10 pm
- Forum: Plugin Development Support
- Topic: Entity I/O
- Replies: 4
- Views: 2991
Entity I/O
I want to understand Entity Input/Output system. Source wiki shows examples for Hammer, but I can't make it work in Soucre.Python. No information found on MetaSource/SourceMod forums (may be bad searching. I believe so). So what I want to do: ⋅ Understand The FireUser1-4 inputs and OnUser...
- Tue Feb 01, 2022 6:30 am
- Forum: Whatever
- Topic: Just started Python today... first question
- Replies: 2
- Views: 8791
Re: Just started Python today... first question
That's because you using print function. To prevent spam, python adding delay between them Use write to file instead: file = open("text.txt", "w") for x in range(0, 150, 1): file.write("All work and no play makes Jake a dull boy. ", end = "") file.close() And ...
- Sat Jan 22, 2022 5:54 am
- Forum: Plugin Development Support
- Topic: configobj.ConfigObjError
- Replies: 21
- Views: 23589
ConfigObj file
ConfigObj works with config file somewhere. This file contains error. At line 9, to be exactly
- Fri Nov 26, 2021 6:26 pm
- Forum: General Discussion
- Topic: Key Presses in Games
- Replies: 1
- Views: 1666
Wrong forum
This is forum to discuss Source.Python, addon for Source-based (by Valve) games. Your question are not related to this topic
- Wed Nov 24, 2021 1:59 pm
- Forum: Plugin Development Support
- Topic: Raytracing triggers
- Replies: 2
- Views: 2677
Trace that hit triggers
He is hitting triggers. At least in my code. May be deal in mins/maxs ? ray = Ray(player.eye_location, target_vector, player.mins, player.maxs) engine_trace.trace_ray(ray, ContentMasks.ALL, TraceFilterSimple((player,)), trace) With this code I tried to teleport, but s...
- Fri Nov 19, 2021 11:06 pm
- Forum: General Discussion
- Topic: wcs
- Replies: 1
- Views: 3214
This code below didn't have cooldown or anything else. Make this for urself. I'm making WCS based on skills ( WCSSKills ), instead of races. # SayText2 from messages import SayText2 as ST2 # Commands from commands.typed import TypedSayCommand from commands import CommandReturn # Entities from entiti...
- Fri Nov 19, 2021 10:31 pm
- Forum: Plugin Development Support
- Topic: Entity property change hook
- Replies: 0
- Views: 2258
Entity property change hook
I have read a lot of pages, but I don't understand one thing: How to hook property change ? I have proprty "m_bSpotted " (True/False), and I want to call "function_spotted " when this property changes. I have a lot of proprties, that change-hook is important to me, but I don't kn...