PDA

View Full Version : Friggin Dynomite Script


The Old Man
2002-08-31, 23:27
Author Message
KuroSatsu



Joined: 04 Aug 2002
Posts: 14

Posted: 04 Aug 2002 06:20 am Post subject: Friggin Dynomite Script

--------------------------------------------------------------------------------

The dynomite objective script I made for my map keeps freezing the game. I kinda looked over it a couple times and didn't find anything that I thought was wrong...then again it's my first script.

Would anyone like me to post it, send it to them?

-Kuro

Back to top


eyeronik



Joined: 01 Aug 2002
Posts: 75
Location: uk
Posted: 04 Aug 2002 06:45 am Post subject:

--------------------------------------------------------------------------------

well try checking over the objectives tutorial and see where you might of gone wrong, you can find the error just as easily as anyone else

Back to top


KuroSatsu



Joined: 04 Aug 2002
Posts: 14

Posted: 04 Aug 2002 06:49 am Post subject:

--------------------------------------------------------------------------------

doing it for the third time =). But yer script has 2 objectives, i only got one, I'm wingin' it lmao. And yes I delelted the italic captions. (they cause an immediate error).

Anyway I dunno how the errorlist would help me, the game doesn't display an error. It puts me as a spectator instantly and FREEZES =).

-Kuro

Back to top


Muffinman



Joined: 04 Aug 2002
Posts: 42
Location: Germany
Posted: 04 Aug 2002 06:53 am Post subject:

--------------------------------------------------------------------------------

so u destroy the objective like normal and then you switch automatically to spectator? the thing with the freezing doesn't sound like a script-problem to me but u could post your script here...

Back to top


KuroSatsu



Joined: 04 Aug 2002
Posts: 14

Posted: 04 Aug 2002 07:03 am Post subject:

--------------------------------------------------------------------------------

no no, my map loads and it just pfft freezes. All I see on my screen is the axis spawn point and it looks like the Specators mode.

Anyway I made a txt copy of the script file and uploaded it to my site, I ain't gonna post something that big in this post.

Notes:
The C-47 objective hasn't been scripted (in reference to the map description). Hell I haven't even modeled it yet. The map name is airbase.bsp and the storage tanks on my map are targetname gasstorage and the tirgger is gasstorage_obj1

Script:
http://www.darkshadowshq.com/DSSF/airbase.txt

-KuroSatsu

Back to top


eyeronik



Joined: 01 Aug 2002
Posts: 75
Location: uk
Posted: 04 Aug 2002 07:06 am Post subject:

--------------------------------------------------------------------------------

its pretty obvious to delete the italic captions ,youd have to be a complete idiot to think you would need them

Back to top


Muffinman



Joined: 04 Aug 2002
Posts: 42
Location: Germany
Posted: 04 Aug 2002 07:09 am Post subject:

--------------------------------------------------------------------------------

this is no scripting problem, at least i can't imagine it could be. try it without any script and you will know for sure

Back to top


KuroSatsu



Joined: 04 Aug 2002
Posts: 14

Posted: 04 Aug 2002 07:10 am Post subject:

--------------------------------------------------------------------------------

have you met my brother?

oh yes and I'll try that, thanks muffinman.



-K

Back to top


Muffinman



Joined: 04 Aug 2002
Posts: 42
Location: Germany
Posted: 04 Aug 2002 07:11 am Post subject:

--------------------------------------------------------------------------------

lol is this space-shrek?

Back to top


KuroSatsu



Joined: 04 Aug 2002
Posts: 14

Posted: 04 Aug 2002 07:16 am Post subject:

--------------------------------------------------------------------------------

no it's moron from freakazoid!

BTW my map works without the script. I was able to blow up the tanks and everything...just not win.

-Kuro

Back to top


Midnight_Oil



Joined: 04 Aug 2002
Posts: 59
Location: Maine, USA
Posted: 04 Aug 2002 02:14 pm Post subject:

--------------------------------------------------------------------------------

hmmm...
did you put the mp script entity into your map?

Back to top


Muffinman



Joined: 04 Aug 2002
Posts: 42
Location: Germany
Posted: 04 Aug 2002 02:51 pm Post subject:

--------------------------------------------------------------------------------

could you post the settings u made at your gasstorage objective as well?

Back to top


KuroSatsu



Joined: 04 Aug 2002
Posts: 14

Posted: 05 Aug 2002 09:51 am Post subject:

--------------------------------------------------------------------------------

midnight oil: I have no clue what that is (first script). What code is it? I did post my script. If you mean the purple box thing on my map "sctipt_multiplayer" yeah i got one of those.

alright here's the settings muffinman:

Storage Tank brushes (I selected them all and entered these settings)

type metal
dmg 76
health 0
scriptname gasstorage_obj1
mass 200
targetname gasstorage
classname func_explosive

and...hmm...i just noticed that the 3 flags I checked AREN'T checked...perhaps this is the problem (grrrr). And yes I DO remember checking them because spawnflags was set to 76 and in turn I set dmg to 76 (felt like it -shrugs-)

These SHOULD have been checked (and are now)

useshader, lowgrav, dynomite.
spawnflags is now 76

Trigger Texture:

track the Gas Storage
target gasstorage
scriptname gasstorage_obj1
score 100 (outrageous i know)
spawnflags 1 (AXIS objective)
classname trigger_objective_info

Checked flags:

axis_objective


And that's that =). I'm gonna recompile my map now and see if maybe the map didn't compile with my func_explosive flags checked. Or maybe I accidently turned them off when I was modifying the map last night.

Thanks,

-Kuro

Back to top


Midnight_Oil



Joined: 04 Aug 2002
Posts: 59
Location: Maine, USA
Posted: 05 Aug 2002 01:32 pm Post subject:

--------------------------------------------------------------------------------

Check boxes coming unchecked has been an ongoing problem for everyone. Make sure you have the latest version of radient that may help.

Yes the purple box is what I ment. Let us knpw how you make out.

Back to top


KuroSatsu



Joined: 04 Aug 2002
Posts: 14

Posted: 05 Aug 2002 02:22 pm Post subject:

--------------------------------------------------------------------------------

I have the latest version =).

Anyway it didn't do nothin'. It still freezes...

It's kind of like it crashes to my desktop, cause I can use my mouse and my keyboard (numlock, capslock, etc...) isn't frozen. CRTL-ALT-DEL works. Anyway when I test my map it just shows a frozen RtCW Spectator screen. It won't even load up the limbo menu.

Maybe it's something in the top of the code.

-Kuro

Author Message
greekdish



Joined: 04 Aug 2002
Posts: 31

Posted: 05 Aug 2002 09:33 pm Post subject:

--------------------------------------------------------------------------------

Kuro....check out your wm_mapdescription at the top. Shorten it up. RTCW only allows you to have so many characters in the descripton. I think its 128 or something. I noticed yours is pretty long, so It might be the same thing. Try it out.

=HS= Audie Murphy