MG42 making


(Lock Ness Monster) #1

I know how to make MG42s, but is there a way to change what it fires, change its model, and change its size?

I want to make it fire missles and i want it to be way bigger then normal, so what im asking really is, is there a way to change literally everything about it so u have to be inside it to fire it, and that it fires missles instead of bullets?


(Ifurita) #2

Mean Mr Mustard will be right along. He can help you out


(Lock Ness Monster) #3

ok, i hope this is possible, if it is i have some good ideas lol


(Orange) #4

That’s half a mod already…
J/K

I hope you’ll find a way.


(Mean Mr. Mustard) #5

Mean Mr Mustard will be right along. He can help you out

LOL

Change size of a model: use the modelscale key — but then you’ll just have a verg big mg
Change a model – use the changemodel command in your script file. But you’ll need a new model (md3) to change it to
Change how it fires – probably hard coded to fire bullets

This is what you need: a new md3 (model) like a flak cannon, then you’ll need some triggers to allow the player to shoot the cannon and trigger a shooter. Check out the baserace map by CptnTriscuit. He fires panzer missiles automatically from his towers. This could be scripted and mapped to have a player execute the firing.

And even before you ask: No I will not create a little test map with something like this in it.


(Malverik) #6

here is a question for you!
if you change the model of a mg42 to something else, can the player still attach themselves to it to fire?

Also, the canon model with a shooter is a good idea only you will not be able to aim like when using an mg42

Oh, and on a somewhat related topic, is it possible to generate a random number with the script? For example, if i want a shooter mortar to shoot a random preset target now and then?


(Mean Mr. Mustard) #7

Yes, you can generate a random number in the script and use it to trigger events. We did it in Vengeance to randomly place the safety codes. Check the LDR for script commands to see the syntax.


(Lock Ness Monster) #8

i just got one question for all of yall

WHAT THE HELL ARE YALL TALKING ABOUT?!?!?

LOL, sorry fot the bluntness lol. Im still a big newbie, so i dont know what all this stuff means like hard coded and all. And when i do make a md3 all that comes up is a little with lined box that u cant click, no models or nothing come out. So could yall plz use simplelized newbie terms lol, it would help me alot LOL


(Helljumper) #9

yeah me to. i need help on the same thing


(Mean Mr. Mustard) #10

Ok, I’ll try to newbify my explanation:

models (usually .md3 or .ase) - objects like the truck, the tank, command posts, construction crates etc. These are usually complex objects that would be difficult to make simple using brushwork. So, a 3-D modelling program such as 3DMax or gmax are used (search the web on more info on 3-D modelling programs). Models are then used in ET as misc_models or misc_gamemodels (do a search on there forums for information on the differences between the two). Other models that appear in game are trees, bushes, most of the light fixtures, the faucet of the sink, etc. Check in etmain/models/mapobjects for the ET models most commonly used

hard-coded - part of the executable which cannot be modified without modifying the source code. ET.exe is the executable. It has variables that can be changed without modifying ET.exe – things like loading different maps, all the cvars, mouse controls etc. ET.exe also has things that cannot be changed without creating a mod.

mod - modification to the ET.exe source code that changes things otherwise unchangeable.

mg42 - an entity in ET that has certain properties. Some of these properties can be modify in a map, others cannot. The mapper can determine accuracy, horizontal and vertical firing arc, health. But the mg42 will behave in certain ways (fire bullet, overheat, etc) due to the entity definition in ET.exe.

Advice: read the LDR (multiple times), read the sticky: Tutorials and Mapping Resources, search the forum. Most of these questions have been asked over and over and over - and there are much better explanations than I can provide.


(Lock Ness Monster) #11

so is it possible to make a gun turrent that u can hold like an MG42, but it fires panzers instead, i just had the idea, and ive never seen it before, so what r teh chances of that being possible?


(Mean Mr. Mustard) #12

My guess is not without a mod to ET.

There are rumors that an AA (anti-aircraft) gun exsits in the source code – but no models etc. This was for a map that was canned (not completed) by SD. Talk about it occurred recently on this SD forum. Can’t remember the title though


(Lock Ness Monster) #13

I have no clue how to do modding, this sucks


(Lock Ness Monster) #14

can someoen helpe me try to make that?


(Malverik) #15

You should try the mod making forum

Seems like having a crew-served rocket gun is a matter of life or death to you :wink:

another way would be to make a turret that shoots only predetermined places and you control it with buttons! Or have it set up with trigger_multiples along with timers so that depending on where the player stands it moves the turret left or right