In Game: The Punisher
Joined: May 04, 2012
Last Visit: Nov 01, 2019
Medals: 2 (View more...)
|Posted: Mon Aug 12, 2013 1:24 pm
Post subject: Tutorial.10 - Scripts
| SOF2MODDING Tutorial.10 - Scripts
Welcome to the SOF2MODDING Tutorial Series. I'm gonna explain how to make a MOD for Soldier Of Fortune Double Helix II. The tutorials are for beginners and advanced modders. Some parts are hard to understand, so if you have any Questions you can Comment or send me a PM with the Question you have.
Alright Let's Start.
We just did the Sound & Music tutorial, Sorry if that was a bit bad same for the coming up Tutorials.
But it's getting harder to explain everything.
But today we can have a great Tutorial Again about the script folder.
If you open it you can see lots of folders with map names.
You can delete all these folders because we cant edit them.
Now you will have a group of files types ' gametype, outfitting, arena and voice.
We will start with outfitting filetypes.
Let's open commando.outfitting.
If you open ingame your weapons you can see somwhere up a balc where you can see types like Grunt, Commando, Sniper etc...
These files are it.
displayName - This is the Name of the outfitting.
weapons - Weapons that are included.
So Commando has the following weapons:
M1911A1 - Pistol
M60 - Primairy Gun
M3A1 - Secundairy gun
M15 - Granade
items - The items you are carying.
Thermal Goggles" - Thermal Goggles, displays heat on your screen, players will glow up in yellow or red, the rest will be blue or black.
So if we want to make our own let's copy a outfitting file toward your desktop and open it.
Rename the file to whatever you want, i will call it ' ND ' because it is a good outfit if your playing in ND ( with all normal weapons ).
Now change displayName to how you renamed the file already.
Now choose the weapons you like.
First you need to choose your pistol.
- US SOCOM
- Silver Talon
Than we need to choose our primairy weapon.
- AK74 ( includes bayonet. )
- M4 ( includes M203 Granade Launcher )
- MSG90A1 ( Sniper )
- M60 ( Machine gun )
-Sig 551 ( Sniper )
-USAS-12 ( shotgun )
Than our Secundairy Gun.
- M590 ( shotgun )
- Micro Uzi
Than your Granade.
- ANM14 ( Fire )
- M15 ( Smoke )
- smohg92 ( explosion )
- m84 ( Flash )
Now we need to select 1 item.
- Armor ( mostly Full Health ).
- Thermal Goggle ( Heat Seeker )
- NV. Goggles ( Night Goggle )
Than save it and copy/paste it again in your script folder.
The arena File gives you information about the map.
Let's open one; i open mp_shop.arena
map - the name of the file ( mp_shop.bsp but without .bsp ).
longname - The full name of the map.
type - on which Gametypes can the map be played.
This is usefull if you are making maps.
In silver people are using this also for edits ( if i'm correct ).
As last we have the Voice Type.
Let's open the male1.voice.
You see everytime the same.
Firsy ou see ' Careful ' This is the name.
than see the path to the sound; in this case it's sound/radio/male/careful.wav.
Than we get the text that is saying ingame.
In this case Be careful!.
You can edit this yourself.
If you open the Gametype files, everytimes you see changes in it.
But the basics are :
Discplayname - Name that will be shown in Loading Screen and as Gametype.
respawn - If you respawn or not.
pickups - if you can pickup items, ammo etc...
teams - If there are teams, mostly it's yes but in dm its no.
description - Description which will be displayed by objective.
icon - what you can see down on the left of you screen.
Model - The Flag models.
boltmodel - Where flag stays on.
Now we ended the Script folder.
Video Tutorial Coming Soon!
Website: House of Pain Server - Website
Serverlist: House of Pain Server - Serverlist
|You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum