Game Development Community

Help on Moding Outside of ModWizard

by · in ThinkTanks · 03/17/2004 (7:06 am) · 83 replies

I just have three questions. Answer as much as you can plz. I know you can do all of these things because iv seen it happen. I don't have torque, so do step by step on the scripting part plz.

1. How can you get unlimited ammo so you don't need to reload?
2. How do you make it so you can shot one after anouther?
3. How do you connect the land to the other islands?
4. How can you go faster in your mod.

Thanks fo any help. (i might add on to the questions later).
Page «Previous 1 2 3 4 5 Last »
#1
03/17/2004 (8:57 pm)
1. lighttank.defaultprojectile.count = 1000000;
2. lighttank.defaultprojectile.relodtime = 0; and lighttank.defaultprojectile.burstdelay = 0;
3. Copy and past this over the existing info at the top of the .mis, there are just a few changes in there to make it work, so copy and paste it exactly like it is.
};
new MissionArea(MissionArea) {
area = "-512 -512 1024 1024";
flightCeiling = "200";
flightCeilingRange = "0";
floor = "-99";
locked = "false";
};
new Sky(Sky) {
position = "0 0 0";
rotation = "1 0 0 0";
scale = "1 1 1";
visibleDistance = "300";
useSkyTextures = "1";
renderBottomTexture = "0";
SkySolidColor = "0.300000 0.000000 0.600000 1.000000";
fogDistance = "30";
fogColor = "0.250000 0.200000 0.600000 1.000000";
fogVolume1 = "0 0 0";
fogVolume2 = "0 0 0";
fogVolume3 = "0 0 0";
materialList = "~/data/skies/sky_day.dml";
windVelocity = "1 1 0";
windEffectPrecipitation = "1";
noRenderBans = "0";
fogVolumeColor1 = "128.000000 128.000000 128.000000 -222768174765569860000000000000000000000.000000";
fogVolumeColor2 = "128.000000 128.000000 128.000000 -22.000000";
fogVolumeColor3 = "128.000000 128.000000 128.000000 -170698929442160050000000000000000000000.000000";
cloudHeightPer2 = "0";
locked = "true";
cloudSpeed2 = "0.0002";
cloudSpeed1 = "0.0001";
cloudHeightPer1 = "0";
cloudSpeed3 = "0.0003";
cloudHeightPer0 = "0";

-Michael
#2
03/18/2004 (2:52 pm)
Thanks michael for all the help, but iv never done any thing out side of modwizard before so i don't know for 1, 2 where to edit the files. I can't find files lighttank.defaultprojectile.count lighttank.defaultprojectile.relodtime
i don't know if these are even files, maybe stuff in side of files plz tell me which files to edit and where.
Thanks.
#3
03/18/2004 (3:06 pm)
Thats great, fresh start. Go to my site, which is located here, and click on modding tutorials, then click on Mission Modding Tutorial. If you have any questions after that, post back, and ill see what I can do.

-Michael
#4
03/18/2004 (7:00 pm)
Your tutorial help i now know how to rename my mod and make it so you don't get kill when hiting fog. None of my questions i found answers to in the missions tutorials and i look again for the two files (names) for 1, 2 you gave me in the misssions files and they weren't there. You started at the end of your tutorial not to have such a good discription of what to do or what your doing dose. I added one more question: "4. How can you go faster in your mod." this will be my last question unless your reply doesn't work for me :-).
Thanks for all your help!
#5
03/18/2004 (8:03 pm)
Below is the end of your mission (well, except for the object, it will probably be different), and the bold is what you need to do, and where to put it.
};
   new TSStatic() {
      position = "-11.3754 -112.523 109.412";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      shapeName = "~/data/shapes/Red/rockred02.dts";
      treeLighting = "0";
      lightBoost = "0";
   };
};
[b]lighttank.defaultprojectile.count = 1000000;
lighttank.defaultprojectile.relodtime = 0;
lighttank.defaultprojectile.burstdelay = 0;
HeavyTank.fx = BabyBossFX;
LightTank.accelRate = 80;
LightTank.deccelRate = 200;
LightTank.antiSlideRate = 125;
LightTank.turretHorRange = 0;
LightTank.maxSpeed = 90;[/b]
//--- OBJECT WRITE END ---

