MODSonline
  Welcome Guest to MODSonline Home | Forums | Register | Login
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
Wiki *
Tutorials
CoD Mapping
CoDUO Mapping
CoD2 Mapping
CoD4 Mapping
CoDWW 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
Inuke [Today]
ultranew_b [Forum]
countytins... [Forum]

3 Members and 12 Guests
Chat MODSonline
0 People Now Chatting
MODSOnline TeamSpeak

download TeamSpeak

In-The-News
Friday, Nov. 21st
CoD:WW Video Tutorial is up!
Friday, Nov. 21st
MODSonair Episode 154
Thursday, Nov. 20th
Call Of Duty World At War - Mod Tools
Wednesday, Nov. 19th
Half-Life 1 $0.98
Sunday, Nov. 16th
MODSonair 154 Live
Latest Poll
Would you pay for mod tools?
I would pay a one time fee for mod tools for my favorite title 8.46%
I would pay a monthly/yearly subsrciption fee for mod tools for my favorite title 0.5%
I already paid for the game - Tools should come bundled because I am just fixing what the developers broke 68.16%
100% definitely NOT! 18.91%
I haven't seen a game yet that wasn't 100% perfect when the developers released it 2.49%
Games are the devil! 1.49%
Read More...
16 comments

Newsletter
Name:
Email:
Newsletter Archives
Your Membership
User Name:
Password:
Register.
In The Forums
script compile error
CoD 4 Scripting.. Posts: (13) Views: (78) by ThisGuy
SKYBOX ; tut
CoD:WW Level Des.. Posts: (1) Views: (15) by [ToC]Blackjak
Running a mod with downloads from redirect
CoD:WW Scripting.. Posts: (2) Views: (12) by Tally
[WIP] SP_Paradise
CoD 4 Single Pla.. Posts: (17) Views: (532) by starkk
Google 468 Banner Half-Life 2 Mods for Dummies
CoDWW Download
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.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty
Category: CoD General Gaming
General game questions, comments, and chat.
Moderators: foyleman, rEdrUmMDK, Foxhound, Wyatt_Earp, Rasta, StrYdeR, The_Caretaker, Cypher2004, supersword, batistablr, Welshy
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access
Page
Next Page
subscribe
Author Topic: Half-life2 guns?
94sniper
General Member
Since: Jun 15, 2007
Posts: 901
Last: Nov 13, 2008
[view latest posts]
Level 7
Category: CoD General Gaming
Posted: Thursday, Sep. 13, 2007 05:25 pm
I'm gonna make a gun from Half-life 2, the gravity gun. but I don't know how to change the fire efx or make it move stuff. any help? I'm sure some of this could be done through scripting, but I have yet to:
make the Xmodel
find out how to make the EFX
find a good firesound
NovemberDobby
General Member
Since: Sep 17, 2006
Posts: 1663
Last: Nov 20, 2008
[view latest posts]
Level 8
Category: CoD General Gaming
Posted: Thursday, Sep. 13, 2007 06:47 pm
The scripting would be the hard bit, actually.

I can't think of how this can be done, due to cod's damn near lack of a physics engine. Oh, and anything moveable would need to be a script_model / script_brushmodel, which would mean that you would need quite a few of those to make it interesting, which would add to the gamestate chars, and the server traffic, and stuff.

But, we can help you with the models and efx.

Hmm, can't make it take right clicks either, unless we use (isads()) and make the gun not zoom when aimed down...hmm...

Edit: oh wait, the E key

edited on Sep. 13, 2007 06:49 pm by novemberdobby
94sniper
General Member
Since: Jun 15, 2007
Posts: 901
Last: Nov 13, 2008
[view latest posts]
Level 7
Category: CoD General Gaming
Posted: Thursday, Sep. 13, 2007 09:26 pm
the scripting, I can figure it out with time, and a good tut. I can't figure out how to convert how to make my XMODEL_EXPORT file into a Xmodel by using the asset manager. something said that I need a shader. All i basically have is my XMODEL_EXPORT file. don't really know how to do anything else.
NovemberDobby
General Member
Since: Sep 17, 2006
Posts: 1663
Last: Nov 20, 2008
[view latest posts]
Level 8
Category: CoD General Gaming
Posted: Friday, Sep. 14, 2007 04:04 am
Converting models:

