Force field for GDF


(pazur) #1

Hi,

is it possible to create a force field that only GDF can enter but not strogg? Similar to the strogg force field on the starting points near these landing ships? Is there some special entity for it? Would it be possible to make this an objective that can be blown up and then goes away?

paz


(murka) #2

Yes.

Look for some requirement key in the trigger_hurt entity properties(take a strogg shield as reference). Swap the team names where needed.
In the same way as the strogg shield can be destroyed, the gdf one can be too.


(SebaSOFT) #3

We can give you the one we did for Consite…


(Susefreak) #4

Take a look at arena_01, that has a gdf shield too.

Link


(pazur) #5

Ok. I will look for it and play around with trigger_hurt and come back if I have more questions.


(pazur) #6

Ok. It worked but what is a bit wierd is the dmg_damage key that still has to be damage_strogg_doorshield. The only key that needs to be changed is requirement team_strogg.


(.Chris.) #7

It can be anything you want, just need to make new damage .defs and set up some localisation files.

Look inside maridia pk4 to see how I made custom death messages for falling into the sea.


(SebaSOFT) #8

We did it also for Consite, the code is in the Google code page… You can see it from the web.

.def file
locstrings


(pazur) #9

I’m still not sure if I will really have these GDF shields in my map but they will be shields if I add them so the current message is fine.