Forums Index >> Modding >> Advanced Modding Questions
Page : <1> :
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
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
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.
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
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<<
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
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
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);
}
Uh........I have a question. How am I supposed to post scripts? The TT tag doesn't seem to do anything useful.
187
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);
}
Infact can you e-mail me your MOD with the crazy
I belive it would go in the amo gate script, 187--that is a weird code, hurtme/!
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
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
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.
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?
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.
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
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?
It's better to make a CS file, with the datablock included.
(See? Confusion)
Hey Nathan,
Do you know of any way to post script on here? The [tt] tag doesn't do anything.
AHHHHHHHH CONFUSION, MASS CHAOS THROUGHOUT THE FORUMS, ARMAGEDDON!!!! AAAAAAAAAAAAAAAAAA!!!!! :S :S :S :S :[ :[ :[ :S
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"
I also got a question, I know how to put smoke emmmiters onto weapons but how do you change the colour of it?
Michael, take a ong look through all the TT folders, somewhere the messages are written, just change 'em.
I know where they are, but if you just change the text it screwes up the game. Have you tried it?
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
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?
@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
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
I already have it. Lol
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
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.
I tried that, everythink I tried it said it couldt find. :(
-Michael
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
@gkid
Try putting this line at the end of your prefs.cs file instead of the.mis file.
Exec("game/server/scripts/emitters.cs");
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
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
@michael
Try putting the exec lines in the prefs.cs file rather than the.mis file
I tried, still no luck.
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.
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?
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~~~<<<
^^^^^
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. :'(
Page : <1> :
Post them here and I'll do my best to help.