Banner

Repeat

End

Forums

HavenForts: Construct JetFists - The Chronicles of Wargasm (Episode 2, NeoForts)

Go Back   SourceForts > Player Submissions > Mapping, Modeling, & Coding Help
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-10-2005
Murkrow's Avatar
Master Craftsman
 
Join Date: Mar 2005
Posts: 600
Default Quick tut: Setting max number of spawnable props

So, you have env_shooter or point_template (point_template is highly recommended) (name used in tut: spawner) and func_button (name used in tut: spawner_button). You would like to limit spawning.

At first, make math_counter. Name it spawner_counter.

Right click at spawner_button and add output:
  • My outputs named Onpressed
    Target entities named spawner_count
    Via this input Add
    With a parameter override of 1
    After a delay in seconds of 0.00
Take a look at Locked Sound. I use "Small zap" for locked sound.

Let's return to spawner_counter.
In Maximum Legal Value, set limit (like 15, 20, 30 etc).

Then, add output:
  • My outputs named OnHitMax
    Target entities named spawner_button
    Via this input Lock
    With a parameter override of
    After a delay in seconds of 0.00

It's done!

NOTE: When using multiple spawners, use prefixes like r3_ (red team, prop n. 3 etc.)





[edit] Typo fixed, stickied.
__________________
ONEPOINTTHREEPOINTTWO
Reply With Quote
  #2  
Old 04-10-2005
jlf's Avatar
jlf jlf is offline

Fort Warrior
 
Join Date: Apr 2005
Location: BNG-TQ2402076524
Posts: 1,182
Send a message via ICQ to jlf Send a message via AIM to jlf Send a message via MSN to jlf
Default

Thanks very much
__________________

"If they rape and kill me, I hope they kill me first. That way, I sort of win."
Reply With Quote
  #3  
Old 04-11-2005
Dredge
Guest
 
Posts: n/a
Default Re: Quick tut: Setting max number of spawnable props

Quote:
Originally Posted by Murk
And a question by me: How do you make props from env_shooter to spawn like normal prop and do not disappear?
I wouldn't use env_shooter when we have point_template.

Here's a small example map that has 2 buttons to spawn props using point_template.

You can spawn 5 big ones and 10 small ones, and the spawning panel also lowers to the floor on fight mode and comes back in build.
Reply With Quote
  #4  
Old 04-11-2005
Murkrow's Avatar
Master Craftsman
 
Join Date: Mar 2005
Posts: 600
Default

updated. should i write tut about just spawning too?
__________________
ONEPOINTTHREEPOINTTWO
Reply With Quote
  #5  
Old 04-12-2005
jlf's Avatar
jlf jlf is offline

Fort Warrior
 
Join Date: Apr 2005
Location: BNG-TQ2402076524
Posts: 1,182
Send a message via ICQ to jlf Send a message via AIM to jlf Send a message via MSN to jlf
Default

Hold off: there'll probably be an ent for it in v2.
__________________

"If they rape and kill me, I hope they kill me first. That way, I sort of win."
Reply With Quote
  #6  
Old 04-12-2005
Murkrow's Avatar
Master Craftsman
 
Join Date: Mar 2005
Posts: 600
Default

yay!


ummz, will be 1.*.* maps playable?
__________________
ONEPOINTTHREEPOINTTWO
Reply With Quote
  #7  
Old 04-12-2005
jlf's Avatar
jlf jlf is offline

Fort Warrior
 
Join Date: Apr 2005
Location: BNG-TQ2402076524
Posts: 1,182
Send a message via ICQ to jlf Send a message via AIM to jlf Send a message via MSN to jlf
Default

No. Announcement about v2 mapping will be coming shortly.
__________________

"If they rape and kill me, I hope they kill me first. That way, I sort of win."
Reply With Quote
  #8  
Old 04-12-2005
beeng
Guest
 
Posts: n/a
Default

oh fuckoff! that means I need to remake my blasphematically large map!?!? NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
Reply With Quote
  #9  
Old 04-12-2005
jlf's Avatar
jlf jlf is offline

Fort Warrior
 
Join Date: Apr 2005
Location: BNG-TQ2402076524
Posts: 1,182
Send a message via ICQ to jlf Send a message via AIM to jlf Send a message via MSN to jlf
Default

You'll only need to change entities.
__________________

"If they rape and kill me, I hope they kill me first. That way, I sort of win."
Reply With Quote
  #10  
Old 04-12-2005
beeng
Guest
 
Posts: n/a
Default

OH GOD!!!!!!!!!! IT BURNS!
AAAAAAAAagh

... tell me more
hopefully its not every entity.
caus then i'd have to stab you in the face.
many times.
with a spoun.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:29 PM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0

Tab