Raised This Month: $ Target: $400
 0% 

func_buyzone in cssdk?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Anggara_nothing
Veteran Member
Join Date: Jan 2009
Location: Indonesia
Old 02-09-2016 , 19:31   func_buyzone in cssdk?
Reply With Quote #1

does entity func_buyzone exists in arkshine's CSSDK? i'm trying to remake func_buyzone in SC 5.0
Anggara_nothing is offline
Anggara_nothing
Veteran Member
Join Date: Jan 2009
Location: Indonesia
Old 02-09-2016 , 22:33   Re: func_buyzone in cssdk?
Reply With Quote #2

Done with AngelScript
Attached Images
File Type: jpg steamscreenshots001.jpg (31.6 KB, 456 views)

Last edited by Anggara_nothing; 02-09-2016 at 22:38.
Anggara_nothing is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 02-10-2016 , 00:58   Re: func_buyzone in cssdk?
Reply With Quote #3

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
klippy is offline
Anggara_nothing
Veteran Member
Join Date: Jan 2009
Location: Indonesia
Old 02-10-2016 , 03:32   Re: func_buyzone in cssdk?
Reply With Quote #4

Quote:
Originally Posted by KliPPy View Post
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
but data isn't sufficient yet for full creation
Anggara_nothing is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-10-2016 , 05:02   Re: func_buyzone in cssdk?
Reply With Quote #5

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?
__________________
Arkshine is offline
Anggara_nothing
Veteran Member
Join Date: Jan 2009
Location: Indonesia
Old 02-10-2016 , 13:44   Re: func_buyzone in cssdk?
Reply With Quote #6

Quote:
Originally Posted by Arkshine View Post
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++
Anggara_nothing is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 02-11-2016 , 00:03   Re: func_buyzone in cssdk?
Reply With Quote #7

Quote:
Originally Posted by Anggara_nothing View Post
It seems i missed something because i didn't find set size function.
I'm not really good at c++
It's a map brush...
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
Anggara_nothing
Veteran Member
Join Date: Jan 2009
Location: Indonesia
Old 02-11-2016 , 01:58   Re: func_buyzone in cssdk?
Reply With Quote #8

Quote:
Originally Posted by meTaLiCroSS View Post
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
Anggara_nothing is offline
gabuch2
AlliedModders Donor
Join Date: Mar 2011
Location: Chile
Old 02-15-2016 , 09:14   Re: func_buyzone in cssdk?
Reply With Quote #9

Quote:
Originally Posted by Anggara_nothing View Post
Done with AngelScript
Unrelated: What's the name of that map?
__________________
gabuch2 is offline
Anggara_nothing
Veteran Member
Join Date: Jan 2009
Location: Indonesia
Old 02-15-2016 , 16:23   Re: func_buyzone in cssdk?
Reply With Quote #10

Quote:
Originally Posted by Shattered Heart Lynx View Post
Unrelated: What's the name of that map?
It's counter strike online map, called Lost City
http://cso.wikia.com/wiki/Lost_City

Last edited by Anggara_nothing; 02-15-2016 at 16:25.
Anggara_nothing is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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