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

Members Online

»
0 Active | 51 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 Scripting
Scripting and coding with Call of Duty 4.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Help with creating a mod
ZEZE
General Member
Since: Jan 29, 2006
Posts: 10
Last: May 21, 2009
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Saturday, May. 16, 2009 02:35 pm
Hi,

I need some help. I have been working on a mod that I would liek to be made. So far i have been doing things like rexturing things, changing weapon stats etc.

Now I want to take my mod to the next level. I was wondering where the information for perks etc. are. Can you mod these? for example, disable/change and exisitng perk? Can you import new weapon files? How do you add them?

Mabye some background on my idea would help. Basically, it's very simple. I want everybody to be forced to join Opfor/Spetsnaz and then after 5/10 secs someone is forced onto the SAS/Marines side. They are equipped with a knife/some really kewl melee weapon if i can mod it in. Also they are super strong and super fast. All the Opfor/Spetsnaz have to do is kill him and they win. The Super Tough guy just has to survive until the time runs out or kill the other team.

I was also thinking about another game mode inside the mod involving more Supersoldiers and one target that the normal guys have to command, but i can come to that once I know the basics.

So i'm guessing i need a script for this but i have no i dea how to make one or where to put it.

Any help, even pointing me to a tutorial or tellign me where some files i can edit are.

Please help!
Share |
ZEZE
General Member
Since: Jan 29, 2006
Posts: 10
Last: May 21, 2009
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Sunday, May. 17, 2009 09:22 am
Okay,

Well i guess some people don't really understand what i'm trying to do. That's OK, i'm pretty poor at explaining I guess.

So I've written what I want the script to do...
Now it just needs to be "translated" i suppose. Any help with this would be much appriecated.

------------------------------------------------------------------------
This makes one of the players the supersoldier
Elapsed game time is 10 seconds

Print on Screen: Leader is being Chosen

Select a random player from Axis

Print on Screen: The Supersoldier is: *Insert Name of player here*

Switch Selected player to opposite team

Spawn Selected Player

Remember all of the players are forced to join Axis at the start... So it picks from every player
-------------------------------------------------------------------------
This part means that when the super soldier is killed then the other team wins!
A Player is Killed

If Player = Selected player
then
End the Game: Axis Win
--------------------------------------------------------------------------
This means if the time runs out then the Supersoldier wins
If Time Limit Expires
then
End the Game: Allies Win
--------------------------------------------------------------------------
This means that when all the Axis are killed then the supersoldier wins
A Player is Killed

If Axis = 0
then
End the Game: Allies Win
---------------------------------------------------------------------------

Thanks in advance! :)
Share |
ZEZE
General Member
Since: Jan 29, 2006
Posts: 10
Last: May 21, 2009
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Tuesday, May. 19, 2009 11:59 am
Bump...

If what i'm asking is impossible/stupid then please tell me.
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD4 Scripting
Posted: Tuesday, May. 19, 2009 12:44 pm
It can be done almost anything can be done. I think your best bet is getting a zombie mod and changing a lot of the values on that. Because that has half the things you need, just change everything to "supersoldier" and edit the zombies to have weapons by scr_allow_zombies_weapons 1 but have scr_zombies_pistol 1 (0 = just pistol 1 = just knife 2 = both)
And Then change the called up zombie weapon model to you knife, then add ammo to it by using the weapons file.

that would be your best bet

Thanks, Ukdjaj[thumbs_up]
Share |
ZEZE
General Member
Since: Jan 29, 2006
Posts: 10
Last: May 21, 2009
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Thursday, May. 21, 2009 11:38 am
Cool, thanks for replying.

Do you have any idea how i could force all players onto one team and then switch one after 10 secs though?

Thanks again for replying,
Sondar
Share |
ukdjaj
General Member
Since: Jun 1, 2008
Posts: 2726
Last: Nov 15, 2020
[view latest posts]
Level 9
Category: CoD4 Scripting
Posted: Thursday, May. 21, 2009 03:35 pm
Hmm i suppose that its another variation of the LMS gametype. I not that good at scripting but your on the right lines in your 2nd post. I will need its own script but you'll need a proper scripter for doing that its a whole new script all together.

Thanks, Ukdjaj[thumbs_up]
Share |
DemonSeed
General Member
Since: Apr 30, 2009
Posts: 1362
Last: Feb 19, 2018
[view latest posts]
Level 8
Im a fan of MODSonair
Category: CoD4 Scripting
Posted: Thursday, May. 21, 2009 04:17 pm
The description of the gametype sounds like a cross between Behind Enemy Lines (stock gametype in COD1/UO), Hitman gametype and VIP gametype (custom gametypes).

For a guide on how to get everyone onto the same team, I would suggest you look at VIP (which is in all versions of AWE mod), and apply its logic to DM gametype.
Share |
ZEZE
General Member
Since: Jan 29, 2006
Posts: 10
Last: May 21, 2009
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Thursday, May. 21, 2009 05:38 pm
Yeah the Behind Enemy Lines game mode soudns very cool, i need to reinstall COD1 at some point.

Thanks for the tip about AWE, i'll look into it.
Share |
ZEZE
General Member
Since: Jan 29, 2006
Posts: 10
Last: May 21, 2009
[view latest posts]
Level 0
Category: CoD4 Scripting
Posted: Thursday, May. 21, 2009 05:55 pm
(I would have edited my last post but my 10 mins were up)

Again thanks for the tip. I have downloaded the AWE mod and I want to take a look at the VIP game mode. However, the only thing i can find out about it is the config file for it, allowing you to choose various settings to do with it.

So I assume it is contained with in the Fastfile of the mod. How do i open this? I am i allowed/ Is is right to open this?

Thanks for your continued patience!

: )
Share |
irishstorm
General Member
Since: Jan 19, 2009
Posts: 128
Last: Feb 25, 2011
[view latest posts]
Level 4
Category: CoD4 Scripting
Posted: Thursday, May. 21, 2009 07:04 pm
http://www.modsonline.com/Downloads-full-4786.html
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 Scripting

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

»