Fueldump Axis Command Post


(system) #1

Hey i see that the allies spawn in the garage when they build there command post, how would i be able to add a constructable commandpost for the axis team in this area causing them to spawn in that area also.

AREA Meaning

This is the code for allies, i need to change it to axis but i need a constructable command post, how do i make that!

create
{
   scriptName "fueldumphq_obj"
   classname "team_WOLF_objective"
   targetname "fueldumphq_obj"
   origin "-10853 -2036 6"   // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
   spawnflags 2   // TEAM_ALLIES(2)
}

create
{
   scriptName "fueldumphq_spawn1"
   classname "team_CTF_bluespawn"
   targetname "fueldumphq_spawn"
   origin "11072 -2448 512"
   spawnflags 2   // TEAM_ALLIES
}

create
{
   scriptName "fueldumphq_spawn2"
   classname "team_CTF_bluespawn"
   targetname "fueldumphq_spawn"
   origin "-10995 -2448 512"
   spawnflags 2   // TEAM_ALLIES
}

create
{
   scriptName "fueldumphq_spawn3"
   classname "team_CTF_bluespawn"
   targetname "fueldumphq_spawn"
   origin "-10918 -2448 512"
   spawnflags 2   // TEAM_ALLIES
}

create
{
   scriptName "fueldumphq_spawn4"
   classname "team_CTF_bluespawn"
   targetname "fueldumphq_spawn"
   origin "-10841 -2448 512"
   spawnflags 2   // TEAM_ALLIES
}

create
{
   scriptName "fueldumphq_spawn5"
   classname "team_CTF_bluespawn"
   targetname "fueldumphq_spawn"
   origin "11072 -2288 512"
   spawnflags 2   // TEAM_ALLIES
}

create
{
   scriptName "fueldumphq_spawn6"
   classname "team_CTF_bluespawn"
   targetname "fueldumphq_spawn"
   origin "-10995 -2288 512"
   spawnflags 2   // TEAM_ALLIES
}

create
{      
   scriptName "fueldumphq_spawn7"      
   classname "team_CTF_bluespawn"
   targetname "fueldumphq_spawn"
   origin "-10918 -2288 512"
   spawnflags 2   // TEAM_ALLIES
}

create
{
   scriptName "fueldumphq_spawn8"
   classname "team_CTF_bluespawn"
   targetname "fueldumphq_spawn"
   origin "-10841 -2288 512"
   spawnflags 2   // TEAM_ALLIES
}

(system) #2

Erm actually that script fails because it spawns apon start up not apon make the command post


(twt_thunder) #3

yep, because you need a script for constructible with spawn


(Mateos) #4

Please use a single thread as you requested the CP as well there, Micha posted what is needed to understand how that works:
http://forums.warchest.com/showthread.php/38619-Can-you-script-!


(twt_thunder) #5

[QUOTE=Mateos;482954]Please use a single thread as you requested the CP as well there, Micha posted what is needed to understand how that works:
http://forums.warchest.com/showthread.php/38619-Can-you-script-![/QUOTE]

just trying to get our attention :wink:


(system) #6

He gave some things but not all, mostly needed fixed, well all of them did lol

I managed to mess around and get this spawn thing working to my liking, as you can see i have been doing alot of scripting on battery, yet i have one thing i need to know, For the flag name is says no descriptive text available… What is the command script to add descriptive text

my command post script atm

//inside battery axis
     create
    {
       scriptName "fueldumphq23_obj"
       classname "team_WOLF_objective"
       targetname "fueldumphq23_obj"
       origin "2961 -3476 960"   // z = CC_FILTER_ALLIES(2) | CC_FILTER_SPAWNS(4)
       spawnflags 3   // TEAM_ALLIES(2)
    }

    create
    {
       scriptName "fueldumphq23_spawn1"
       classname "team_CTF_redspawn"
       targetname "fueldumphq23_spawn"
       origin "2961 -3476 960"
       spawnflags 3   // TEAM_ALLIES
    }


(Micha) #7

He gave some things but not all, mostly needed fixed, well all of them did lol

I just copy pasted stuff from different maps. So sure they wont work. But I gave you a basic to try to script yourself the stuff you wanted.


(system) #8

yeh thanks man it put me on the right track, just that descriptive text :D! n ycn is down so -.- scripting hours are closed.


(Mateos) #9

You can locally test your scripts: have a clean ET install (usually too much maps/PK3s in etmain stop the user from locally starting a game), install a mod which support custom (ETPro) map scripts, make a maps subfolder in which you put will put the custom .script files, and load a map with sv_pure 0 so the game checks the folders (and thus finds and loads the scripts).


(system) #10

yeh man i got it :smiley: just my scripts are left on the server no back ups to my pc, so got to wait for ycn and do you know how to fix the names for the flags?


(Mateos) #11

Yes, add a description field to the team_WOLF_objective entity, like here:
http://wolfwiki.anime.net/index.php/Map_scripting#Scripting_Examples_by_SiliconSlick


(WuTangH) #12

btw… why dont u open fueldump in GTK, add/edit everything you want, then save with little different name? :eek:
… because this way seems harder to me


(matsy) #13

[QUOTE=WuTangH;483073]btw… why dont u open fueldump in GTK, add/edit everything you want, then save with little different name? :eek:
… because this way seems harder to me[/QUOTE]

Would still involve a certain level of scripting, but it would also mean you’d have to download the map. Where as this implementation, I think is server side only, and if there is any download it is only the script which offers a lot less over head than a new map…


(system) #14

Well guys i put alot of hard work into scripting these 6 original maps :smiley: they are well better than the old! Just scripting in some new sound speakers and shizz so thatl take a few mins at least and yeh if you use gtkradient i would have to save new map, do same ammount of scripting and cause a download! But by scripting it stays on the serverside so nodownloads and no people copying your work :smiley: that what makes us unique, anyway I should post updates on my progress maybe or maybe not, we’ll see!


(penzesdez) #15

Hey. U may find the tools U need for constructible command post at this website— http://wolffiles.de. This is an awesome site, it has a ****load of tools, mods, maps,…etc.available for download free. All Wolf ET and other games stuff. A lot of everything that I never seen elsewhere. like filefront.com Something else. I downloaded apparently from the above site a map canyon_depths_b7 . Awesome. Problem!:::No server runs it! I played it on my own HOST GAME. I have Omnibots, and Bobots too. Neither works whit this map. Maybe somebody U know or anybody wold Run It .? Or someone could make waypoints on this map for Omnibots ? Hmm. Would bee good. Dez. ( Roadkill ). http://wolffiles.de On this website click on downloads tab.


(penzesdez) #16

Hey. U may find the tools U need for constructible command post at this website— http://wolffiles.de/index.php?filebase&cat=1 This is an awesome site, it has a ****load of tools, mods, maps,…etc.available for download free. All Wolf ET and other games stuff. A lot of everything that I never seen elsewhere. like filefront.com Something else. I downloaded apparently from the above site a map canyon_depths_b7 . Awesome. Problem!:::No server runs it! I played it on my own HOST GAME. I have Omnibots, and Bobots too. Neither works whit this map. Maybe somebody U know or anybody wold Run It .? Or someone could make waypoints on this map for Omnibots ? Hmm. Would bee good. Dez. ( Roadkill ). http://wolffiles.de On this website click on downloads tab. http://wolffiles.de/index.php?filebase&cat=1