Raised This Month: $ Target: $400
 0% 

Creating smoke on the floor


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 02-25-2007 , 23:16   Creating smoke on the floor
Reply With Quote #1

2 questions.

1. How do I create a smoke entity

2. I want to create the smoke entity on the floor only (everywhere on the floor)
__________________
It's a mystery.
Mini_Midget is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 02-25-2007 , 23:43   Re: Creating smoke on the floor
Reply With Quote #2

If it's the smoke from a smoke grenade in Counter-Strike 1.6 read on. Else ignore this post.

PHP Code:
playback_event 0id260.0 smoke_originangle0.00.00100
Source: http://forums.alliedmods.net/showthread.php?t=17959
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 02-25-2007 , 23:48   Re: Creating smoke on the floor
Reply With Quote #3

So thats how I create a smoke puff for cs? (Yes this is for Counter Strike 1.6)

Any thoughts on the origin of the floor?
__________________
It's a mystery.
Mini_Midget is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 02-26-2007 , 00:07   Re: Creating smoke on the floor
Reply With Quote #4

Exactly like what I posted. You need the id and the origin though.

Everywhere on the floor?
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Mini_Midget
Veteran Member
Join Date: Jan 2006
Location: It's a mystery.
Old 02-26-2007 , 01:12   Re: Creating smoke on the floor
Reply With Quote #5

Not sure if this will check everywhere of the floor but it checks the floor at least.
How can I make it so it checks everywhere
PHP Code:
    for (new i=0i<20i++)
    {
        if(
floorpos[i] == 0)
        {
            new 
userlocation[3]
            
get_user_origin(iduserlocation)
            
            
floorpos[i] = userlocation[2// sets the floorpos with the users z posistion
            
            
floorpossets[i][0] = userlocation[0]
            
floorpossets[i][1] = userlocation[1]
            
floorpossets[i][2] = userlocation[2

http://forums.alliedmods.net/showthread.php?p=139416
__________________
It's a mystery.
Mini_Midget is offline
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 00:35.


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