http://www.modsonline.com/Tutorials-read-208.html

It's less what you can figure out with scripting, but more cod's limitations. You would only be able to move the box left and right, not up and down, and you'd probably need a custom map for it, with lots of scripted entities in.
Mpz
General Member
Since: Jul 10, 2006
Posts: 195
Last: Jun 30, 2008
[view latest posts]
Level 4
Category: CoD General Gaming
Posted: Friday, Sep. 14, 2007 05:47 am
Great idea but I'm sorry to say that that it's pretty much impossible with the game engine. You would need an advanced physics engine for that and CoD has nothing of the sort.

If you keep trying, good luck but I hate to see you wasting your time.

novemberdobby is right though, that if you somehow get the scripting to work, you will need to make custom maps for it or you will have a useless gun.
94sniper
General Member
Since: Jun 15, 2007
Posts: 901
Last: Nov 13, 2008
[view latest posts]
Level 7
Category: CoD General Gaming
Posted: Friday, Sep. 14, 2007 04:35 pm
wait up, dont models have origins "built in"? if so, I can just change the fire effects and make ALOT of brushmodels. however, I wouldn't be able to destroy the boxes and such would I? that is, unless, I make them exploders, but I don't have that kind of time. I'm actually planning on making a BIG series of levels. like a full game kind of length. That's why I wanted to know.
94sniper
General Member
Since: Jun 15, 2007
Posts: 901
Last: Nov 13, 2008
[view latest posts]
Level 7
Category: CoD General Gaming
Posted: Friday, Sep. 14, 2007 04:39 pm
in my script, can I make a line with something like:

waittill (playershoot);

so that it would act more as a trigger?
94sniper
General Member
Since: Jun 15, 2007
Posts: 901
Last: Nov 13, 2008
[view latest posts]
Level 7
Category: CoD General Gaming
Posted: Friday, Sep. 14, 2007 04:44 pm
also, How would I make the effects only work when I shoot the grav gun?
NovemberDobby
General Member
Since: Sep 17, 2006
Posts: 1663
Last: Nov 20, 2008
[view latest posts]
Level 8
Category: CoD General Gaming
Posted: Friday, Sep. 14, 2007 04:51 pm
It's like Mpz said, we probably can't help you much. There is a function that can use the player's attack button, but I dare say it won't help much...
94sniper
General Member
Since: Jun 15, 2007
Posts: 901
Last: Nov 13, 2008
[view latest posts]
Level 7
Category: CoD General Gaming
Posted: Friday, Sep. 14, 2007 04:52 pm
well then perhaps you can tell me where to find the weapon scripts so that I can study them to the death. I really want to know how to do this.
Restricted Access Restricted Access
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty : CoD General Gaming
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 can be found News.php.
Intergi
Partners
Call of Duty Headquarters
Frag Universe
CODAddicts - Call of Duty News & Downloads
XoXide
modbase.be
The Firing Box
Battle for Europe COD2
Ask About
Advertising
Friends
ModTheater
SOF2 Files and Downloads
Great Gamer
Ask About
Advertising
Link to Us
MODSonair
View in iTunes
Please help us to raise in the ranks of podcasting and subscribe to our itunes feed using the link above.
MODSonair Releases
MODSonair Episode 154
MODSonair Episode 153
MODSonair Episode 152
MODSonair Episode 151
Video server move
Next Show
The next MODSonair show will air LIVE on:
11/23/2008 12:00 EST

Time remaining:
Copyright © 2008 MODSonline
Tresware Content Management System Copyright © 2008 Tresware
Website Designed and Hosted   Tresware