| |
Topic |
Replies |
Views |
Last Post |
 |
Personal varibales?Call of Duty 2 : CoD2 Scriptingsimple, use for each gate or seal a variable
seal 1 = level.seal1
seal 2 = level.seal2
seal 3 = level.seal3
so then if its at the last gate it will only continue if
Code:
if(level.seal1 == true && level.seal2 == true && level.seal3 == true)
th... [ more] |
4 |
52 |
Nov 22, 2008 07:29 am by xholyx |
 |
nocollision for character?:)Call of Duty 2 : CoD2 ScriptingSlipknot14 writes...Quote:and a proof again for that: xmodels haven't
collisions.
I deleted preache charater models, then in thirdperson I didn't see
charaters, but the hitbox were there :)
then i cant help u, i said how it is.... [ more] |
5 |
69 |
Nov 8, 2008 11:31 am by xholyx |
 |
nocollision for character?:)Call of Duty 2 : CoD2 Scriptinghitbox and collision are defined in xmodel and material, u cant change
those by script, u can try to use this:
Code:
characterme = self;
characterme notsolid();
never tried, so dunno if works... [ more] |
5 |
69 |
Nov 8, 2008 09:48 am by xholyx |
 |
thermal vision (heat detection)Call of Duty 4 : CoD 4 Scriptingnotifyoncommand is SP only, dunno if u want singleplayer Uprize...
also set_vision_set wont set the vision in mp, and if it will (with
visionsetnaked("visionfile") ) then it will change for everybody... [ more] |
8 |
181 |
Oct 22, 2008 08:30 am by xholyx |
 |
Help with making a player in game parachute with FCall of Duty 2 : CoD2 Scriptingwhat problems do u have with it? please post first,
and as i see it isnt really ur own script because there are some things in
this script , that i would ask myself ,' Why did i do this?'
also u have to ask some things to yourself, like:
does the scrip... [ more] |
2 |
83 |
Oct 10, 2008 11:37 am by xholyx |
 |
Making a 'group' system , How to?Call of Duty 4 : CoD 4 Scriptinghi all, im sitting with my hands in my hair so i hope u could help me with
a problem.
I want to define players to a 'group' when they spawn ( @ spawnplayer() in
globallogic.gsc)
like :
self = level.waittingplayer;
what i want to do with this def... [ more] |
1 |
61 |
Oct 9, 2008 02:06 pm by xholyx |
 |
Starship troopers - CoD4 ModCall of Duty 4 : CoD4 General Gaming i dont think u can make this for cod 2 because of the xmodel limits.
as u know many mods are stuck at this problem.
but good luck scorp! :D... [ more] |
4 |
112 |
Oct 5, 2008 08:34 am by xholyx |
 |
knifeCall of Duty 4 : CoD 4 Scriptingu go to your main folder.
Then browse with Winrar through the .iwd files.
Then u will find a folder called Weapons,
go to Mp (or SP) search for the weapons u want.
... [ more] |
6 |
165 |
Oct 4, 2008 03:38 pm by xholyx |
 |
knifeCall of Duty 4 : CoD 4 Scriptingwhat do u want to know about the knife.....
the only thing u can find in the scripts is
meleebuttonpressed();
this function checks if someone presses the melee button.
... [ more] |
6 |
165 |
Oct 4, 2008 10:24 am by xholyx |
 |
making a mod serverside onlyCall of Duty 4 : CoD 4 ScriptingTally writes...Quote:xholyx writes...Quote:what do u mean only server side?
u mean that the person doesnt have to download it?
- this isnt possible
u mean that persons cant acces your .gsc files?
- add this line to your mod.... [ more] |
7 |
195 |
Sep 24, 2008 01:43 am by xholyx |
 |
making a mod serverside onlyCall of Duty 4 : CoD 4 Scriptingwhat do u mean only server side?
u mean that the person doesnt have to download it?
- this isnt possible
u mean that persons cant acces your .gsc files?
- add this line to your mod.csv :
rawfile,maps/mp/gametypes/_blablabla... [ more] |
7 |
195 |
Sep 22, 2008 09:43 am by xholyx |
 |
custom in-game quick menuCall of Duty 4 : CoD 4 Scriptingbigredron writes...Quote:ok i got it to work with a lot of playing around
and testing.
I have a question.
Is it possible to display player names in the quick menu?
I want to run a loop to count all the players and then display there names
in the menu... [ more] |
8 |
184 |
Sep 22, 2008 09:40 am by xholyx |
 |
