Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Single Player Maps
Re: Single Player Maps [message #263238 is a reply to message #262866] Tue, 05 June 2007 04:07 Go to previous messageGo to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma:
General (3 Stars)
Camtasia studio is the best for that, look for it on http://www.google.co.uk

For the weapon spawners since i don't know what you're trying to do it in ill tell you the easiest way of doing it:

In the scripts.dll source, make a script that does:

void WepSpawner::Created(GameObject *Obj)
{
      Commands->Start_Timer(Obj, this, 0.0, 1);
}

void WepSpawner::Entered(GameObject *Obj, GameObject *Obj2)
{
     Commands->Start_Timer(Obj, this, 10.0, 1);
}

void WepSpawner::Timer_Expired(GameObject *Obj, int number)
{
     if(number == 1)
     {
           int rand = Commands->Get_Random_Int(0, 3); //for 4 powerups
           if(rand == 0)
           {
                 Commands->Create_Object("POW_Railgun_Player", Commands->Get_Position(Obj));
           }
           if(rand == 1)
           {
                 Commands->Create_Object("POW_VoltAutoRifle_Player", Commands->Get_Position(Obj));
           }
           if(rand == 2)
           {
                      Commands->Create_Object("POW_VoltAutoRifle_Player", Commands->Get_Position(Obj));   
           }
           if(rand == 3)
           {
                      Commands->Create_Object("POW_TiberiumFlechetteGun_Player", Commands->Get_Position(Obj));   
           }
}


Then all you need to do is make a script zone and attach it. Much easier and you don't need any extra ddb / ldd files Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: always.dat
Next Topic: C++
Goto Forum:
  


Current Time: Mon Jan 27 12:26:57 MST 2025

Total time taken to generate the page: 0.01106 seconds