AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   func_buyzone in cssdk? (https://forums.alliedmods.net/showthread.php?t=278861)

Anggara_nothing 02-09-2016 19:31

func_buyzone in cssdk?
 
does entity func_buyzone exists in arkshine's CSSDK? i'm trying to remake func_buyzone in SC 5.0

Anggara_nothing 02-09-2016 22:33

Re: func_buyzone in cssdk?
 
1 Attachment(s)
Done with AngelScript
https://forums.alliedmods.net/attach...1&d=1455075472

klippy 02-10-2016 00:58

Re: func_buyzone in cssdk?
 
I don't know about CSSDK (is it abandoned?), but it can be found in ReGameDLL_CS, and you should probably be using that as a CSSDK.
Here's CBuyZone class definition: https://github.com/s1lentq/ReGameDLL...riggers.h#L559
And CBuyZone's Spawn and BuyTouch: https://github.com/s1lentq/ReGameDLL...gers.cpp#L1757

Anggara_nothing 02-10-2016 03:32

Re: func_buyzone in cssdk?
 
Quote:

Originally Posted by KliPPy (Post 2391612)
I don't know about CSSDK (is it abandoned?), but it can be found in ReGameDLL_CS, and you should probably be using that as a CSSDK.
Here's CBuyZone class definition: https://github.com/s1lentq/ReGameDLL...riggers.h#L559
And CBuyZone's Spawn and BuyTouch: https://github.com/s1lentq/ReGameDLL...gers.cpp#L1757

Wow thank you :fox:
but data isn't sufficient yet for full creation :?

Arkshine 02-10-2016 05:02

Re: func_buyzone in cssdk?
 
You have all data you need. It's just an entity spawned with some size, and when it detects touch, it does some stuff.
What do you need more?

Anggara_nothing 02-10-2016 13:44

Re: func_buyzone in cssdk?
 
Quote:

Originally Posted by Arkshine (Post 2391662)
You have all data you need. It's just an entity spawned with some size, and when it detects touch, it does some stuff.
What do you need more?

It seems i missed something because i didn't find set size function.
I'm not really good at c++ :oops:

meTaLiCroSS 02-11-2016 00:03

Re: func_buyzone in cssdk?
 
Quote:

Originally Posted by Anggara_nothing (Post 2391797)
It seems i missed something because i didn't find set size function.
I'm not really good at c++ :oops:

It's a map brush...

Anggara_nothing 02-11-2016 01:58

Re: func_buyzone in cssdk?
 
Quote:

Originally Posted by meTaLiCroSS (Post 2391937)
It's a map brush...

What does it mean? :?

i found few codes related to size setting
https://github.com/s1lentq/ReGameDLL...cbase.cpp#L953
https://github.com/s1lentq/ReGameDLL...cbase.cpp#L428

gabuch2 02-15-2016 09:14

Re: func_buyzone in cssdk?
 
Quote:

Originally Posted by Anggara_nothing (Post 2391587)

Unrelated: What's the name of that map?

Anggara_nothing 02-15-2016 16:23

Re: func_buyzone in cssdk?
 
Quote:

Originally Posted by Shattered Heart Lynx (Post 2393158)
Unrelated: What's the name of that map?

It's counter strike online map, called Lost City
http://cso.wikia.com/wiki/Lost_City


All times are GMT -4. The time now is 09:22.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.