As you can see, the edited stuff is in-between the last ); and //---OBJECT WRITE END---, and that is where you will do all of your modding of the tanks and things.
#6
03/20/2004 (7:33 am)
So far every thing has worked except the reload time and two other things. I think the reload time controls how fast you shot, but any way theres a problem there. It dosen't work for power ups. On normal shots you have to repeatively hit the mouse for fast shots so i try that on the power ups and it doesn't work. Also i would rather just hold down the mose but it's ok how it is. The second promblem is i can only shot up and down, but iv fix it. I had to delet LightTank.turretHorRange = 0; part of the code to make it work. Not sure what it does. Last thing is the once you get a power up i wanted to have it untill you die, unless you hit anouther power up and you get a diferent one.
#7
03/20/2004 (11:57 am)
Ok, for the powerups put this with the rest of the stuff at the bottom above object write end...
bounceprojectile.burstcount = 1000000;
bounceprojectile.count = 1000000;
bounceprojectile.burstdelay = 0;
bounceprojectile.reloadtime = 0;
speedyprojectile.burstcount = 1000000;
speedyprojectile.count = 1000000;
speedyprojectile.burstdelay = 0;
speedyprojectile.reloadtime = 0;
splashprojectile.burstcount = 1000000;
splashprojectile.count = 1000000;
splashprojectile.burstdelay = 0;
splashprojectile.reloadtime = 0;
lighttank.defaultprojectile.burstcount = 1000000;

Oh, and the light tank can now just be heald down. :) If you have any more questions, I will be happy to answer.

-Michael
#8
03/21/2004 (4:38 am)
Is this in the main.cs thingy????
#9
03/21/2004 (7:30 am)
No, this is in one of the .mis files.
#10
03/21/2004 (8:22 am)
1.how do i make jump pads make u go super high
2.how do i make ufo's
3.can u add boost pads in the mis files or do u nees the mod wizard 4 that

KAG
#11
03/21/2004 (8:25 am)
1) since not alot of people have figured it out yet, I am keeping it disclosed.

2) lighttank.shapefile = "game\data\shapes\tanks\tank05.dts";

3)
};
   new Boost() {
      dataBlock = "Boost1";
      position = "161.132 -80.519 114.292";
      rotation = "0.0674566 0.0608758 -0.995863 50.7929";
      scale = "1 1 1";
      lightBoost = "0";

-Michael
#12
03/21/2004 (8:40 am)
I dont get the boost part
what do i do when i get there???
#13
03/21/2004 (8:47 am)
When i do the light tank to make into a ufo it says you dont have the right version og torqu game engine.
#14
03/21/2004 (8:52 am)
LightTank.shapeFile = "game/data/shapes/tanks/tank05.dts";

Sorry, had the / going the wrong way lol.
#15
03/21/2004 (9:10 am)
Still doesnt work
#16
03/21/2004 (9:11 am)
Should it b ShapeFiles instead of shapeFiles?
#17
03/21/2004 (11:35 am)
Quote:}; new Boost() { dataBlock = "Boost1"; position = "161.132 -80.519 114.292"; rotation = "0.0674566 0.0608758 -0.995863 50.7929"; scale = "1 1 1"; lightBoost = "0";

i dont get this what do i do to make a boost pad
#18
03/21/2004 (11:38 am)
AH HA it should be Tank04 not 05
#19
03/21/2004 (1:24 pm)
It is shapefile, not shapefiles.
Quote:i dont get this what do i do to make a boost pad
That will amke a boostpad. And no, it is tank05 for a babyboss.
#20
03/22/2004 (3:47 am)
Still....
what do i add a new rotation or a new position or what


it should be tank04

tank01 light
tank02 medium
tank03 heavy
tank04 UFO
Page «Previous 1 2 3 4 5 Last »