Raised This Month: $ Target: $400
 0% 

Sven Cooperative Experience Mod [Current Version: 17.0]


Post New Thread Reply   
 
Thread Tools Display Modes
ts2do
Senior Member
Join Date: Mar 2004
Old 09-04-2007 , 21:19   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #321

Note: This version is currently a beta and is not intended for use on high-traffic servers yet.



  • I've made some major changes to SCXPM:
    • I formalized and improved readability of code.
    • I reduced the bulk of the plugin by 24 kilobytes largely by reducing the repetition of code.
    • I optimized the code by compacting if statements, reducing or storing many calculations, and making many strings constant.
    • I centralized all player information into an array of 33 enum-structured elements.
    • I added a feature to prevent a map from awarding players any experience via game_score.
      Note: This plugin now requires the latest Ham Sandwich includes and module to compile and run, respectively. See below for more details.
    • I added ip-based save/restore to allow for LAN games.
    • I rewrote the random ammo algorithm to be more random.
  • I hope to do the following later:
    • Add an option to allow a maximum game_score reward and to enable complete game_score reward.

In order for this plugin to be able to use Ham Sandwich, you must open addons/amxmodx/configs/hamdata.ini and modify it as follows.
  • Find the following block:
    Code:
    ; Sven-Coop has no linux binaries.  This makes disassembly much harder.
    @section svencoop windows
    	pev 4
    	base 0x0
    	
    	takedamage 11
    	use 46
    @end
  • Change it to look like this:
    Code:
    ; Sven-Coop has no linux binaries.  This makes disassembly much harder.
    @section svencoop windows
    	pev 4
    	base 0x0
    	
    	takedamage 11
    	addpoints 20
    	use 46
    @end

Here's the change in source sizes from 17.0:
  • Source:
    Code:
    Line count:		  -261 lines
    File size:		 -2223 bytes
  • Plugin:
    Code:
    Header size:		    28 bytes
    Code size:		-19392 bytes
    Data size:		 -5496 bytes
    Stack/heap size:	     0 bytes
    Total requirements:	-24860 bytes

As a side note: I intend to complete a majority of the hamdata for svencoop using brute force (omitting the unused/empty functions).
Attached Files
File Type: sma Get Plugin or Get Source (scxpm.sma - 879 views - 33.9 KB)
File Type: sma Get Plugin or Get Source (scxpm_convert.sma - 883 views - 2.0 KB)
__________________

Last edited by ts2do; 09-09-2007 at 13:55.
ts2do is offline
Send a message via AIM to ts2do
Stixsmaster
Veteran Member
Join Date: May 2007
Location: I am all around you...I
Old 09-04-2007 , 23:13   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #322

Is there any possibility to have the gravity feature to work? because when I try to put a point towards it, it does nothing...so yea...be nice to see that...

---Stixsmaster
__________________
Stixsmaster is offline
Send a message via AIM to Stixsmaster Send a message via MSN to Stixsmaster
ts2do
Senior Member
Join Date: Mar 2004
Old 09-04-2007 , 23:21   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #323

You really should read the first post.
__________________
ts2do is offline
Send a message via AIM to ts2do
Silencer123
Veteran Member
Join Date: Jul 2006
Old 09-05-2007 , 15:46   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #324

Yeah, it is funny to see people kill 3 headcrabs, pick any upgrade and cry because that did not give them 500 hp, armor and all weapons with full ammo. Other than that, the anti gravity skill only takes effect WHILE you are holding down your jump key. That was necessary because otherwise some maps are unbeatable if you jump too high. It is useful as well when you don't want to jump high, too.

@ ts2do: I really appreciate you spending your time on improving this plugin. For the time being I am busy as hell and have no free time to work on any volunteer project of myself. However I decided to pause the development of this Plugin untill version 3.5 of svencoop anyways. The reason is that with version 3.5 there is coming a big load of changes and I don't want to work an eternity on scxpm 20.0 and then 1 week after releasing it see that sc 3.5 messes half of it. I will take care of that game_score issue, as I have to take care of circa 1000 other things.

As I am a sc 3.5 betatester I have a litle influence on what is happening with that mod and I am trying hard to get some stuff done for my purposes with it and scxpm. I suggest you do not get rid of all that svencoop maps now but wait untill it finally becomes exciting. scxpm 20.0 plus some average mappers with too much spare time will result in svencoop 3.5 becoming an impressive rpg universe. If I had some pros on my side (Texture Artists, Sound Artists, Music Artists, Modellers, Mappers, Voice Artists, Experienced AMXX Scripters, Sprite Artists, Sky Artists) I could plan this much better and the final result would be hilarious!
__________________
EAT YOUR VEGGIES

Last edited by Silencer123; 09-05-2007 at 15:54.
Silencer123 is offline
Stixsmaster
Veteran Member
Join Date: May 2007
Location: I am all around you...I
Old 09-05-2007 , 16:05   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #325

I rea the first post and well it says nothing related to my post on it...the problem I am having is if I try to select the gravity reduce skill it does nothing forcing me to select another 1, by nothing I mean that when I hit the button it will not select the skill, and there are multiple skills that have this effect so could that be worked on?

---Stixsmaster
__________________
Stixsmaster is offline
Send a message via AIM to Stixsmaster Send a message via MSN to Stixsmaster
ts2do
Senior Member
Join Date: Mar 2004
Old 09-05-2007 , 19:03   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #326

Uh did you bind 6 7 8 & 9?
__________________
ts2do is offline
Send a message via AIM to ts2do
ts2do
Senior Member
Join Date: Mar 2004
Old 09-05-2007 , 19:14   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #327

Quote:
Originally Posted by Silencer123 View Post
I really appreciate you spending your time on improving this plugin. For the time being I am busy as hell and have no free time to work on any volunteer project of myself. However I decided to pause the development of this Plugin untill version 3.5 of svencoop anyways. The reason is that with version 3.5 there is coming a big load of changes and I don't want to work an eternity on scxpm 20.0 and then 1 week after releasing it see that sc 3.5 messes half of it. I will take care of that game_score issue, as I have to take care of circa 1000 other things.
So will you adopt my changes after i make a few finishing touches?
__________________

Last edited by ts2do; 09-05-2007 at 19:16.
ts2do is offline
Send a message via AIM to ts2do
Stixsmaster
Veteran Member
Join Date: May 2007
Location: I am all around you...I
Old 09-05-2007 , 19:55   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #328

Quote:
Originally Posted by ts2do View Post
Uh did you bind 6 7 8 & 9?
Would that matter? because 1 2 3 4 and etc...usually select the weapons on default controls correct? then how come I can press 1 to select that skill and it doesnt select the weapon?

---Stixsmaster
__________________
Stixsmaster is offline
Send a message via AIM to Stixsmaster Send a message via MSN to Stixsmaster
ts2do
Senior Member
Join Date: Mar 2004
Old 09-06-2007 , 00:09   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #329

By default, in SC, keys above 5 are not bound

btw, silencer, I boiled the plugin down even further
__________________

Last edited by ts2do; 09-06-2007 at 00:23.
ts2do is offline
Send a message via AIM to ts2do
warlord247
New Member
Join Date: Sep 2007
Old 09-06-2007 , 04:17   Re: Sven Cooperative Experience Mod [Current Version: 17.0]
Reply With Quote #330

OK first time user for amx and xp mod for sven

My problem is i have a sven coop and i want to host a dedicated server with xp mod for sven but i dont know how to install the plugin
i got amx and meta installed but i dont know how to get the xp mod to work
please send me a FAQ on xp mod to my email which is [email protected] or reply back on this forum

thanks
warlord
warlord247 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 21:54.


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