AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Submissions (https://forums.alliedmods.net/forumdisplay.php?f=35)
-   -   Hero: Claire (https://forums.alliedmods.net/showthread.php?t=277344)

Debute 01-07-2016 12:20

Hero: Claire
 
5 Attachment(s)
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

:wink: Credits :wink:
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.

heliumdream 01-11-2016 12:19

Re: Hero: Claire
 
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.

Debute 01-13-2016 07:46

Re: Hero: Claire
 
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.

heliumdream 01-28-2016 14:20

Re: Hero: Claire
 
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!

New and Clueless 06-21-2016 19:07

Re: Hero: Claire
 
nice to see superhero mod isn't completely dead :P


All times are GMT -4. The time now is 01:47.

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