cp script issue


(nikita) #1

i have imported the naturel cp from goldrush and uesd the cp script from goldrush but for some reason the cp act like it doesnt have a script , i have tried a lot of times to recreat the cp but seems to be its ignoring the script completlty allthou everything else in my script working . my cp when builded call 6 time of setstate called and no entilties found. how come and whats wrong?


(Loffy) #2

Hi!
So, when you wave the plies infront of the cp, does it turn on the “construction in progess” white texture, ie does the cp turn into white?
And if so, does it stay white, but nothing more happens?
And then you get these setstate called and no entilties found messages?
//Loffy


(nikita) #3

no he act completly scriptless
its like 3 cps there 1 closed 1 allies open 1 axis open on each other
no1 invisible they all default… what i build the white aint apearing… its stays the same
3 setstate are been freed while constructing and other 3 in the end


(Loffy) #4

Hi again!
My first language is Swedish. I am having problem understading you.
Tip: Insert wm_announce “This is test-text 1” (or 2, 3 , 4 and so on). In different places, in you command post-script.
Then, you will see “This is test-text 1” on screen, as you try to build it. That way you know for sure that that part of the command post script is read.
If you cannot see the text onscreen, you know the script isn’t read.
Where did you find the command post and the script for it? Did you yourself lift it out, from the goldrush .map file?
I never do that myself. Use a command post prefab that I have. I found it at Drakir’s site. ( www.drakir.tk ). However, I cannot find it there anymore. Not sure if it is still there.
But I can put it up for you, if you want to try it. Just to see if it works.
Meanwhile, keep in trying! Someone else might want to post a suggestion or two. This is not a problem that is hard to fix really. (it just takes time)
:slight_smile:
Good luck!
//Loffy


(nikita) #5

loffy i allready did used a prefab maybe ill take screens and post l8er tnx


(Loffy) #6

h’ @6@'n! 7h@7 '5 3xc3113n7 n3w5! k33p 0n m@pp’n6 'n 7h3 fr33 w0r1d!


(psychosanity) #7

I often forget the 'ol script_multiplayer…but I am quite a noob. I assume you have that in your map?


(nikita) #8

yep :slight_smile:


(nUllSkillZ) #9

Do the scriptname values of the entities match the scriptnames in the script?


(nikita) #10

i hope so i imported both prefab and script from goldrush and i didnt forgot anything


(Ifurita) #11

i hope so i imported both prefab and script from goldrush and i didnt forgot anything

Unlikely :wink:

You might want to check your filters to see if anything is filtered out. If you filter and then select, you’ll miss things


(nikita) #12

well i builded my own cp 4 each team But i havent use damaged model… is it ok… or its just cheap and i better find a way 2 import


(nUllSkillZ) #13

Try to use the prefabs from sock’s LDR:
http://www.planetquake.com/simland/ldr1_1/