Raised This Month: $ Target: $400
 0% 

[HELP] {UPDATED WITH IMAGES CHECK} Ice Cube Model Bug


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sheeran
Junior Member
Join Date: Apr 2017
Old 04-13-2017 , 03:01   Re: X,Y,Z Values
Reply With Quote #1

Quote:
Originally Posted by EFFx View Post
Code:
engfunc(EngFunc_SetOrigin,nova,Float:{400, -100, 50})

That's an example of how change the origin.
Does not work check again :/
https://forums.alliedmods.net/showpo...78&postcount=1
Sheeran is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-13-2017 , 07:36   Re: [HELP] {UPDATED WITH IMAGES CHECK} Ice Cube Model Bug
Reply With Quote #2

Float:{-4.0,-4.0,-8.0},Float:{4.0,4.0,8.0} check this size


And dont use drop entity to floor
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 04-13-2017 at 07:37.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Sheeran
Junior Member
Join Date: Apr 2017
Old 04-13-2017 , 08:06   Re: [HELP] {UPDATED WITH IMAGES CHECK} Ice Cube Model Bug
Reply With Quote #3

Quote:
Originally Posted by Natsheh View Post
Float:{-4.0,-4.0,-8.0},Float:{4.0,4.0,8.0} check this size


And dont use drop entity to floor
nothing again :/
Sheeran is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 04-13-2017 , 08:25   Re: [HELP] {UPDATED WITH IMAGES CHECK} Ice Cube Model Bug
Reply With Quote #4

PHP Code:
create_nova(id

    new 
nova engfunc(EngFunc_CreateNamedEntity,engfunc(EngFunc_AllocString,"info_target")); 

    
engfunc(EngFunc_SetSize,nova,Float:{-8.0,-8.0,-4.0},Float:{8.0,8.0,4.0}); 
    
engfunc(EngFunc_SetModel,nova,MODEL_FROZEN); 

    
// random orientation 
    
new Float:angles[3]; 
    
angles[1] = random_float(0.0,360.0); 
    
set_pev(nova,pev_angles,angles); 

    
// put it at their feet 
    
new Float:novaOrigin[3]; 
    
pev(id,pev_origin,novaOrigin);
    
novaOrigin[2] -= 4.0;
    
engfunc(EngFunc_SetOrigin,nova,novaOrigin); 

    
// make it translucent 
    
new rgb[3]; 
    
get_rgb_colors(isFrozen[id], rgb); 
    
IVecFVec(rgbangles); // let's just use angles 

    
set_pev(nova,pev_rendercolor,angles); // see above 
    
set_pev(nova,pev_rendermode,kRenderTransAlpha); 
    
set_pev(nova,pev_renderfx,kRenderFxGlowShell); 
    
set_pev(nova,pev_renderamt,128.0); 

    
novaDisplay[id] = nova

__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 17:55.


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