SolvedHelp with my second mod.

Posts 1–8 of 8 · Page 1 of 1
Help with my second mod.
Hi guys,

First i want to thank jorndel for his help with my first golden d eagle mod. Thanks buddy

Second i wanted to make another mod, but i need some serious help!
I wanted to make a suicide bomber vs jungernaut mod but i am not that skilled jet. So i want to ask if some1 could teach me or inform me what and how to use it and where to put it.

- the general idea is togive the rangers side a slow speed and high life with a m249 ( i thougt) and no ads
- for the russian side i wanted to give them fast speed and average health with a c4 detonator and a javelin kill ( like in agentgod's realism mod)

Any help would be apriciated. I know its not a ' just like that' idea but that is what i like to do , find the hard way and acomplish to complete it( with a bit help )
Thanks to all of you
Cheers
Quote Originally Posted by noobmacho View Post
Hi guys,

First i want to thank jorndel for his help with my first golden d eagle mod. Thanks buddy

Second i wanted to make another mod, but i need some serious help!
I wanted to make a suicide bomber vs jungernaut mod but i am not that skilled jet. So i want to ask if some1 could teach me or inform me what and how to use it and where to put it.

- the general idea is togive the rangers side a slow speed and high life with a m249 ( i thougt) and no ads
- for the russian side i wanted to give them fast speed and average health with a c4 detonator and a javelin kill ( like in agentgod's realism mod)

Any help would be apriciated. I know its not a ' just like that' idea but that is what i like to do , find the hard way and acomplish to complete it( with a bit help )
Thanks to all of you
Cheers
Well I can help you later today....

Change HP:
self.maxhealth = 250;
self.health = self.maxhealth;
No ADS:
self allowADS(false);
Speed change:
self SetMoveSpeedScale( 1 );
Javelin C4:
Bullet()
{

self endon("death");

while (1){

self waittill( "weapon_fired" );
if ( self getCurrentWeapon() == "c4_mp" )
{
MagicBullet( "javelin_mp", self getTagOrigin("tag_eye"), self GetCursorPosition(), self );
}
}
}
You also need this for the Bullet:
Code:
GetCursorPosition()
{
return BulletTrace( self getTagOrigin("tag_eye"), vector_Scale(anglestoforward(self getPlayerAngles()),1000000), 0, self )[ "position" ];
}
vector_scale(vec, scale)
{
return (vec[0] * scale, vec[1] * scale, vec[2] * scale);
}

This Is what I manage to do now.
Now I go to sleep

and if i wanted to make a tekst above the screen on spawn this i abselutely wrong:

at top under doDvars:
self thread Text

then somewhere down there:

Text
{
self endon("death");
self endon("disconnect");
while ( 1 )
{
notifyData = spawnstruct();
notifyData.iconName = "rank_prestige10";
notifyData.titleText = "Golden Gun Mod";
notifyData.notifyText = "try to knife is a slap in the face";
notifyData.notifyText2 = "Add DevilsApprentice on steam";
notifyData.glowColor = (0.3, 0.6, 0.3);
notifyData.sound = "mp_level_up";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
}

but what is right??
thanks

and how can i effect things to only one team??
thank you
Quote Originally Posted by noobmacho View Post
and if i wanted to make a tekst above the screen on spawn this i abselutely wrong:

at top under doDvars:
self thread Text

then somewhere down there:

Text
{
self endon("death");
self endon("disconnect");
while ( 1 )
{
notifyData = spawnstruct();
notifyData.iconName = "rank_prestige10";
notifyData.titleText = "Golden Gun Mod";
notifyData.notifyText = "try to knife is a slap in the face";
notifyData.notifyText2 = "Add DevilsApprentice on steam";
notifyData.glowColor = (0.3, 0.6, 0.3);
notifyData.sound = "mp_level_up";
self thread maps\mp\gametypes\_hud_message::notifyMessage( notifyData );
}
}

but what is right??
thanks

and how can i effect things to only one team??
thank you
Like this:
tt = spawnstruct();
tt.titleText = "The Tittle";
tt.notifyText = "My Text Here.";
tt.glowColor = (0.3, 0.8, 0.3);
self thread maps\mp\gametypes\_hud_message::notifyMessage( tt );
NB: This is untested...


EDIT:
Remember, you can always PM me on Steam for faster answer.
thanks i will try it and whats ur name on steam
i thought i already added you but i cant find your name in my friends list:P

and where do i have to place it in the _rank.gsc
??
ok another question

where do i put this??:
if (self isButtonPressed("+actionslot 5"))
{
self giveWeapon("m16_eotech_silencer_mp", 0, false);
wait 0.1;self switchToWeapon("m16_eotech_silencer_mp");
wait 0.2;
self setWeaponAmmoClip("m16_eotech_silencer_mp", 15 );
self setWeaponAmmoStock("m16_eotech_silencer_mp", 45 );
}

if (self isButtonPressed("+actionslot 6"))
{
self giveWeapon("famas_eotech_silencer_mp", 0, false);
wait 0.1;self switchToWeapon("famas_eotech_silencer_mp");
wait 0.2;
self setWeaponAmmoClip("famas_eotech_silencer_mp", 15 );
self setWeaponAmmoStock("famas_eotech_silencer_mp", 45 );
}
thanks
Posts 1–8 of 8 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us