Need scripting help... have a small problem.

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Balr14
Colonel
Posts: 450
Joined: Sat Aug 03, 2002 4:01 am
Location: Germantown, WI, USA

Need scripting help... have a small problem.

Post by Balr14 »

I'm trying to do a push-city type CTF for my Swamp map and I seem to have something missing. Triggers won't activate and I can't change the colors of the flags. I have the script, but I don't have the source maps. In order to change a flag model, I think I have to id it as a scripted object, but I can't tell from the script what the name of it ought to be.

Anyone want to take a look at what I have?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Are you using mefy's ctf script?
Image
Balr14
Colonel
Posts: 450
Joined: Sat Aug 03, 2002 4:01 am
Location: Germantown, WI, USA

Post by Balr14 »

I'm using (with permission) the Push - City hall script created by Glitch (Ben Munroe) and modified by KillerKind. My problem is I don't have their map files to see what I need there. I can't get hold of either of them and I'm running out of time. That's all the Swamp map needs to be done and I need it quick because we are going to release HITP V2 very soon.

I wanted to add some of your bots to some maps as well, but we have never had reliable scriptors on the HITP team. So, that isn't going to happen in the time we have left.
Last edited by Balr14 on Sun Mar 14, 2004 7:49 pm, edited 1 time in total.
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Hmm I would give it a shot if I wasn't so busy with modern-warfare :?
Image
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

decompile

Post by tltrude »

Decompile the map and you can get the names.
Tom Trude,

Image
nuggets
General
Posts: 1006
Joined: Fri Feb 28, 2003 2:57 am
Location: U-england-K (england in the UK) :P
Contact:

Post by nuggets »

if you open a .bsp file in wordpad, near the end of the documents you will find a list of all the entities in the map, that will tell you the targetnames,

if you need to know which entity is attached to the targetname, spawn it as
local.spawn = fx/dummy.tik
local.spawn model *23 //or what ever the number is
hope this helps, prob not cos it's all foreign 2 me :-/
Balr14
Colonel
Posts: 450
Joined: Sat Aug 03, 2002 4:01 am
Location: Germantown, WI, USA

Re: decompile

Post by Balr14 »

tltrude wrote:Decompile the map and you can get the names.
I think I'll use the CTF script you gave me a long time ago. That one's pretty easy to get to work.
Post Reply