Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 58 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

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.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 4
Category: CoD4 MP Mapping
CoD 4 mapping and level design for multiplayer.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Scripter help needed
TrikX
General Member
Since: Jul 7, 2012
Posts: 129
Last: Dec 31, 2016
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Sunday, Jun. 8, 2014 07:43 pm
Hi, i need someone to help me with a problem i am having!
I'm making a map for ROTU mod, and most of the maps are standard (zombies come out, you shoot and that's it) so i want to add some other stuff to my map, like traps for zombies.

The idea is to make a trap on the door, and when a player activates it all the zombies that come trough that door will be killed, and the points will go to the player who activated it.
The trap will deactivate after maybe 20 seconds.

Now, i have no clue how to make a script ti kill a zombie and give player the points. For that i need your help!

The funny thing is, i know how to take the points from player, but not how to give him some! [lol]
Share |
antonio.horvatovic0
General Member
Since: Jan 31, 2014
Posts: 225
Last: Jul 14, 2017
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Monday, Jun. 9, 2014 10:14 am
I'm doing the same thing in COD2, only with normal AI...I'll try to make a trigger_damage(or hurt, how its called again?) and when you activate a certain script, the trigger would just spawn or move to that location....
Share |
TrikX
General Member
Since: Jul 7, 2012
Posts: 129
Last: Dec 31, 2016
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Monday, Jun. 9, 2014 11:49 am
i would just use trigger_multiple, and link it, then move up and down, that's not the problem. Problem is that i need to kill server bots but not the player, and i don't know how to do it. Also the points for every killed zombie needs to go to the player who activated it, so...
Share |
antonio.horvatovic0
General Member
Since: Jan 31, 2014
Posts: 225
Last: Jul 14, 2017
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Monday, Jun. 9, 2014 12:13 pm
They are not affected by the hurt trigger? Hm....didnt know that[banghead]
Share |
TrikX
General Member
Since: Jul 7, 2012
Posts: 129
Last: Dec 31, 2016
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Monday, Jun. 9, 2014 12:21 pm
maybe they are, i don't know. can't test it if i don't know how to kill them. if i use dmg on hurt_tigger it will also kill a player, and i don't want that!
Share |
TrikX
General Member
Since: Jul 7, 2012
Posts: 129
Last: Dec 31, 2016
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Monday, Jun. 9, 2014 01:25 pm
i was just playing with suicide command and i found out how to kill zombies but not the player. Defined the zombie, and just called the zombie suicide();

Now i only need to know how the trigger will know who activated it and give that player points for every killed zombie. Help me someone, please!
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD4 MP Mapping
Posted: Monday, Jun. 9, 2014 02:32 pm
Hi TrikX,

It has been a while, but does the player get points in WaW for the zombies killed by the electric gates? (or other traps in prototype)?

If so the code will already exist in the zombie mode scripts

[angryalien]
Share |
TrikX
General Member
Since: Jul 7, 2012
Posts: 129
Last: Dec 31, 2016
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Monday, Jun. 9, 2014 02:39 pm
StrYdeR writes...
Quote:
Hi TrikX,

It has been a while, but does the player get points in WaW for the zombies killed by the electric gates? (or other traps in prototype)?

If so the code will already exist in the zombie mode scripts

[angryalien]


Yes it has [wave]
I don't know if it is there, but i think that the player gets the points. And i don't have WaW installed right now on my PC. If no one can help, then i guess i have 2 ways of doing it, one is not to do it at all, and the second is to try what ever i can find :D
Share |
StrYdeR
General Member
Since: May 11, 2004
Posts: 11671
Last: Oct 7, 2021
[view latest posts]
Level 10
Admin
Forum Moderator
Im a HOST of MODSonair
Category: CoD4 MP Mapping
Posted: Monday, Jun. 9, 2014 03:44 pm
attachment: application(15.5Kb)
these might help you out...

[angryalien]
Share |
TrikX
General Member
Since: Jul 7, 2012
Posts: 129
Last: Dec 31, 2016
[view latest posts]
Level 4
Category: CoD4 MP Mapping
Posted: Monday, Jun. 9, 2014 04:41 pm
This might help, i hope! Thank you! [thumbs_up]
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»