Forums Index >> Modding >> Advanced Modding Questions



Page : <1> :

187

Post them here and I'll do my best to help.

Friday, March 05, 2004 at 12:10:36 AM

Uh oh.... I'm all for helping, but this may lead to confusion in the noobs.

Mention "onenter" and everyone will start saying "what?"

;)

Last edited: Friday, March 05, 2004 at 1:04:25 AM

Friday, March 05, 2004 at 1:03:54 AM
187

You know what? You are so right! This could get a little bit frustrating. But maybe it will help the more experienced modders get better.

Thanks sweetie! :P

Friday, March 05, 2004 at 2:48:20 AM

Heh.

This probably will help more advanced modders, including myself, as I will probably have questions someday. (Like, in 5 minutes)

This community DOES need a good burst in modding, so maybe this will get the noobs more into modding.

Friday, March 05, 2004 at 2:56:19 AM

He, I am pretty much a noob when it comes to modding, I do know a bit tho, im not STUPID, I have managed to figure out alot o basic codes, im just confused as to how u do alot of things, let me think for awhile and single one out... XD

Friday, March 05, 2004 at 10:43:25 AM

Ah yes, I remember now, I was confused about how It's possible to make tank treads HUGE, it's confusing me, I would like to know how to make them only big enough to stretch slightly when u r in the air...

>>Mark<<

Friday, March 05, 2004 at 10:45:26 AM

Ehh how do you do that thing whre when you go through an ammo reload gate you change into a light/ufo/crazytank 187??

And if you dont want to say here then read your E-MAILS

Friday, March 05, 2004 at 10:46:35 AM
187

Hey Mark,

I'm not really sure what you mean by make them HUGE. You can make the treads stretch by increasing the suspensionrange, but as far as making a little tank with giant tank treads.... I don't think it's possible without making a new dts shape.

187

Friday, March 05, 2004 at 1:04:23 PM
187

function tankchanger::onenter(%db, %this, %tank)

{

%client = %tank.client;

%clienttank = %client.startingtankdb;

%tank.client.startingtankdb = "babyboss";

//%tank.hurtme(100);

%tank.position = "0, 0, 0";

Centerprint(%client, "Switching to UFO", 3, 1);

$dumb2:schedule1 = %tank.schedule(1500 , hurtme, 100);

}

 

Friday, March 05, 2004 at 1:09:11 PM
187

Uh........I have a question. How am I supposed to post scripts? The TT tag doesn't seem to do anything useful.

187

Friday, March 05, 2004 at 1:11:21 PM

Do u put this at bottom of MIS file 187

Function tankchanger::onenter(%db, %this, %tank)

{

%client = %tank.client;

%clienttank = %client.startingtankdb;

%tank.client.startingtankdb = "babyboss";

//%tank.hurtme(100);

%tank.position = "0, 0, 0";

Centerprint(%client, "Switching to UFO", 3, 1);

$dumb2:schedule1 = %tank.schedule(1500 , hurtme, 100);

}

 

Friday, March 05, 2004 at 1:50:10 PM

Infact can you e-mail me your MOD with the crazy

Friday, March 05, 2004 at 1:57:17 PM

I belive it would go in the amo gate script, 187--that is a weird code, hurtme/!

Friday, March 05, 2004 at 4:57:15 PM

Lol ive been doing that ehe you will need to know more then just that O_o!

Hurtme is a strange code that was used in the fog and mission area (I just know that dont ask) ehe so hope you get something outa that.

--ishbuu

 

Friday, March 05, 2004 at 4:59:57 PM

Oh and also if you ask something that is REASONABLE I will try to awnser it with my own style I might just send you a dso containing what you want done if you want a nu game type or somethin.

EDIT: mark I believe what you want is lightttank.suspensionrange = "300"; you can cahnge the lighttank part and the numbers

--ishbuu

Last edited: Friday, March 05, 2004 at 5:06:08 PM

Friday, March 05, 2004 at 5:03:24 PM

 

 

Mention "onenter" and everyone will start saying "what?"

 

For once I know stuff before it's publicized! Lol! Ishbuu's been trying to teach me scripting and I'm already able to write new datablocks (with trial and error of course, I'm not that good). I'm just waiting for ish's e-mail to not be broken so he can tell me what I screwed up on.

Friday, March 05, 2004 at 6:15:24 PM

Hey ishbuu, remember my "offer" for you? Could you email me about that? Also, could you send me the DSO or some type of info for the amo changer gates?

Friday, March 05, 2004 at 6:38:40 PM

Already some confusion I think......

This may be like making the ameteur modders jump and unjumpable gap - and this may also begin to bring alot of "wrecked mods" to the lobby.......

I think this is older stuff though, and I don't see any real harm in letting the basics of this out.

Friday, March 05, 2004 at 6:48:00 PM

What scripting program do u use to decode files with just tonns and tons of symbols

 

Last edited: Friday, March 05, 2004 at 11:21:41 PM

Friday, March 05, 2004 at 11:20:25 PM

And where does the function tankchanger::onenter(%db, %this, %tank)

{

%client = %tank.client;

%clienttank = %client.startingtankdb;

%tank.client.startingtankdb = "babyboss";

//%tank.hurtme(100);

%tank.position = "0, 0, 0";

Centerprint(%client, "Switching to UFO", 3, 1);

$dumb2:schedule1 = %tank.schedule(1500 , hurtme, 100);

}

Go?

Saturday, March 06, 2004 at 1:20:27 AM

It's better to make a CS file, with the datablock included.

(See? Confusion)

Saturday, March 06, 2004 at 3:41:05 AM
187

Hey Nathan,