custom in-game quick menuCall of Duty 4 : CoD 4 Scriptingthere isnt a tutorial for menu scripting, but i could give u some tips
it works like this:
in the .menu file u search for
CHOICE_BUTTON( ...... )
between this lines u see for example first numbers
the numbers indicate in which order they ha... [ more] |
8 |
184 |
Sep 19, 2008 01:00 pm by xholyx |
 |
ok im new how do i script for my modCall of Duty 4 : CoD 4 Scriptingwell u have a Singleplayer Weapon mod on call of duty file front
www.callofduty.filefront.com
and then search at call of duty 4 section , go to downloads, go to weapons
, and then search for "Singleplayer Weapons"... [ more] |
10 |
217 |
Aug 30, 2008 05:41 am by xholyx |
 |
guidCall of Duty 2 : CoD2 Scripting
guid = self getguid();
that one... [ more] |
5 |
134 |
Aug 30, 2008 05:34 am by xholyx |
 |
Rope SystemCall of Duty 4 : CoD 4 ScriptingNovemberDobby writes...Quote:For the choppers in BTD?
You can't get the same system set up because of the lack of animation
scripting in MP, but depending on how you want it to look it may be
possible.
You could spawn a rope model that points straig... [ more] |
6 |
245 |
Jul 24, 2008 06:26 am by xholyx |
 |
Rope SystemCall of Duty 4 : CoD 4 ScriptingCould someone explain me how to make a rope system just like singleplayer
with the choppers?
just want to know the rope system :)
just hints which scripts are used are also fine ;)
greetz hOly
... [ more] |
6 |
245 |
Jul 23, 2008 06:03 pm by xholyx |
 |
Broadcast/Chinatown models and texturesCall of Duty 4 : CoD4 Custom Map Releasesof course its possible, just extract the iwd 13 file in your raw folder... [ more] |
5 |
220 |
Jul 23, 2008 05:48 pm by xholyx |
 |
[question]Weapon doesn't have a muzzleflash or impactCall of Duty 4 : CoD 4 Scriptingok i made a weapon from by just replacing its model by another model.
but now the weapon doesn't have a impact or muzzleflash :|
what to do?
[weapon file]
Code:
WEAPONFILE\displayName\WEAPON_M4_CARBINE\modeName\\playerAnimType\autorifle
\altWeapon... [ more] |
1 |
98 |
Jun 24, 2008 08:23 am by xholyx |
 |
Register Admin CommandCall of Duty 4 : CoD 4 Scriptingwell in cod 4 its called DVAR
at the beginning of your script you register your beginning value
Code:
setdvar("kill_all","no");
so the dvar at the beginning allways sets to no
but you can execute the command by
Code:
if(getdvar("kill_all")... [ more] |
5 |
215 |
Jun 24, 2008 08:16 am by xholyx |
 |
ButtonPressed(); ??Call of Duty 4 : CoD 4 Scriptingi tried a million times with buttonpressed("H");
or key K etc.
but didnt work
i now use menu's like quick messages to execute the command like in menu
file
eXeckey"h"
and then just scriptresponse etc.
and then define it in a script.
else pm... [ more] |
8 |
408 |
Jun 18, 2008 05:53 pm by xholyx |
 |
can't find soundaliasCall of Duty 4 : CoD 4 Single PlayerCOLMAC writes...Quote:sounds,specialsounds,,
dont forget the ,,
sorry, but dont need to add that, i allways let those ,, away and works
fine here.
so why you need to add those 2 ,'s ?... [ more] |
16 |
242 |
Jun 10, 2008 07:07 am by xholyx |
 |
can't find soundaliasCall of Duty 4 : CoD 4 Single Playerin your mod.csv
add the line(if your soundalias you made is named : specialsounds)
sound,specialsounds... [ more] |
16 |
242 |
Jun 9, 2008 07:08 am by xholyx |
 |
If argumentsCall of Duty : CoDUO Level Designthis means !isdefined = that it isnt defined allready , so when there is no
value give to it it will execute a script afterwards it
but if it has been defined if(isdefined(thingy) then there has been given
a value in the script allready like
thingy = ... [ more] |
4 |
171 |
Jun 9, 2008 07:06 am by xholyx |
 |
Start in Helicopter - MPCall of Duty 4 : CoD 4 Level Designwell , the flightpath is the SD spawn, because that is the wide open space
where he should land, also im not unlinking, im just using the Spawnplayer
in globallogic to let him spawn
but yeah it wont be hard for the flying part, but will see :)... [ more] |
5 |
206 |
May 29, 2008 04:24 pm by xholyx |