Welcome New User
Home
|
Forums
|
Register
|
Login
|
Larger Font
Main-Menu
Home
Login
Register
Add Download
Add News
Add Tutorial *
Forums
Advertise
Affiliate Store US *
Affiliate Store UK *
Affiliate Store CA *
Angry Letter Generator
Avatar Upload
Calendar of Games
Contact
Downloads
FAQs
Forums
Member List
Member Projects
News
News Grabber *
Policy
Polls
Private Messages
Reviews
Screenshot Gallery
Search
Servers - Game
Store - Shirts *
Subscribe
Topics
Tutorials
Weblinks
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoD FAQs
HL2 Mapping
HL2 FAQs
SOF1 Mapping
Crysis Mapping
Q4 Mapping
Doom 3 Mapping
Doom 3 FAQs
UT2K3 Mapping
SOF2 Mapping
SOF2 FAQs
Lightray Modeling
General Modeling
General Modding
Adobe Photoshop
Common Mapping Errors
Readme.txt Generator
Members-Online
KD
[Downl]
Morphisnb
[Downl]
laca
[Tutor]
Lemons98
[Tutor]
4 Members and 13 Guests
Chat MODSonline
Join Chat
0 People Now Chatting
MODSOnline TeamSpeak
download TeamSpeak
In-The-News
Sunday, Jul. 20th
MODSonair 137 LIVE
Friday, Jul. 18th
MODSonair Episode 136
Thursday, Jul. 17th
E3 2008: Daily Recap
Monday, Jul. 14th
E3 2008 Latest News
Sunday, Jul. 13th
MODSonair 136 LIVE
Latest Poll
Want a MODSonline Wiki for various games?
I think a Wiki would be a great addition to MODSonline.
75.59%
I could see a benefit of a Wiki.
4.72%
I think it would take away from the community.
3.94%
Wiki sites are never good.
3.94%
Wiki... isn't that Buck Roger's robot slave?
11.81%
Read More...
10 comments
Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register
.
In The Forums
How to play background music?
CoD 4 Single Pla..
Posts:
(15)
Views:
(248)
by KD
cod2 radiant textures problem, help ??
CoD 2 Level Desi..
Posts:
(10)
Views:
(84)
by mathias991
CoD4 Kar98K model
CoD 4 Scripting..
Posts:
(12)
Views:
(184)
by zeroy
Map Running Issue
CoD 4 Level Desi..
Posts:
(5)
Views:
(34)
by KillerCrazzy
Forums
MODSonline.com Forums
Welcome to the MODSonline.com forums.
Looking for Frequently Asked Questions? Check out our
FAQs
section or search it out using the SEARCH link below. If you are new here, you may want to check out our
rules
and this
great user's guide
to the forums and the website.
Jump To:
Select Forum Category
Call of Duty: World at War
- CoD:WW Level Design
- CoD:WW Single Player
- CoD:WW General Gaming
- Offsite Links and Information
- CoD:WW Scripting
- CoD:WW Custom Map Releases
Call of Duty 4
- CoD 4 Level Design
- CoD 4 Single Player
- CoD4 General Gaming
- Offsite Links and Information
- CoD 4 Scripting
- CoD4 Custom Map Releases
- MODSCON - ALL
Call of Duty 2
- CoD 2 Level Design
- CoD 2 Single Player
- CoD2 General Gaming
- CoD2 Custom Map Releases
- CoD2 Scripting
- Offsite Links and Information
Call of Duty
- CoD Level Design
- CoDUO Level Design
- CoD General Gaming
- CoD and CoDUO Custom Map Releases
- Offsite Links and Information
MODSonline
- MODSonline
- In The News
- News Around the Web
- General
- MODSon-air
- Teamspeak Servers
- MODSCON 06
- The Wiki
General Gaming Topics
- General Gaming
- General Machinima
- General Level Editing
- General Modeling
- Classic Raven Games
- Offsite Links and Information
Half Life 2
- HL2 Level Design
- HL2 General Gaming
- HL2 Custom Map Releases
- Garry's Mod
- Offsite Links and Information
Quake 4
- Q4 Level Design
- Q4 General Gaming
- Q4 Scripting
- Q4 Custom Map Releases
- Offsite Links and Information
DOOM III
- DOOM III Level Design
- DOOM III General Gaming
- DOOM III Custom Map Releases
Quake I, II, III
- Quake 1-3 Level Design
- Quake General Gaming
- Quake Scripting
- Quake Custom Map Releases
- Offsite Links and Information
Crysis
- General Crysis
- Crysis Level Design
- Crysis Custom Releases
- Offsite Links and Info
Unreal Tournament 2003
- UT2K3 General Gaming
- UT2K3 Level Design
- UT2K3 Custom Map Releases
Battlefield
- BF2 General Gaming
- Battlefield 2142 General Gaming
- BF2 Level Design
Soldier of Fortune
- SoF Editing, Gaming, and Design
- SoFII Editing, Gaming, and Design
- SoFI & II Custom Map Releases
- SoFII Coding
- SoFI General Gaming
- SoFII General Gaming
- SoFII Server Support
Jedi Knight
- Jedi Knight - Jedi Academy
- Jedi Knight II: Jedi Outcast
- Jedi Knight II: Jedi Outcast MOD Support
Star Trek Voyager: Elite Force
- Star Trek Voyager: Elite Force MOD Support
- Star Trek Voyager: Elite Force General
Forum:
All Forums
:
Call of Duty 4
Category:
CoD 4 Level Design
CoD 4 mapping and level design.
Moderators:
foyleman
,
rEdrUmMDK
,
Foxhound
,
Rasta
,
StrYdeR
,
The_Caretaker
,
batistablr
,
playername
1
2
3
Author
Topic: Can Brushmodels take a Players Damage/Health?
kmabigtime
General Member
Since: Jan 23, 2008
Posts: 162
Last: Apr 22, 2008
[
view latest posts
]
Category: CoD 4 Level Design
Posted: Tuesday, Apr. 22, 2008 02:41 pm
np, Kill3r is very good with this scripting stuff, All of his scripts I have seen or used have worked excellantly....
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 195
Last: Jul 18, 2008
[
view latest posts
]
Category: CoD 4 Level Design
Posted: Tuesday, Apr. 22, 2008 02:49 pm
Killer...
The "kill player"
Kills the player
regardless if the blade hits the player or not. The player should be able to duck under the blade if they know it exists, to live through it, but as of now the player dies the second they move into the Trigger_multiple. I've slowed down the Blade movement to double check this...
Not sure how to fix this.
edited on Apr. 22, 2008 02:56 pm by DeekCiti
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 974
Last: May 17, 2008
[
view latest posts
]
Category: CoD 4 Level Design
Posted: Tuesday, Apr. 22, 2008 02:58 pm
oh oops, change
self thread kill_players();
to
self.blademodel thread kill_players();
kmabigtime
General Member
Since: Jan 23, 2008
Posts: 162
Last: Apr 22, 2008
[
view latest posts
]
Category: CoD 4 Level Design
Posted: Tuesday, Apr. 22, 2008 02:59 pm
ok, gj..
edited on Apr. 22, 2008 03:01 pm by kmabigtime
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 195
Last: Jul 18, 2008
[
view latest posts
]
Category: CoD 4 Level Design
Posted: Tuesday, Apr. 22, 2008 03:15 pm
Script has no errors but doesn't kill the player now... Here is what the script looks like. I commented out those lines so the blade automatically goes back to its original position because of How its set up in the map, but either commented out or not, still doesn't kill the player.
Code:
main() { thread metal_blade(); } metal_blade() { bladetrigger = getentarray("metal_blade_trig","targetname"); for(i=0;i
Its not reading the Kill Players() is it?
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 974
Last: May 17, 2008
[
view latest posts
]
Category: CoD 4 Level Design
Posted: Tuesday, Apr. 22, 2008 03:24 pm
add a few iPrintln("test1"); around the script, see where it gets to or not
im not sure if isTouching works on script_brushmodels, though last time i tried i think it did
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 195
Last: Jul 18, 2008
[
view latest posts
]
Category: CoD 4 Level Design
Posted: Tuesday, Apr. 22, 2008 03:47 pm
OK, did that and if you look in the script, I added a test 1,2,3,4 and 5, and
Only 3,4 and 5 show up
.
Here's how I set it up.
Code:
main() { thread metal_blade(); } metal_blade() { bladetrigger = getentarray("metal_blade_trig","targetname"); for(i=0;i
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 974
Last: May 17, 2008
[
view latest posts
]
Category: CoD 4 Level Design
Posted: Tuesday, Apr. 22, 2008 03:52 pm
if 3, 4 and 5 show, then 1 and 2 are also working, you probs dont see those cuz 3, 4 and 5 keep appearing 20 times a seconds
so.. that means the kill_players thread works
now chage
Code:
if(players[i] isTouching(self)) players[i] suicide();
to
Code:
if(players[i] isTouching(self)) { iPrintln("player killed"); players[i] suicide(); }
DeekCiti
General Member
Since: Mar 13, 2008
Posts: 195
Last: Jul 18, 2008
[
view latest posts
]
Category: CoD 4 Level Design
Posted: Tuesday, Apr. 22, 2008 04:13 pm
ok, if I do this...
Code:
if(players[i] isTouching(self)) { iPrintln("player killed"); players[i] suicide(); }
The first " { " causes the script to crash the map on load saying an unexpected End. But if I remove that and make it look like I did below, the map loads and again if I step into the trigger_multiple, the player dies before the blade can hit the player, and I think because it waits another half second before the script ends, it kills the player again on respawn. Thats strange because nothing changed besides an iPrint... but now it kills the player?? Weird...
Code:
main() { thread metal_blade(); } metal_blade() { bladetrigger = getentarray("metal_blade_trig","targetname"); for(i=0;i
It did not print "
player killed
"
.KiLL3R.
General Member
Since: Oct 26, 2006
Posts: 974
Last: May 17, 2008
[
view latest posts
]
Category: CoD 4 Level Design
Posted: Tuesday, Apr. 22, 2008 04:17 pm
with out the { and } all players will always die, you need them in
1
2
3
MODSonline.com Forums
: Call of Duty 4 :
CoD 4 Level Design
Short Bowel Syndrome
|
Loans
|
Synchronization fast and easy
|
Loans
|
Car Insurance
All logos and trademarks and information in this site are property of
MODSonline LLC © 2008
.
The comments are property of their posters.
RSS news feeds for MODSonline.com can be found
News.php
.
Partners
Ask About
Advertising
Friends
Ask About
Advertising
Link to Us
468 x 60
468 x 60
468 x 60
150 x 400
140 x 40
Advertise
With Us
MODSonair
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
•
MODSonair Episode 136
•
MODSonair Episode 135
•
MODSonair Episode 134
•
MODSonair Episode 133
•
MODSonair Special CoD:WW Episode
Next Show
The next
MODSonair
show will air LIVE on:
07/27/2008 11:00 EDT
Time remaining:
Copyright
©
2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted