Raised This Month: $12 Target: $400
 3% 

Hero: Claire


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Debute
New Member
Join Date: Jul 2011
Old 01-07-2016 , 12:20   Hero: Claire
Reply With Quote #1

Description
Claire - Claire Redfield from Resident Evil (with stronger P228 gun)

http://residentevil.wikia.com/wiki/Claire_Redfield

shconfig.cfg CVARS
Code:
//Claire
claire_level 10    // Level
claire_dmgmult 4.0 // Damage multiplyer for her P228
Alternative options for Hero in sma file
(if defined USE_MODELS, then it will also include new sounds for P228, except of fire sound)
Code:
// 0-follow server sh_reloadmode cvar setting [Default]
// 1-no reload, continuous shooting
// 2-reload, but backpack ammo never depletes
// 3-drop weapon and get a new one with full clip
// 4-normal cs, reload and backpack ammo depletes
#define AMMO_MODE 1

// Comment out to not use player and P228 models
#define USE_MODELS

// Comment out to not give a free P228
#define GIVE_WEAPON
Credits
Code - Inspired from Hero Master Chief by Spartan-117 and vittu (https://forums.alliedmods.net/showthread.php?t=32034)
Player model - Kratisto and troy98 (http://cs.gamebanana.com/skins/143789)
Weapon model - jawharstrike, soul_slayer, Thanez, Soldier11 and Tware (http://cs.gamebanana.com/skins/143770)
Weapon sounds - Vunsunta, fxdarkloki, hk and Itbankrock (http://cs.gamebanana.com/skins/143770)

Attached screenshots from game - gun in hands, Claire in standing mode and Claire in shooting mode.
Attached Images
File Type: jpg claire_in_hands.jpg (83.7 KB, 426 views)
File Type: jpg claire_standing.jpg (79.0 KB, 437 views)
File Type: jpg claire_shooting.jpg (81.4 KB, 402 views)
Attached Files
File Type: sma Get Plugin or Get Source (sh_claire.sma - 306 views - 5.7 KB)
File Type: zip sh_claire_required_files.zip (2.03 MB, 242 views)
Debute is offline
heliumdream
Senior Member
Join Date: Aug 2006
Old 01-11-2016 , 12:19   Re: Hero: Claire
Reply With Quote #2

pretty dope reskin.

you could consider adding a special function to make it unique! perhaps something could happen when you secondary fire, similar to veronika.
__________________

Last edited by heliumdream; 01-11-2016 at 12:33.
heliumdream is offline
Debute
New Member
Join Date: Jul 2011
Old 01-13-2016 , 07:46   Re: Hero: Claire
Reply With Quote #3

Yea, but I'm just beginner with that scripting, but maybe I could "copy-paste" some code from Veronika hero, but I didn't find something special. Maybe in next hero I'll make there will be something special. I'm wondering about "Elite sniper" hero, which has unlimited ammo in AWP and he can reload much faster (when he fires, he is almost instantly able to shoot again), but I still don't know how to edit speed of fire.
Debute is offline
heliumdream
Senior Member
Join Date: Aug 2006
Old 01-28-2016 , 14:20   Re: Hero: Claire
Reply With Quote #4

Quickshooting with guns has been done before, 1sh0t2killz has figured that out here, in his psycho hero.

It registers an event for the current weapon, and uses a modifier to reduce the length of player data values for Delay and M_Delay.

The code is a little complex, but it should be a fairly straightforward rip.

The 'Veronika' style secondary fire rip is a little more involved.

It registers a forward to catch when a player presses attack2. This calls the launch_nade function, which calls a few other dependent functions you will also need to rip (ammo_hud, particle trail). And of course the vex statements that involve collision detection and damage.

Jill has this pretty cool rocket launcher in mvc2, maybe something like that...I retooled the bazooka hero, to work like this back in the day. Instead of calling a function like "make_rocket" once, you can call it using a set_task and make it execute multiple times.

Good luck!
__________________
heliumdream is offline
New and Clueless
Senior Member
Join Date: Dec 2015
Old 06-21-2016 , 19:07   Re: Hero: Claire
Reply With Quote #5

nice to see superhero mod isn't completely dead
__________________

ANY SCRIPTER ON THIS FORUM HAS FREE VIP/ADMIN IN MY SERVER!
New and Clueless is offline
Reply


Thread Tools
Display Modes

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 11:20.


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