Jump to content

Lazarus

Members
  • Posts

    345
  • Joined

  • Last visited

Community Answers

  1. Lazarus's post in Script breaks all of the sudden was marked as the answer   
    ~~Its being trigger at start, so when player spawns it should run this script, which works fine. It's just that i have the feeling it cant switch to cam03, thus borking out, yet the ref tag is there. 
    The weird thing is, is that this did work a couple of days ago... i am starting to wonder if i corrupted an entity or something. (okay i replaced some ref tags, but that didnt seem to work, also renamed them all to make sure i was working with right ones and didnt label them wrong, by adding the sc1 for scene 1 in front of it - image was taken before the rename, also modified this in the script)

    rewrote part of the script to see if that worked. No effect
    //Generated by BehavEd rem ( "Cinematic 001 - SP1 Cove" ); rem ( "- 1 ship lands" ); rem ( "-2 Fornan walks, talking to himself" ); rem ( "---" ); affect ( "fake_player_cin1", /*@AFFECT_TYPE*/ FLUSH ) { set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "true" ); wait ( 6000.000 ); set ( /*@SET_TYPES*/ "SET_INVISIBLE", /*@BOOL_TYPES*/ "false" ); set ( /*@SET_TYPES*/ "SET_WALKING", /*@BOOL_TYPES*/ "true" ); set ( /*@SET_TYPES*/ "SET_NAVGOAL", "cin001_end" ); wait ( 8000.000 ); remove ( "fake_player_cin1" ); } affect ( "xwing", /*@AFFECT_TYPE*/ FLUSH ) { use ( "cin001_speaker01" ); move ( $tag( "xwing_begin", ORIGIN)$, < 0.000 0.000 0.000 >, 100.000 ); wait ( 250.000 ); move ( $tag( "xwing_end", ORIGIN)$, < 0.000 0.000 0.000 >, 5000.000 ); rotate ( < 0.000 340.000 0.000 >, 5000.000 ); wait ( 5000.000 ); use ( "cin001_speaker01" ); sound ( /*@CHANNELS*/ CHAN_AUTO, "sound/sp/sp1_cove/vehicles/xwing/land.wav" ); } rem ( "---" ); rem ( "Set up camera move down with the ship" ); camera ( /*@CAMERA_COMMANDS*/ ENABLE ); camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "sc1_cam01", ORIGIN)$, 0 ); camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "sc1_cam01", ANGLES)$, < 0.000 0.000 0.000 >, 0 ); camera ( /*@CAMERA_COMMANDS*/ ZOOM, 40.000, 0 ); wait ( 1000.000 ); camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "sc1_cam02", ORIGIN)$, 3000 ); camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "sc1_cam02", ANGLES)$, < 0.000 0.000 0.000 >, 3000 ); wait ( 5000.000 ); camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "sc1_cam03", ORIGIN)$, 0 ); camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "sc1_cam03", ANGLES)$, < 0.000 0.000 0.000 >, 0 ); wait ( 1000.000 ); camera ( /*@CAMERA_COMMANDS*/ MOVE, $tag( "sc1_cam04", ORIGIN)$, 4000 ); camera ( /*@CAMERA_COMMANDS*/ PAN, $tag( "sc1_cam04", ANGLES)$, < 0.000 0.000 0.000 >, 4000 ); wait ( 5000.000 ); camera ( /*@CAMERA_COMMANDS*/ DISABLE );  
    edit - I figured it out. It was a borked entity. . I run 2 script at launch, so i have 2 target_scriptrunners. One where I set up the skills, and one that runs the cutscene. I used the spawnscript one to duplicate for a new script runner. Appearantly something went wrong there and it got the name of the new script that indeed stops the camera after 5 seconds. Renamed the script again, and it worked as it should be.
    Learn from me, always use new entities 😛 NetRadiant and copying entities appearantly need some carefull examination.
  2. Lazarus's post in How to change default player model for specific SP map? was marked as the answer   
    Actually, the trigger here is here the wintergear
     
    // Generated by DEvaheb v1.0 // Decompiled from file "E:\Externe harde Schijf\Star Wars Jedi Knight Jedi Academy\GameData\base\scripts\base_scripts\hoth3\setup.ibi" affect ( "player", FLUSH ) { set ( "SET_WINTER_GEAR", "true" ); } Now i can be mistaken, but I think the Jaden model comes already with winter gear that is triggered on the variable winter gear. You could actually maybe Frankenstein a model with Kyle and the winter clothing and just swap it to that specific model for that map.

  3. Lazarus's post in Installing 2015 distrubtion C++ on windows 11 goes wrong for Open JK was marked as the answer   
    Sorry for late reply on this thread. lol. I decided for a while to work from upstairs, but summer makes it unbearable there, so i figured lets try laptop again
     Never mind, figured it out, it was not the distribution that failed me, it was the openJK installation. APpearantly something went wrong in the original files, i grabbed a new set, and re-replaced the files for openJK. Worked like a charm.
  4. Lazarus's post in Can models be removed via script? was marked as the answer   
    tweaked arround, created a func_usable, gave it model2 propperty, that did the trick. Only now to see how i can resize a model with this.
     
    https://jkhub.org/topic/8413-model2-key-with-func-useable/
     
    off course, search a bit and you find the awnser close to home Got it working now!
×
×
  • Create New...