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

Members Online

»
0 Active | 66 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 Scripting with CoD4 Mod
theian
General Member
Since: Jun 18, 2009
Posts: 16
Last: Sep 4, 2009
[view latest posts]
Level 1
Category: CoD4 Scripting
Posted: Thursday, Jul. 30, 2009 12:52 am
Hey all,

Basically I want to make CoD4 in the spirit of Contra. So players will play from a side scrolling perspective so I was wondering if it was possible to have the camera follow the player from a zoomed out side view (probably similar to how shoutcaster cam works) and the other thing would be to lock the mouses x-axis and only allow up and down viewing not side to side so the opposite to the (player_view_angles_up/down 0)

If theres a scripter out here who wants to work with me on this would be great as I can see this being really fun and will look great if it comes together like I envisioned. Or if theres people who can help me with the scripting over the forums I'd be more than happy to put you credits once I finis. Any feedback on whether its possible or not is appreciated too :)

Thanks fellas,
Share |
irishstorm
General Member
Since: Jan 19, 2009
Posts: 128
Last: Feb 25, 2011
[view latest posts]
Level 4
Category: CoD4 Scripting
Posted: Thursday, Jul. 30, 2009 02:22 am
i think i know what your trying to do!

something like this?


thats just cg_thirdperson 1 and cg_thirdpersonrange 600

so something like that ?
Share |
theian
General Member
Since: Jun 18, 2009
Posts: 16
Last: Sep 4, 2009
[view latest posts]
Level 1
Category: CoD4 Scripting
Posted: Thursday, Jul. 30, 2009 04:43 am
[thumbs_up]

Cheers mate! I set the cg_thirdpersonangle to 90 to make it side scrolling. And used the other two commands you posted to get the zoom right and 3rd person!

Just having trouble now making the mouse only go up and down and locking the x-axis so they cant turn the camera around the player, I only want the player to be able to look up and down.
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

»