
Members Online»
0 Active | 186 Guests
Online:
|
LATEST FORUM THREADS»
by morgawr
Posts: 4 / 7666 Mohaa maps on Cod2?
CoD2 MP Mapping by singhudit61
Posts: 18 / 2019 is this place alive?
CoDBO3 Mapping by s6robi
Posts: 3 / 901 Introscreen Does NOT want ...
CoD2 SP Mapping by Webtoolsoffers
Posts: 3 / 11321 Call of DutyŽ: WWII
CoD WW2 General by adamsmitt
Posts: 8 / 8089 Latest Drivers a useful links.
CoDWW MP Mapping |
Polls»
|
bdbodger explains how it is done
And you have a entity with the key: script_bodger and a value: ok_this_works
If you tried to run that it would not work why? The keys have to be declared .
You may have noticed that in pak4.pk3 there is a radiant directory and in
that directory there is a file called keys.txt . This is the file that declares
the keys used in the game . For example
// syntax:
// float floatVar
// int intVar
// string stringVar
float script_wait // Used on patrol nodes to make patrollers wait the specified amount before continuing>>>>>>> 1.58
float script_additive_delay // Additive delay is the # of seconds extra a flood_spawner will wait for each additional spawning. Defaults to 1 second.
float script_delay // Used as a substitute for delay_min/max.
float script_delay_min
....
int script_health
int script_health_easy
int script_ignoreme // If this setting exists on a spawner this guy will have his .ignoreme set to true
....
string script_tree // Additional variable for Stalingrad hill charge
string target
string targetname
string groupname
As you see there are 3 types of variables you can use for keys .float which is a decimal number, int which is or course a whole
number and string . So to use your own variables you need to make a txt file and place it in the radiant directory in your pak .
Don't name it keys.txt or you will overwrite the game keys .For this example I would make a txt file and name it mymap.txt and
this file will have this line in it
string script_bodger // this is my key
That is it just make sure the txt is in the radiant directory of your pak and your script will work
For example if you make a txt file and put it in the radiant directory and put this
string script_bodger
then yes you can use
my_thing = getent ( " this does not work","script_bodger");
and it will look for and find an entity with the key/script_bodger with a value of "this does not work" or in other words my_thing.script_bodger will be " this does not work" or
if(my_thing.script_bodger == "this does not work") will be true if you have made the txt file and put it in the radiant directory
Latest Syndicated News»
Comments: 5
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which... Comments: 5
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ... Comments: 5
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead?
... Comments: 5
Codutility.com up and runn...
It seems to me the like the site is completely dead? Comments: 5
Codutility.com up and runn...
Yeeaahhhh.........
|
Latest Downloads»
mp_Temple
Call of Duty: Mods: Multiplayer (624.12Kb) OHMY Don Quixote
Call of Duty 2: Maps: Multiplayer (5.76Mb) OHMY Neuburg
Call of Duty 2: Maps: Multiplayer (6.84Mb) OHMY Tebessa
Call of Duty 2: Maps: Multiplayer (7.36Mb) OHMY POW Camp
Call of Duty 2: Maps: Multiplayer (2.15Mb) |
Partners & Friends»
|
Site Links and Information
|
Friends
|
Copyright © MODSonline LLC
Tresware Content Management System © 2011
Website Designed by LKFX and Developed by Tresware