[SOLVED] escortable tank


(eiM) #1

hello guys :slight_smile:

i have read some threads in here about script_movers and tanks / vehicles and stuff like that. Well first i made just a script_mover tank with clips who automaticly drove it’s way @ start of the match (spawn). This worked without problems and I now tried to use these to make the tank destroyable + escortable + constructible like in goldrush…

for this i copied everything needed out of goldrush.map and used the Tank Stuff part of goldrush.script (just deleted barrierstuff and bankblowpart).

but now i got the following problems:

  • the clip does not fit to the model (i’ve read about this but don’t realy know how to work it out)
  • i can’t construct the tank

the clip is on the one hand not fitting to the position of the model and on the other hand some units lower (stuck in the ground)

here’s a quote out of my code:

…other problem…

Edit:
I just found out that i had forgotten two origin brushs from goldrush, which are located at the turret. Now i added them into my map at the right position and I get the SV_setbrushmodel NULL failure. Can somebody tell me which keys these two origin brush should have or what could be the problem because before i added them I did not get this failure.

Would be really lovely if someone could help me out with this :). In general i just copied the tank + script of goldrush and made my own splines (of course i also changed the names in the script etc.) but my problem in first place is that i can’t repair the tank^^

thx
eiM


(eiM) #2

sry for doublepost at first but i think this is in nearly no connection with the post above so it’s easier to just read this one^^

could somebody tell me if the following list is correct, i’ll try to list everything needed for my tank (entitys , brsuhes , … ) and which should be connected with which one etc. so maybe somebody who already did a map with a running tank can help me out with this

  • two triggers
    – 1 toi
    – 1 trigger_multiple

  • two target_script_trigger

  • 1 func_timer

  • 1 target_smoke

  • 9 clips wepon metal (for the tankmodel)

  • 4 origin brushs
    – script_mover , connected to the limbo camera entitys
    – func_constructible , connected to trigger_multiple
    – trigger_multiple , connected to nothing???
    – trigger_objective_info , connected to nothing aswell???

  • 1clip around the func_constructible origin brush

so well… the things i’m thinking about are the two origin brush who are not connected to an entity or sth similar , so to what should these be connected or what else could be my mistake?


(C) #3

Open up a map with a tank…
select an origin-brush, press CTRL-ALT-E, and the complete entity is selected.