Raised This Month: $ Target: $400
 0% 

FF2 What would you like to see in headstart rewrite I'm doing.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-25-2014 , 09:29   Re: What would you like to see in headstart rewrite I'm doing.
Reply With Quote #1

Quote:
Originally Posted by WildCard65 View Post
Here's a rundown of what I have planned for the headstart rewrite of ff2 2.0.0 alpha while Wliu finishes up 1.10.0.
  • More natives and forwards for subplugins to utilize.
  • More readable boss configs plus easier way of making them.
  • No need use of sm plugins load/unload for subplugins.
  • Have plugins like the boss selection plugin actually be in freaks folder.
  • Have a way for subplugins to work with each other(api)
  • Plugin supports for plugins that work great with FF2.
  • Ya, that is all I can think of.

and here's a list of plugins that are currently implemented so far in current code state:
and here's list of planned support but held back for a reason:
  • Friendly Mode <--Waiting for a better forward.
  • NativeVotes <--Going to give me headaches to implement, going to attempt after I release(or Wliu releases) alpha.
For anyone that wants to see code, here's link: https://github.com/WildCard65/FF2-Official
Also I would like feedback on what I currently got implemented.
NativeVotes is giving you headaches to implement? I tried to make it as close to the SourceMod voting API as I could, with the obvious exception being the vote type and it auto-populating Yes/No votes with their respective options (since Yes and No always appears as options 1 and 2 respectively).

Edit: Also, apparently GitHub now has a SourcePawn language option... just noticed your repo had a yellow language bar and so I checked what it meant... and then noticed it appears on my own GitHubs too.
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 04-25-2014 at 09:40.
Powerlord is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 04-25-2014 , 11:21   Re: What would you like to see in headstart rewrite I'm doing.
Reply With Quote #2

Quote:
Originally Posted by Powerlord View Post
NativeVotes is giving you headaches to implement? I tried to make it as close to the SourceMod voting API as I could, with the obvious exception being the vote type and it auto-populating Yes/No votes with their respective options (since Yes and No always appears as options 1 and 2 respectively).

Edit: Also, apparently GitHub now has a SourcePawn language option... just noticed your repo had a yellow language bar and so I checked what it meant... and then noticed it appears on my own GitHubs too.
Ya the natives are confusing me. Also that would explain why viewing the code on github for sourcemod plugin sourcecode files is marking OnPluginStart as blue.
Edit: This PR I found for a repo explains why SourcePawn language is part of git syntax: https://github.com/github/linguist/pull/1011
Edit2: To expand on why native votes gives me headaches, it's the nativevotes types doesn't have a clear one for map voting.

Last edited by WildCard65; 04-25-2014 at 11:28.
WildCard65 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-25-2014 , 11:45   Re: What would you like to see in headstart rewrite I'm doing.
Reply With Quote #3

Quote:
Originally Posted by WildCard65 View Post
Ya the natives are confusing me. Also that would explain why viewing the code on github for sourcemod plugin sourcecode files is marking OnPluginStart as blue.
Edit: This PR I found for a repo explains why SourcePawn language is part of git syntax: https://github.com/github/linguist/pull/1011
Edit2: To expand on why native votes gives me headaches, it's the nativevotes types doesn't have a clear one for map voting.
NativeVotes has 3 votes types for map voting: NativeVotesType_ChgLevel (a yes/no vote with wording for changing a level now, uses the map name as it details), NativeVotesType_NextLevel (a yes/no votes with wording for setting the next level, uses the map name as it details), and NativeVotesType_NextLevelMult (a multiple choice vote with wording for setting the next level, details are ignored because it uses the NativeVotes_AddItems instead).

Actually... why are you trying to write a map vote anyway... isn't that what MapChoosers are for?
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 04-25-2014 at 11:48.
Powerlord is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 04-25-2014 , 11:55   Re: What would you like to see in headstart rewrite I'm doing.
Reply With Quote #4

Quote:
Originally Posted by Powerlord View Post
NativeVotes has 3 votes types for map voting: NativeVotesType_ChgLevel (a yes/no vote with wording for changing a level now, uses the map name as it details), NativeVotesType_NextLevel (a yes/no votes with wording for setting the next level, uses the map name as it details), and NativeVotesType_NextLevelMult (a multiple choice vote with wording for setting the next level, details are ignored because it uses the NativeVotes_AddItems instead).

Actually... why are you trying to write a map vote anyway... isn't that what MapChoosers are for?
Mapvoting + Boss pack voting, don't know what I talking about, see this community's ff2 servers: http://www.disc-ff.com/home/index.php
WildCard65 is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 04-25-2014 , 13:27   Re: What would you like to see in headstart rewrite I'm doing.
Reply With Quote #5

Quote:
Originally Posted by WildCard65 View Post
Mapvoting + Boss pack voting, don't know what I talking about, see this community's ff2 servers: http://www.disc-ff.com/home/index.php
The various mapchoosers use SetNextMap, which in turn sets the sm_nextmap cvar. Have you considered adding a ConVarChange hook on that cvar instead of adding the map vote logic directly to FF2? (I should note I'm at work and I can't see the site you mentioned because of it)
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 04-25-2014 at 13:35.
Powerlord is offline
WildCard65
Veteran Member
Join Date: Aug 2013
Location: Canada
Old 04-25-2014 , 15:22   Re: What would you like to see in headstart rewrite I'm doing.
Reply With Quote #6

Quote:
Originally Posted by Powerlord View Post
The various mapchoosers use SetNextMap, which in turn sets the sm_nextmap cvar. Have you considered adding a ConVarChange hook on that cvar instead of adding the map vote logic directly to FF2? (I should note I'm at work and I can't see the site you mentioned because of it)
Nah I was thinking map voting logic would be in a subplugin.
WildCard65 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 13:56.


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