Do you know of any way to post script on here? The [tt] tag doesn't do anything.

Saturday, March 06, 2004 at 4:13:57 AM

AHHHHHHHH CONFUSION, MASS CHAOS THROUGHOUT THE FORUMS, ARMAGEDDON!!!! AAAAAAAAAAAAAAAAAA!!!!! :S :S :S :S :[ :[ :[ :S

Saturday, March 06, 2004 at 6:17:10 AM

I have one, I am rather new to c++, and I have hex workshop 4.2, and was wondering how to change the messages in game ex. The welcome message, the death message, ect.

"ill repost and make my words more clear if needed"

-MIchael

Saturday, March 06, 2004 at 1:49:40 PM

I also got a question, I know how to put smoke emmmiters onto weapons but how do you change the colour of it?

Saturday, March 06, 2004 at 3:17:01 PM

Michael, take a ong look through all the TT folders, somewhere the messages are written, just change 'em.

Saturday, March 06, 2004 at 3:32:31 PM

I know where they are, but if you just change the text it screwes up the game. Have you tried it?

-Michael

Saturday, March 06, 2004 at 6:29:47 PM

MONOSPACED.. Function uiui::onleave(%db......

Now let's see if it worked.

Ya, it's working.

Last edited: Saturday, March 06, 2004 at 7:04:33 PM

Saturday, March 06, 2004 at 7:03:44 PM

Here's a question...

 

Here´s a better way to do it. Forget about the.mis file. Create a new file in the game/server/scripts folder called emitters.cs. Now just put that emitter data in that file then add the following line to the end of your prefs.cs file.

Exec("game/server/scripts/emitters.cs");

This should take care of the increasing size problem.

 

Should the new file (emitters.cs) be a dso or cs file?

Saturday, March 06, 2004 at 10:50:30 PM
187

@ice punk

You just make the.cs file and the game will create a.dso. You don't even have to worry about the.dso cause the game will go off the.cs file every time it loads.

187

Saturday, March 06, 2004 at 11:02:28 PM
187

I'm working on a webpage right now. I don't really know what I'm doing so it's taking longer than I thought. I'll start putting.dso files and.cs files on there. The tt tag on here is useless nathan.

function possesed::onenter(%db, %this, %tank)

{

%client = %tank.client;

%clientname = %client.namebase;

Centerprintall(%clientname @" has been possesed!!!", 2, 2);

%tank.setai(possesedtank);

}

You see what I mean

187

Saturday, March 06, 2004 at 11:30:11 PM

I already have it. Lol

Sunday, March 07, 2004 at 5:41:19 PM

Ok, I missed out on the emmiter boom on TT(I was grounded >_<) so I was just wondering how is everyone making all of these colorfull emmiters? :'( Oh, and if you cant post it, just e-mail me, its in my profile. Thanks.

-Michael

Last edited: Sunday, March 07, 2004 at 6:43:40 PM

Sunday, March 07, 2004 at 6:42:11 PM

You can do a dump on the emitters and particles, and as long as you have set the console to log, you can just copy and paste it into a CS file.

Sunday, March 07, 2004 at 8:00:25 PM

I tried that, everythink I tried it said it couldt find. :(

-Michael

Sunday, March 07, 2004 at 8:14:19 PM
187

Actually your last question is the easiest out of the three. If you just want to add smoke type this at the end of the.mis file.

Lightprojectile.emitter = "rocketemitter";

If you want to create you're own emitter then read this thread

http://www.garagegames.com/mg/forums/result.thread.php?qt=16126

And this one

http://www.garagegames.com/mg/forums/result.thread.php?qt=15903

187

 

Monday, March 08, 2004 at 5:12:15 PM
187

@gkid

Try putting this line at the end of your prefs.cs file instead of the.mis file.

Exec("game/server/scripts/emitters.cs");

Tuesday, March 09, 2004 at 4:20:42 PM

No actually its his emitter that is the problem. Many factors effect the emitter but its up to you to figure them out :'( they are very hard to explain sorry =( but if its way to big or too laggy try turning the size and ejectionperiodms down. Hope that helps

--ishbuu

Tuesday, March 09, 2004 at 5:00:49 PM

I have a problem with my emiters, I have my exec at the top of the mis file, and it picks up the tankchanger, and the powerup scripts fine in the server folder, but when I try to add my files to it(my particles in the server/scripts folder), and run it in a ded, it says the file is missing. Any suggestions? I can post pics if you need visuals.

-MIchael

Wednesday, March 10, 2004 at 12:28:38 AM
187

@michael

Try putting the exec lines in the prefs.cs file rather than the.mis file

 

Wednesday, March 10, 2004 at 2:17:15 AM

I tried, still no luck.

Wednesday, March 10, 2004 at 6:33:23 PM

I do mine in the mis file, because I have over 20 scripts, and I don't want to execute them every time for every level, only when I need them.

Wednesday, March 10, 2004 at 11:37:36 PM

I have it in both, but when I take it out of the.mis it doesnt even try to run it, and if I open prefs.cs it isnt even in the file, anyone have/had this problem, and can lend some tips?

Thursday, March 11, 2004 at 12:06:49 AM

I have had that problem, and I somehoe eventually got it to stay in the file, but I can't remember how, I think it was an accident done in frustration, well, anyway, I never got it working... :[ so it doesn't really matter...

>>>~~~Mark~~~<<<

^^^^^

Thursday, March 11, 2004 at 10:34:41 AM

Heh, me too, I finally got it working, but I cant get it onto my projectiles. Oh BTW 187, I couldnt get the flamethrower working in your node tutorial. :'(

Monday, March 15, 2004 at 3:44:39 PM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald