Raised This Month: $32 Target: $400
 8% 

how to make prop_weapon_upgrade_armor_helmet glow?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
rsdtt
Senior Member
Join Date: Oct 2009
Old 01-23-2019 , 02:57   how to make prop_weapon_upgrade_armor_helmet glow?
Reply With Quote #1

I use this in dz

new ent = CreateEntityByName("prop_weapon_upgrade_armor _helmet")
DispatchSpawn(ent)

but it cant glow...
Create weapon can glow like CreateEntityByName weapon_ak47.
__________________
I am learning sm now
rsdtt is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 01-23-2019 , 03:21   Re: how to make prop_weapon_upgrade_armor_helmet glow?
Reply With Quote #2

Quote:
Originally Posted by rsdtt View Post
I use this in dz

new ent = CreateEntityByName("prop_weapon_upgrade_armor _helmet")
DispatchSpawn(ent)

but it cant glow...
Create weapon can glow like CreateEntityByName weapon_ak47.
Maybe create a prop_dynamic and hook touch to upgrade the armor manually? Check my CSGO Useful Commands ( Google ) to see how it's done
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
rsdtt
Senior Member
Join Date: Oct 2009
Old 01-23-2019 , 04:07   Re: how to make prop_weapon_upgrade_armor_helmet glow?
Reply With Quote #3

Quote:
Originally Posted by eyal282 View Post
Maybe create a prop_dynamic and hook touch to upgrade the armor manually? Check my CSGO Useful Commands ( Google ) to see how it's done
ok,I will check if have prop_dynamic, but weapon I havent create prop_dynamic and weapon can glow
__________________
I am learning sm now

Last edited by rsdtt; 01-23-2019 at 04:07.
rsdtt is offline
rsdtt
Senior Member
Join Date: Oct 2009
Old 01-23-2019 , 04:25   Re: how to make prop_weapon_upgrade_armor_helmet glow?
Reply With Quote #4

It wasn't prop_dynamic . I think it maybe new attribute for prop.
__________________
I am learning sm now
rsdtt is offline
eyal282
Veteran Member
Join Date: Aug 2011
Old 01-23-2019 , 11:49   Re: how to make prop_weapon_upgrade_armor_helmet glow?
Reply With Quote #5

prop_dynamic is kind of a "custom type entity" which you'll give a model ( same as the upgrade model ) and you can make it glow. It won't give armor and helmet initially but it can be solved by hooking moment of touch and giving the armor /& helmet.
__________________
I am available to make plugins for pay.

Discord: Eyal282#1334
eyal282 is offline
Brum Brum
Junior Member
Join Date: Mar 2017
Old 01-23-2019 , 12:00   Re: how to make prop_weapon_upgrade_armor_helmet glow?
Reply With Quote #6

If you spawn prop_weapon_upgrade_helmet you don't have to hook the touch, the armor will add to you as soon as you touch it.
I using this to make it
PHP Code:
stock int SpawnArmor(float[3location)
{
    if (!
IsModelPrecached("models/props_survival/upgrades/upgrade_dz_helmet.mdl") || !IsModelPrecached("models/props_survival/upgrades/upgrade_dz_armor.mdl") || !IsModelPrecached("models/props_survival/upgrades/upgrade_dz_armor_helmet.mdl"))
    {
        
PrecacheModel("models/props_survival/upgrades/upgrade_dz_helmet.mdl");
        
PrecacheModel("models/props_survival/upgrades/upgrade_dz_armor.mdl");
        
PrecacheModel("models/props_survival/upgrades/upgrade_dz_armor_helmet.mdl");
    }
    
int entity CreateEntityByName("prop_weapon_upgrade_armor_helmet");
    if (
entity != -1)
    {
        
DispatchSpawn(entity);
        
TeleportEntity(entitylocationNULL_VECTORNULL_VECTOR);
    }

Brum Brum is offline
rsdtt
Senior Member
Join Date: Oct 2009
Old 01-24-2019 , 02:10   Re: how to make prop_weapon_upgrade_armor_helmet glow?
Reply With Quote #7

Quote:
Originally Posted by eyal282 View Post
prop_dynamic is kind of a "custom type entity" which you'll give a model ( same as the upgrade model ) and you can make it glow. It won't give armor and helmet initially but it can be solved by hooking moment of touch and giving the armor /& helmet.
I knew the prop_dynamic function. I just want to know how it glow in dz.
__________________
I am learning sm now
rsdtt is offline
ClaudiuHNS
New Member
Join Date: Nov 2016
Old 09-18-2019 , 07:26   Re: how to make prop_weapon_upgrade_armor_helmet glow?
Reply With Quote #8

Quote:
Originally Posted by rsdtt View Post
I use this in dz

new ent = CreateEntityByName("prop_weapon_upgrade_armor _helmet")
DispatchSpawn(ent)

but it cant glow...
Create weapon can glow like CreateEntityByName weapon_ak47.
wait, how did you know you can use "prop_weapon_upgrade_armor" if it is not available in Hammer?
ClaudiuHNS is offline
Send a message via AIM to ClaudiuHNS Send a message via Yahoo to ClaudiuHNS Send a message via Skype™ to ClaudiuHNS
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 14:55.


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